Search found 786 matches

by JeremyaFr
Tue Dec 18, 2018 3:40 pm
Forum: Editing
Topic: [OPTing] XWA OPT Editor (a new opting tool is under construction)
Replies: 219
Views: 42195

Re: [OPTing] XWA OPT Editor (a new opting tool is under construction)

Done.

I've added a tolerance box to the illumintion tab. I've set the default value to 5 (the same as Optech).
I've changed the second color of the second illumination button from Black to White. So you can use that to make all colors illuminated.

Please redownload XwaOptEditor
by JeremyaFr
Mon Dec 17, 2018 7:48 pm
Forum: Editing
Topic: Hooks
Replies: 95
Views: 11844

Re: Hooks

UPDATE You can now select a different value for all weapons. xwa_hook_weapon_color.zip The format is: WeaponColor = color value WeaponColorXXX = color value WeaponColor defines the default value used for all weapons. XXX in WeaponColorXXX goes from 280 to 307. When present, this overrides the defau...
by JeremyaFr
Mon Dec 17, 2018 5:28 pm
Forum: Editing
Topic: Hooks
Replies: 95
Views: 11844

Re: Hooks

Thanks Darksaber Great! Does it change also ion cannona and torpedoes and missiles, or only the primary weapon? Currently, the hook works the same for any weapons. So it also works for ions, torpedos, missiles, bombs, rockets, mag pulses, flares. If needed, I can modify the hook to distinguish laser...
by JeremyaFr
Sun Dec 16, 2018 3:39 pm
Forum: Editing
Topic: Hooks
Replies: 95
Views: 11844

Re: Hooks

"See XWingWeaponRate.txt." is a mistake. I've fixed that ("See XWingWeaponColor.txt."). The color value is the index of the flightgroup color in the opt file. 0 is the first flightgroup color, 1 is the second flightgroup color, and so on... I've included a modified version of LaserRebel.opt and Lase...
by JeremyaFr
Sun Dec 16, 2018 2:37 pm
Forum: Pilot Lounge
Topic: XJ3 X-Wing - NEW
Replies: 13
Views: 466

Re: XJ3 X-Wing - NEW

Hello,
I've created a hook to define the flightgroup color of the lasers.
See viewtopic.php?p=156215#p156215

You can now include a blue version in the lasers OPTs and reference the color in a txt file based on the craft.
by JeremyaFr
Sun Dec 16, 2018 2:33 pm
Forum: Editing
Topic: Hooks
Replies: 95
Views: 11844

Re: Hooks

NEW HOOK Hello, Here is a hook to set the lasers flightgroup color. Suppose that the craft is "FlightModels\[Model].opt". To define the color, create a file named "FlightModels\[Model]WeaponColor.txt". The format is: WeaponColor = color value If the file does not exist, 0 is used. You also need to ...
by JeremyaFr
Fri Dec 14, 2018 5:38 pm
Forum: Editing
Topic: [OPTing] texture limits
Replies: 123
Views: 27045

Re: [OPTing] texture limits

UPDATE

Hello,
I've included a patch to the opt limit hook. This patch fixes a crash when a face has a flat texture.

Please redownload xwa_hook_opt_limit.zip
by JeremyaFr
Fri Dec 14, 2018 5:15 pm
Forum: Editing
Topic: 60FPS Inflight hook
Replies: 21
Views: 658

Re: 60FPS Inflight hook

UPDATE

Hello,
I've included the 60 fps patch to the time hook.

Please redownload xwa_hook_time.zip
by JeremyaFr
Fri Dec 14, 2018 5:14 pm
Forum: Soft/Hardware Problems
Topic: Reduce CPU usage
Replies: 6
Views: 4119

Re: Reduce CPU usage

UPDATE

Hello,
I've included the 60 fps patch to the time hook.

Please redownload xwa_hook_time.zip
by JeremyaFr
Wed Dec 12, 2018 7:52 pm
Forum: Editing
Topic: [OPTing] XWA OPT Editor (a new opting tool is under construction)
Replies: 219
Views: 42195

Re: [OPTing] XWA OPT Editor (a new opting tool is under construction)

Hello, The code that generated the "temp.tie" file for skirmish mission is situated at address L005793E0. For the asteroids, 24 flight groups are used with craft count set to 3 (6 for the last asteroids flight group). So the asteroids count is 75. They are randomly positioned. For regular missions, ...
by JeremyaFr
Sun Dec 09, 2018 7:12 pm
Forum: Editing
Topic: [OPTing] XWA OPT Editor (a new opting tool is under construction)
Replies: 219
Views: 42195

Re: [OPTing] XWA OPT Editor (a new opting tool is under construction)

UPDATE

Hello,
I've added a button to check and remove flat textures.

Please redownload XwaOptEditor
by JeremyaFr
Fri Dec 07, 2018 9:27 pm
Forum: Editing
Topic: 60FPS Inflight hook
Replies: 21
Views: 658

Re: 60FPS Inflight hook

