Page 2 of 16

Re: [OPTing] a new opting tool is under construction

Posted: Sun Feb 02, 2014 11:26 pm
by JeremyaFr
To support Windows XP, I have retargeted the program to use the .Net Framework 4.0.
Now, XwaOptEditor.zip contains 2 versions:
XwaOptEditor runs on Windows 32/64 bits with the .NET framework 4.5.
(Windows Vista, Windows 7, Windows 8, or superior)

XwaOptEditor4 runs on Windows 32/64 bits with the .NET framework 4.0.
(Windows XP, Windows Vista, Windows 7, Windows 8, or superior)

Re: [OPTing] a new opting tool is under construction

Posted: Mon Feb 03, 2014 8:27 am
by Bman
Awesome. Thanks Jeremy! I also had trouble with the XwaOptTestTools.zip file. Those patch file tools didn't run for me either.

Question... is your XwaOptEditor basically finished, or is it a work-in-process beta release at this point? Future versions as more features added etc. ?

Re: [OPTing] a new opting tool is under construction

Posted: Mon Feb 03, 2014 2:09 pm
by JeremyaFr
I have updated XwaOptTestTools to support Windows XP.

XwaOptEditor is not a finished tool. It's a work-in-progress.

Re: [OPTing] a new opting tool is under construction

Posted: Wed Feb 05, 2014 7:46 am
by Bman
Thanks. Quick note, when I launch the XwaOptEditor and click the [Open] button on interface, it then crashes:

Re: [OPTing] a new opting tool is under construction

Posted: Wed Feb 05, 2014 3:01 pm
by JeremyaFr
Thanks for the bug report.
I have corrected this.

Re: [OPTing] a new opting tool is under construction

Posted: Wed Feb 05, 2014 9:20 pm
by Rasalas
Thank you for making your tool XP-compatible!

I've also found a bug. When trying to rename an existing file in the "Save as" window, XwaOptEditor4 crashes.
XWAOE4-Error.png

Re: [OPTing] a new opting tool is under construction

Posted: Wed Feb 05, 2014 10:25 pm
by JeremyaFr
Thanks for the bug report.
I've done a small update to the SaveAs code. I don't know if it has corrected the bug.

Re: [OPTing] a new opting tool is under construction

Posted: Thu Feb 06, 2014 12:06 am
by Rasalas
Thanks you for your effort, but the bug is still there. The error signature is slightly different:
XWAOE4-Error2.png

Btw, when right-clicking a file in the "Open" window, the tool also crashes:
XWAOE4-Error3.png

Re: [OPTing] a new opting tool is under construction

Posted: Thu Feb 06, 2014 9:04 am
by Bman
This seems to be working fine for me now. GUI design looks really great, even as a beta release. Thanks Jeremy.

Rasalas, I did a "SaveAs" test and it worked for me on my .opt model. One thought, after you do your windows critical updates, go back to custom button or the windows update home page. Choose the link on far left called XP Windows "Optional Software Downloads". There are several .net framework v4 KB updates that fix stability issues and bugs. MS did not code these as O/S "Critical Updates". It might solve your stackoverflowexceptions.

Re: [OPTing] a new opting tool is under construction

Posted: Thu Feb 06, 2014 1:06 pm
by Rasalas
Bman, thanks for the tip. Unfortunately installing these .NET updates didn't solve the problem (same error codes as before).
But since the tool works fine otherwise, it isn't a big problem for me.

Re: [OPTing] a new opting tool is under construction

Posted: Wed Feb 19, 2014 9:53 pm
by JeremyaFr
A small update:
added:
  • solid/wireframe display mode
  • lod selector
  • bpp warning message box if all textures have not the same bpp
AssaultFrigate.jpg

Re: [OPTing] a new opting tool is under construction

Posted: Thu Feb 20, 2014 8:48 pm
by Rasalas
Thanks for your continuous work Jeremy! :thumbs:

I've found another bug: I edited TG's Assault Transport and Platform 1 opts (changed some of the hardpoints from TurboEmpireLaser to SuperEmpireLaser) and after saving them nearly all laser fire will go right through them ingame. Strangely enough some lasers do hit from time to time. Probably some kind of hitzone problem?

Re: [OPTing] a new opting tool is under construction

Posted: Fri Feb 21, 2014 12:27 am
by JeremyaFr
You are right: this bug is due to the hitzone. The game engine requires the hitzone to be written in the vertex buffer.
I have corrected that.

Re: [OPTing] a new opting tool is under construction

Posted: Sun Feb 23, 2014 4:32 pm
by Marcos_Edson
:2thumbs:

Re: [OPTing] a new opting tool is under construction

Posted: Wed Mar 12, 2014 8:26 pm
by JeremyaFr
An update:
added:
  • compute hitzones
  • convert textures: 8 bits <-> 32 bits
  • generate textures mipmaps
  • save / replace textures
  • add textures

Re: [OPTing] a new opting tool is under construction

Posted: Mon Mar 24, 2014 7:12 pm
by JeremyaFr
An update:
added:
  • split / merge meshes
  • import / export obj

Re: [OPTing] a new opting tool is under construction

Posted: Tue Apr 29, 2014 7:01 pm
by JeremyaFr
A quick update:
- updated HelixToolkit to version 2014.2.15.1

Re: [OPTing] a new opting tool is under construction

Posted: Fri May 02, 2014 11:26 am
by Gank
Nice work Jeremy, looks like I'll be rooting around for xwa disks this weekend

Re: [OPTing] a new opting tool is under construction

Posted: Fri May 02, 2014 12:34 pm
by FBK
Incredible!!!
Thaks forma what you are doing

Re: [OPTing] a new opting tool is under construction

Posted: Sat May 24, 2014 12:01 pm
by Gank
Hi Jeremy i get an error when importing an obj
Capture.JPG

Re: [OPTing] a new opting tool is under construction

Posted: Sat May 24, 2014 12:30 pm
by JeremyaFr
Hi Gank,
This error means that the obj file does not contain vertex normals.

Re: [OPTing] a new opting tool is under construction

Posted: Sat May 24, 2014 12:52 pm
by Gank
Thanks for the quick reply, now i'm getting this error:
Capture.JPG

Re: [OPTing] a new opting tool is under construction

Posted: Sat May 24, 2014 1:27 pm
by JeremyaFr
I've updated XwaOptEditor to include better error messages.

Re: [OPTing] a new opting tool is under construction

Posted: Sat May 24, 2014 2:56 pm
by Gank
Thanks jeremy, getting a new error now, "object reference not set to an instance of an object"

Re: [OPTing] a new opting tool is under construction

Posted: Sat May 24, 2014 4:20 pm
by JeremyaFr
It means that the obj file does not contain a mtllib line specifying an mtl file.
I have updated XwaOptEditor so it will not fail when an mtl file is not found. Instead, the opt file will appear in white.