Donkey Kong Country 3 - Patch complete (need PCM)

View previous topic View next topic Go down

Donkey Kong Country 3 - Patch complete (need PCM)

Post by Conn on Mon 25 Dec 2017 - 18:57

Here's the msu1 patch for Donkey Kong Country 3.

- hardcore apu muted... on normal emulator you have mute. Sorry, failed to mute with another option.

- Themes must be mapped and pcm:s created

Themelist:
Spoiler:


for the pcm mapping, take the dec number, e.g., dkc3_msu1-22.pcm ia rare logo



hex pcm loop title
01 01 yes Bonus Time! (Start at Prelude)
02 02 yes (*repeat as 01) Bonus Time! (Start at Prelude)
03 03 yes (*repeat as 01) Bonus Time! (Start at Prelude)
04 04 yes Brothers Bear
05 05 yes Wrinkly's Cave (Get Fit A-Go-Go)
06 06 yes Water World (Underwater Levels)
07 07 yes Hot Pursuit
08 08 yes Nuts and Bolts (Factory)
09 09 yes Swanky's Sideshow
0a 10 yes Cascade Capers (Waterfall Levels)
0b 11 yes Treetop Tumble (Tree Levels)
0c 12 yes Boss Boogie
0d 13 yes Jangle Bells (Bonus song with MERRY code)
0e 14 yes Mill Fever (Mill Levels) (Level 2)
0f 15 yes Stilt Village (Dock Levels) (Level 1)
10 16 yes Enchanted Riverbank (Riverside Levels)
11 17 yes Submap Shuffle (Level Maps)
12 18 yes Krematoa Koncerto (Lost World)
13 19 yes Northern Kremisphere (Overworld)
14 20 no Game Over
15 21 yes Hangin' at Funky's (Funky's Rentals)
16 22 no Fanfare (Rare and Nintendo logos)
17 23 yes Frosty Frolics (Snow Levels)
18 24 no Dixie Beat (Title Screen Theme)
19 25 yes Pokey Pipes
1a 26 yes Big Boss Blues (K. Roolenstein)
1b 27 yes Crystal Chasm (Banana Bird Cave)
1c 28 yes Rocket Run
1d 29 yes Jungle Jitter
1e 30 yes Cavern Caprice
1f 31 yes (*repeat as 0c) Boss Boogie
20 32 yes Baddies on Parade (End)
21 33 yes Rockface Rumble
22 34 yes Crazy Calypso (Game Selection Screen)
23 35 yes Mama Bird
24 36 yes (*repeat as 13) Northern Kremisphere
25 37 yes (*repeat as 13) Northern Kremisphere
26 38 yes (*repeat as 08) Nuts and Bolts (Factory)
27 39 yes (*repeat as 1a) Big Boss Blues (K. Roolenstein)
28 40 yes (*repeat as 0c) Boss Boogie
29 41 yes (*repeat as 1e) Cavern Caprice
2a 42 yes Chase
2b 43 yes (*repeat as 0d) Jangle Bells
2c 44 yes (*repeat as 0d) Jangle Bells
2d 45 yes (*repeat as 0d) Jangle Bells
2e 46 no Stage Clear (Jungle)


Extra Sound effects
indexed to 30, e.g. dying is dkc3_msu1-53.pcm

hex index pcm  loop
01  31    49   yes Bonus game theme
02  32    50   no Bonus game lost
03  33    51   no Bonus Game won
04  34    52   no Level completed
05  35    53   no died
06  36    54   no boss fight won
07  37    55   no banana bird rescued
08  38    56   no Swanky start game
09  39    57   no Swanky Lost game
0A  3a    58   no Swanky Won game


Mapping the themes is not easy, you cannot cheat for them Sad
You need to make a Geiger breakpoint (execute) at
$B2/80b3 A2 FF 00    LDX #$00FF
Start a Level and now set then in ram address 7e0008 to the track you want to hear.

The extra soundtracks (49-53) cannot be addressed this way but they are luckily all mapped already.

v3:
http://bszelda.zeldalegends.net/stuff/Con/dkc3_msu1_patch.zip


Last edited by Conn on Sun 14 Jan 2018 - 8:05; edited 12 times in total
avatar
Conn



Since : 2013-06-30

Back to top Go down

Re: Donkey Kong Country 3 - Patch complete (need PCM)

Post by Conn on Tue 26 Dec 2017 - 5:39

Updated zip in the first post with a working xml, so now also bsnes is supported Very Happy
avatar
Conn



Since : 2013-06-30

Back to top Go down

Re: Donkey Kong Country 3 - Patch complete (need PCM)

Post by smokemonster on Tue 2 Jan 2018 - 9:53

Excellent work, Conn. Thank you! Very Happy
avatar
smokemonster
Armos Knight
Armos Knight

Since : 2017-03-04

Back to top Go down

Re: Donkey Kong Country 3 - Patch complete (need PCM)

Post by Conn on Thu 4 Jan 2018 - 17:20

Here's how you can map the themes. I hope somebody is able to do that Very Happy

avatar
Conn



Since : 2013-06-30

Back to top Go down

Re: Donkey Kong Country 3 - Patch complete (need PCM)

Post by daniloroxette on Sun 7 Jan 2018 - 18:52

Greetings.

I'm so glad to see this topic.

I am a newbie in HEX data analysis. I spent the last few days without looking at this forum and yesterday I finally succed to disable the music in the rom of DKC3 with my own effort. Useless, now that I just saw that the .ips patch to MSU-1 was here since last year. LOL
Very Happy .
Thank you, Conn.

I do not know if I can be useful in any way, but I'll update the list with the official names of the songs and register some other things that I found out just for information.



Theme List [HEX/PCM/LOOP/TITLE]:


hexpcm looptitle
01 01yesBonus Time! (Start at Prelude)
02 02yes(*repeat as 01) Bonus Time! (Start at Prelude)
03 03yes(*repeat as 01) Bonus Time! (Start at Prelude)
04 04yesBrothers Bear
05 05yesWrinkly's Cave (Get Fit A-Go-Go)
06 06yesWater World (Underwater Levels)
07 07yesHot Pursuit
08 08yesNuts and Bolts (Factory)
09 09yesSwanky's Sideshow
0a 10yesCascade Capers (Waterfall Levels)
0b 11yesTreetop Tumble (Tree Levels)
0c 12yesBoss Boogie
0d 13yesJangle Bells (Bonus song with MERRY code)
0e 14yesMill Fever (Mill Levels) (Level 2)
0f 15yesStilt Village (Dock Levels) (Level 1)
10 16yesEnchanted Riverbank (Riverside Levels)
11 17yesSubmap Shuffle (Level Maps)
12 18yesKrematoa Koncerto (Lost World)
13 19yesNorthern Kremisphere (Overworld)
14 20noGame Over
15 21yesHangin' at Funky's (Funky's Rentals)
16 22noFanfare (Rare and Nintendo logos)
17 23yesFrosty Frolics (Snow Levels)
18 24noDixie Beat (Title Screen Theme)
19 25yesPokey Pipes
1a 26yesBig Boss Blues (K. Roolenstein)
1b 27yesCrystal Chasm (Banana Bird Cave)
1c 28yesRocket Run
1d 29yesJungle Jitter
1e 30yesCavern Caprice
1f 31yes(*repeat as 0c) Boss Boogie
20 32yesBaddies on Parade (End)
21 33yesRockface Rumble
22 34yesCrazy Calypso (Game Selection Screen)
23 35yesMama Bird
24 36yes(*repeat as 13) Northern Kremisphere
25 37yes(*repeat as 13) Northern Kremisphere
26 38yes(*repeat as 08) Nuts and Bolts (Factory)
27 39yes(*repeat as 1a) Big Boss Blues (K. Roolenstein)
28 40yes(*repeat as 0c) Boss Boogie
29 41yes(*repeat as 1e) Cavern Caprice
2a 42yesChase
2b 43yes(*repeat as 0d) Jangle Bells
2c 44yes(*repeat as 0d) Jangle Bells
2d 45yes(*repeat as 0d) Jangle Bells
2e 46no Stage Clear (Jungle)


Notice 1:

As with DKC2, each track has its Death and Stage Clear variant. There are 17 types. I could not locate them. List:

Variant Song List:



  • Lose Life / Stage Clear (Big Boss)
  • Lose Life / Stage Clear (Boss Battle)
  • Lose Life / Stage Clear (Caves)
  • Lose Life / Stage Clear (Chase)
  • Lose Life / Stage Clear (Christmas)
  • Lose Life / Stage Clear (Factory)
  • Lose Life / Stage Clear (Jungle)
  • Lose Life / Stage Clear (Mill)
  • Lose Life / Stage Clear (Mountain)
  • Lose Life / Stage Clear (Pipes)
  • Lose Life / Stage Clear (River)
  • Lose Life / Stage Clear (Rocket)
  • Lose Life / Stage Clear (Snow)
  • Lose Life / Stage Clear (Trees)
  • Lose Life / Stage Clear (Underwater)
  • Lose Life / Stage Clear (Village)
  • Lose Life / Stage Clear (Waterfall)


Other Variants:


  • Banana Bird! (after release a bird. near Mama Bird song hex code)
  • Bonus Win! (near Bonus Time song hex code)
  • Bonus Lose (near Bonus Time song hex code)
  • Brothers Bear Blues (a slow one from the water world bear)
  • Cranky's Showdown (near Swanky's Sideshow song hex code)
  • Showdown Win! (near Swanky's Sideshow song hex code)
  • Showdown Lose (near Swanky's Sideshow song hex code)
  • Wrinkly's Save Cave (*There are 3 Wrinkly songs)
  • Wrinkly's 64



PS: I follow the instructions to MAP the themes via BSNES but I didn't understand what data should I extract to help here.

Notice 2:

In DKC3, all stage songs starts from different points in 3 different situations:
1 - after leaving the bonus.
2 - after entering the stage from the checkpoint
3 - after leaving warp.
I've noticed that there are 3 different points from which the songs can be resumed.


Notice 3:

I've tested the MSU-1 here and, at least at Lakeside Limbo (dkc3_msu-15.pcm) the following happens:
1 - after leaving the bonus: the file seems to always restarts
2 - after enter the stage with chekpoint: the file seems to always restarts
3 - after leaving the warp barrel: the file dkc3_msu-49.pcm plays. (this also happens after warp barrel at the 2nd level - Doorstop Dash, I  didn't try further levels)

I believe that to make the MSU-1 possible, the PCM track always starts from the beginning of the file. I don't think this is bad, but is just something we need to look up.

I hope something helps.
Keep up the good work.
avatar
daniloroxette
Bee
Bee

Since : 2017-09-25

Back to top Go down

Re: Donkey Kong Country 3 - Patch complete (need PCM)

Post by Conn on Sun 7 Jan 2018 - 19:48

Wow, much thanks for mapping the themes!
I didn't know about level specific variants... But if nobody mind much, I'd not implement this, as it seems to be a hell of work. At least not for now... people are always welcome to advance my code however Smile

Resuming msu isn't possible if another theme was introduced in the meantime. We have this technical limitation. So it is only possible to play it from start.

Didn't even know about the existence of warp barrels. How strange that it plays Pcm 49. This surely is a bug to fix.
avatar
Conn



Since : 2013-06-30

Back to top Go down

Re: Donkey Kong Country 3 - Patch complete (need PCM)

Post by Conn on Sun 7 Jan 2018 - 20:43

ok, already fixed that warp barrel track change thing Wink

Please redownload the patch in the first post to have it fixed!
avatar
Conn



Since : 2013-06-30

Back to top Go down

Re: Donkey Kong Country 3 - Patch complete (need PCM)

Post by daniloroxette on Mon 8 Jan 2018 - 15:25

Long Message Retracted:


Thanks for the quickly return. I've downloaded the last version. Now, I played the whole game to test. I'm still grateful for the great work.

Here's what I found out on my test:

Overworld

At the Overworld (Northern Kremisphere song), sometimes plays the 19.pcm and sometimes plays 37.pcm (copy). I don't know if it will request the 36.pcm copy sometime and I did not figure out what switchs it.


Bonus:

The bonus from Lakeside Limbo plays 3.pcm as Prelude and then, plays 49.pcm as expected. Sometimes, the 3.pcm isn't playing on further levels, but 1.pcm. It needs to have duplicates in order to function.

This whole song (since the prelude) will be used again on credit roll. The credit roll is playing 1.pcm

Blue Brothers

Blue Brothers plays the normal Brothers Bear song. I particulary don't think i'ts bad thing, specially due to msu limitations. Anyway, the normal behavior is:
The Blue Brothers song (the slow version) changes after we give him a gift. The song slyghty speeds up from slower to the regular song.

Another issues related to not mapped songs (*):

*=not mapped songs

Wrinkly:

Now, Wrinkly is always playing the "Get Fit A-Go-Go" (5.pcm) song.
That's fine, in my oppinion. Anyway, the normal behavior is:

  • Music "Wrinkly 64*" = When Wrinkly is sleeping
  • Music "Wrinkly Save Game*" = When Wrinkly is playing a game
  • Music "Wrinkly Get Fit A-Go-Go" = When she stands up exercising



Banana Bird Cave


  • When releasing a bird from the crystal cave, the 49.pcm plays instead "Banana Bird!*"



Cranky Showdown (inside Swanky Showndown)


  • When Cranky starts to play, the 49.pcm plays instead "Cranky's Showdown*"
  • When losing to Cranky, the 51.pcm (Bonus Win) plays instead "Showdown Lose*"
  • When win Cranky, the 50.pcm (Bonus Lose) plays instead "Showdown Win*"



Bosses:

  • Belcha (Lake Orangatanga)' is playing 31.pcm (copy of 12.pcm)
  • Arich (Kremwood Forest) is playing 12.pcm
  • Squirt (Cotton-top Cove - Water world) is muted.
  • Kaos (Mekanos - Factory World) is muted.
  • K Roolenstein (from Kaos Kore) is muted. (I didn't test, but it problably plays 39.pcm copy)
  • Win a boss plays 49.pcm instead "Stage Clear (Big Boss)*"



It's not a boss, but Pot Hole Panic (level 6-4) is muted (needs to play 30.pcm). (I didn't test, but it problably plays 41.pcm copy)



I'm preparing a pcm set with the original songs and it's looping points.

Issues:


  • When releasing a bird from the crystal cave, the 49.pcm plays instead "Banana Bird!*"
  • Win a boss plays 49.pcm instead "Stage Clear (Big Boss)*"
  • When Cranky starts to play, the 49.pcm plays instead "Cranky's Showdown*"
  • When losing to Cranky, the 51.pcm (Bonus Win) plays instead "Showdown Lose*"
  • When we beat Cranky, the 50.pcm (Bonus Lose) plays instead "Showdown Win*"


*not mapped songs.


Last edited by daniloroxette on Mon 8 Jan 2018 - 19:11; edited 1 time in total
avatar
daniloroxette
Bee
Bee

Since : 2017-09-25

Back to top Go down

Re: Donkey Kong Country 3 - Patch complete (need PCM)

Post by Conn on Mon 8 Jan 2018 - 16:09

Seeing such a long buglist, I feel the wish inside having a gun next to me Very Happy
Don't expect any fix soon, I have right now Illusion of Gaia on my priority list and this is time consuming. I also didn't play DKC3 for 15 years, I only played 1st and 2nd Level in order to make the patch, so I have to google the stuff you mention how to get there fastest (like boss names).
Furthermore, real life business cought me again Sad

If you have any hacking skills, feel free to improve the asm and we make it a shared work Wink
Also, can you reduce (filter) the list to "mandatory to fix bugs", I mean like the death/win variants are a nice to have, but do not affect the gameplay, while the warp barrel was a real bug that was mandatory to fix.
As example: your bonus game playing 1.pcm or 3.pcm is no bug to fix, just have the duplicated pcm. Same is valid for the northern heisphere switch I guess.
Banana Theme for releasing bird, is something, I cannot tell atm if a bug or a nice to have.
The boss themes not played sound surely like a mandatory bug fix... which themes shall they play?
avatar
Conn



Since : 2013-06-30

Back to top Go down

Re: Donkey Kong Country 3 - Patch complete (need PCM)

Post by daniloroxette on Mon 8 Jan 2018 - 19:13

Conn, I assure you that I never wanted to make you feel the wish of having a gun next to you. Very Happy

I only intend to report what I found, not demanding anything. I think the job is done perfectly and I reiterate my thankfullness for you to share it worldwide.

I'm still learning and I hope that someday I can help more than just write what I found out.

I edited my post, retracting the long message and highlighting the mandatory, as you suggested.

Smile
avatar
daniloroxette
Bee
Bee

Since : 2017-09-25

Back to top Go down

Re: Donkey Kong Country 3 - Patch complete (need PCM)

Post by Conn on Tue 9 Jan 2018 - 0:33

Ah, so only these things:

When releasing a bird from the crystal cave, the 49.pcm plays instead "Banana Bird!*"
Win a boss plays 49.pcm instead "Stage Clear (Big Boss)*"
When Cranky starts to play, the 49.pcm plays instead "Cranky's Showdown*"
When losing to Cranky, the 51.pcm (Bonus Win) plays instead "Showdown Lose*"
When we beat Cranky, the 50.pcm (Bonus Lose) plays instead "Showdown Win*"
must be fixed?
I surely can take care of that after Illusion of Gaia. No need to buy myself a gun then Embarassed

One thing left to clarify:
Squirt (Cotton-top Cove - Water world) is muted.
Kaos (Mekanos - Factory World) is muted.
Are these bosses still muted or did you find a theme copy that played? I think muted bosses would be a mandatory bug
avatar
Conn



Since : 2013-06-30

Back to top Go down

Re: Donkey Kong Country 3 - Patch complete (need PCM)

Post by daniloroxette on Tue 9 Jan 2018 - 10:19

Yeah. The updated list is a fix suggestion.

Once all the stage clear variants are playing 52.pcm, I think if it also plays when we beat the bosses it will be better. So:

Win a boss could play 52.pcm instead 49.pcm.

The muted bosses were a copy issue, indeed. The ones I mentioned (Squirt & Kaos) plays 40.pcm
avatar
daniloroxette
Bee
Bee

Since : 2017-09-25

Back to top Go down

Re: Donkey Kong Country 3 - Patch complete (need PCM)

Post by Conn on Tue 9 Jan 2018 - 11:37

You see I unfortunately have too much projects on the run, so I only can do the most necessary and no "nice to have" stuff. As said, people are welcome to advance my code.

I hope I can work on your found bugs in a few days.
avatar
Conn



Since : 2013-06-30

Back to top Go down

Re: Donkey Kong Country 3 - Patch complete (need PCM)

Post by Conn on Thu 11 Jan 2018 - 12:35

Alright, I had some time to map the wrong themes, here how it goes:

hex index pcm  loop
01  31    49   yes Bonus game theme
02  32    50   no Bonus game lost
03  33    51   no Bonus Game won
04  34    52   no Level completed
05  35    53   no died
06  36    54   no boss fight won
07  37    55   no banana bird rescued
08  38    56   no Swanky start game
09  39    57   no Swanky Lost game
0A  3a    58   no Swanky Won game

Re-download patch from first post!
avatar
Conn



Since : 2013-06-30

Back to top Go down

Re: Donkey Kong Country 3 - Patch complete (need PCM)

Post by Conn on Sun 14 Jan 2018 - 8:07

v3 has been posted in first post, daniloroxette reported that dying at specific locations sometimes play the bonus lost themes.
avatar
Conn



Since : 2013-06-30

Back to top Go down

Re: Donkey Kong Country 3 - Patch complete (need PCM)

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum