DKC3 GBA debug remnants(?)

Share and discuss all facets of DKC ROM hacking...

DKC3 GBA debug remnants(?)

Postby Raccoon Sam » October 18th, 2011, 7:30 am

Hey.
I've done GBA hacking in the past, but have not really studied it objectively. I've only recently gone into checking DKC3-GBA out, and hope to learn more as I go deeper.
Here's a few interesting things:
0xFD0000, ASCII:
Code: Select all
===========================================
DK3 START
===========================================

EEPROM SIZE: 512
EEPROM SAVE SIZE: 120 *3
EEPROM GLOBAL SIZE: 136
EEPROM TOTAL USE: 496


NEW BACKGROUND :241 Warning Page

fours layer 0:1208
chars, size:467, 0x3a60
map layer 0 size :76

Background type: DM_1024
layer 0 uses 467, free 557
layer 1,2,3 uses 0, free 960
number of layers used :1


NEW BACKGROUND :200 Diddymask Frontend

fours layer 0:1172
chars, size:523, 0x4160
map layer 0 size :360
fours layer 3:704
chars, size:84, 0xa80
map layer 3 size :76

Background type: DM_1024
layer 0 uses 523, free 501
layer 1,2,3 uses 84, free 812
number of layers used :2


NEW BACKGROUND :167 Title Screen

fours layer 0:1912
chars, size:259, 0x2060
map layer 0 size :116
fours layer 1:832
chars, size:314, 0x2740
map layer 1 size :88
fours layer 2:256
chars, size:23, 0x2e0
map layer 2 size :96

Background type: DM_1024
layer 0 uses 259, free 765
layer 1,2,3 uses 337, free 495
number of layers used :3


NEW BACKGROUND :189 FRONTEND

fours layer 0:1264
chars, size:580, 0x4880
map layer 0 size :76
chars, size:10, 0x140

Background type: DM_1024
layer 0 uses 580, free 444
layer 1,2,3 uses 10, free 886
number of layers used :2


NEW BACKGROUND :11 Springin' Spiders

fours main layer :14260
char data : 71616
map layer 0 size :11784
map layer 1 size :11784
fours layer 2:1676
chars, size:212, 0x1a80
map layer 2 size :128
fours layer 3:2180
chars, size:235, 0x1d60
map layer 3 size :128

Background type: DM_DLOAD_2_LAYERS
layer 2,3 uses 447, free 1
number of layers used :4


EDIT: What the ?!?!
Half of my post got chopped off.. I don't know why. Aw man, it was a long post.
Damn.

Well, I don't feel like typing it all again so here's all that jazz in a nutshell:
Trailblazer
Bananas received 34
Posts: 265
Joined: 2008

Re: DKC3 GBA debug remnants(?)

Postby Raccoon Sam » October 18th, 2011, 7:34 am

0xB0EC4:
Code: Select all
AUDIO ERROR, freq of sample unusually high. (>3 times normal)
AUDIO ERROR, pitch frequency too low
AUDIO ERROR, pitch frequency too high
AUDIO ERROR, adsr_acts table exceeded
AUDIO ERROR, midi_command table exceeded
AUDIO ERROR, midi delta time too big
AUDIO ERROR, midi delta time of 4 bytes unsupported
AUDIO ERROR, too many notes on channel 0.increase polyphony RAM
           or modify tune (perhaps reduce envelope release times)
AUDIO ERROR, too many notes on channel 1.increase polyphony RAM
           or modify tune (perhaps reduce envelope release times)
AUDIO ERROR, too many notes on channel 2.increase polyphony RAM
           or modify tune (perhaps reduce envelope release times)
AUDIO ERROR, too many notes on channel 3.increase polyphony RAM
           or modify tune (perhaps reduce envelope release times)
AUDIO ERROR, too many notes on channel 4.increase polyphony RAM
           or modify tune (perhaps reduce envelope release times)
AUDIO ERROR, too many notes on channel 5.increase polyphony RAM
           or modify tune (perhaps reduce envelope release times)
AUDIO ERROR, too many notes on channel 6.increase polyphony RAM
           or modify tune (perhaps reduce envelope release times)
AUDIO ERROR, too many notes on channel 7.increase polyphony RAM
           or modify tune (perhaps reduce envelope release times)
AUDIO ERROR, too many notes on channel 8.increase polyphony RAM
           or modify tune (perhaps reduce envelope release times)
AUDIO ERROR, too many notes on channel 9.increase polyphony RAM
           or modify tune (perhaps reduce envelope release times)
AUDIO ERROR, too many notes on channel 10.increase polyphony RAM
           or modify tune (perhaps reduce envelope release times)
AUDIO ERROR, too many notes on channel 11.increase polyphony RAM
           or modify tune (perhaps reduce envelope release times)
