Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

Kashmir and hexadecimal number handling

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop
View previous topic :: View next topic  
Author Message
Stiebler



Joined: 09 Oct 2005
Posts: 109
Location: London, UK

PostPosted: Wed Nov 09, 2005 9:47 am    Post subject: Kashmir and hexadecimal number handling Reply with quote

Can anyone describe how Ubisoft's Kashmir data program for SH3 uses its hexadecimal numbers?

To take an example at random, chosen because the answer should be simple when using a hex editor, data file NSS_Uboat9D2.sim gives the surface range at 10 knots, with 10 knots described as "(00) 80 40 22 (00)". The submerged range is given, with 4 knots described as "(00) 20 41 26 (00)". There's no indication as to whether the numbers are taken as four-byte words, or as some other quantity. Nor whether the convention is used of reading the hex numbers forward or backward. Yet one of these numbers should be 2.5 times the other, whatever internal units Kashmir uses!

I'm aware of TimeTraveller's SH3 Analyzer and SH3 Inspector. Oddly enough, neither describes the solution, which is a pity if your real problem doesn't fit these tools.
Back to top
View user's profile Send private message
rogerbo



Joined: 31 Mar 2005
Posts: 245
Location: Swiss Navy

PostPosted: Wed Nov 09, 2005 9:55 am    Post subject: Reply with quote

Most data are Float (32) Integers backward so they'r rather easy to identify and to handle
Back to top
View user's profile Send private message
Stiebler



Joined: 09 Oct 2005
Posts: 109
Location: London, UK

PostPosted: Wed Nov 09, 2005 1:43 pm    Post subject: Reply with quote

Rogerbo said:

Quote:
Most data are Float (32) Integers backward so they'r rather easy to identify and to handle.


Thanks,
Stiebler.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group