It is currently Mon Oct 23, 2017 11:01 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Repairing a bad rom dump
PostPosted: Sat Apr 15, 2017 8:47 am 
Offline

Joined: Sat Oct 02, 2010 5:49 pm
Posts: 19
I have a copy of Fire Emblem Gaiden that is being stubborn. The Kazzo dumper dumps the CHR just fine, but, according to BootGod's Database, the CR32 number for the PRG is always off. Once the number was especially close to correct, and the ROM loads properly in FCEUX and Nestopia; however, once you press start to get past the title screen, the game freezes. Is there a way to repair the ROM so that it's completely playable?


Top
 Profile  
 
PostPosted: Sat Apr 15, 2017 10:24 am 
Online

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6304
Location: Seattle
Can you compare your PRG dump to a known good dump from the internet and qualify how the two dumps differ? It might be easier to figure out how to fix the Kazoo script if we know where things are going wrong.


Top
 Profile  
 
PostPosted: Sat Apr 15, 2017 11:46 am 
Offline
User avatar

Joined: Sat Feb 12, 2005 9:43 pm
Posts: 10068
Location: Rio de Janeiro - Brazil
werewolfslayr925 wrote:
Once the number was especially close to correct

I don't think that similar hash numbers necessarily mean that the hashed data is similar... By design, this is not how hashing algorithms work.

Quote:
Is there a way to repair the ROM so that it's completely playable?

Like lidnariq said, the only way to know exactly what's wrong is to compare your data against a known good dump.


Top
 Profile  
 
PostPosted: Sat Apr 15, 2017 11:57 am 
Offline

Joined: Sat Oct 02, 2010 5:49 pm
Posts: 19
Okay, that's news to me. What's the method for comparing what I have to a good dump?


Top
 Profile  
 
PostPosted: Sat Apr 15, 2017 1:06 pm 
Offline
User avatar

Joined: Fri May 08, 2015 7:17 pm
Posts: 1787
Location: DIGDUG
There's a hex editor called windhex that can do a byte by byte comparison, and tell you which bytes are different.

http://www.romhacking.net/utilities/291/

Edit, or was it HxD ?

_________________
nesdoug.com -- blog/tutorial on programming for the NES


Top
 Profile  
 
PostPosted: Sat Apr 15, 2017 11:45 pm 
Offline
User avatar

Joined: Mon Jan 03, 2005 10:36 am
Posts: 2963
Location: Tampere, Finland
HxD can do it.

On Windows command line you can do fc /b file1.nes file2.nes.

_________________
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: kkfos.aspekt.fi


Top
 Profile  
 
PostPosted: Sun Apr 16, 2017 5:26 am 
Offline

Joined: Sat Oct 02, 2010 5:49 pm
Posts: 19
I'll see what I can do as far as comparing it to a good copy of the game and post here when I find out something new. Thanks for the tips.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: romibraman and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group