AUDIO ERROR, too many notes on channel 12.increase polyphony RAM
           or modify tune (perhaps reduce envelope release times)
AUDIO ERROR, too many notes on channel 13.increase polyphony RAM
           or modify tune (perhaps reduce envelope release times)
AUDIO ERROR, too many notes on channel 14.increase polyphony RAM
           or modify tune (perhaps reduce envelope release times)
AUDIO ERROR, too many notes on channel 15.increase polyphony RAM
           or modify tune (perhaps reduce envelope release times)
AUDIO ERROR, not enough space to put audio RAM code
AUDIO ERROR, more than 16 tracks in song
AUDIO ERROR, tune num > max tunes available
AUDIO ERROR, MIDI note on command before MIDI prog chng command
AUDIO ERROR, requested playback freq exceeds max freq
AUDIO ERROR, incorrect note mapping for rhythm_set
AUDIO ERROR, incorrect note mapping for keysplit
AUDIO ERROR, invalid fx number
AUDIO ERROR, invalid tune number
AUDIO ERROR, could not find startpoint

Built-in audio debugger?

Code: Select all
Cranky's Dojo 9
HEROPAGE 3
HEROPAGE 2
HEROPAGE 1
Cobra Track 4
Cobra Track 3
BR3 Stampede Sprint
CREDITS
Swanky Backdrop
funky  backdrop
Cranky menu background
Exit Ripcurl Reef
End Sequence
Swankys World 8
Swankys World 7
Swankys World 6
Swankys World 5
Swankys World 4
Swankys World 3
Swankys World 2
Swankys World 1
WHIRLPOOL WRECK
Cave K's Kache
Cave Belcha's Burrow
Cave Hilltop Hoard
Cave Clifftop Cache
Cave Sky High Secret
Cave Glacial Grotto
Cave Sewer Stockpile
Cave Bounty Bay
Cave Undercover Cove
Cave Kong Cave
Cave Arich's Hoard
Warning Page
Cave Smuggler's Cove
Cave Bounty Beach
Banana Queen
Game Over Page
Swanky Kong (
Diddymask Frontend
Cranky Interior
Cranky's Dojo 8
Cranky's Dojo 7
Cranky's Dojo 6
Cranky's Dojo 5
Cranky's Dojo 4
Cranky's Dojo 3
Cranky's Dojo 2
Cranky's Dojo 1
Wrinkly Kong
FRONTEND
WORLDMAP PAUSE
Funky hut
DK Hut for intro
Cobra Track 2
Cobra Track 1
Cobra Track 0
Bramble Bear
Barter Bear
Baffle Bear
Barnacle Bear
Batchelor Bear
Blizzard Bear
Brash Bear
Bazooka Bear
Bjorn Bear
Benny Bear
Boomer Bear
Blunder Bear
Blue Bear
Bazaar Bear
Bonus - Warp Room
Title Screen
Bonus - Defeat Baddies
Bonus - Find Token
Bonus - Collect Stars
Bonus - Collect Nanas
Krematoa
Kaos Kore
Razor Ridge
Pacifica
K3
Mekanos
Cotton-Top Cove
Kremwood Forest
Lake Orangatanga
Main World Map
Exit Floodlit Fish
Exit Fish Food Frenzy
Exit Bazza's Blockade
BR3 Swoopy Salvo
BR2 Swoopy Salvo
BR1 Swoopy Salvo
BR 3 Tyrant Twin Tussle
BR2 Tyrant Twin Tussle
BR1 Tyrant Twin Tussle
BR2 Criss Kross Cliffs
BR1 Criss Kross Cliffs
SAVE PAGE
BR2 Stampede Sprint
BR1 Stampede Sprint
BR2 Poisonous Pipeline
BR1 Poisonous Pipeline
BR2 Koindozer Klamber
BR1 Koindozer Klamber
BR1 Lightning Lookout
BR2 Lightning Lookout
BR2 Creepy Caverns
BR1 Creepy Caverns
BR2 Konveyor Rope Klash
BR1 Konveyor Rope Klash
BR2 Ropey Rumpus
BR1 Ropey Rumpus
BR2 Pot Hole Panic
BR1 Pot Hole Panic
BR2 Floodlit Fish
BR1 Floodlit Fish
BR2 Kongfused Cliffs
BR1 Kongfused Cliffs
BR2 Buzzer Barrage
BR1 Buzzer Barrage
BR2 Surf's Up
BR1 Surf's Up
BR2 Ripcurl Reef
BR1 Ripcurl Reef
BR2 Cliffside Blast
BR1 Cliffside Blast
BR2 Sunken Spruce
BR1 Sunken Spruce
BR2 Stormy Seas
BR1 Stormy Seas
BR1 Dingy Drainpipe
BR2 Dingy Drainpipe
BR2 Lemguin Lunge
BR1 Lemguin Lunge
BR2 Krack Shot Kroc
BR1 Krack Shot Kroc
BR2 Barrel Drop Bounce
BR1 Barrel Drop Bounce
BR2 Tearaway Toboggan
BR1 Tearaway Toboggan
BR2 Krevice Kreepers
BR1  Krevice Kreepers
BR2 Low G Labyrinth
BR1 Low G Labyrinth
BR1 Blazing Bazukas
BR2 Ripsaw Rage
BR1 Ripsaw Rage
BR2 Demolition Drainpipe
BR1 Demolition Drainpipe
BR2 Fireball Frenzy
BR1 Fireball Frenzy
BR2 Fish Food Frenzy
BR1 Fish Food Frenzy
BR2 Tracker Barrel Trek
BR1 Tracker Barrel Trek
BR2 Kreeping Klasps
BR1 Kreeping Klasps
BR2 Rocket Barrel Ride
BR1 Rocket Barrel Ride
BR2 Bazza's Blockade
BR1 Bazza's Blockade
BR2 Bobbing Barrel Brawl
BR1 Bobbing Barrel Brawl
BR2 Springin Spiders
BR1 Springin Spiders
BR2 Squeals On Wheels
BR1 Squeals On Wheels
BR2 Riverside Race
BR1 Riverside Race
BR2 Barrel Shield Bust Up
BR1 Barrel Shield Bustup
BR2 Murky Mill
BR1 Murky Mill
BR2 Skidda's Row
BR1 Skidda's Row
BR2 Tidal Trouble
BR1 Tidal Trouble
BR2 Doorstop Dash
BR1 Doorstop Dash
BR2 Lakeside Limbo
BR1 Lakeside Limbo
Knautilus
Rocket Rush
Swoopy Salvo
Tyrant Twin Tussle
Criss Kross Cliffs
Stampede Sprint
Kastle Kaos
Poisonous Pipeline
Koindozer Klamber
Lightning Lookout
Creepy Caverns
Konveyor Rope Klash
Kroctopus Krush
Ropey Rumpus
Pot Hole Panic
Floodlit Fish
Kong-Fused Cliffs
Buzzer Barrage
Barbos Barrier
Surf's Up
Ripcurl Reef
Cliffside Blast
Sunken Spruce
Stormy Seas
Dingy Drainpipe
Bleak's House
Lemguin Lunge
Krack Shot Kroc
Barrel Drop Bounce
Tearaway Toboggan
Krevice Kreepers
Kaos Karnage
Low-G Labyrinth
Blazing Bazukas
Ripsaw Rage
Demolition Drainpipe
Fire-Ball Frenzy
Squirt's Showdown
Fish Food Frenzy
Tracker Barrel Trek
Kreeping Klasps
Rocket Barrel Ride
Bazza's Blockade
Arichs's Ambush - Boss
Bobbing Barrel Brawl
Springin' Spiders
Squeals on Wheels
Riverside Race
Barrel Shield Bust-Up
Belchas' Barn - Boss
Murky Mill
Skidda's Row
Tidal Trouble
Doorstop Dash
Lakeside Limbo
Trev's Test Level
SPRITE GRID

[00 58 58 00 00 50 24 00 03 30 25 00 03 10 26 00 03 F0 26 00 03 00 0F 00 00 F0 00 00 00 C8 00 00 00 05 00 00 00 00 00 00 00 06 00 00 00]

EEPROM_V124

[00 00 02 00 00 40 00 00 03 06 00 00 00 00 20 00 00 00 04 00 03 0E 00 00 00 38 3D 00 03 A4 4A 0E 08 B0 4A 0E 08 38 3D 00 03 38 3D 00 03 38 3D 00 03 38 3D 00 03 68 00 00 00]

BR2 Lakeside Limbo
BR1 Lakeside Limbo
Knautilus
Rocket Rush
Swoopy Salvo
Tyrant Twin Tussle
Criss Kross Cliffs
Stampede Sprint
Kastle Kaos
Poisonous Pipeline
Koindozer Klamber
Lightning Lookout
Creepy Caverns
Konveyor Rop


There's a string "Trev's Test Level" there. We must access it.
Trailblazer
Bananas received 34
Posts: 265
Joined: 2008

Re: DKC3 GBA debug remnants(?)

Postby Mattrizzle » October 18th, 2011, 10:07 am

Interesting text. I'd look into this further if I actually knew a decent amount about GBA hacking. :|
Treasure Hunter
Bananas received 160
Posts: 335
Joined: 2008


Return to ROM Hacking

Who is online

Users browsing this forum: No registered users and 1 guest