(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-17-24 10:25 PM
0 users currently in ROM Hacking.
Acmlm's Board - I3 Archive - ROM Hacking - ROM header
  
User name:
Password:
Reply:
 
Options: - -
Quik-Attach:
Preview for more options

Max size 1.00 MB, types: png, gif, jpg, txt, zip, rar, tar, gz, 7z, ace, mp3, ogg, mid, ips, bz2, lzh, psd

UserPost
HyperHacker
Posts: 1489/5072
You probably have a corrupt ROM then.
Deleted User
Posts: 3/-7750
i have the same problem but when i use snes tool it says "wrong file size" please help me whit that one.
1093
Posts: 5/5
thx disch! i did manage to pull it off with snestool but im glad you made the effort to explain it to me. now i can go back and do it myself with a hex editor to understand how it works! much appreciated!
Disch
Posts: 84/202
Backup your ROM first -- putzing around in a hex editor when you don't know what you're doing is dangerous.

Most/all hex editors default so that when you input new values, it writes over values already in the file. Since you don't want to overwrite anything (you just want to prepend stuff), you'll want to change this... which is usually done by pressing the Insert key. I can't say with 100% certainty that Insert will work in this fashion for XVI32 (as I've never used that program) -- however that works in every hex editor I recall using (not to mention every text editor on the planet)

Confirm that you're now inserting bytes rather that overwriting them by typing in a new value ( 00 will do ). Everything in the file SHOULD have shifted over one place and the file should now start with 00. If not, undo.

Then simply put in 512 '00's. The byte that used to be at the very start of the file should now be at offset 0x000200.

Then save -- and you should be good to go.


OR

Just get SNEStool. I'm pretty sure it has an option to add/remove headers pretty effortlessly. I'm stunned nobody suggested it yet.


EDIT -- doh -- apparently I was late in finishing my post. Guess you already found SNEStool. Hope that solves your problem
1093
Posts: 4/5
ok...(advancing on the fact that i seriously AM a clueless newb) i got everything including the hex editor (XVI32 2.4) im not sure of what it is that im supposed to be looking for in order to "prepend 512 bytes to the beginning, make them all have a value of zero" like FreeDOS + mentioned earlier.

i looked around this forum and in the advanced rom hacking thread i found this:
http://www.rustedmagick.com/mb/thread.php?id=466

im not sure how i can use that info to get a ROM header of 0x200.... any help?

ok...i found SNESTool and in a blind stab i managed to modify the header of my rom and i have now opened it with lunar magic! thanks for the help you guys. i will be sure to pop back here once i run into trouble. (it probably wont take too long)

(sorry for not making a different reply but i had just posted my first half of the message before finding SNESTool, and the forum would not let me make another reply since i had the last message in the thread....)
Kyoufu Kawa
Posts: 619/1353
With a hex editor. You can get links and suggestions about 'em in other threads.

Have a "clueless newbie" badge.
1093
Posts: 3/5
and how can i do that? is there a program to use? I appreciate your help
FreeDOS +
Posts: 357/1312
You need to prepend 512 bytes to the beginning, make them all have a value of zero.
1093
Posts: 2/5
hey guys, im a newb at this and i was wondering what my problem is what what i need to do about it. When i try to open my SMW rom with lunar magic i get an error message saying "The ROM does not have a 0x200 byte header." do i need a specific rom? what can i do? thx
Acmlm's Board - I3 Archive - ROM Hacking - ROM header


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.003 seconds; used 351.32 kB (max 391.59 kB)