Main > Software Forum
HiToText (Version 2010.11.4).
Wob:
Today is brought to you by the letter "B", B is for Blood Brothers (bloodbro, bloodbra, weststry)
This one required a tidy up for the hiscore.dat
New hiscore.dat entry
--- Quote ---;********bloodbro.c
bloodbro:
weststry:
bloodbra: ;******Blood Bros. (set 2)
0:85b1e:10:00:30
0:85b44:A0:00:11
--- End quote ---
The deciphering after changes
--- Quote ---This game has 20 high scores in the table.
Notes:
Maximum Score = 99,999,999
Maximum Area Value = 9-9
Name Characters = 3
First is the in game high score
I am going to show this in 2 byte chunks, on chunk per digit.
- Bytes 000-015 (0030 0030 0031 0033 0031 0035 0033 0030): Is the in game high score, in this case 131,530
This is stored is ASCII so
30: 0
31: 1
...
39: 9
Then we have the score table
- Bytes 016-019 (00 13 15 30): Is the highest (#1) Score, in this case 131,530
- Bytes 020-022 (2E 21 20): Is the highest (#1) Name, in this case ".! "
- Byte 023 (22): Is the highest (#1) Area, in this case 2-2
- Bytes 024-027 (00 05 52 00): Is the next (#2) Score, in this case 55,200
- Bytes 028-030 (20 41 5A): Is the next (#2) Name, in this case " AZ"
- Byte 031 (12): Is the next (#2) Area, in this case 1-2
...
- Bytes 168-171 (00 00 58 00): Is the last (#20) Score, in this case 5,800
- Bytes 172-174 (54 41 44): Is the last (#20) Name, in this case "TAD"
- Byte 175 (11): Is the last (#20) Area, in this case 1-1
All ASCII for the Characters
The characters
41: A
42: B
...
5A: Z
20: (space)
21: !
2E: . (period)
--- End quote ---
Screenshot
Cheers,
Wob
FrizzleFried:
Not sure if this is you guys or what, but I noticed last night Phoenix HS saves are screwed. When I loaded up Phoenix, I had about 43,000 high score but it immediately switched over to a bunch of random characters... when i exited and re-entered, those random characters are what stayed.
Fyrecrypts:
--- Quote from: FrizzleFried on June 11, 2009, 10:21:15 am ---Not sure if this is you guys or what, but I noticed last night Phoenix HS saves are screwed. When I loaded up Phoenix, I had about 43,000 high score but it immediately switched over to a bunch of random characters... when i exited and re-entered, those random characters are what stayed.
--- End quote ---
Phoenix did change Feb 5th to allow for more flexibility, it's probably likely that the .hi file was from a hiscore.dat that didn't have the newer changes put in place. The Phoenix changes Cananas did put in were brilliant I thought, before his changes you had to ensure your score moved from P1 or P2 to the top score before exiting. Now those scores are saved as well.
If this isn't the case, then I'll take a look at it and see if I can figure out why it's corrupting.
Wob:
--- Quote from: FrizzleFried on June 11, 2009, 10:21:15 am ---Not sure if this is you guys or what, but I noticed last night Phoenix HS saves are screwed. When I loaded up Phoenix, I had about 43,000 high score but it immediately switched over to a bunch of random characters... when i exited and re-entered, those random characters are what stayed.
--- End quote ---
If a game has been changed in the hiscore.dat file then you need to wipe your old .hi file before using the new hiscore.dat file as it will be reading from different bytes. Easiest way to test is move or delete your .hi file, set some new hi scores and then reload the game a few times and see if there is any data corruption.
~Wob
dna disturber:
(1941,1941j)
The First 40 bytes seem to be obsolete but I can't get the hiscore.dat to work without them.
I came close , when I start at byte 39 then it all works well (maybe it needs byte 39 ?)
Maybe someone else can take a look at the entry in the hiscore.dat .......(but it will work the way it is now so no rush ofcourse) :'(
40-43 number 1 score
44-46 initials number 1
47 rank-icon number 1
48-51 number 2 score
52-54 initials number 2
55 rank-icon number 2
56-59 number 3 score
60-62 initials number 3
63 rank-icon number 3
64-67 number 4 score
68-70 initials number 4
71 rank-icon number 4
72-75 number 5 score
76-78 initials number 5
79 rank-icon number 5
*note only top 5 hi-scores are shown in the game , there is however a top 10 ? Well sort of, the last 5 don't seem to be replaced and
are always the same
80-83 score (always 00 02 50 00)
84-86 initials (always COM)
87 rank-icon (always 00)
88-91 score (always 00 02 40 00)
92-94 initials (always CAP)
95 rank-icon (always 00)
96-99 score (always 00 02 30 00)
100-102 initials (always COM)
103 rank-icon (always 00)
104-107 score (always 00 02 20 00)
108-110 initials (always CAP)
111 rank-icon (always 00)
112-115 score (always 00 02 10 00)
116-118 initials (always COM)
119 rank-icon (always 00)
120-123 high-score in game
Rank-icon values can be 00 - 07
00 being the lowest rank , 07 the highest.
Maybe someone knows the titles to the ranks (if they aren't just made up) then you could add it to the text in hitotext. (for instance pilot 1st class , 2class , marshal)
Characters are ASCII
41h A
42H B
....
5Ah Z
2Eh = .
2Dh = -
2Ah = *
20h = (space) also when the input initials timeouts it puts 20h in the rest of the initials.
-------------
Dna Disturber
------------- :cheers:
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version