[OPTing] XWA OPT Editor

Want to edit the game, build your own craft and missions? Here you'll find help, tools, guides and people to discuss with.

Re: [OPTing] XWA OPT Editor

User avatar
Vince T
Fleet Admiral (Administrator)
Posts: 14045
Joined: Fri Apr 27, 2001 11:01 pm
Contact:

Post by Vince T » Fri May 01, 2020 6:16 pm

Yes that seems to work better now! Thank you!
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear

User avatar
Vince T
Fleet Admiral (Administrator)
Posts: 14045
Joined: Fri Apr 27, 2001 11:01 pm
Contact:

Post by Vince T » Sat May 02, 2020 11:38 pm

Hey jeremy, I'm still struggling with the lightmap function to the point where it's driving me nuts. The function adds illumination to parts of a texture where there should be none. Evenif I use a transparent png with only the lights are present, it adds illumination to half fo the texture.

Here's an example of a texture:
illumination0.jpg
By my understanding, everything that's not illuminated, should be displayed black. However, this is what the function makes of it instead:
Lightmapping.jpg
You do not have the required permissions to view the files attached to this post.
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear

User avatar
JeremyaFr
XWAU Member
Posts: 3918
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Sun May 03, 2020 8:32 am

Hello,

You can try that:
- convert the texture to 32 bits
- replace the illum map
- convert back the texture to 8 bits

User avatar
JeremyaFr
XWAU Member
Posts: 3918
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Wed May 06, 2020 3:47 pm

UPDATE

Hello,
I've updated XwaOptEditor.

Now you can export a S-Foils animation step in XwaSFoilsEditor.

User avatar
JeremyaFr
XWAU Member
Posts: 3918
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Tue Jun 09, 2020 4:42 pm

UPDATE

Hello,
I've updated XwaOptEditor.

I've added a color picker to select the color of the render control background.

User avatar
Ace Antilles
Admiral (Moderator)
Posts: 7824
Joined: Sat Jan 22, 2000 12:01 am
Contact:

Post by Ace Antilles » Tue Jun 09, 2020 5:49 pm

That's great! Thanks very much Jeremy.
If it's possible to add to the opt explorer in the future even better but no worries :)
Chief XWAU Team annoying nitpicker.
Ace Antilles - The X-Wing Outpost
Image

User avatar
JeremyaFr
XWAU Member
Posts: 3918
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Tue Jun 09, 2020 7:02 pm

I've already added the background color selector in all the tools of the XwaOptEditor package, including XwaOptExplorer.

User avatar
Ace Antilles
Admiral (Moderator)
Posts: 7824
Joined: Sat Jan 22, 2000 12:01 am
Contact:

Post by Ace Antilles » Tue Jun 09, 2020 7:24 pm

JeremyaFr wrote:
Tue Jun 09, 2020 7:02 pm
I've already added the background color selector in all the tools of the XwaOptEditor package, including XwaOptExplorer.
BRILLIANT! my bad I didn't realise they were together. I'm having a bad day lol
Thank you so much
Chief XWAU Team annoying nitpicker.
Ace Antilles - The X-Wing Outpost
Image

User avatar
JeremyaFr
XWAU Member
Posts: 3918
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Mon Jul 13, 2020 8:05 pm

UPDATE

Hello,
I've updated XwaHangarMapEditor.

You can now export a hangar scene to an opt or obj file.

User avatar
JeremyaFr
XWAU Member
Posts: 3918
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Sat Aug 01, 2020 3:13 pm

UPDATE

Hello,
I've updated XwaOptEditor.

Now, when a file dialog is shown, the tool remenbers the directory for each type of dialog (open, save, import, export, each file type).
This apply to XwaHangarMapEditor, XwaOptEditor, XwaSFoilsEditor.

User avatar
Trevor
Lieutenant JG
Posts: 541
Joined: Thu Dec 04, 2014 7:11 pm

Post by Trevor » Sat Aug 01, 2020 7:45 pm

Ah great, I was about to suggest starting in the install directory but this is better.

Trev

User avatar
Haakan
Cadet 2nd Class
Posts: 81
Joined: Sun Jul 14, 2019 1:36 am

Post by Haakan » Sun Aug 09, 2020 9:51 am

Hello.

I'm trying to use the tool to review some older (00's) OPTs but it tends to crash quite frequently. Is there anything that can be done tosolve this I'm on Windows 7 with .net framework 4.7.2 installed
Lt. Colonel A. Araujo
Commander, 7th SpecOps Squadron "Alpha"
Battlegroup I
Emperor's Hammer.

CMDR/LC Alejandro Araujo/Alpha/Wing I/ISDII Hammer/BGI

User avatar
JeremyaFr
XWAU Member
Posts: 3918
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Sun Aug 09, 2020 10:29 am

