SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   GR2 Editor/Viewer/Extractor/Importer (https://www.subsim.com/radioroom/showthread.php?t=188290)

Trevally. 12-20-11 01:16 PM

Quote:

Originally Posted by TheDarkWraith (Post 1808251)
Advanced German technology:

Able to get away in a hurry...:DL

:haha:

:up:

MLF 12-20-11 05:07 PM

Quote:

Originally Posted by TheDarkWraith (Post 1807886)
Anything change in your system since then? DirectX updated? Microsoft .NET 3.5 installed?


I have now tried it on another PC and get the same error. Did notice that the meshes are loaded but nothing is being displayed. The error multiplies as I move the cusor (presumably controlling the camera) within the screen after trying to load the GR2 file.

TheDarkWraith 12-20-11 07:11 PM

Quote:

Originally Posted by MLF (Post 1808356)
I have now tried it on another PC and get the same error. Did notice that the meshes are loaded but nothing is being displayed. The error multiplies as I move the cusor (presumably controlling the camera) within the screen after trying to load the GR2 file.

I'll add some debug output to the render function that will spit out some stuff if it encounters any errors. This way I can see what's going on :up:

MLF 12-21-11 01:53 AM

Quote:

Originally Posted by TheDarkWraith (Post 1808409)
I'll add some debug output to the render function that will spit out some stuff if it encounters any errors. This way I can see what's going on :up:

:yeah: That would be good. Thanks.:salute:

MLF

TheDarkWraith 12-21-11 02:04 AM

Quote:

Originally Posted by MLF (Post 1808527)
:yeah: That would be good. Thanks.:salute:

MLF

Added :up:


v1.0.450.0 available for testing: http://www.gamefront.com/files/21105..._1_0_450_0_zip

You cannot save anything to the files - it won't let you. This is just to test all the new features and the ability to move objects/vertices around with mouse. I haven't coded in the ability to move bones yet. Need to know this is working ok for everyone before proceeding on :yep:
Working on a 'reset' for the mesh/verticies so you can 'reset' them back if you don't like what you did currently...

Looking to know if there are any errors/bugs, typos, whether the movement of the objects with mouse is smooth or jerky, when you edit the item's parameters and it 'rebuilds' the mesh does it take forever or not, when selecting verticies does it take forever to 'register', etc...

Any changes you make are not automatically saved to the file anymore. I have an ingenious way of doing this now.

THE_MASK 12-21-11 02:43 AM

Downloading now :salute:

MLF 12-21-11 03:14 PM

Have downloaded and tried loading the Fletcher class. Same error. I'm starting to wonder whether its my SH5 install that's up the creek.:hmmm:
Think I will re-install SH5 :zzz:

Where is the de-bug stuff saved?

MLF

TheDarkWraith 12-21-11 06:38 PM

Quote:

Originally Posted by MLF (Post 1808742)
Have downloaded and tried loading the Fletcher class. Same error. I'm starting to wonder whether its my SH5 install that's up the creek.:hmmm:
Think I will re-install SH5 :zzz:

Where is the de-bug stuff saved?

MLF

You can use the DbgView app found in my UIs mod.

TheBeast 12-21-11 09:11 PM

I just tried v1.0.450.0

Agian I tried to move node and in the GR2 Exporter View it is Moved but when loaded in GoblinEditorApp the node is still at original location.
What am I actually moving when moving a Bone?:06:


REPRO STEPS:
  1. Used Hex Editor to rename cfg#C02 to cfg#SNK on Conning_7B_00.GR2 and save.
  2. Start GR2 Editor and Load Conning_7B_00.GR2 file. GR2 Editor correct CRC error from Step 1 above. (Very Cool BTW:up:)
  3. Located Bone for cfg#SNK and change position from Deck Watch location to just below Main Deck, just foreward of Conning Tower and to Port.
  4. Verify Bone is moved and exit GR2 Editor.
  5. Start GoblinEditorApp and load Conning_7B_00.GR2
RESULT:
cfg#SNK is still located up at original location.
Start GR2 Editor, load Conning_7B_00.GR2 and cfg#SNK is location where I put it.

What did I actually move?
What am I missing?
I even tried this without renaming cfg#C02 with same results.

Regards!
TheBeast

TheDarkWraith 12-21-11 09:33 PM

Quote:

Originally Posted by TheBeast (Post 1808950)
I just tried v1.0.450.0

Agian I tried to move node and in the GR2 Exporter View it is Moved but when loaded in GoblinEditorApp the node is still at original location.
What am I actually moving when moving a Bone?:06:



REPRO STEPS:
  1. Used Hex Editor to rename cfg#C02 to cfg#SNK on Conning_7B_00.GR2 and save.
  2. Start GR2 Editor and Load Conning_7B_00.GR2 file. GR2 Editor correct CRC error from Step 1 above. (Very Cool BTW:up:)
  3. Located Bone for cfg#SNK and change position from Deck Watch location to just below Main Deck, just foreward of Conning Tower and to Port.
  4. Verify Bone is moved and exit GR2 Editor.
  5. Start GoblinEditorApp and load Conning_7B_00.GR2
RESULT:
cfg#SNK is still located up at original location.
Start GR2 Editor, load Conning_7B_00.GR2 and cfg#SNK is location where I put it.

What did I actually move?
What am I missing?
I even tried this without renaming cfg#C02 with same results.

Regards!
TheBeast

No changes are being written to the file in this version. I disabled it. I made too many changes in this version and before I re-enable the ability to save changes to file I need to know there are no major issues. I didn't see any problems when I tested it but you all always seem to find those that I miss/overlook :yep:

TheBeast 12-21-11 10:03 PM

Quote:

Originally Posted by TheDarkWraith (Post 1808958)
No changes are being written to the file in this version. I disabled it. I made too many changes in this version and before I re-enable the ability to save changes to file I need to know there are no major issues. I didn't see any problems when I tested it but you all always seem to find those that I miss/overlook :yep:

Thats what testers are for:03:

NGT 12-22-11 09:44 AM

Thanks
 
@TheDarkWraith

I would like to thank you for all this work. Thank you for sharing all that with us.

Perhaps, most of us, we stay silent ("only" 311 post in 3 months), but we follow your effort, here and in other areas of SH-5 or SH-3/4.

I wish you merry Christmas and a peaceful new year 2012.

:Kaleun_Salute:

tonschk 12-22-11 03:38 PM

Quote:

Originally Posted by NGT (Post 1809120)

@TheDarkWraith

I wish you merry Christmas and a peaceful new year 2012.

:salute: Me too :yeah:

TheDarkWraith 12-23-11 04:58 PM

I'm so aggravated right now :damn: The TreeView control in Visual Studio 2008 is bugged badly. If you enable checkboxes for the treenodes and you hook the event aftercheck according to the documentation it's supposed to fire when you change the checked state (either by code or by mouse click or keyboard). That all works. What isn't supposed to happen is this aftercheck event being fired when you select a treenode with the mouse. Which is exactly what's happening :nope: Now I have to find a different solution and change a huge amount of code :damn:

Madox58 12-23-11 05:05 PM

TreeView has been a problem from 2005 to 2008 for C# as I understand?


All times are GMT -5. The time now is 02:29 AM.

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