News: 11 March 2016 - Forum Rules

Author Topic: NES Games Disassembly (possible requests)  (Read 7060 times)

Cyneprepou4uk

  • Hero Member
  • *****
  • Posts: 734
  • I am the baldest romhacker
    • View Profile
NES Games Disassembly (possible requests)
« on: January 30, 2021, 04:53:55 pm »
My list of source codes for games that I've made myself
https://github.com/cyneprepou4uk/NES-Games-Disassembly

Feel free to use them in any way you want to. They don't have many comments, the main goal is making them editable and compilable out of the box.

I'll post updates in this thread, and add comments to code and RAM from time to time at GitHub.



There is a chance I will accept an interesting request for making a source code of a NES game you'd like to hack. Here are my main conditions:
  • Your game is a known and popular one (the disassembly might be useful to other romhackers)
  • You have assembly hacking skills (you actually know what to do with the source code)
  • You have cool and big ideas for your hack (not just some sprite editing or palette changing)
  • You have a fully logged .cdl file of the original [!] ROM (required for the disassembler)
  • You have an .fm2 movie of a complete walkthrough of the game, preferably with unlocking all secrets and stuff (required to run the movie at max speed with breakpoints enabled)

If request is rejected, you can still make a disassembly yourself the same way as I do by using my BZK 6502 Disassembler.
« Last Edit: July 06, 2021, 08:25:01 pm by Cyneprepou4uk »

ExL

  • Jr. Member
  • **
  • Posts: 44
    • View Profile
Re: NES Games Disassembly (possible requests)
« Reply #1 on: January 31, 2021, 05:12:29 am »
That's great and opens up a lot of possibilities with those games. What's your own plans for them? Something big?
I can imagine, for example, upgrading DD2 with DD3 player controls and graphics(or even BTDD controls) so it'll be more par with later games and/or putting arcade stuff non present in game. But for others I don't even know what to expect :D

Cyneprepou4uk

  • Hero Member
  • *****
  • Posts: 734
  • I am the baldest romhacker
    • View Profile
Re: NES Games Disassembly (possible requests)
« Reply #2 on: January 31, 2021, 05:41:40 am »
Some of them I did (or going to do) just for "because I can" reason, and for some I have already planned something  :)

For example, for Double Dragon 2 I was thinking to use some ideas from Double Dragon IV PC game by Arc System Works, like new moves, levels, more enemies and playable enemies. I also like Tower mode.

But that doesn't really matter what my plans for these source codes are, because my hacks have (or will have) their own repositories. From your point of view this particular repository is my contribution to a romhacking community.

ExL

  • Jr. Member
  • **
  • Posts: 44
    • View Profile
Re: NES Games Disassembly (possible requests)
« Reply #3 on: January 31, 2021, 05:54:19 am »
Ah, OK, "because I can" is good reason too ;) Anyone can pick them up and start their projects, that's already a great contribution as is :thumbsup: I was just wondering if you have further plans for them yourself ::)

sebastianangel

  • Full Member
  • ***
  • Posts: 227
  • you can always improve
    • View Profile
    • sega genesis
Re: NES Games Disassembly (possible requests)
« Reply #4 on: January 31, 2021, 08:00:25 am »
fantastic! Double dragon 2 is one of my favorite ports just like castlevania 3 what good news thank you very much for so many good contributions :thumbsup:

Quick Curly

  • Full Member
  • ***
  • Posts: 120
    • View Profile
Re: NES Games Disassembly (possible requests)
« Reply #5 on: January 31, 2021, 05:11:21 pm »
Awesome stuff, as always! I've been checking out your stuff lately and it's great that you're providing resources for others to expand their horizons! :)

I debated posting this because I don't want to derail your thread, and it's possible that you already know about this other information out there anyways; however, just in case you or even someone else might be interested, I guess I'll risk taking the bullet as a result of stepping out of my dark corner.

Since you mentioned that you're currently working on The Legend of Zelda, I thought I would point out this link that I remember finding way back in 2009:

http://computerarcheology.com/NES/Zelda/index.html

However, I'm not really sure how complete it might be. I just remember back when I first found it, I thought that it was pretty cool that it existed.

