Thread: 555/555 Music unlock and full music config explanation

Results 1 to 7 of 7
  1. #1 555/555 Music unlock and full music config explanation 
    Registered Member
    Join Date
    Jul 2020
    Posts
    2
    Thanks given
    0
    Thanks received
    6
    Rep Power
    0
    Hi everyone.

    Firstly, I apologise if a complete music list for 508 has been posted before, I couldn't find it when searching, so I've decided to write this post!

    I am not going to post any real code (as most of the servers are using java, and I'm writing mine in C# .NET 5) however, I have compiled the full list of music configs for 508.

    There are 20 different configs that set music in 508.

    Spoiler for config numbers:

    20, 21, 22, 23, 24, 25, 298, 311, 346, 414, 464, 598, 662, 721, 906, 1009, 1104, 1136, 1180, 1202


    Each config can store the unlock state of up to 32 different songs.
    How do you store the unlock state of up to 32 different songs in one value?
    We do it by numbering each song.
    Let's take config 20 as an example.
    Config 20 has 32 different song configurations stored in it.

    Song 1 in config 20 is Adventure.
    Song 2 in config 20 is Al kharid.
    Song 3 in config 20 is Alone.

    If we set config 20 to value 1 - Adventure gets unlocked.
    If we set config 20 to value 2 - Al kharid gets unlocked.
    If we set config 20 to value 4 - Alone gets unlocked.

    Why do we skip 3?
    To work out whether both Song 1 and Song 2 are set, we need to add the values of Song 1 and Song 2 together.
    As Song 1 has the value 1 and Song 2 has the value 2, if we set the value of config 20 to 3, both Adventure and Al kharid become unlocked.
    Equally setting the value to 7 will unlock all three songs.
    This means each song can only be a value that cannot be equal to the sum of any combination of other songs.
    Most of the tutorials that I have seen online have listed these values to be

    Spoiler for config values:

    1
    2
    4
    8
    16
    32
    64
    128
    256
    512
    1024
    2048
    4096
    8192
    16384
    32768
    65536
    131072
    262144
    524288
    1048576
    2097152
    4194304
    8388608
    16777216
    33554432
    67108864
    134217728
    268435456
    536870912
    1073741824


    There are a few problems to solve here:
    1) As you can see there are only 31 numbers, so that means we can only store 31 songs (and I mentioned that configs can hold 32 songs)
    2) The maximum value that can be set is the same as the maximum 32-bit integer (as this is the value type used) - this is 2147483647.
    This value cannot be used as the 32nd number, because when you add all 31 of the above numbers together, you get 2147483647, and therefore this value could not be used to flag a single song.

    So how do we get the last song?
    We use a negative number!
    The minimum 32-bit integer is -2147483648
    What's more, this number does not conflict with any other number in our number list.
    If we sum up all the 32 numbers, we get the value that can be used to flag all of the songs for the config.
    This number is -1.
    Simply setting the config value of all of the configs listed above to -1 will unlock all of the songs.

    As we know, each one of these numbers inside a config correlates to a song.
    I wrote a script to flag each of the songs in turn.
    So I can give you the full list of mapped songs in 508.
    Please note, if there is a "---" next to a number, this means that no song will be unlocked when setting this number in a config.

    Spoiler for Config 20:

    1 adventure
    2 al kharid
    4 alone
    8 ambient Jungle
    16 arabian
    32 arabian2
    64 arabian3
    128 arabique
    256 army of darkness
    512 arrival
    1024 attack1
    2048 attack2
    4096 attack3
    8192 attack4
    16384 attack5
    32768 attack6
    65536 attention
    131072 Autumn Voyage
    262144 Background
    524288 Ballad of Enchantment
    1048576 Baroque
    2097152 Beyond
    4194304 Big Chords
    8388608 Book of Spells
    16777216 Camelot
    33554432 Cave Background
    67108864 Cavern
    134217728 Chain of Command
    268435456 Crystal Cave
    536870912 Crystal Sword
    1073741824 Dangerous
    -2147483648 Dark


    Spoiler for Config 21:

    1 deep wildy
    2 desert voyage
    4 doorways
    8 dream
    16 dunjun
    32 egypt
    64 emotion
    128 emperor
    256 expanse
    512 expecting
    1024 expedition
    2048 faerie
    4096 fanfare
    8192 fanfare3
    16384 fishing
    32768 flute salad
    65536 forever
    131072 gaol
    262144 garden
    524288 gnome king
    1048576 dwarf theme
    2097152 gnome village
    4194304 gnome village2
    8388608 goblin village
    16777216 gnomeball
    33554432 greatness
    67108864 harmony
    134217728 high seas
    268435456 horizon
    536870912 iban
    1073741824 in the manor
    -2147483648 inspiration


    Spoiler for Config 22:

    1 intrepid
    2 jolly-r
    4 jungle island
    8 jungly1
    16 jungly2
    32 jungly3
    64 knightly
    128 lasting
    256 legion
    512 lightness
    1024 lightwalk
    2048 long ago
    4096 long way home
    8192 lullaby
    16384 mage arena
    32768 magic dance
    65536 magical journey
    131072 march
    262144 medieval
    524288 mellow
    1048576 miles away
    2097152 miracle dance
    4194304 monarch waltz
    8388608 Moody
    16777216 neverland
    33554432 newbie melody
    67108864 nightfall
    134217728 oriental
    268435456 overture
    536870912 parade
    1073741824 quest
    -2147483648 regal


    Spoiler for Config 23:

    1 reggae
    2 reggae2
    4 riverside
    8 royale
    16 rune essence
    32 sad meadow
    64 scape cave
    128 scape original
    256 scape sad
    512 scape wild
    1024 sea shanty
    2048 sea shanty2
    4096 serenade
    8192 serene
    16384 shine
    32768 soundscape
    65536 spirit
    131072 splendour
    262144 spooky
    524288 spookyjungle
    1048576 starlight
    2097152 start
    4194304 still night
    8388608 talking forest
    16777216 the desert
    33554432 the shadow
    67108864 the tower
    134217728 theme
    268435456 trawler
    536870912 trawler minor
    1073741824 tree spirits
    -2147483648 tribal background


    Spoiler for Config 24:

    1 tribal
    2 tribal2
    4 trinity
    8 troubled
    16 underground
    32 unknown land
    64 underground pass
    128 upcoming
    256 venture
    512 vision
    1024 voodoo cult
    2048 voyage
    4096 wander
    8192 waterfall
    16384 wilderness
    32768 wilderness2
    65536 wilderness3
    131072 witching
    262144 wonder
    524288 wonderous
    1048576 workshop
    2097152 lonesome
    4194304 scape main
    8388608 ground scape
    16777216 scape scared
    33554432 scape santa
    67108864 land of snow
    134217728 shaping up
    268435456 exam conditions
    536870912 roots and flutes
    1073741824 incarceration
    -2147483648 scape soft


    Spoiler for Config 25:

    1 shining
    2 yesteryear
    4 fanfare2
    8 tomorrow
    16 duel arena
    32 ice melody
    64 wild isle
    128 harmony2
    256 venture2
    512 landlubber
    1024 undercurrent
    2048 nomad
    4096 zealot
    8192 cellar song
    16384 heart and mind
    32768 close quarters
    65536 escape
    131072 grumpy
    262144 chompy hunt
    524288 twilight
    1048576 morytania
    2097152 dead quiet
    4194304 village
    8388608 bone dance
    16777216 mausoleum
    33554432 forbidden
    67108864 cursed
    134217728 understanding
    268435456 principality
    536870912 tremble
    1073741824 kingdom
    -2147483648 hermit


    Spoiler for Config 298:

    1 la mort
    2 stagnant
    4 breeze
    8 stratosphere
    16 time out
    32 natural
    64 grotto
    128 waterlogged
    256 artistry
    512 aztec
    1024 elven mist
    2048 forest
    4096 lost soul
    8192 meridian
    16384 woodland
    32768 overpass
    65536 contest
    131072 sojourn
    262144 crystal castle
    524288 marzipan
    1048576 insect queen
    2097152 mad eadgar
    4194304 bandit camp
    8388608 sunburn
    16777216 bone dry
    33554432 competition
    67108864 spooky2
    134217728 everywhere
    268435456 exposed
    536870912 well of voyage
    1073741824 haunted mine
    -2147483648 righteousness


    Spoiler for Config 311:

    1 deep down
    2 chamber
    4 miscellania
    8 etcetera
    16 shadowland
    32 lair
    64 deadlands
    128 rellekka
    256 saga
    512 borderland
    1024 stranded
    2048 legend
    4096 frostbite
    8192 warrior
    16384 technology
    32768 monkey madness
    65536 anywhere
    131072 marooned
    262144 island life
    524288 temple
    1048576 suspicious
    2097152 showdown
    4194304 find my way
    8388608 castlewars
    16777216 melodrama
    33554432 ready for battle
    67108864 stillness
    134217728 lighthouse
    268435456 goblin game
    536870912 out of the deep
    1073741824 hell's bells
    -2147483648 the navigator


    Spoiler for Config 346:

    1 wildwood
    2 barbarianism
    4 complication
    8 down to earth
    16 courage
    32 superstition
    64 pirates of peril
    128 dangerous road
    256 romancing the crone
    512 faithless
    1024 tiptoe
    2048 the terrible tower
    4096 masquerade
    8192 the slayer
    16384 body parts
    32768 fenkenstrains refrain
    65536 monster melee
    131072 fruits de mer
    262144 barking mad
    524288 dynasty
    1048576 shipwrecked
    2097152 phasmatys
    4194304 the other side
    8388608 settlement
    16777216 cave of beasts
    33554432 dragontooth island
    67108864 scarab
    134217728 sarcophagus
    268435456 down below
    536870912 7th realm
    1073741824 karamja jam
    -2147483648 pathways


    Spoiler for Config 414:

    1 eagle peak
    2 time to mine
    4 in between
    8 claustrophobia
    16 far away
    32 fight of flight
    64 temple of light
    128 the golem
    256 forgotten
    512 throne of the demon
    1024 dance of the undead
    2048 dangerous way
    4096 city of the dead
    8192 hypnotized
    16384 sphinx
    32768 mirage
    65536 cave of the goblins
    131072 bish bash bosh
    262144 zogre dance
    524288 path of peril
    1048576 wayward
    2097152 tale of keldagrim
    4194304 land of the dwarves
    8388608 tears of guthix
    16777216 romper chomper
    33554432 the rogues den
    67108864 the far side
    134217728 the lost melody
    268435456 evil bobs island
    536870912 into the abyss
    1073741824 the quiz master
    -2147483648 the power of tears


    Spoiler for Config 464:

    1 ---
    2 pheasant peasant
    4 the lost tribe
    8 corporal punishment
    16 the chosen
    32 have a blast
    64 forgettable melody
    128 right on track
    256 over to nardah
    512 the monsters below
    1024 the desolate isle
    2048 spirits of elid
    4096 the genie
    8192 desert heat
    16384 fire and brimstone
    32768 in the pits
    65536 frogland
    131072 strange place
    262144 brew hoo hoo
    524288 tzhaar
    1048576 wild side
    2097152 dead can dance
    4194304 the cellar dwellers
    8388608 jungle troubles
    16777216 catch me if you can
    33554432 rat a tat tat
    67108864 the noble rodent
    134217728 bubble and squeak
    268435456 sarims vermin
    536870912 rat hunt
    1073741824 homescape
    -2147483648 aye car rum ba


    Spoiler for Config 598:

    1 blistering barnacles
    2 distant land
    4 fangs for the memory
    8 pharaohs tomb
    16 land down under
    32 meddling kids
    64 corridors of power
    128 slither and thither
    256 in the clink
    512 mudskipper melody
    1024 subterranea
    2048 incantation
    4096 grip of the talon
    8192 dagannoth dawn
    16384 xenophobe
    32768 title fight
    65536 victory is mine
    131072 woe of the wyvern
    262144 in the brine
    524288 diangos little helpers
    1048576 roll the bones
    2097152 mind over matter
    4194304 golden touch
    8388608 ---
    16777216 the enchanter
    33554432 scape hunter
    67108864 making waves
    134217728 cabin fever
    268435456 last stand
    536870912 lament
    1073741824 poles apart
    -2147483648 scarabaeoidea


    Spoiler for Config 662:

    1 jungle hunt
    2 home sweet home
    4 joy of the hunt
    8 dogs of war
    16 food for thought
    32 malady
    64 dance of death
    128 wrath and ruin
    256 storm brew
    512 the mad mole
    1024 davy joness locker
    2048 chickened out
    4096 hot n bothered
    8192 mastermindless
    16384 too many cooks
    32768 chef surprize
    65536 null and void
    131072 pest control
    262144 tomb raider
    524288 no way out
    1048576 method of madness
    2097152 fear and loathing
    4194304 funny bunnies
    8388608 assault and battery
    16777216 the depths
    33554432 distillery hilarity
    67108864 trouble brewing
    134217728 head to head
    268435456 pinball wizard
    536870912 beetle juice
    1073741824 back to life
    -2147483648 labyrinth


    Spoiler for Config 721:

    1 safety in numbers
    2 everlasting fire
    4 waking dream
    8 dreamstate
    16 the lunar isle
    32 isle of everywhere
    64 way of the enchanter
    128 warriors guild
    256 lifes a beach
    512 on the wing
    1024 little cave of horrors
    2048 the mollusc menace
    4096 the galleon
    8192 ham fisted
    16384 lament of meiyerditch
    32768 sigmunds showdown
    65536 the last shanty
    131072 night of the vampyre
    262144 we are the fairies
    524288 dimension x
    1048576 alls fairy in love and war
    2097152 major miner
    4194304 jester minute
    8388608 norse code
    16777216 volcanic vikings
    33554432 island of the trolls
    67108864 pirates of penance
    134217728 brimstails scales
    268435456 my arms journey
    536870912 slug a bug ball
    1073741824 prime time
    -2147483648 rising damp


    Spoiler for Config 906:

    1 where eagles lair
    2 ogre the top
    4 work work work
    8 magic magic magic
    16 mutant medley
    32 dorgeshuun city
    64 dorgeshuun deep
    128 floating free
    256 roc and roll
    512 high spirits
    1024 looking back
    2048 jungle island xmas
    4096 sea shanty xmas
    8192 jungle bells
    16384 garden of summer
    32768 garden of spring
    65536 garden of winter
    131072 garden of autumn
    262144 have an ice day
    524288 zombiism
    1048576 creature cruelty
    2097152 alternative root
    4194304 espionage
    8388608 undead dungeon
    16777216 slice of station
    33554432 barb wire
    67108864 impetuous
    134217728 easter jig
    268435456 ham attack
    536870912 slice of silent movie
    1073741824 ham and seek
    -2147483648 venomous


    Spoiler for Config 1009:

    1 mouse trap
    2 fe fi fo fum
    4 schools out
    8 inadequacy
    16 illusive
    32 everlasting
    64 untouchable
    128 down and out
    256 on the up
    512 melzars maze
    1024 zamarak zoo
    2048 strength of saradomin
    4096 bandos battalion
    8192 armadyl alliance
    16384 armageddon
    32768 storeroom shuffle
    65536 the longramble scramble
    131072 waste defaced
    262144 knightmare
    524288 lore and order
    1048576 terrorbird tussle
    2097152 altar ego
    4194304 bolries diary
    8388608 healin feelin
    16777216 animal apogee
    33554432 temple of tribes
    67108864 catacombs and tombs
    134217728 zaniks theme
    268435456 duksk in yubiusk
    536870912 grimly fiendish
    1073741824 tune from the dune
    -2147483648 spa bizarre


    Spoiler for Config 1104:

    1 copris lunaris
    2 narnodes theme
    4 tournament
    8 clan wars
    16 charmin farmin
    32 bounty hunter level 1
    64 bounty hunter level 2
    128 bounty hunter level 3
    256 the adventurer
    512 creepy
    1024 a new menace
    2048 ---
    4096 ---
    8192 ---
    16384 ---
    32768 ---
    65536 ---
    131072 ---
    262144 ---
    524288 ---
    1048576 ---
    2097152 brain battle
    4194304 ---
    8388608 ---
    16777216 suroks theme
    33554432 ---
    67108864 ---
    134217728 ---
    268435456 ---
    536870912 ---
    1073741824 ---
    -2147483648 ---


    Spoiler for Config 1136:

    1 ---
    2 ---
    4 ---
    8 ---
    16 ---
    32 ---
    64 ---
    128 ---
    256 ---
    512 ---
    1024 ---
    2048 the trade parade
    4096 jungle community
    8192 ---
    16384 icy trounle ahead
    32768 icy a worried gnome
    65536 ---
    131072 ---
    262144 ---
    524288 ---
    1048576 ---
    2097152 ---
    4194304 ---
    8388608 ---
    16777216 ---
    33554432 ---
    67108864 ---
    134217728 ---
    268435456 ---
    536870912 ---
    1073741824 ---
    -2147483648 ---


    Spoiler for Config 1180:

    1 ---
    2 ---
    4 ---
    8 ---
    16 ---
    32 ---
    64 ---
    128 ---
    256 bloodbath
    512 the route of all evil
    1024 the route of the problem
    2048 the wrong path
    4096 the columbarium
    8192 the terrible tunnels
    16384 the terrible caverns
    32768 dillogence is key
    65536 arma gonna get you
    131072 toktz ket ek mack
    262144 jailbird
    524288 bittersweet bunny
    1048576 something fishy
    2097152 under the sand
    4194304 desert smoke
    8388608 a pirates life for me
    16777216 conspiracy part 1
    33554432 conspiracy part 2
    67108864 scape summon
    134217728 guthixs hunter
    268435456 waiting for the hunt
    536870912 cool for ali cats
    1073741824 second vision
    -2147483648 ---


    Spoiler for Config 1202:

    1 ---
    2 ---
    4 ---
    8 the mentor
    16 slain to waste
    32 ardougne ago
    64 ---
    128 shining spirit
    256 troubled spirit
    512 ---
    1024 ---
    2048 ---
    4096 ---
    8192 ---
    16384 ---
    32768 ---
    65536 ---
    131072 ---
    262144 ---
    524288 ---
    1048576 ---
    2097152 ---
    4194304 ---
    8388608 ---
    16777216 ---
    33554432 ---
    67108864 ---
    134217728 ---
    268435456 ---
    536870912 ---
    1073741824 ---
    -2147483648 ---


    Hope this helps someone!
    Reply With Quote  
     


  2. #2  
    Renown Programmer
    Greg's Avatar
    Join Date
    Jun 2010
    Posts
    1,179
    Thanks given
    260
    Thanks received
    1,012
    Rep Power
    2003
    Great to see people contributing

    Just a few things to add:
    Incase people are using other revisions those configs can be found in cs2 837
    The music names can be found in enum 1345 (index 17)
    Rather than list all the values, you can just calculate the config and value based on the musics index

    e.g sea shanty 2 is index 107 in the total music list.
    107 / 32 tracks per config = config index 3 (aka config 23)
    107 % 32 = index 11 ^2 = 2048

    1 << 11 also works instead of 11^2
    Attached imageAttached image
    Reply With Quote  
     


  3. #3  
    08-13, SpawnScape Owner

    jet kai's Avatar
    Join Date
    Dec 2009
    Age
    28
    Posts
    870
    Thanks given
    630
    Thanks received
    957
    Rep Power
    5000
    Thanks for this, very useful and insightful post!
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jul 2020
    Posts
    2
    Thanks given
    0
    Thanks received
    6
    Rep Power
    0
    Quote Originally Posted by Greg View Post
    Rather than list all the values, you can just calculate the config and value based on the musics index

    e.g sea shanty 2 is index 107 in the total music list.
    107 / 32 tracks per config = config index 3 (aka config 23)
    107 % 32 = index 11 ^2 = 2048

    1 << 11 also works instead of 11^2

    Thanks, Greg!

    So if musicConfig was a 0 based array of all the different music configs,
    and musicNumber was a number from a 0 based array of all the different music,
    we could work out the configNumber and the musicFlag from a neat little bit of code...

    Code:
            int[] musicConfigs = {20, 21, 22, 23, 24, 25, 298, 311, 346, 414, 464, 598, 662, 721, 906, 1009, 1104, 1136, 1180, 1202};
    	int musicNumber = 107;
    	int configNumber = musicConfigs[musicNumber / 32];
    	int musicFlag = 1 << musicNumber % 32;
    Awesome, thanks for the info!
    Reply With Quote  
     

  5. #5  
    Renown Programmer
    Greg's Avatar
    Join Date
    Jun 2010
    Posts
    1,179
    Thanks given
    260
    Thanks received
    1,012
    Rep Power
    2003
    Quote Originally Posted by whittle91 View Post
    Thanks, Greg!

    So if musicConfig was a 0 based array of all the different music configs,
    and musicNumber was a number from a 0 based array of all the different music,
    we could work out the configNumber and the musicFlag from a neat little bit of code...

    Code:
            int[] musicConfigs = {20, 21, 22, 23, 24, 25, 298, 311, 346, 414, 464, 598, 662, 721, 906, 1009, 1104, 1136, 1180, 1202};
    	int musicNumber = 107;
    	int configNumber = musicConfigs[musicNumber / 32];
    	int musicFlag = 1 << musicNumber % 32;
    Yep exactly, "musicNumber" is the 0 based index for the track, it's used as they key in enum 1345 (also 1346 - groups, 1347 - lower case names & 1349 - unlock descriptions) which looks like: {0=Adventure, 1=Al Kharid, 2=Alone, 3=Ambient Jungle, 4=Arabian, 5=Arabian2, ... , 615=Shining Spirit, 616=Troubled Spirit} or calculated on click from the interface packet index divided by 2
    Attached imageAttached image
    Reply With Quote  
     

  6. #6  
    Member 555/555 Music unlock and full music config explanation Market Banned


    Luke132's Avatar
    Join Date
    Dec 2007
    Age
    35
    Posts
    12,574
    Thanks given
    199
    Thanks received
    7,106
    Rep Power
    5000
    Thanks bro

    Attached imageAttached image
    Reply With Quote  
     

  7. #7  
    Registered Member
    Tyluur's Avatar
    Join Date
    Jun 2010
    Age
    26
    Posts
    5,103
    Thanks given
    1,818
    Thanks received
    1,767
    Rep Power
    2438
    I am very happy to see this, thank you.

    There's a lot of data in #500s that is all over the place!
    Quote Originally Posted by blakeman8192 View Post
    Keep trying. Quitting is the only true failure.
    Spoiler for skrrrrr:

    Attached image
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Music playing and fading out
    By Profesor Oak in forum Tutorials
    Replies: 92
    Last Post: 08-10-2012, 03:47 PM
  2. Replies: 12
    Last Post: 04-27-2012, 03:08 AM
  3. Music System And Command!!!!
    By ZRPS in forum Tutorials
    Replies: 3
    Last Post: 02-24-2010, 07:49 AM
  4. Music cape...and..much..more!!
    By Jammy780 in forum Models
    Replies: 38
    Last Post: 07-23-2008, 07:33 AM
  5. Replies: 31
    Last Post: 05-30-2008, 12:14 AM
Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •