![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
03-06-13, 09:25 AM
|
#1 | |
|
Black Magic
![]() |
Quote:
I'm not using any outside DLLs with the app to avoid legal problems. I'll use a company's app against them (ala Granny Viewer) though as there are no legal ramifications against injecting code and hooks into a running process. I can read the whole GR2 file now except for embedded images without using any DLL. Because I can read it I can also write it. I don't need to look at any DLL or RE any DLL to find out how to read a GR2 file anymore. I understand the structure/layout and how to manipulate it ![]() There really is no need to recompress a GR2 file unless you are installing it on a tablet or handheld device where the harddrive space is small. You have to understand that a compressed GR2 file still has to be decompressed when loaded. The file is junk unless it's decompressed. This adds in the loading time of whatever app due to having to decompress x GR2 files. Being already decompressed speeds up the loading time Compressing a GR2 file is just one way to 'hide' the information contained in it.
|
|
|
|
03-06-13, 02:45 PM
|
#2 | |
|
Mate
![]() Join Date: Nov 2011
Posts: 53
Downloads: 4
Uploads: 0
|
Quote:
Thanks. I got the GrannyViewer going but when I tried to open the montezuma.gr2 I can see it/decompress it in grannyviewer but then when I go to your app I get the Unhandled Exception error. The GR2 in question is with the the last link I posted. |
|
|
|
03-06-13, 03:55 PM
|
#3 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
03-06-13, 05:06 PM
|
#4 |
|
Black Magic
![]() |
That montezuma.GR2 is a doozy
Most of the 'rules' I thought I knew just got shattered by it It exposed a new datatype in the datatype definitions - granny_real16 so that's a positive. It'll take me some time to analyze this and make the necessary changes
|
|
|
03-06-13, 06:47 PM
|
#5 | |
|
Mate
![]() Join Date: Nov 2011
Posts: 53
Downloads: 4
Uploads: 0
|
Quote:
ouch! I got faith in you man! |
|
|
|
03-06-13, 07:01 PM
|
#6 |
|
Black Magic
![]() |
|
|
|
03-07-13, 12:53 PM
|
#7 |
|
Black Magic
![]() |
v1.1.371.1 released. See post #1
You need to upgrage to this version if you are using older versions. This version fixes some inconsistencies found in the app while trying to load the montezuma GR2 file (this file exposed some problems I wasn't aware of!) This version also lets you delete transformtracks from a trackgroup. The transformtrack(s) in conjuction with an animation is what lets animation happen. The animation will define the trackgroup(s) it is tied to. I still haven't figured out how the transform track(s) cause animation. I'm thinking that they are defining bezier curves but not 100% sure yet ![]() You still won't be able to open any GR2 file that contains granny_real16 values yet (montezuma). I'm still coding that in |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
