![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
12-28-21, 11:46 PM
|
#1 |
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
|
|
12-29-21, 08:06 AM
|
#2 | |
|
Navy Dude
![]() |
Quote:
If I understand you right, it has something to do with my files being in 7zip format. Sorry, I have become so used to 7zip archiving that I did not consider that others may not use it. Happy you got it sorted. |
|
|
|
12-29-21, 09:39 PM
|
#3 |
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
No worries Jens!
I need to try 7-zip anyways as it appears more game downloads are using that. Tim |
|
12-30-21, 03:15 PM
|
#4 |
|
GLOBAL MODDING TERRORIST
|
I'm breaking down the Header area of the BMP files.
I can see the count of frames, size of each frame, and so on in the INF section. There's more information in the SCN section that I'm working to understand. OH! I also have the source code for the Engie File Converter. That is proving VERY interesting! And according to the license terms? We can do whatever we want with the source! Now I hate C# with a passion! (always thought it was a lazy language and slow compared to a proper C++) But I'm good enough to read the source. Last edited by Jeff-Groves; 12-30-21 at 04:23 PM. |
|
|
12-30-21, 04:00 PM
|
#5 |
|
GLOBAL MODDING TERRORIST
|
Information on the BMP format!
This is just a quick break down on the HEX format. More work to follow. 4 bytes = BMP: 4 bytes read as a signed short = 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: (or other) I'll Explain this later. 4 bytes read as a signed short = data to read until we hit the next chunk. To be continued!!! |
|
|
12-30-21, 05:14 PM
|
#6 |
|
Navy Dude
![]() |
Good work Jeff! Looking forward to more
|
|
|
12-30-21, 05:21 PM
|
#7 |
|
GLOBAL MODDING TERRORIST
|
I'm still following the Hex values along with the source code for clues.
What I want is the source to decompress. From that? We can re-compress. Then it's just to rebuild the file structure. Given what I know now? I could probably inject things in a file through hex work. |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
