It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
avatar
Dasha66: Thanks a lot for the script !
You're welcome!
avatar
shmerl: I made a script for extracting the ROM files (thanks for help from Castlevania community about offsets and header data):

See here: https://gist.github.com/shmerl/202332219bebb5e5135ad41140f8f6d5
Question: If those ROM files are extracted, you could just run them in another NES emulator or MAME, and they'd run, correct?
avatar
TheBigCore: Question: If those ROM files are extracted, you could just run them in another NES emulator or MAME, and they'd run, correct?
Yes! I only tested them in Nestopia though.
Post edited February 19, 2021 by shmerl
[A bunch of silly stuff about not being able to run the script.}

Never mind, I figured out how to use it. Thanks for the super-helpful script, Shmerl!
Post edited May 01, 2021 by admozb
avatar
admozb: [A bunch of silly stuff about not being able to run the script.}

Never mind, I figured out how to use it. Thanks for the super-helpful script, Shmerl!
I found a way using "misanthroat" and "blakstar" post. (Thnx both of you!!!)

Using bash in Win10. Use following commands 1 by 1.

NES ROM Header

dd if=cc.exe skip=1041776 bs=1 count=16 > nes_header

dd if=cc.exe skip=124272 bs=1 count=131072 > castlevania

cat nes_header castlevania > castlevania.nes

dd if=cc.exe skip=255344 bs=1 count=262144 > castlevaniaii

cat nes_header castlevaniaii > castlevaniaii.nes

dd if=cc.exe skip=517488 bs=1 count=393216 > castlevaniaiii

cat nes_header castlevaniaiii > castlevaniaiii.nes

dd if=cc.exe skip=910704 bs=1 count=131072 > contra

cat nes_header contra > contra.nes

dd if=cc.exe skip=1041792 bs=1 count=131072 > jackal

cat nes_header jackal > jackal.nes

dd if=cc.exe skip=1172864 bs=1 count=262144 > superc

cat nes_header superc > superc.nes

After this repair the headers with this:
avatar
blakstar: I downloaded the following:
NES header database: http://forums.nesdev.com/viewtopic.php?f=3&t=19940 (nothing illegal, just an XML database)
NES Header Repair python script: https://github.com/Kitrinx/NES_Header_Repair
I unzipped them both in the same directory as my reconstructed NES ROMs, and ran the script. Please note that it does a trial run to make sure that everything is OK -- to actually make any changes, you have to edit the script and change TRIAL RUN from 1 to 0.
Post edited May 02, 2021 by Jonathan_The_Gamer
avatar
admozb: [A bunch of silly stuff about not being able to run the script.}

Never mind, I figured out how to use it. Thanks for the super-helpful script, Shmerl!
You're welcome!
avatar
shmerl:
Thanks for the script dude! Works perfectly.
avatar
Time4Tea: Thanks for the script dude! Works perfectly.
You're welcome!
avatar
shmerl: You're welcome!
I actually just posted a new thread, about trying to get a re-translation rom hack working with the GOG version of Castlevania 2. I was wondering if you have any thoughts on that?

(sorry, I'm not able to post links)
avatar
Time4Tea: I actually just posted a new thread, about trying to get a re-translation rom hack working with the GOG version of Castlevania 2. I was wondering if you have any thoughts on that?
I'm not familiar with it. May be reach out to the author of that hack? If you can read the code for it, check what it's doing. Like modifying the header (or expecting certain header?).

The way extraction script works is adding some pre-defined headers to the blobs of the games from the archive. May be that hack just expects something else.
Post edited September 22, 2024 by shmerl
avatar
shmerl:
Ok, thanks. I will reach out to them and see what they say.