JayFoxRox / swe1r-patcher

swe1r-patcher enhances your "Star Wars Episode 1: Racer" (SWE1R) experience
21 stars 6 forks source link

Network GUID not same for loader, patcher, DLL #23

Open JayFoxRox opened 5 years ago

JayFoxRox commented 5 years ago

An unconfirmed bug report.

I did a code review but could not see an issue? Needs testing. The stdout should display the network GUID, so this should be easy to debug by running the game / loader / launcher via cmd or powershell

(This was reported by LightningPirate via Discord DM)

JayFoxRox commented 5 years ago

dinput.dll seems to patch the GUID too late.

Should attempt to do it in DllMain or a constructor.

JayFoxRox commented 5 years ago

I've tried to reproduce this in OpenSWE1R:

  31550 Emulation at 485410 ('DirectInputCreateA') from 485410

There's no work with DPSESSIONDESC2 until dplay is starting. So the data must be copied before?