XWAUP presents: the Super Backdrops patch

This is the XWA Upgrade Forums! In here you'll find some of the most talented 3D modellers and texture guys on the net!

Moderators: Darksaber, General_Trageton, K_Kinnison

Re: XWAUP presents: the Super Backdrops patch

AngeI
Cadet 3rd Class
Posts: 43
Joined: Sun Jan 24, 2016 5:27 pm

Post by AngeI » Sat May 23, 2020 10:42 am

Ok unfortunately I've found another bug which seems to relate to the updated Hook_32bpp.dll. I noticed suddenly any mission that has Mines in them immediately performs a CTD when they start trying to fire at you. Confirmed after some testing, using the initial V2.1 backdrop, works fine. Soon as I add in the updated Hook32 file to make the explosions appear, the CTD will happen.

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

Post by JeremyaFr » Sat May 23, 2020 10:51 am

Hello,
You can try to update all the hooks with XwaHooksSetup. Recently, there was a crash related to the mines that have been fixed in the weapon color hook.
If it still crashes, please post a crash report details from the Events Viewer.

AngeI
Cadet 3rd Class
Posts: 43
Joined: Sun Jan 24, 2016 5:27 pm

Post by AngeI » Sat May 23, 2020 10:55 am

Tried XwaHooksSetup, didn't seem to download anything new. Confirmed in event viewer its the Hook_Weapon_Color.dll at fault:

Faulting application name: XwingAlliance.exe, version: 2.0.0.2, time stamp: 0x3765a9b7
Faulting module name: Hook_Weapon_Color.dll, version: 1.0.0.1, time stamp: 0x5eb96ef8
Exception code: 0xc0000005
Fault offset: 0x00009593
Faulting process id: 0x2298
Faulting application start time: 0x01d630f05cd92507
Faulting application path: D:\Games\Star Wars - X-Wing Alliance\XwingAlliance.exe
Faulting module path: D:\Games\Star Wars - X-Wing Alliance\Hook_Weapon_Color.dll
Report Id: d585f1b1-86a8-474f-b8ee-92df90eea8f1
Faulting package full name:
Faulting package-relative application ID:

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

Post by JeremyaFr » Sat May 23, 2020 11:01 am

To re-download the hooks, you have to delete the "Hooks" directory.

AngeI
Cadet 3rd Class
Posts: 43
Joined: Sun Jan 24, 2016 5:27 pm

Post by AngeI » Sat May 23, 2020 11:09 am

JeremyaFr wrote:
Sat May 23, 2020 11:01 am
To re-download the hooks, you have to delete the "Hooks" directory.
Did this, the CTD is still occuring unfortunately.

EDIT: However manually downloading the latest weapon_color dll does fix the problem :)

User avatar
Darksaber

Fleet Admiral (Administrator)
Posts: 10875
Joined: Mon Jan 10, 2000 12:01 am
Contact:

Post by Darksaber » Sat May 23, 2020 12:06 pm

You have to delete both the Hooks and the Setup folder the run XwaHooksSetup.exe
“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

AngeI
Cadet 3rd Class
Posts: 43
Joined: Sun Jan 24, 2016 5:27 pm

Post by AngeI » Sat May 23, 2020 12:46 pm

Thanks for the help guys, appreciated :)

User avatar
keiranhalcyon7
Lieutenant JG
Posts: 530
Joined: Tue Jan 02, 2018 6:41 am

Post by keiranhalcyon7 » Sat May 23, 2020 7:53 pm

Jeremy - What is the reason for XwaHooksSetup doing nothing if the download directories already exist? I think it would be more intuitive if rerunning it would always populate the latest hooks, regardless of what's been done before. If it were me, I would put a timestamp in the download directories' names, and on rerun, look at the versions of each hook in the most recent download dir, compare to the versions reported by the server, download what's new, and copy from the prior dir what's unchanged.

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

Post by JeremyaFr » Sat May 23, 2020 8:13 pm

What XwaHooksSetup is:
- download the hooks to the "Hooks" folder as zip files
- extract the hooks zip files to the "Setup" folder

If the "Hooks" folder already exists, then the tool does an offline extract.
You can remove hook zip files or manually add a hook zip file, and run the tool. In that case, only existing zip files are extracted to the "Setup" folder.
If someone is not connected and re-runs the tool, then the existing hooks are not deleted.

User avatar
Trevor
Ensign
Posts: 304
Joined: Thu Dec 04, 2014 7:11 pm

Post by Trevor » Sun May 24, 2020 12:03 am

I was looking at your source and was sorely tempted to add code that auto removed the dir and downloaded fresh.
Same for the tools, but I thought "he must have a reason for this" so left it.

basically, delete everything and start fresh everytime.

Trev

User avatar
keiranhalcyon7
Lieutenant JG
Posts: 530
Joined: Tue Jan 02, 2018 6:41 am

Post by keiranhalcyon7 » Sun May 24, 2020 12:25 am

That's why I lead with the question. And not deleting things, in the event of running while offline, is a worthwhile failsafe.

The tools downloader does download the new things and keep the old things with each run. It's able to do this because each tool release is contained in a uniquely-named directory. What if the hooks did the same thing? Put a version number, or a date stamp, in the zip file name, but inside, the dll & other files have the same names across versions. Then when unzipping, only unzip the most recent one for each hook.

Post Reply