[THUG1] [PC] Run THUG1 on QB Scripts
Posted: Fri Jan 28, 2011 4:14 am
Method 1
Using a hex editor you can edit the game to run on QB script files instead of the default PRE file. To mod the game you need to edit the QB scripts containing the game's code. With the game running on QB Scripts you can have the game run your mods. Make sure you have a hex editor, such as Hex Workshop or HxD.
P.S. "Dummying or Deleting" the pre file does not work for THUG1.
Steps:
1. Download the THUG1 individual QB script files here:
http://thps-mods.com/scripts.php
2. Go the game/data/scripts folder of your THUG1 installation
3. Copy the entire contents of thug1scripts.rar into the Scripts folder of your THUG1 installation
4. Make a copy of your THUG1 exe file, name it something such as "Quazz's THUG"
5. Make a copy of your THUG1 qdir file (it is located in data/scripts/ and is named "qdir.txt", give it a new name such as "qzqb.txt"
6. Search for "q.dir.txt" as a text string using a hex editor on your EXE.
7. We will change the "qdir.txt" to something like "qzqb.txt" Save the change to the exe.
8. Now, the game will simply load only QB's that you have made actual changes to if you edit your new qdir.
An old method was previously here that was noobish, and has been removed.
If you need help, just ask!
Using a hex editor you can edit the game to run on QB script files instead of the default PRE file. To mod the game you need to edit the QB scripts containing the game's code. With the game running on QB Scripts you can have the game run your mods. Make sure you have a hex editor, such as Hex Workshop or HxD.
P.S. "Dummying or Deleting" the pre file does not work for THUG1.
Steps:
1. Download the THUG1 individual QB script files here:
http://thps-mods.com/scripts.php
2. Go the game/data/scripts folder of your THUG1 installation
3. Copy the entire contents of thug1scripts.rar into the Scripts folder of your THUG1 installation
4. Make a copy of your THUG1 exe file, name it something such as "Quazz's THUG"
5. Make a copy of your THUG1 qdir file (it is located in data/scripts/ and is named "qdir.txt", give it a new name such as "qzqb.txt"
6. Search for "q.dir.txt" as a text string using a hex editor on your EXE.
7. We will change the "qdir.txt" to something like "qzqb.txt" Save the change to the exe.
8. Now, the game will simply load only QB's that you have made actual changes to if you edit your new qdir.
An old method was previously here that was noobish, and has been removed.
If you need help, just ask!