This website is a read-only preview of RuneLibris. Some features may not work. For more information about the full feature-complete version of this wiki, please visit this link.

(Return to archive index)

Aspects/Music

From RuneLibris
Jump to: navigation, search

Overview[edit]

This page documents how music works in RuneScape[1].

Todo[edit]

Mentions play areas

Check RS Wiki Discord for some interesting conversation related to "trackset" (Melzer's maze thing)

Investigate claims made on User:2023 archive/REWRITE-TMP/RS/Music

Cache information[edit]

RuneScape 2[edit]

Prior to the release of RuneScape 3, music was stored in Index 6 in the cache[2]. Related enums in this era were 1345, 1349 and 1351[3][4]

It is possible to dump the "cache order" music IDs by combining data found in enums 1351 and 1345. See archive section for a code snippet that can dump those[5].

RuneScape 3[edit]

In RuneScape 3's cache, music (listed or not) is stored in Index 40[6]. The cache also has the following enum tables[7]:

Enum Enum name Chisel link Notes
1345 music_track_names Link Can be used to to ID to name conversion[8]
1346 unk_music_track_ints Link Trackset definition; see below.
1347 music_track_sort_strings Link None
1350 unlisted_music_player_tracks Link None
1351 music_track_id_jaga_map Link None

Unlisted music tracks[edit]

Unlisted music tracks are songs not listed in the music player. In the cache, they are technically the same thing as regular music caches, except they typically do not have a name[9]

In RuneScape, some (but not all) Internal names for unlisted music track can be found in the cache in enum #1347[10].

In-game implementation[edit]

Base system[edit]

By default, Jagex assign a music track to a mapsquare ("coordinate check")[11][12]. They can also "paint" an overlay area ("area check") that supercedes the default mapsquare area (visual example)[11]

It is also possible for Jagex to manually trigger the unlock song script[13].

Tracksets[edit]

On 05 February 2008, Jagex added a new "trackset" system into the game[14]:

The New Music System:

The bards of Runescape have been handed the task of creating a music player that is simpler to use, offering more advanced options. Well, they have certainly managed it, and this week sees its release!

Previously, travelling across the world of RuneScape meant frequent changes of music, often playing only the early parts of songs. Now, our new music system plays songs all the way to the end, at which point a new song is chosen that is appropriate to your area - provided you have unlocked it of course!

There are a couple of exceptions to this rule: if you unlock a track by entering a new area, the system will interrupt your current song in favour of the new tune, ensuring that you hear all new songs. Also, if you encounter a boss NPC or start a cutscene with added music, the system will, of course, interrupt your current song to play the appropriate tune to accompany the action.

You still have the ability to manually choose your tunes by clicking on the song name. This will, of course, interrupt the current song to play your chosen tune, as it always has. We have also kept the 'loop song on/off' button (which now looks a little like a recycle symbol) so you can listen to your favourite song repeatedly. 

Tracksets definition can be found in the cache in enums 1346. The data is formatted as "music_ID": trackset_ID,[15]

Add info about Ian map (see RPU chat)

Archives[edit]


References[edit]

  1. Data directly entered in RuneLibris by manpaint on 2025-04-17
  2. https://decryptedroms.fandom.com/wiki/RuneScape
  3. Data directly entered in RuneLibris by manpaint on 2025-04-17 (info from a private Discord conversation with RS Orchestra)
  4. Greg on Rune-Server: https://rune-server.org/threads/634-all-music-track-map-coordinates.698625/
  5. Data directly entered in RuneLibris by manpaint on 2025-04-28
  6. Information from Villermen's Cache Tools's code (see CacheIndex.cs)
  7. Information from a discussion in the RuneScape Preservation Unit Discord in #general-rs3
  8. Habblet (Yann) in RuneScape Preservation Unit Discord in #general-rs3 on 2023-02-14
  9. Data directly entered in RuneLibris by manpaint on 2025-04-29
  10. https://chisel.weirdgloop.org/structs_rs3/index.html?type=enums&id=1347 (Info posted by Whai in the RS Wiki Discord in #wiki-rs on 2025-04-03
  11. 11.0 11.1 Hlwys in the RuneScape Preservation Unit Discord in #general-osrs on 2022-11-10 (based on an explanation of the music system given by Mod Ed)
  12. Corroborated by how in RuneScape 2, there was 1 music track mapsquare area: https://oldschool.runescape.wiki/w/Map:Music_tracks/Classic
  13. Based on a RuneScript screenshot posted by manpaint in the RuneScape Preservation Unit Discord in #general-osrs on 2022-11-10; the screenshot show an Old School RuneScape script where this function is manually triggered
  14. https://runescape.wiki/w/Update:Audio_Week_and_Improved_Edgeville_Dungeon
  15. Data directly entered in RuneLibris by manpaint on 2025-04-20
  16. Data directly entered in RuneLibris by manpaint on 2025-04-28