massimilianodelliubaldini / ac7-ultrawide

Mod AC7 to work at ultrawide resolutions.
MIT License
80 stars 24 forks source link

Fix: Ensure script operates in the correct directory #30

Open Hydraxon91 opened 4 months ago

Hydraxon91 commented 4 months ago

This update addresses an issue where the script was being executed in the System32 directory instead of the game root folder, despite being placed in the correct directory. This caused the script to fail to locate Ace7Game.exe.

To resolve this, I added a few lines at the beginning of the script to set the working directory explicitly to the directory where the script is located. This ensures the script operates in the intended directory and can correctly locate Ace7Game.exe.

Change:

These changes ensure that the script functions as expected when placed in the game root folder. (Yeah, this description was written by ChatGPT because I'm bad at describing things)

Hydraxon91 commented 4 months ago

Adds extra steps to README to make it work after an update broke the method described in the old readme