Hello,
I've updated the above test hook.
It works better now.
by JeremyaFr
Fri Dec 07, 2018 8:35 pm
Forum: Pilot Lounge
Topic: XJ3 X-Wing - NEW
Replies: 13
Views: 466

Re: XJ3 X-Wing - NEW

Good :2thumbs:
by JeremyaFr
Wed Dec 05, 2018 8:50 pm
Forum: Editing
Topic: 60FPS Inflight hook
Replies: 21
Views: 658

Re: 60FPS Inflight hook

UPDATE
Hello,
I've included the patch in the time hook.
Here is a preview version:
EDIT: link removed
See viewtopic.php?f=10&t=11338
by JeremyaFr
Tue Dec 04, 2018 5:00 pm
Forum: Editing
Topic: 60FPS Inflight hook
Replies: 21
Views: 658

Re: 60FPS Inflight hook

Hello,

To get full FPS, you can disable the time hook ( Hook_Time.dll ).

You can also apply this patch:

Code: Select all

; Disable FlushTextureCache inflight
At offset 499E0, replace E808D21400 with 9090909090.
This will prevents the game from reloading the textures inflight.
by JeremyaFr
Mon Dec 03, 2018 9:11 pm
Forum: Editing
Topic: 60FPS Inflight hook
Replies: 21
Views: 658

Re: 60FPS Inflight hook

Offsets 1 and 2 disable the fps limit for inflight.
Offsets 3 and 4 set the fps limit to 60 fps in the hangar.
by JeremyaFr
Mon Dec 03, 2018 7:59 pm
Forum: Editing
Topic: 60FPS Inflight hook
Replies: 21
Views: 658

Re: 60FPS Inflight hook

I propose that:

Code: Select all

At offset 10FBD5, replace 7D24 with EB24.
At offset 10FC8D, replace 0F8D with 90E9.
At offset 58005, replace 83FA08 with 83FA04.
At offset 58027, replace 83F908 with 83F904.
by JeremyaFr
Mon Dec 03, 2018 6:01 pm
Forum: Editing
Topic: 60FPS Inflight hook
Replies: 21
Views: 658

Re: 60FPS Inflight hook

Nice find.
It works.

A quick question:
Why use a complex hook to change only one byte?

Code: Select all

At offset 10FBF8, replace 08 with 04.
08 corresponds to 30 FPS.
04 corresponds to 60 FPS.
by JeremyaFr
Sun Dec 02, 2018 4:36 pm
Forum: Editing
Topic: [OPTing] texture limits
Replies: 123
Views: 27045

Re: [OPTing] texture limits

My OneDrive is fine.
by JeremyaFr
Sat Dec 01, 2018 7:39 pm
Forum: Editing
Topic: [OPTing] texture limits
Replies: 123
Views: 27045

Re: [OPTing] texture limits

UPDATE

Hello,
I've updated the opt limit hook to increase the vertices size limit from 4096 to 65536.

Please redownload xwa_hook_opt_limit.zip
by JeremyaFr
Sat Dec 01, 2018 5:08 pm
Forum: Editing
Topic: [OPTing] XWA OPT Editor (a new opting tool is under construction)
Replies: 219
Views: 42195

Re: [OPTing] XWA OPT Editor (a new opting tool is under construction)

It is done automatically when the opt is saved.

The Split/Merge buttons are used to rearrange the meshes/lods/face groups.
by JeremyaFr
Sat Dec 01, 2018 4:04 pm
Forum: Editing
Topic: [OPTing] XWA OPT Editor (a new opting tool is under construction)
Replies: 219
Views: 42195

Re: [OPTing] XWA OPT Editor (a new opting tool is under construction)

UPDATE

Hello,
I've found how to break the vertices count limit.
It is done by spliting the face groups in groups of 384 vertices.

Please redownload XwaOptEditor
by JeremyaFr
Sat Dec 01, 2018 1:52 pm
Forum: Editing
Topic: [OPTing] texture limits
Replies: 123
Views: 27045

Re: [OPTing] texture limits

TEST Hello, I found how to remove the vertices count limit for meshes that have a transparent texture. It seems to also work for non transparent textures. limits_1_1_150_150-2.zip This opt contains a mesh that has 90 000 triangles, 180 000 vertices. To test it, you have to set "Size = 65536" in "Ho...
by JeremyaFr
Wed Nov 28, 2018 5:33 pm
Forum: Editing
Topic: Editing S-Foils
Replies: 70
Views: 10595

Re: Editing S-Foils

UPDATE

Hello,
I've fixed a bug in the sfoils hook that leads to a "The called hook was not correctly installed or initialized" error.

Please redownload xwa_hook_sfoils.zip
by JeremyaFr
Wed Nov 28, 2018 5:31 pm
Forum: Editing
Topic: Hooks
Replies: 95
Views: 11844

Re: Hooks

UPDATE

Hello,
I've updated the main hook to include a better error message for "The called hook was not correctly installed or initialized" error.

Please redownload xwa_hook_main.zip