SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 02-16-13, 04:40 PM   #1801
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
Vegetation or Vegetation_stock? And what were you trying to do with it? I really need a step-by-step procedure so I can try and duplicate the problem. I have to walk it in Visual Studio's debugger so I can see what's going on.
select any mesh (tested with tree2 and tree6, but should be the same with other meshes)
export it (export settings don't really matter)
when requested if I wanted to specify a save location I clicked yes, and selected a folder on my desktop
everything should be okay

Now repeat the same steps, selecting the same save folder and file name. The saving process will hung up, and the preview window will show a flashing "Exporting Tree# Reading Mesh Data.." message, that cannot be closed. Everything else works normally (I can switch tabs, access menu, etc)

The same happens if the application is minimized before selecting the salve folder, during an export.

PS: there is not difference between Vegetation and Vegetation_stock, except for the additional strings added by GR2 Editor in Vegetation.GR2
gap is offline   Reply With Quote
Old 02-16-13, 04:49 PM   #1802
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Little update:

I found a way to restore the correct working of GR2 Editor, and getting rid of the "Exporting Tree# Reading Mesh Data.." message: it is done by exporting again a mesh, and selecting a previously unused save name.
gap is offline   Reply With Quote
Old 02-16-13, 04:49 PM   #1803
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
select any mesh (tested with tree2 and tree6, but should be the same with other meshes)
export it (export settings don't really matter)
when requested if I wanted to specify a save location I clicked yes, and selected a folder on my desktop
everything should be okay

Now repeat the same steps, selecting the same save folder and file name. The saving process will hung up, and the preview window will show a flashing "Exporting Tree# Reading Mesh Data.." message, that cannot be closed. Everything else works normally (I can switch tabs, access menu, etc)

The same happens if the application is minimized before selecting the salve folder, during an export.

PS: there is not difference between Vegetation and Vegetation_stock, except for the additional strings added by GR2 Editor in Vegetation.GR2
ah ok, that should be an easy one to fix
It didn't crash since you were able to select tabs, access menu, etc. If you notice that when it does something that it doesn't want you to mess with anything it will lock those out
TheDarkWraith is offline   Reply With Quote
Old 02-16-13, 04:58 PM   #1804
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
ah ok, that should be an easy one to fix
It didn't crash since you were able to select tabs, access menu, etc. If you notice that when it does something that it doesn't want you to mess with anything it will lock those out
A possibly related fact I have noticed:

when the export options dialog pops up, minimizing GR2 Editor is forbidden. Not so for the next dialog (the one about save name and location). When an existing file name is selected, a window's window pop ups, asking if we are sure we want to overwrite the file. Is is possible that your program doesn't like it?

P.S: even after restoring the normal functioning of GR2 Editor (see my previous post), the hung up Export window remains in menory
Even after closing the application, it is still there...
gap is offline   Reply With Quote
Old 02-16-13, 05:05 PM   #1805
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

gap your problem should be fixed now.

v1.1.318.1 released. See post #1 for details.

Features disabled in the app:
- If any section has mixed values defined the app will refuse to open the file (I haven't finished coding this yet)
- If any GR2 file you try to load is compressed the app will immediately close it (because of the first item)

TheDarkWraith is offline   Reply With Quote
Old 02-16-13, 05:20 PM   #1806
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
gap your problem should be fixed now.

v1.1.318.1 released. See post #1 for details.

Features disabled in the app:
- If any section has mixed values defined the app will refuse to open the file (I haven't finished coding this yet)
- If any GR2 file you try to load is compressed the app will immediately close it (because of the first item)

v1.1.317.1 good bye, yours was a short existence
gap is offline   Reply With Quote
Old 02-16-13, 06:30 PM   #1807
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
v1.1.318.1 released. See post #1 for details.
Have you changed the way additional strings are read by the editor (v1.1.318.1)?

Now, every time I try opening a Vegetation.GR2 which had been previously patched with the missing strings (don't matter which version of the Editor/Viewer had added them), I receive the following error message:



Native Vegetation.GR2 files are opened correctly. But as soon as they get patched, saved and closed, they can't be opened again. In other words, the last version can add missing strings, but can't read files which had been added those strings
gap is offline   Reply With Quote
Old 02-16-13, 06:50 PM   #1808
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
Have you changed the way additional strings are read by the editor (v1.1.318.1)?

Now, every time I try opening a Vegetation.GR2 which had been previously patched with the missing strings (don't matter which version of the Editor/Viewer had added them), I receive the following error message:



Native Vegetation.GR2 files are opened correctly. But as soon as they get patched, saved and closed, they can't be opened again. In other words, the last version can add missing strings, but can't read files which had been added those strings
ah yes I did. Those darn duplicate pointers were causing me a nightmare! I know why it's doing this, I'll have a fix here shortly

I'm also fixing the float precision problem that has existed since day 1 of the app. The problem was any float value read in was not being rounded to six decimal places.
TheDarkWraith is offline   Reply With Quote
Old 02-16-13, 06:56 PM   #1809
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
ah yes I did. Those darn duplicate pointers were causing me a nightmare! I know why it's doing this, I'll have a fix here shortly

I'm also fixing the float precision problem that has existed since day 1 of the app. The problem was any float value read in was not being rounded to six decimal places.
Okay, waiting online for your updates
gap is offline   Reply With Quote
Old 02-16-13, 06:59 PM   #1810
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

...and as we are at it: have you seen this other report by me?

http://www.subsim.com/radioroom/show...postcount=1753
gap is offline   Reply With Quote
Old 02-16-13, 07:30 PM   #1811
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

v1.1.320.1 released. See post #1

Same restrictions as last as what features are disabled. Fixes problem posted by gap.
TheDarkWraith is offline   Reply With Quote
Old 02-16-13, 07:30 PM   #1812
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
...and as we are at it: have you seen this other report by me?

http://www.subsim.com/radioroom/show...postcount=1753
I'll check it out tomorrow
TheDarkWraith is offline   Reply With Quote
Old 02-16-13, 08:05 PM   #1813
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
v1.1.320.1 released. See post #1

Same restrictions as last as what features are disabled. Fixes problem posted by gap.
First test report:

the problen with the export process being hung up by unmanaged events (window minimization/file overwriting request) is still unsolved, but this is a minor flaw.

What matters is that now the editor is able to read correctly the Wings3D object file I had sent to you

Tomorrow I will test if the modified trees are diplayed correctly in game.

Quote:
Originally Posted by TheDarkWraith View Post
I'll check it out tomorrow
no hurry
gap is offline   Reply With Quote
Old 02-16-13, 08:29 PM   #1814
Targor Avelany
Ace of the Deep
 
Join Date: Jan 2010
Location: Vancouver, BC, Canada
Posts: 1,183
Downloads: 225
Uploads: 0


Default

edit: ugh... didn't read what app DOESN't do.

Btw, there are still problems with updating names/bones in any of the submarines. The only version that it is working on for me is 1_1_230_1
Targor Avelany is offline   Reply With Quote
Old 02-16-13, 08:56 PM   #1815
Ekmek
Mate
 
Join Date: Nov 2011
Posts: 53
Downloads: 4
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
v1.1.320.1 released. See post #1

Same restrictions as last as what features are disabled. Fixes problem posted by gap.

I see it. But looks like the decompressor is still disabled. Keep up the great work!
Ekmek is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:38 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.