Posted November 11, 2020

shmerl
🐧
Registered: Sep 2011
From United States

TheBigCore
Don't Shoot My Core!
Registered: Dec 2017
From United States
Posted February 19, 2021

See here: https://gist.github.com/shmerl/202332219bebb5e5135ad41140f8f6d5

shmerl
🐧
Registered: Sep 2011
From United States

admozb
New User
Registered: Apr 2021
From United States
Posted April 30, 2021
[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!
Never mind, I figured out how to use it. Thanks for the super-helpful script, Shmerl!
Post edited May 01, 2021 by admozb

Jonathan_The_Gamer
New User
Registered: Nov 2014
From Netherlands
Posted May 02, 2021

Never mind, I figured out how to use it. Thanks for the super-helpful script, Shmerl!
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:

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

shmerl
🐧
Registered: Sep 2011
From United States

Time4Tea
Free speech and honey!
Registered: Jan 2015
From United States

shmerl
🐧
Registered: Sep 2011
From United States

Time4Tea
Free speech and honey!
Registered: Jan 2015
From United States

shmerl
🐧
Registered: Sep 2011
From United States
Posted September 22, 2024

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

Time4Tea
Free speech and honey!
Registered: Jan 2015
From United States

shmerl
🐧
Registered: Sep 2011
From United States
Posted Yesterday
Updated my script to extract ROMs from the latest GOG version.
Post edited Yesterday by shmerl