AbolishedEnigma
Student
My apologies if this has been looked into before, but I attempted to search and didn't find much discussion on DOC Horse Card and game code analysis. Not sure if there is an interest here or not, but I figured I would attempt to parlay the intelligence of the group and see if there was any insight to be shared on Derby Owners Club card info and/or game code.
When I scan the card info I get three tracks of data:
[DATA]
FFFE00AE966F8A00109A000000000000000000000000000000000000DEDEB40000000000000000000000000000000000DEDEB400000040404040E6D8D8C2DAA640CAD2CECED285FE
C1FF00574B37C5000000000000000D000001000BFF0A0401212D2D00000C080101080C0002002F1F1B070E151400000200000000000019000000000000003C0000003C0000003CFF
AEFF00574B37C500000000000000000000000000000000000000000000000000000000000000000000000000000000000000001030000000000000000000FE3046454241474553FF
I have heard that Track One holds the information of the horse, Track Two is unknown, and Track Three is horse markings, silks, hoods, etc.
I can't for the life of me (probably because I am not very good at this stuff) figure out how that data corresponds to the below values of the horse. I have been using an excel spreadsheet to interpret, manipulate, and resave the changes as a new .raw file, which I then can scan to the card directly using a modified mag stripe reader/writer.
I tried looking into the macros on the sheet, but I didn't get much out of it. Again, probably due to my lack of understanding as to what I am looking at.
Another question is how this information relates to that actual code of the game rom.
I opened up "epr-22336c.ic22" of the Rev C version of DOC with a Hex Editor (any books or resources you can point me towards that would help me obtain any understanding as to what the code is doing would be greatly appreciated), and I found the cpu horse data and using one for an example:
4D 61 70 6C 65 20 53 79 72 75 70 00 00 00 00 00 00 00 00 00 00 00 00 00 27 00 00 00 13 00 00 00 22 00 00 00 F0 00 00 00 00 00 00 00 00 E0 11 F0 0F 03 06 0A 04 0C 00 00 01 - Horse #1 Maple Syrup
With the editors help, I can see the association of the horse values in the code -
ST = 39
SP = 19
SH = 34
Dirt = 240
? = 0
? = 224
? = 17
? = 240
Start = 15
Corner = 3
Out of Box = 6
Competing = 10
Tenacious = 4
Spurt = 12
Horse # = 1
I am really interested in trying to figure out what those bold values are (could be track preference long, mid, short), and I attempted to correlate the horse comments to the horse data to look for connections, but it was kind of all over the map. Not a lot of rhyme or reason to the horse comments and the horse data that I could see. And then how that jives with how the card data on the horse cards.
I guess last question which is more of a game coding question, how to I track connections between the data. In my mind it would seem to me that there is a connection between the horse data, and then the horse sayings, and maybe characters that designate which races each horse appears in, but in the code how are those associations created? Like are there invisible line traces that link sections to eachother?
Again, sorry for my elementary understanding of all of this here, but I always wanted to fully understand this game inside and out, but I have always been limited in my abilities. Any help, or links as to places I can learn about this stuff would be greatly appreciated!
When I scan the card info I get three tracks of data:
[DATA]
FFFE00AE966F8A00109A000000000000000000000000000000000000DEDEB40000000000000000000000000000000000DEDEB400000040404040E6D8D8C2DAA640CAD2CECED285FE
C1FF00574B37C5000000000000000D000001000BFF0A0401212D2D00000C080101080C0002002F1F1B070E151400000200000000000019000000000000003C0000003C0000003CFF
AEFF00574B37C500000000000000000000000000000000000000000000000000000000000000000000000000000000000000001030000000000000000000FE3046454241474553FF
I have heard that Track One holds the information of the horse, Track Two is unknown, and Track Three is horse markings, silks, hoods, etc.
I can't for the life of me (probably because I am not very good at this stuff) figure out how that data corresponds to the below values of the horse. I have been using an excel spreadsheet to interpret, manipulate, and resave the changes as a new .raw file, which I then can scan to the card directly using a modified mag stripe reader/writer.
I tried looking into the macros on the sheet, but I didn't get much out of it. Again, probably due to my lack of understanding as to what I am looking at.
Another question is how this information relates to that actual code of the game rom.
I opened up "epr-22336c.ic22" of the Rev C version of DOC with a Hex Editor (any books or resources you can point me towards that would help me obtain any understanding as to what the code is doing would be greatly appreciated), and I found the cpu horse data and using one for an example:
4D 61 70 6C 65 20 53 79 72 75 70 00 00 00 00 00 00 00 00 00 00 00 00 00 27 00 00 00 13 00 00 00 22 00 00 00 F0 00 00 00 00 00 00 00 00 E0 11 F0 0F 03 06 0A 04 0C 00 00 01 - Horse #1 Maple Syrup
With the editors help, I can see the association of the horse values in the code -
ST = 39
SP = 19
SH = 34
Dirt = 240
? = 0
? = 224
? = 17
? = 240
Start = 15
Corner = 3
Out of Box = 6
Competing = 10
Tenacious = 4
Spurt = 12
Horse # = 1
I am really interested in trying to figure out what those bold values are (could be track preference long, mid, short), and I attempted to correlate the horse comments to the horse data to look for connections, but it was kind of all over the map. Not a lot of rhyme or reason to the horse comments and the horse data that I could see. And then how that jives with how the card data on the horse cards.
I guess last question which is more of a game coding question, how to I track connections between the data. In my mind it would seem to me that there is a connection between the horse data, and then the horse sayings, and maybe characters that designate which races each horse appears in, but in the code how are those associations created? Like are there invisible line traces that link sections to eachother?
Again, sorry for my elementary understanding of all of this here, but I always wanted to fully understand this game inside and out, but I have always been limited in my abilities. Any help, or links as to places I can learn about this stuff would be greatly appreciated!