Post subject: Hex editing guide
Mitjitsu
He/Him
Banned User
Joined: 4/24/2006
Posts: 2997
I want to bring it up because it may prove invaluabe to someone whose hex-editing first time round becuase it took me a while to figure it out. No this is not a how to or how do I hex edit, this is a guide that would make hex editing a little easier. I think it would be useful if there was some chart showing what each of the symbols mean. 1. FF = No input 2. 00 = All buttons pressed (including all four direction keys) 3. FB = left arrow key 4. F7 = right arrow key 5. FD = down arrow key 6. Fe = Up arrow key 6. EF = A button 7. DF = B button 8. BF = C button 9. 7F = Start I won't cover X,Y and Z buttons since there rarely used in Tases I don't personally know what combinations such as A+B are but figuring out a direction and button should be easy such as A+Right which is E7. Please add on folks I know there is a farely vague hex editing guide but it only says what FF is. For folks who've never hex edited before tell me if you think/found this mildly useful. I'll figure out button combinations later unless any of you know. One slighty embarassing thing I have to ask is how do you locate a specific frame in a movie via a hex editor, and to all you pros please don't flame me for bringing up this topic.
Joined: 3/7/2006
Posts: 720
Location: UK
Button combinations are pretty obvious, you OR the flags together... that's what you're really looking at here, a bunch of flags. For some reasons Gens likes them to mean that 1=off and 0=on, but they're still flags.
7 6 5 4 3 2 1 0
S C B A R L D U
So just A = 16 -> $10 -> $EF as stated before. ORing some numbers together... say pressing Down, B and C at the same time is easy too. 2 + 32 + 64 -> $62 -> $AD.
Voted NO for NO reason
Player (71)
Joined: 8/24/2004
Posts: 2562
Location: Sweden
We have some tools for easier hexediting you know. ;)
Mitjitsu
He/Him
Banned User
Joined: 4/24/2006
Posts: 2997
Don't you have to pay for these advanced tools and what are they anyway. The advanced hex editors restrict you to what you can do. I just use a basic free hex editor. I tried examing some .M64 code and it completely blew my mind as to what that stuff meant and I have no idea as to how many bits are needed to store a frame of data as opposed to 3 on Gens.
Emulator Coder, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
Mitjitsu
He/Him
Banned User
Joined: 4/24/2006
Posts: 2997
The gens link is broken
Player (71)
Joined: 8/24/2004
Posts: 2562
Location: Sweden
Sorry for that. I have put all tas-related things in a subfolder called "tas" ;) Here's the proper URL: http://133an.sytes.net/~highness/tas/Gens_Editor_v1.rar
Mitjitsu
He/Him
Banned User
Joined: 4/24/2006
Posts: 2997
Thanks, although every time I open a .GMV file it just keeps saying "not a GENS movie file" despite the fact it obvious its a .GMV file.
Player (71)
Joined: 8/24/2004
Posts: 2562
Location: Sweden
It has occured to me as well.
Mitjitsu
He/Him
Banned User
Joined: 4/24/2006
Posts: 2997
How do I get round it then?