byuu's message board

For discussion of projects related to www.byuu.org/
It is currently 2010-09-06 at 10:44 PM




Post new topic Reply to topic  [ 12 posts ] 
 Removing section of a ROM 
Author Message
User avatar

Joined: 2009-04-19 at 03:38 PM

Posts: 131
Post Removing section of a ROM
I have a prototype of Final Fantasy III, however the dumper included 1 MB of garbage at the end of the ROM. I was wondering if there was a program that would remove the final 1 MB. I have ghex, but it only allows you to delete one memory address at a time, which is brutal. I don't want to distribute this ROM with this garbage in it.


2009-11-07 at 08:20 PM
Profile
User avatar

Joined: 2009-04-10 at 06:17 PM

Posts: 633
Location: Germany
Post Re: Removing section of a ROM
Any decent hex editor should be able to do that...

_________________
vSNES | Delphi 10 BPLs
bsnes launcher with recent files list


2009-11-07 at 09:00 PM
Profile WWW
User avatar

Joined: 2009-04-19 at 03:38 PM

Posts: 131
Post Re: Removing section of a ROM
And yet, I have tried a couple of fully featured hex editors that did not. I am not going to download two dozen Windows/DOS only hex editors looking for one feature.


2009-11-07 at 09:23 PM
Profile
User avatar

Joined: 2009-04-10 at 06:17 PM

Posts: 633
Location: Germany
Post Re: Removing section of a ROM
In WinHex I'd just...

- select the last byte of ROM and set a "end of block" marker
- use the "goto" function to jump 1024*1024 bytes backwards
- set the "start of block" marker
- press Del
- save

Unfortunately only a paid/cracked version of WinHex can save more than a few hundred KBs, but any hex editor worth its usage should have these features.

_________________
vSNES | Delphi 10 BPLs
bsnes launcher with recent files list


2009-11-07 at 09:51 PM
Profile WWW
User avatar

Joined: 2009-04-19 at 03:38 PM

Posts: 131
Post Re: Removing section of a ROM
I used KHexEdit.


2009-11-07 at 10:01 PM
Profile

Joined: 2009-04-11 at 07:04 PM

Posts: 253
Post Re: Removing section of a ROM
a more round about way: use a splitter with say 512K chunks...


2009-11-08 at 05:00 AM
Profile
User avatar

Joined: 2009-04-10 at 08:54 PM

Posts: 463
Post Re: Removing section of a ROM
There's always ftruncate (*nix) or _chsize/SetEndOfFile, (Windows) if you feel like programming your own solution in C/C++.


2009-11-09 at 12:53 AM
Profile WWW
User avatar

Joined: 2009-04-11 at 12:53 AM

Posts: 735
Post Re: Removing section of a ROM
http://www.softpedia.com/get/File-manag ... iner.shtml

_________________
http://www.zapatabase.com
Home of the rom databasing/verifying/renaming tool "ZapManager"


2009-11-09 at 01:05 AM
Profile
User avatar

Joined: 2009-04-19 at 03:38 PM

Posts: 131
Post Re: Removing section of a ROM
Um, I already got it fixed up.

In fact, I already released the ROM:

http://www.snescentral.com/article.php?id=0954


2009-11-09 at 09:11 AM
Profile

Joined: 2009-11-07 at 09:27 PM

Posts: 22
Location: MA
Post Re: Removing section of a ROM
Hexworkshop.

_________________
"Please avoid that sunlight is direct,high temperature or moist. In order to avoid that go bad

Do not will this product powder suck in lung department.
In order to avoid that influence health.

Suggest will this product thoroughly cook eat"


2010-01-27 at 08:04 PM
Profile WWW
User avatar

Joined: 2009-04-10 at 03:00 PM

Posts: 3094
Post Re: Removing section of a ROM
He was on Linux anyway, but for future reference, my favorite is bless; but I hate the shit out of the .NET dependency. Planning to make my own eventually with Qt, but it'd be a lot more limited. More of a viewer that can edit than an actual editor.

_________________
Elements of the past and the future, combining to make something not quite as good as either.


2010-01-27 at 08:12 PM
Profile WWW

Joined: 2009-09-04 at 03:04 PM

Posts: 161
Post Re: Removing section of a ROM
What's wrong with using plain old "dd" ?


2010-01-28 at 08:56 PM
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to: