![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1816 | ||
Black Magic
![]() |
![]() Quote:
![]() Quote:
Yep. It's disabled due to not finished coding in these special datatype definitions I found. They play major part in the vertex data. |
||
![]() |
![]() |
![]() |
#1817 |
Black Magic
![]() |
![]()
ok I think I finally see why you would still be having that problem gap. I was not enclosing any new objects created in at least try...finally blocks where in the finally I would dispose of the object. I was rather disposing of the object at the end of the function BUT there were chances the function would return before the end of it was reached (the finally block ensures the code contained in it will be executed before the function returns)
![]() ![]() |
![]() |
![]() |
![]() |
#1818 | |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
|
![]() Quote:
you can resume working on GR2 Editor, but the mentioned window will remain in memory, and if you force its closing, the main process (GR2 editor) will be closed as well. ![]() On a side note, I have checked a maginified tree in game. This is how it looks: ![]() Some copies of it look okay, while others are cut in diagonal. ![]() Evidently at least one of the 4 faces got screwed. Now I need to discover if someting I did in Wings 3D screwed it, or rather GR2 Editor is misreading its information. Stay tuned ![]() |
|
![]() |
![]() |
![]() |
#1819 | |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
|
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#1820 | |
Ace of the Deep
![]() |
![]() Quote:
Open any of the Uboat gr2s (VIIA for example). Try renaming a bone. Try saving: Error comes up: ![]() ![]() Also, if I rename en-mass via 010Editor, after which try opening in more recent version: it obviously comes up with the checksum error, I click to fix it, it fixes it, but when I try to save: same as above. In version 1_1_230_1 - no problem with either. Also, of course, in the newest version, can't open any of the uboats.. Because of the error "Section 6's mixed values count calculated != file size in bytes" I assumed that it was due to you disabling any loading of gr2s with mixed values. |
|
![]() |
![]() |
![]() |
#1821 | ||
Black Magic
![]() |
![]() Quote:
As far as the export problem you reported I finally got the app to do the problem. The problem is now fixed for good ![]() ![]() Quote:
![]() |
||
![]() |
![]() |
![]() |
#1822 | ||
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
|
![]() Quote:
![]() Quote:
![]() |
||
![]() |
![]() |
![]() |
#1823 | |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
|
![]() Quote:
I did as suggested by you, and I can confirm that GR2 Editor in not the culprit. Similarly, I can exclude Wings3D: I took the object generated by your app, I imported it in Wings and I exported without making any change. The tree, imported back in vegetation.GR2, showed correctly in game ![]() Whatever was wrong, it had to be my mistake. Probably when I split one of the base edges in Wings, I broke object's geometry ![]() |
|
![]() |
![]() |
![]() |
#1824 |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
|
![]()
Tree update:
after several tests, I can declare that nothing was wrong with my scaled trees, except for the fact that they were... too big ![]() Seems that SH5 trees can't trespass a given size. The fact that during my first test, where I had changed just one mesh, some trees were looking okay and some others were cut diagonally may depend on the fact that SH5 randomizes the size of each tree, for adding variety. Probably only the bigger trees were corrupted. The good news is that we can reuduce their size at wish and by any percent with no adverse effects ![]() |
![]() |
![]() |
![]() |
#1825 | |
Navy Seal
![]() |
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#1826 | |
Black Magic
![]() |
![]() Quote:
These special GR2 files are a freakin nightmare. One thing they allow is embedded strings to not have to follow an alignment value (they only need 1 null termination character) but the sections still have to fall on a multiple of 0x4. Each section's alignment is also different - most of the sub's section 1 is set to 0x20 where this is usually 0x4. This obviously will cause problems if you try to add an embedded string that is not a multiple of 0x4 (including it's null termination character) because all the following sections will not be aligned to a 0x4 multiple anymore. My solution was to add 'filler' in the linked list to align these sections back to a 0x4 multiple and it works. I'm just working through some other problems noticed with these special GR2 files. |
|
![]() |
![]() |
![]() |
#1827 |
Black Magic
![]() |
![]()
Here's version 1.1.332.1 for testing: http://www.mediafire.com/?bgni4keov4ngq4w
What it will not allow: - any GR2 file with mixed values - any GR2 file with trackgroups - any GR2 file with animations What is enabled that is new: - decompressor (remember that you have to have a specific version of the Granny Viewer installed on your computer for the decompressor to work!) The problems with the subs (changing bone name and error from it) has been fixed. The problem gap reported of 'hanging' when exporting has been fixed. Many, many other problems I found by accident and from trying to load/modify the decompressed Augustus.GR2 file have been fixed also. Starting with this version and forward the app will check for broken chains on file load and before saving. If any are found when loading the file it will close it (because it failed to read it in correctly). If any are found when trying to save it will refuse to save the file (because it's more than likely corrupt in memory). Let me know if you encounter any files with broken chains and send them or post a link to them here. If you decompress a file I ask that you view it in Granny Viewer to ensure it opens correctly AND also reopen the decompressed file with the app to ensure the app reads the file correctly. All decompressed files will be placed in app path\Decompressed\filename. Inside of that folder will contain all the decompressed sections and the actual decompressed GR2 file that the app made. You will also find another folder called Old. Inside that folder are the previous decompressed section files (if you chose to move them when decompressing). NOTE: any file that has duplicates of anything (mainly extendeddata and extendeddatadata) will cause broken chains if you delete the main object that the duplicates are based on. I do not provide you this information in this version. The only way you will know this has happened is the app will report broken chains when trying to save. I'm coding this part currently for the next version. ![]() |
![]() |
![]() |
![]() |
#1828 | ||||
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
|
![]() Quote:
![]() I will test the fixed features asap Quote:
![]() Quote:
moreover, it didn't come with an installer, how can I tell your app where to look for granny viewer's exe? ![]() Quote:
![]() |
||||
![]() |
![]() |
![]() |
#1829 |
Ace of the Deep
![]() |
![]()
yay! Very nice, TDW!
Will be testing later today. btw, it is hillarious to attempt and figure out replacement of mesh on an existing animation. Some funny stuff happens. |
![]() |
![]() |
![]() |
#1830 | ||
Black Magic
![]() |
![]() Quote:
I had a feeling that I was unknowingly corrupting GR2 files with previous versions ![]() Just adding missing strings shouldn't be causing you any problems. Have you tried this on a stock unmodified file? Quote:
Working on the mixed values now so I can remove that file limitation on the next version. |
||
![]() |
![]() |
![]() |
|
|