Trax also has some documentation for the game's ROM banks and RAM. Not sure how complete it is either, but again, it's pretty cool that it exists.

http://www.bwass.org/romhack/zelda1/zelda1bank0.txt
http://www.bwass.org/romhack/zelda1/zelda1bank1.txt
http://www.bwass.org/romhack/zelda1/zelda1bank2.txt
http://www.bwass.org/romhack/zelda1/zelda1bank3.txt
http://www.bwass.org/romhack/zelda1/zelda1bank4.txt
http://www.bwass.org/romhack/zelda1/zelda1bank5.txt
http://www.bwass.org/romhack/zelda1/zelda1bank6.txt
http://www.bwass.org/romhack/zelda1/zelda1bank7.txt
http://www.bwass.org/romhack/zelda1/zelda1rammap.txt

To come full circle, your recent disassembly projects are pretty cool and interesting to me, and hopefully will be useful to many others. As sebastianangel put it, contributions like your disassembly projects and helpful posts in general are what continue to make this hobby enjoyable and bring the community to new heights! I will look forward to what you come out with next.

Cyneprepou4uk

  • Hero Member
  • *****
  • Posts: 734
  • I am the baldest romhacker
    • View Profile
Re: NES Games Disassembly (possible requests)
« Reply #6 on: January 31, 2021, 05:39:55 pm »
Thanks for the feedback  :)

@Quick Curly, yes, I already knew these resources exist. The thing is, in order to make the disassembly editable, the very minimum you need to do is add label to all the pointers, jumps and so on. So when you move your code up/down, everything will be re-pointed properly during the compilation.

Having a RAM map for example is very useful, but technically not necessary in my case. It becomes useful when you need to edit a specific part of the game. Like if you want to edit something with lives or health, then of course need to know where those are located. But until then it doesn't really matter if you know or don't know where lives and health addresses are (speaking of making the disassembly editable).

So adding lots of comments is defenitely valuable, like in existing SMB disassembly, but it takes even more time than creating the disassembly itself, so that's not my main concern. But luckily, adding comments to RAM is quite easy (just find and replace with a text editor), and in most cases it's enough to understand what the code is doing (of course if you know assembly instructions). Because of that I'll try to rename at least basic RAM addresses like X/Y axis and whatever I can find in other resources or by studying the game by myself.

And speaking of disassembly/notes made by another romhacker, yes, sometimes it helps to look these docs up if you stumble upon something. Fortunately I've managed to do everything on my own so far. So these docs will be more valuable to the romhacker who will be using my disassembly.

February 03, 2021, 02:22:56 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
Battle City disassembly is complete.

The Legend of Zelda disassembly is almost done, testing...
« Last Edit: February 03, 2021, 02:22:56 pm by Cyneprepou4uk »

Cyneprepou4uk

  • Hero Member
  • *****
  • Posts: 734
  • I am the baldest romhacker
    • View Profile
Re: NES Games Disassembly (possible requests)
« Reply #7 on: February 07, 2021, 07:37:37 pm »
In addition to Battle City I've disassembled Nuts & Milk and The Legend of Zelda games.

sebastianangel

  • Full Member
  • ***
  • Posts: 227
  • you can always improve
    • View Profile
    • sega genesis
Re: NES Games Disassembly (possible requests)
« Reply #8 on: February 07, 2021, 08:07:12 pm »
In addition to Battle City I've disassembled Nuts & Milk and The Legend of Zelda games.
great!Thank you very much I had started working on Nuts & Milk a simple hack and now your conversion is great for me :crazy:

Cyneprepou4uk

  • Hero Member
  • *****
  • Posts: 734
  • I am the baldest romhacker
    • View Profile
Re: NES Games Disassembly (possible requests)
« Reply #9 on: February 08, 2021, 06:48:14 am »
Wow, that's a nice looking Sebastian player in the game :D I like new background too

Cyneprepou4uk

  • Hero Member
  • *****
  • Posts: 734
  • I am the baldest romhacker
    • View Profile
Re: NES Games Disassembly (possible requests)
« Reply #10 on: July 06, 2021, 09:40:01 am »
Bugs Bunny Crazy Castle disassembly was added.

nesrocks

  • Hero Member
  • *****
  • Posts: 738
    • View Profile
    • nesrocks.com
