Iwarina / gtaivtools

Automatically exported from code.google.com/p/gtaivtools
GNU General Public License v3.0
0 stars 0 forks source link

Feature: Allow users to specify their game directory through text file #21

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I was running into problems with the program locating my game directory due to 
a couple of factors
- Non standard install directory
- No registry keys to be found due to unclean install (moved game from another 
Windows installation)

Navigating to your game directory every time you use the program is bloody 
annoying, so I hacked in this code and I figured maybe someone else might 
benefit from it.

Simply put a text file with the name installpath.txt which contains your GTA 
IV's install path e.g
D:\Games\Rockstar Games\Grand Theft Auto IV 
in the directory of your SparkIV.exe binary

I've attached a zip file with the modified files, all you need is to edit the 
installpath.txt and it should work. 
(also attached the modified source files)

Original issue reported on code.google.com by fatcan...@gmail.com on 2 Apr 2013 at 7:17

GoogleCodeExporter commented 8 years ago
I made some revisions to the code, fixed some bugs in handling the directory 
strings. Now it supports GTAIV and EFLC (only supported one installation before)
Put your install directory/ies in the relevant files, installpathIV.txt & 
installpathEFLC.txt

To install, extract the attached .zip file to the same directory as SparkIV.exe 
answer yes to overwriting files.

(also attached modified source files)

Original comment by fatcan...@gmail.com on 3 Apr 2013 at 2:02

Attachments: