Author Topic: Rom Hack Source Code?  (Read 7038 times)

0 Members and 1 Guest are viewing this topic.

Offline hooch66

  • Senior Member
  • *
  • Posts: 139
    • Personal Blog
    • Awards
Rom Hack Source Code?
« on: August 31, 2019, 02:08:11 pm »
To all of you making all these interesting Donkey Kong hacks. Are you all reverse engineering the code or is there some dump or code base that everybody uses as a basis for their projects?
Member for 11 Years Blogger

Offline PaulGoes

  • Jr. Member
  • *
  • Posts: 26
  • Just started playing the game
    • Awards
Re: Rom Hack Source Code?
« Reply #1 on: September 03, 2019, 05:00:45 am »
Hi,

For my rom hacks I used the Donkey Kong disassemble from the Donkey Kong hacking kit on GitHub:

http://github.com/furrykef/dkdasm

Without it I would never been able to create the hacks.

Paul
Member for 5 Years

Offline PaulGoes

  • Jr. Member
  • *
  • Posts: 26
  • Just started playing the game
    • Awards
Re: Rom Hack Source Code?
« Reply #2 on: September 03, 2019, 05:04:42 am »
Direct link to the disassembled code:

http://github.com/furrykef/dkdasm/blob/master/dkong.asm

Paul
Member for 5 Years

Offline hooch66

  • Senior Member
  • *
  • Posts: 139
    • Personal Blog
    • Awards
Re: Rom Hack Source Code?
« Reply #3 on: September 03, 2019, 06:12:27 am »
Member for 11 Years Blogger

Offline raulito

  • Jr. Member
  • *
  • Posts: 25
    • Awards
Re: Rom Hack Source Code?
« Reply #4 on: November 30, 2019, 11:02:52 am »
Direct link to the disassembled code:

http://github.com/furrykef/dkdasm/blob/master/dkong.asm

Paul

And which programs are the best and the most used in order to make the mods? 

Raul
« Last Edit: December 02, 2019, 04:20:18 pm by raulito »
Member for 6 Years

Offline furrykef

  • Jr. Member
  • *
  • Posts: 25
    • Awards
Re: Rom Hack Source Code?
« Reply #5 on: April 08, 2020, 02:38:02 pm »
Wow, I'm a little surprised and embarrassed that people are using my repository. Unfortunately I don't have much intention of maintaining it anymore, since I've mostly lost interest in DK hacking. (It turned out to be harder than I thought it was going to be, even with all the great reverse-engineering work that has been done.) I would still certainly look at pull requests, but nobody ever makes any...

By the way, I want to make it clear that very little of the work on dkong.asm is mine. This disassembly is from a wiki that I think no longer exists; I made a start at cleaning it up in a way that makes it easier to hack, but there's just too much work left to do.

dkong-snd.asm is entirely my work, though, and I'm damn proud of it. :)
I might never make it to a kill screen, but I found Donkey Kong's hidden music!
Member for 10 Years

Offline PaulGoes

  • Jr. Member
  • *
  • Posts: 26
  • Just started playing the game
    • Awards
Re: Rom Hack Source Code?
« Reply #6 on: August 26, 2021, 02:36:37 pm »
Hi furrykef,

I don't know if you are also on the Kong League Discord, but I have used the information in the dkong-snd.asm to make my rom-hack 'Donkey Kong - Anniversary Edition' play Happy Birthday.

The disassemble was a great help in understanding the sound capabilities of the Donkey kong hardware.

The melody uses both sound channels A and B. So it plays a max of two notes simultaneously. The melody is based on the right hand part of the attached sheet music.


Member for 5 Years