Re: NES Games Disassembly (possible requests)
« Reply #11 on: July 07, 2021, 08:39:26 am »
How did I miss this? Awesome work!!!!
I have some notes regarding yie ar kung fu, maybe those can be used to further document the disassembly a bit.
$50 flag for always facing enemy or not
$60 lives
$68 enemy type (00-04)
$72 enemy facing direction
$B6 current player metasprite id
$DC enemy hp

After checking its disassembly, I guess RAM notes can be easily worked in. ROM addresses are not super trivial though, I think. If you want I can send you the ROM notes through pm.

Cyneprepou4uk

  • Hero Member
  • *****
  • Posts: 734
  • I am the baldest romhacker
    • View Profile
Re: NES Games Disassembly (possible requests)
« Reply #12 on: July 07, 2021, 08:44:58 am »
Thanks  :)  Yes, go ahead, I'll add your notes to the disassembly.

J^P

  • Full Member
  • ***
  • Posts: 162
    • View Profile
Re: NES Games Disassembly (possible requests)
« Reply #13 on: July 08, 2021, 04:53:12 am »
Request: Solstice

Heres the .FM2(100% playthrough, same I used for making the .CDL log) and complete .CDL files:
https://www.mediafire.com/file/oh8i48ybrtqr108/Solstice+dis.zip/file
This is as complete as it gets without hacking the game, I know there are some unused stuff in there(~5% is not logged/read by the game ever), I know for sure since I did some documentation of it and I know the game very well from inside-out.

Cyneprepou4uk

  • Hero Member
  • *****
  • Posts: 734
  • I am the baldest romhacker
    • View Profile
Re: NES Games Disassembly (possible requests)
« Reply #14 on: July 08, 2021, 08:35:53 am »
Good. And what about other requirements from the list?

Dracula X

  • Full Member
  • ***
  • Posts: 154
    • View Profile
    • My YouTube Page for ROM hacking
Re: NES Games Disassembly (possible requests)
« Reply #15 on: July 08, 2021, 09:22:25 am »
Wow! I have a request:

Metal Gear NES
The Guardian Legend NES
Ninja Gaiden NES

Thanks!
Back to Thunder Force II hacking again.

Cyneprepou4uk

  • Hero Member
  • *****
  • Posts: 734
  • I am the baldest romhacker
    • View Profile
Re: NES Games Disassembly (possible requests)
« Reply #16 on: July 08, 2021, 09:31:48 am »
Read the first post.

J^P

  • Full Member
  • ***
  • Posts: 162
    • View Profile
Re: NES Games Disassembly (possible requests)
« Reply #17 on: July 08, 2021, 10:47:57 am »
Good. And what about other requirements from the list?
Well, Solstice is a known and popular-ish game, or at least pretty much everyone knows its main theme. I do have some ASM skills, Im still beginner and learning, but I know the basics and I have done some programming on my SMW hacks mostly, and via hex editor on nes games. I have poked around some dissemblies too, although I have nothing to show off, but this could give me motivation to learn since I've been wanting to make Solstice rom hack for long time.

I do have Solstice hack in works, there was no documentation available whatsoever when I started, so I had to figure it out myself(which I did and also did my item-shuffle hack), its been slow progress since doing what I did on the video took forever with just hex editor/FCEUX and having disassembly would allow more drastic changes and would make working on it much easier.

Cyneprepou4uk

  • Hero Member
  • *****
  • Posts: 734
  • I am the baldest romhacker
    • View Profile
Re: NES Games Disassembly (possible requests)
« Reply #18 on: July 08, 2021, 11:11:22 am »
Can you elaborate on your hack ideas?

J^P

  • Full Member
  • ***
  • Posts: 162
    • View Profile
Re: NES Games Disassembly (possible requests)
« Reply #19 on: July 08, 2021, 03:24:45 pm »
Can you elaborate on your hack ideas?
Haha since Im a beginner I'll keep my goals reachable, but what I'd really want to make ultimately would be a complete level editor, making a whole new layout of the Kâstleröck and make better use of the individual rooms, there is a lot of wasted potential in the original game(or maybe I've just beaten it to death lol). Probably not the most mindlblowing idea ever, but its something I'd like to accomplish someday.