mirror of
https://github.com/gwdevhub/gMod.git
synced 2026-07-15 15:09:30 +00:00
326b7086c9
* change tpfconvert functionality to backup into backup folder * use vcpkg for more packages * update readme, bump to 1.7.0.2
45 lines
1.8 KiB
Markdown
45 lines
1.8 KiB
Markdown
***gMod***
|
|
|
|
Continuation of the uMod project to improve performance and stability. Integrated with [Guild Wars Launcher](https://github.com/gwdevhub/gwlauncher) and [Daybreak](https://github.com/gwdevhub/Daybreak).
|
|
|
|
*Usage is primarily intended with GW Launcher or Daybreak, but it can be used without.*
|
|
|
|
**Usage with manual gMod.dll injection:**
|
|
- Create a file called modlist.txt in either the Guild Wars (Gw.exe) folder, or the gMod.dll folder.
|
|
- Inject gMod.dll before d3d9.dll is loaded.
|
|
|
|
**Usage without dll injection:**
|
|
- Create a file called modlist.txt in the Guild Wars (Gw.exe) folder.
|
|
- Place gMod.dll in the Guild Wars folder
|
|
- Rename gMod.dll to d3d9.dll
|
|
- Launch Guild Wars
|
|
|
|
**Format of the modlist.txt file:**
|
|
|
|
Each line in the modlist.txt is the full path to a mod you want to load (eg. `D:\uMod\Borderless Cartography Made Easy 2015 1.3.tpf`)
|
|
gMod will load all these files on startup
|
|
|
|
**Disclaimer about [Reshade](https://github.com/crosire/reshade)**
|
|
|
|
Reshade in versions > 5.0.1 is known to cause glitches with TexMod, uMod and also gMod.
|
|
If you would like to use Reshade in combination with gMod, we recommend running version [5.0.1](https://github.com/crosire/reshade/releases/tag/v5.0.1) or [4.9.1](https://github.com/crosire/reshade/releases/tag/v4.9.1).
|
|
|
|
**Build from source**
|
|
|
|
Requirements:
|
|
- Visual Studio 2022
|
|
- CMake 3.29+, integrated into the Developer Powershell for VS 2022
|
|
- vcpkg, integrated into the Developer Powershell for VS 2022
|
|
|
|
Compile:
|
|
- cmake --preset=vcpkg
|
|
- cmake --open build
|
|
- compile
|
|
|
|
**TpfConvert**
|
|
Small utility to convert old .tpf files with invalid images into .zip files with working images.
|
|
Usage:
|
|
- Put TpfConvert.exe and d3dx9.dll in the folder where you have your old, broken texmods with invalid images.
|
|
- Run TpfConvert.exe, all *.tpf and *.zip files are processed. The originals are saved into a newly created backup folder.
|
|
- Done.
|