| Author |
Message |
|
badinsults
Joined: 2009-04-19 at 03:38 PM Posts: 131
|
 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 |
|
 |
|
creaothceann
Joined: 2009-04-10 at 06:17 PM Posts: 633 Location: Germany
|
 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 |
|
 |
|
badinsults
Joined: 2009-04-19 at 03:38 PM Posts: 131
|
 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 |
|
 |
|
creaothceann
Joined: 2009-04-10 at 06:17 PM Posts: 633 Location: Germany
|
 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 |
|
 |
|
badinsults
Joined: 2009-04-19 at 03:38 PM Posts: 131
|
 Re: Removing section of a ROM
I used KHexEdit.
|
| 2009-11-07 at 10:01 PM |
|
 |
|
funkyass
Joined: 2009-04-11 at 07:04 PM Posts: 253
|
 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 |
|
 |
|
kode54
Joined: 2009-04-10 at 08:54 PM Posts: 463
|
 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 |
|
 |
|
FitzRoy
Joined: 2009-04-11 at 12:53 AM Posts: 735
|
 Re: Removing section of a ROM
_________________ http://www.zapatabase.com Home of the rom databasing/verifying/renaming tool "ZapManager"
|
| 2009-11-09 at 01:05 AM |
|
 |
|
badinsults
Joined: 2009-04-19 at 03:38 PM Posts: 131
|
 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 |
|
 |
|
nensondubois
Joined: 2009-11-07 at 09:27 PM Posts: 22 Location: MA
|
 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 |
|
 |
|
byuu
Joined: 2009-04-10 at 03:00 PM Posts: 3094
|
 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 |
|
 |
|
vladitx
Joined: 2009-09-04 at 03:04 PM Posts: 161
|
 Re: Removing section of a ROM
What's wrong with using plain old "dd" ?
|
| 2010-01-28 at 08:56 PM |
|
|