A New Shading Model
Re: A New Shading Model
- Vince T
- Posts: 14045
- Joined: Fri Apr 27, 2001 11:01 pm
- Contact:
I‘m running Win10 and was using the cfg files the way they came in the zip.
I‘m going to whip up a clean Install on the weekend and try again.
I‘m going to whip up a clean Install on the weekend and try again.
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear
Vince T's X-Wing HQ - where the bad guys get their gear
- DarHan
- Posts: 325
- Joined: Mon Dec 05, 2005 12:01 am
- Contact:
This mod killed my computer!
… Heh, sorry, kidding. My GPU went up and died while I was testing the new version, but I’m 99% sure the timing was a coincidence. The little I’ve seen before the big crash looked great, though.
… Heh, sorry, kidding. My GPU went up and died while I was testing the new version, but I’m 99% sure the timing was a coincidence. The little I’ve seen before the big crash looked great, though.
“Red Four, nothing’s gone wrong yet.”
— Hobbie Klivian
— Hobbie Klivian
- Vince T
- Posts: 14045
- Joined: Fri Apr 27, 2001 11:01 pm
- Contact:
Speaking of crashes:
I‘ve had some ctd‘s as well, they occurr when hitting an OPT with lasers. However, this only occurs with OPTs that have HD textures. I‘m posting it in here because, as far as I recall, the Shader mod is the only thing I changed since the last time without bugs ....
The issue is occurred with the new VSD as well as DTM‘s Imp. Research center.
I remember the same crash from years ago, long before the HD era. Back then I think it was related to too many faces within a mesh. However, like I said, it did work before.
I‘ve had some ctd‘s as well, they occurr when hitting an OPT with lasers. However, this only occurs with OPTs that have HD textures. I‘m posting it in here because, as far as I recall, the Shader mod is the only thing I changed since the last time without bugs ....
The issue is occurred with the new VSD as well as DTM‘s Imp. Research center.
I remember the same crash from years ago, long before the HD era. Back then I think it was related to too many faces within a mesh. However, like I said, it did work before.
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear
Vince T's X-Wing HQ - where the bad guys get their gear
- blue_max
- Posts: 2295
- Joined: Wed Mar 20, 2019 5:12 am
Anti-Aliasing is activated through the nVidia Control Panel (in case you're using that card). What about keiranhalcyon7's question? What's your HUD scale?General_Trageton wrote: ↑Thu Mar 05, 2020 11:07 amI‘m running Win10 and was using the cfg files the way they came in the zip.
- Vince T
- Posts: 14045
- Joined: Fri Apr 27, 2001 11:01 pm
- Contact:
Checked, AA is active in global settings. I'm running the game at 2560x1080 at 1.49 hud scale. Made sure not to go any bigger.
One more thing, not sure how did it but I ran the game once today and the ddraw wouldn't load so the game would use the vanilla shader and the HUD was fine.
One more thing, not sure how did it but I ran the game once today and the ddraw wouldn't load so the game would use the vanilla shader and the HUD was fine.
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear
Vince T's X-Wing HQ - where the bad guys get their gear
- blue_max
- Posts: 2295
- Joined: Wed Mar 20, 2019 5:12 am
Can you try disabling AA? My ddraw version is not compatible with that yet
- JeremyaFr
- Posts: 3922
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
Hello,
Can you post a crash report from the events viewer please?
Can you post a crash report from the events viewer please?
- Vince T
- Posts: 14045
- Joined: Fri Apr 27, 2001 11:01 pm
- Contact:
@blue_max: same result.
@Jeremy, here's the xml from the event log from the crash:
@Jeremy, here's the xml from the event log from the crash:
Code: Select all
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-03-05T19:51:25.561767700Z" />
<EventRecordID>14995</EventRecordID>
<Channel>Application</Channel>
<Computer>DESKTOP-6AR1PJ1</Computer>
<Security />
</System>
- <EventData>
<Data>XwingAlliance.exe</Data>
<Data>2.0.0.2</Data>
<Data>3765a9b7</Data>
<Data>XwingAlliance.exe</Data>
<Data>2.0.0.2</Data>
<Data>3765a9b7</Data>
<Data>c0000005</Data>
<Data>000e8229</Data>
<Data>49a0</Data>
<Data>01d5f3276736c4a4</Data>
<Data>D:\Steam\steamapps\common\Star Wars X-Wing Alliance\XwingAlliance.exe</Data>
<Data>D:\Steam\steamapps\common\Star Wars X-Wing Alliance\XwingAlliance.exe</Data>
<Data>c9646849-6add-4017-ada7-3f3c97fd951b</Data>
<Data />
<Data />
</EventData>
</Event>
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear
Vince T's X-Wing HQ - where the bad guys get their gear
- JeremyaFr
- Posts: 3922
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
To confirm whether the new DDraw dll causes the crash, you can test that:
- install the latest hooks (using XwaHooksSetup)
- install the regular version of the DDraw.dll (https://github.com/JeremyAnsel/xwa_ddra ... ses/latest)
- install the latest hooks (using XwaHooksSetup)
- install the regular version of the DDraw.dll (https://github.com/JeremyAnsel/xwa_ddra ... ses/latest)
- Vince T
- Posts: 14045
- Joined: Fri Apr 27, 2001 11:01 pm
- Contact:
Tested the regular 1.3.8 DLL, installed the new hooks just the other day.
- The HUD artefacts no longer show.
- The crash still occurrs, confirmed on several HD models (VSD WIP, Imperial Research Center, Space Colony 1, Rebel Platform). It does not occurr on non-HD ships, tested on XWAUP ISD and Container Hangar.
- The HUD artefacts no longer show.
- The crash still occurrs, confirmed on several HD models (VSD WIP, Imperial Research Center, Space Colony 1, Rebel Platform). It does not occurr on non-HD ships, tested on XWAUP ISD and Container Hangar.
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear
Vince T's X-Wing HQ - where the bad guys get their gear
- blue_max
- Posts: 2295
- Joined: Wed Mar 20, 2019 5:12 am
Alright, so it looks like we have two different problems here: one is the crash, which seems to happen with HD models even on Jeremy's golden standard 1.3.8; and the other is the transparency issue which only happens on my version.
What happens if you try the HD models with the previous golden standard? That is, Jeremy's ddraw 1.3.7?
Also: can you give me a few more hints on how to repro the HUD issue? Does it happen all the time?
What happens if you try the HD models with the previous golden standard? That is, Jeremy's ddraw 1.3.7?
Also: can you give me a few more hints on how to repro the HUD issue? Does it happen all the time?
- Trevor
- Posts: 541
- Joined: Thu Dec 04, 2014 7:11 pm
Ok, on a whim I thought I would look at old event logs and found some GP Faults of my own.
however, what fixed it for me (on a fresh install as of last week) was using blue-max's ddraw.
Before this I had issues with hook_time and disabling that worked.
Trev
Code: Select all
Faulting module name: XwingAlliance.exe, version: 2.0.0.2, time stamp: 0x3765a9b7
Exception code: 0xc0000005
Fault offset: 0x0019d823
repeat,
repeat...
Before this I had issues with hook_time and disabling that worked.
Trev
- JeremyaFr
- Posts: 3922
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
@General_Trageton
Does the game crash if you disable the hit effects in the game video menu?
@Trevor
The crash at offset 19d823 means that a memcpy operation has failed.
Does the game crash if you disable the hit effects in the game video menu?
@Trevor
The crash at offset 19d823 means that a memcpy operation has failed.
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear
Vince T's X-Wing HQ - where the bad guys get their gear
-
- Posts: 1167
- Joined: Mon Apr 05, 2004 11:01 pm
GT, also I don't know if this is related, but there is a hook that allows you to set the vertices count up to 65k in a .cfg file in main XWA directory you can edit with notepad. Perhaps double that number without a comma and save. I think it's the missions object hook, I don't recall at the moment. This might help with high def models going forward.
W-I-P: TFTC, MC Viscount Cr., ISD-II Avenger, NL-1 Platform, Ton-Falk Esc. Cr., & Misc.
- JeremyaFr
- Posts: 3922
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
@Bman
It's the opt limit hook.
It's the opt limit hook.
The original vertices count limit is 512 per mesh.
By default, the dll will use a value of 65536.
You can modify this value in hook_opt_limit.cfg (Size = value).
- Vince T
- Posts: 14045
- Joined: Fri Apr 27, 2001 11:01 pm
- Contact:
Huh that did the trick. With hit effects deactivated, the crash doesn't occurr.
Hm hard to say, it worked fine on previous versions of your VR mod, should've been around Jan 5/6. Since then I didn't run the game until just recently when I added the new version of the VR mod and updated all the hooks. From then on it stayed cconsistently. One more thing, like I wrote earlier, the issue doesn't only impact the HUD but all 2D elements like lasers, sprites, particles and engine glows. It looks like the bloom effect isn't loaded either.
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear
Vince T's X-Wing HQ - where the bad guys get their gear
- JeremyaFr
- Posts: 3922
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
So the crash is related to hit effects.
Does it crash if you re-enable the hit effects and set the texture resolution to Med or High (not Low) ?
Does it crash if you re-enable the hit effects and set the texture resolution to Med or High (not Low) ?
- Vince T
- Posts: 14045
- Joined: Fri Apr 27, 2001 11:01 pm
- Contact:
The Texture res was set to high anyway. Re-enabling hit efects makes the crash return.
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear
Vince T's X-Wing HQ - where the bad guys get their gear
- blue_max
- Posts: 2295
- Joined: Wed Mar 20, 2019 5:12 am
Do you think you could share the list of hooks you're using?General_Trageton wrote: ↑Fri Mar 06, 2020 8:53 pmadded the new version of the VR mod and updated all the hooks.
- Vince T
- Posts: 14045
- Joined: Fri Apr 27, 2001 11:01 pm
- Contact:
Here you go. I think most of them were installed with DSUCP and some OPT installers, only installed a number of them manually such as the hangar hook.
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
Vince T's X-Wing HQ - where the bad guys get their gear
- Darksaber
- Posts: 10931
- Joined: Mon Jan 10, 2000 12:01 am
- Contact:
You really need to update the Hooks from Jeremy's XWA Hooks Setup, these are the most upto date, (Don't rely on the installers being upto date they won't be now) then install Blue Max's VRMod
But don't install Jeremy's New DDraw.dll v1.3.8 as then the VR Mod won't work, unless you don't want to use the VR Mod, you will have to wait for Blue Max to add Jeremy's New code to his version of the DDraw.dll
But don't install Jeremy's New DDraw.dll v1.3.8 as then the VR Mod won't work, unless you don't want to use the VR Mod, you will have to wait for Blue Max to add Jeremy's New code to his version of the DDraw.dll
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- Vince T
- Posts: 14045
- Joined: Fri Apr 27, 2001 11:01 pm
- Contact:
I actually did use xwa hook setup to update them ....
Edit: Ran XWA Hook Setup again and the result is the same.
I'll take some time tomorrow and see that I get a clean install set up.
Edit: Ran XWA Hook Setup again and the result is the same.
I'll take some time tomorrow and see that I get a clean install set up.
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear
Vince T's X-Wing HQ - where the bad guys get their gear
- blue_max
- Posts: 2295
- Joined: Wed Mar 20, 2019 5:12 am
Thanks GT, unrelated; but you probably should remove Hook_XWACockpitLook.dll since it will conflict with Hook_CockpitLook.dll.
hook_d3d would also conflict with the VR mod because I haven't yet updated the code, as Darksaber pointed out; but I don't see it in there...
OK, next clue: make and model of your video card and how much RAM does it have?
hook_d3d would also conflict with the VR mod because I haven't yet updated the code, as Darksaber pointed out; but I don't see it in there...
OK, next clue: make and model of your video card and how much RAM does it have?
- Vince T
- Posts: 14045
- Joined: Fri Apr 27, 2001 11:01 pm
- Contact:
I'm running a NVIDIA GeForce GTX 1060 with 3GB RAM.
CPU's an I7-6700 at 8x3.40 GHz with 16GB RAM
CPU's an I7-6700 at 8x3.40 GHz with 16GB RAM
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear
Vince T's X-Wing HQ - where the bad guys get their gear