![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1906 |
Black Magic
![]() |
![]() |
![]() |
![]() |
![]() |
#1907 |
Black Magic
![]() |
![]()
v1.1.362.1 released. See post #1
Finished coding the TrackGroups tab for now. You can edit anything related to TrackGroups. You cannot add or delete them though as I don't understand their purpose yet. I'm hoping that by exposing them to you all (the ability to edit/change them) we can discover their purpose ![]() I'm coding the Animations tab currently. ![]() |
![]() |
![]() |
![]() |
#1908 |
Black Magic
![]() |
![]()
v1.1.363.1 released. See post #1
Finished coding in the Animations tab. Let's start experimenting with the settings in these Animations and TrackGroups tabs so that we can figure out what they mean/do ![]() ![]() |
![]() |
![]() |
![]() |
#1909 |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
|
![]() |
![]() |
![]() |
![]() |
#1910 |
Black Magic
![]() |
![]()
If you manage to discover anything in regards to the animations/track groups please post it here. Doesn't matter how trivial it may seem. A couple of small pieces of the puzzle can unlock a large piece of the puzzle
![]() ![]() Anything that has Flags means this: - a value of 0x0 means no translating, no rotations, and no scaling/shearing - a value of 0x1 means has position (translating) info - a value of 0x2 means has orientation (rotation) info - a value of 0x4 means has scale/shear info The above are bit values so you can combine them. Thus a value of 0x5 would mean: - has position (translating) info and scale/shear info but no orientation (rotation) info TrackGroup TransformTracks: - The name of the transform track comes from either a bone or mesh - PositionCurve.CurveData: Controls: the three float values define the X,Y,Z offset of the object. If they are defined then these will be added to the object's original defined position. How do we know which object this is working on? The name property (the name displayed) is the name of the bone or mesh this will be applied on. |
![]() |
![]() |
![]() |
#1911 | |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
|
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#1912 |
Black Magic
![]() |
![]()
what I posted about the Flags doesn't seem to always apply in the TrackGroups
![]() |
![]() |
![]() |
![]() |
#1913 |
Black Magic
![]() |
![]()
I wrote some code that allows the app to delete VectorTracks from a TrackGroup. You will be able to either delete a VectorTrack one at a time or delete them all at once
![]() As a test I deleted all the VectorTracks from an aircraft and viewed it in Granny Viewer. The animations still work so that means the TransformTracks and responsible for animations ![]() ![]() Now I just have to test how the game handles this (all VectorTracks removed). I'm hoping for a certain effect ![]() ![]() |
![]() |
![]() |
![]() |
#1914 |
Black Magic
![]() |
![]()
well that theory was shot to pieces. I was hoping that maybe by deleting all the VectorTracks the airplane would still be visible after it died (exploded). Don't understand the purpose of these VectorTracks
![]() v1.1.365.1 released. See post #1 You now have the ability to delete VectorTracks from a TrackGroup. |
![]() |
![]() |
![]() |
#1915 | |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
|
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#1916 |
Mate
![]() Join Date: Nov 2011
Posts: 53
Downloads: 4
Uploads: 0
|
![]()
My GR2s aren't opening. It was either 355 or 356 that I first tried it and it opened that old augustus gr2 but wouldn't open others. Now with 365 it says "failed to retrieve handle to Granny viewer process"
I attached a rar with a few gr2's that are created with "grannymaterialhacker" it was a quick utility that made game playable GR2s for reskinning. The program cant access all the textures (probably because if the hidden stuff you found) but I included it and all the DLLs so maybe you can find how they did it. They lost their source code in a burglary but said that the program can be decompiled in Reflector and was done in C++. I hope it helps http://www.mediafire.com/?mtv89wmrbabatv1 Also, they made their program use the one of the DLLs to make the GR2s for civ5. Maybe you can see what they did so we can recompress? just a thought, nothing urgent. Thank you for your work! |
![]() |
![]() |
![]() |
#1917 | |
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 ![]() |
|
![]() |
![]() |
![]() |
#1918 | |
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. |
|
![]() |
![]() |
![]() |
#1919 | |
Black Magic
![]() |
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#1920 |
Black Magic
![]() |
![]()
That montezuma.GR2 is a doozy
![]() ![]() ![]() ![]() |
![]() |
![]() |
![]() |
|
|