Post subject: I need help with hex-editing.
Former player
Joined: 4/6/2006
Posts: 462
I've already read: http://tasvideos.org/HexEditing.html#editing_snes9x_movies_smv_files_ but I still have a few questions which I would rather ask over AIM or MSN for time convenience. Can anyone comply?
Active player (278)
Joined: 5/29/2004
Posts: 5712
It might be easiest to come to the IRC channel.
put yourself in my rocketpack if that poochie is one outrageous dude
Post subject: Re: I need help with hex-editing.
Editor, Active player (296)
Joined: 3/8/2004
Posts: 7469
Location: Arzareth
Erim wrote:
but I still have a few questions which I would rather ask over AIM or MSN for time convenience. Can anyone comply?
Will you transcribe the chat on the forums, so everyone can gain from your private support session?
Former player
Joined: 4/6/2006
Posts: 462
I'll try the best I can(it's the first time I've ever done one of these tutorials): I'll only teach the basics; to delete frames, add frames, and also button presses. The program I used was XVI32, it can be found here: http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm Also, please have a Scientific Calculator on hand, like the Windows Calculator. View > Scientific. Before you start, please back up your file(.smv) just incase something ugly happens. 1. Open up your .smv file in XVI32, you can do this by File > Open or you can drag and drop your .smv onto the XVI32.exe. 2. Firstly, you want to locate "E1". Usually, it's on the second line from the top: http://img.photobucket.com/albums/v223/erokky/e1.jpg 3. Check to see if there is anything other than 00, after E1: http://img.photobucket.com/albums/v223/erokky/e1edit.jpg .In my case, there isn't. But *if* there is, you need to swap E1 and xx around. For example, if you see E132, you will think of it as 32E1. 4. Now to actually editing your movie. Know the exact frame you want to edit. If you have nothing after E1, then the formula is: <framenumber> * 2 + 225 = <address> ex. 117643 * 2 + 225 = 235511 If you *do* have something after E1, switch it around like I said, and put it into your Scientific Calculator while it's in hexidecimal mode. View > Hexidecimal or press F5 on your keyboard. In my example, E132 becomes 32E1. So put that into your calculator and with 32E1 still on your display, switch back to decimal mode. You will get the hexidecimal equivalent of 32E1 in decimal values. Use this formula if you *do* have something after E1: <framenumber> * 2 + xxE1 = <address> ex. 117643 * 2 + 13025 = 248311 5. Back to XVI32, take your address from your equation and click Address > Goto..., or hold CTRL and press G: http://img.photobucket.com/albums/v223/erokky/goto.jpg . Type in your address inside that small text box and hit OK. You'll be taken to the exact frame you want to edit. 6. 00 01 = Right 00 02 = Left 00 04 = Down 00 08 = Up 00 10 = Start 00 20 = Select 00 40 = Y 00 80 = B 10 00 = R 20 00 = L 40 00 = X 80 00 = A To add a button or buttons, just type in the 4 digit numbers that corresponds to the above. For example if you want to input down, type 0004 to the address you have come up with. If you want to add down and left consecutively, type in 00040002. If you want to add down and left on the same frame, type in 0006. It's simple addition. If you want to add a blank frame, type in 0000. If you want to delete a frame, press delete or backspace 4 times. Be careful which frame you delete. Deleting 4 times will result in the next frame being deleted from the address you have selected. Backspace 4 times will delete the previous frame from the address you have selected. Take caution on which frame you are editing.
Editor, Skilled player (1941)
Joined: 6/15/2005
Posts: 3247
Pretty good, but I wrote a more general How-To in the same Hex Editing page before. Is there something that should be changed in the page? (i.e. Is it too general? Something in the wrong place?)