Hello,
Is there an error message when the tool crashes?
Does it happen every time a specific OPT is loaded?
Can you share an OPT file that make the tool to crash?

Ronin65
Cadet 3rd Class
Posts: 48
Joined: Thu Jul 02, 2020 1:00 pm

Post by Ronin65 » Sun Aug 09, 2020 11:29 am

Hi JeremyFr,

In Optechv2, originally you could only scale the opt by percentage, but then you added scale by metres to Optech, where as in XWA Opt Editor, you can only scale by Metres,

My question is, it possible to add scale by percentage to XWA Opt Editor please?

Thank you

User avatar
JeremyaFr
XWAU Member
Posts: 3918
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Sun Aug 09, 2020 12:39 pm

UPDATE

Hello,
I've added a scale by percent feature.

User avatar
Haakan
Cadet 2nd Class
Posts: 81
Joined: Sun Jul 14, 2019 1:36 am

Post by Haakan » Sun Aug 09, 2020 1:14 pm

JeremyaFr wrote:
Sun Aug 09, 2020 10:29 am
Hello,
Is there an error message when the tool crashes?
Does it happen every time a specific OPT is loaded?
Can you share an OPT file that make the tool to crash?
Now that I realize, it is happening on both old and new OPTs.

I.e. I can't open XWAUP's X-W (I got 6.0) or some of DSUCP 2.6 OPTs. It just hangs.

How do I do to share the other OPTs where it crashes?
Lt. Colonel A. Araujo
Commander, 7th SpecOps Squadron "Alpha"
Battlegroup I
Emperor's Hammer.

CMDR/LC Alejandro Araujo/Alpha/Wing I/ISDII Hammer/BGI

Ronin65
Cadet 3rd Class
Posts: 48
Joined: Thu Jul 02, 2020 1:00 pm

Post by Ronin65 » Sun Aug 09, 2020 1:15 pm

Thank you so much JeremyaFr :)

User avatar
Ace Antilles
Admiral (Moderator)
Posts: 7824
Joined: Sat Jan 22, 2000 12:01 am
Contact:

Post by Ace Antilles » Sun Aug 09, 2020 1:38 pm

Haakan wrote:
Sun Aug 09, 2020 1:14 pm
JeremyaFr wrote:
Sun Aug 09, 2020 10:29 am
Hello,
Is there an error message when the tool crashes?
Does it happen every time a specific OPT is loaded?
Can you share an OPT file that make the tool to crash?
Now that I realize, it is happening on both old and new OPTs.

I.e. I can't open XWAUP's X-W (I got 6.0) or some of DSUCP 2.6 OPTs. It just hangs.

How do I do to share the other OPTs where it crashes?
Install the newest version and try again.
XWA Opt Explorer is good just to view opts. Older XvT type opts it doesn't always like.

To share zip and drag into the full editor reply box here and it should let you attach files
Chief XWAU Team annoying nitpicker.
Ace Antilles - The X-Wing Outpost
Image

User avatar
JeremyaFr
XWAU Member
Posts: 3918
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Tue Aug 11, 2020 12:43 pm

UPDATE

Hello,
I've updated XwaOptEditor.

I've added a button to remove unused textures.

User avatar
JeremyaFr
XWAU Member
Posts: 3918
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Thu Aug 27, 2020 12:03 pm

UPDATE

Hello,
I've updated XwaOptEditor.

Changes are:
  • export / replace mesh
  • show center axis

User avatar
JeremyaFr
XWAU Member
Posts: 3918
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Wed Sep 02, 2020 12:24 pm

UPDATE

Hello,
I've updated XwaOptEditor.

Now you can move a mesh by absolute position.

User avatar
JeremyaFr
XWAU Member
Posts: 3918
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Wed Sep 23, 2020 2:51 pm

UPDATE

Hello,
I've updated XwaOptEditor.

I've fixed a bug with illum texture import for 8-bpp textures.

User avatar
JeremyaFr
XWAU Member
Posts: 3918
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Wed Oct 21, 2020 2:47 pm

UPDATE

Hello,
I've updated XwaOptEditor.

I've fixed a bug with the mesh selection in the meshes list.

User avatar
JeremyaFr
XWAU Member
Posts: 3918
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Tue Dec 29, 2020 8:25 pm

UPDATE

Hello,
I've updated XwaOptEditor.

Changes are:
- in the editor view, added a version selector
- in the viewer view, added a checkbox to show/hide back faces

User avatar
JeremyaFr
XWAU Member
Posts: 3918
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Fri Mar 12, 2021 1:26 pm

UPDATE

Hello,
I've updated XwaOptEditor.

The changes are:
- XwaOptEditor: add up and down buttons for textures
- XwaHangarMapEditor: fix default zoom

Post Reply