Results 1 to 7 of 7

Thread:
nes_rom_extract

  1. #1
    Developer PabloACZ's Avatar
    Join Date
    Sep 2011
    Location
    Cabimas, Zulia, Venezuela.
    Posts
    159
    Thanked: 92
    Mentioned
    0 Post(s)

    nes_rom_extract

    This program is actually a C port of a little (yet useful) tool Plombo made in Python back in 2010: nes_rom_extract.py. The main difference is that this version has support for LZ77-compressed content files (which I suspect is the main reason Plombo was not able to get the NES ROM from the Lost Levels VC release and other games).

    I did it yesterday because an user at ElOtroLado.net wanted to extract a NES ROM from his WAD dumped through BlueDump, and the Python script was not able to get it out. I'd have done the fix in Python, but my knowledge regarding this programming language is very, very low, so I preferred to do it in C.

    I thought maybe some people here might give it an use, so why not? It's actually pretty easy to understand once you get around the header structure from a NES ROM.

    Download (source included): http://www65.zippyshare.com/v/83812578/file.html.

  2. The Following User Says Thank You to PabloACZ For This Useful Post:


  3. #2
    Supreme Overlord
    Administrator
    JoostinOnline's Avatar
    Join Date
    Mar 2011
    Location
    Behind you!
    Posts
    7,872
    Thanked: 1530
    Blog Entries
    10
    Mentioned
    14 Post(s)
    I hate Python scripts, simply because they require you to install Python.
    "Macs are the Perfect Computers," said the Perfect Idiot.

    (\__/)
    (='.'=)This is Bunny. Copy and paste Bunny into your
    (")_(")signature to help him gain world domination.

  4. #3
    Administrator
    News Hack
    stomp_442's Avatar
    Join Date
    Mar 2011
    Location
    Southeast Michigan
    Posts
    5,852
    Thanked: 1454
    Blog Entries
    3
    Mentioned
    5 Post(s)
    This could be a handy tool.

    Since you know how to extract a nes rom from the wad, is there anyway to write a program to insert a rom in to a wad?

  5. #4
    Supreme Overlord
    Administrator
    JoostinOnline's Avatar
    Join Date
    Mar 2011
    Location
    Behind you!
    Posts
    7,872
    Thanked: 1530
    Blog Entries
    10
    Mentioned
    14 Post(s)
    I'm almost positive such a program already exists, but I can't remember what it's called. I believe you use certain VC channels as base wads.
    "Macs are the Perfect Computers," said the Perfect Idiot.

    (\__/)
    (='.'=)This is Bunny. Copy and paste Bunny into your
    (")_(")signature to help him gain world domination.

  6. #5
    HacksDen Staff
    Administrator
    Krafter's Avatar
    Join Date
    Mar 2011
    Location
    Where you're not
    Posts
    2,909
    Thanked: 764
    Blog Entries
    1
    Mentioned
    5 Post(s)

    nes_rom_extract

    Quote Originally Posted by JoostinOnline View Post
    I'm almost positive such a program already exists, but I can't remember what it's called. I believe you use certain VC channels as base wads.
    I'd love to have such an app.


    Tapatalk misspelled it. Knot me.
    Judge me by the content of my character and not the color of my politics.
    Feedback from my work: 1, 2, 3, 4

  7. #6
    Supreme Overlord
    Administrator
    JoostinOnline's Avatar
    Join Date
    Mar 2011
    Location
    Behind you!
    Posts
    7,872
    Thanked: 1530
    Blog Entries
    10
    Mentioned
    14 Post(s)
    "Macs are the Perfect Computers," said the Perfect Idiot.

    (\__/)
    (='.'=)This is Bunny. Copy and paste Bunny into your
    (")_(")signature to help him gain world domination.

  8. The Following 2 Users Say Thank You to JoostinOnline For This Useful Post:


  9. #7
    Developer PabloACZ's Avatar
    Join Date
    Sep 2011
    Location
    Cabimas, Zulia, Venezuela.
    Posts
    159
    Thanked: 92
    Mentioned
    0 Post(s)
    Yup, that's definitely possible. The big difference between NES VC releases and any other VC title is that the ROM is embedded in the binary file instead of being compressed in another content, and as you can see, the file gets LZ77-compressed in the latest emulators.

    I don't know if there's a size limit, though, but considering Kirby's Adventure was the biggest official NES game to exist (6 megabits), it would be feasible to use it for injections.

Bookmarks

Posting Permissions

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