![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
12-31-21, 05:23 AM
|
#1 |
|
Navy Dude
![]() |
@John, I know but that is a very primitive solution, which also reduces the game speed overall, making other actions take forever. My DOSbox is configured at fixed 9000, as type 486. This setting I find optimal for AOTD, and many other games of the era. In Topbench this setting equals about an Intel DX2/50. I see no point in running AOTD on anything slower than that. Below 8000/7000 cycles the wave animation becomes very choppy, even though the waves roll with a more natural speed.
There must be a way to gain control of the mesh cycle intervals without reducing CPU speed. So we can have an alternative to this "I am attacking with my rubber duck boat" feeling.
Last edited by Andreas86; 12-31-21 at 05:48 AM. |
|
|
12-31-21, 09:15 AM
|
#2 | |
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
Quote:
Well, that is the huge storm/waves/no fog graphics of AOD but mine isn't that bouncy anyway. Strange.I remember at the time, the wave action was a huge WOW factor for people in the game. Might have been the first game with them, close if not. |
|
|
12-31-21, 01:48 PM
|
#3 |
|
GLOBAL MODDING TERRORIST
|
Reading through the source code is providing good information
that may help to decompress other files. Also found some old Code from around 1990 that may help. It's Turbo C which is Borland. I'll have to see if my versions of Borland will compile it.
|
|
|
01-01-22, 09:18 AM
|
#4 |
|
GLOBAL MODDING TERRORIST
|
Update to the BMP/VGA file structure.
----------------------------------------- 4 bytes = BMP: 4 bytes read as an int = file size to read. 4 bytes = INF: 4 bytes = the amount of data to read. This contains frames and sizes of each frame in pixels. This section is variable but you read each as a byte with a 00 seperator. 4 bytes = BIN: 4 bytes read as an int = data to read until we hit the next chunk. 1 byte = Compression type used (01 = RLE -- 02 = LZW) 4 bytes read as an int = data in this chunk after it's decompressed. 4 bytes = VGA: 4 bytes read as an int = data to read until we hit the next chunk. 1 byte = Compression type used (01 = RLE -- 02 = LZW) 4 bytes read as an int = data in this chunk after it's decompressed. It's IMPORTANT to have your Editor of choice set to Little Endian! Last edited by Jeff-Groves; 01-01-22 at 11:40 AM. |
|
|
01-01-22, 10:33 AM
|
#5 |
|
GLOBAL MODDING TERRORIST
|
Now I may have a clue as to how to encode the SCN/OFF format.
I'm working on Tower1.bmp What I am going to do is CUT out a section from the SCN chunk. OFF is Off Sets to data I'm pretty sure. So if I cut from the last off set position and remove the last off set information, then change file size references? It should open and be missing 1 frame. As far as I can tell at this point? The SCN: information does not contain the size of the file decompressed.
|
|
|
01-01-22, 11:22 AM
|
#6 |
|
GLOBAL MODDING TERRORIST
|
Also noticed Engie misreports number of frames by 1.
Frame 0 to Frame 22 = 23 frames. NOT 22. That's bad coding. Makes me wonder what else is sloppy coding. Going to see if I can Compile the Source Code and if I can? Will track down the error and correct it. The License says "DO WTF you want". Last edited by Jeff-Groves; 01-01-22 at 11:56 AM. |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
