GTA2 Replay Runner?
- Cuban-Pete
- Immortal
- Posts: 909
- Joined: 29 Jan 2010, 15:03
- GH nick: Cuban-Pete
Re: GTA2 Replay Runner?
It seems to associate with .rep extension in Vista now.
I tried renaming my GTA2 folder so the app can't find it. Running replrunr.exe directly without any command line options doesn't ask for a folder or display anything. It probably should say that it did something.
If it can't find my GTA2 folder, it pops up a dialog and often closes in a few seconds without me even clicking OK or Cancel. It's also better if you make the dialog include that box that lets you type a path (BIF_USENEWUI + BIF_NONEWFOLDERBUTTON + BIF_RETURNONLYFSDIRS). It only works if GTA2 is on C: and will just ask for the path again if it's on D: drive.
When it starts GTA2 correctly, it pops up an empty GTA2 Replay Runner window although it does close when GTA2 closes.
I tried renaming my GTA2 folder so the app can't find it. Running replrunr.exe directly without any command line options doesn't ask for a folder or display anything. It probably should say that it did something.
If it can't find my GTA2 folder, it pops up a dialog and often closes in a few seconds without me even clicking OK or Cancel. It's also better if you make the dialog include that box that lets you type a path (BIF_USENEWUI + BIF_NONEWFOLDERBUTTON + BIF_RETURNONLYFSDIRS). It only works if GTA2 is on C: and will just ask for the path again if it's on D: drive.
When it starts GTA2 correctly, it pops up an empty GTA2 Replay Runner window although it does close when GTA2 closes.
Re: GTA2 Replay Runner?
If you don't supply him anything it will just terminates. It doesn't do anything.
Here is new version, same link:
http://www.gta2madness.co.cc/click.php?id=10
ReadMe.txt has all the changes made.
I improved the folder selection dialog, fixed bug with it (that flashing) and some other things.
Please report any bugs you may find. I rewrote this from scratch. The source was big mess.
So i started with a clean sheet.
GTA2 v11.x support will be added if all bugs are fixed in this version.
This is normal. Or it's better to hide this window?When it starts GTA2 correctly, it pops up an empty GTA2 Replay Runner window although it does close when GTA2 closes.
Here is new version, same link:
http://www.gta2madness.co.cc/click.php?id=10
ReadMe.txt has all the changes made.
I improved the folder selection dialog, fixed bug with it (that flashing) and some other things.
Please report any bugs you may find. I rewrote this from scratch. The source was big mess.
So i started with a clean sheet.
GTA2 v11.x support will be added if all bugs are fixed in this version.
Re: GTA2 Replay Runner?
Download again.
EDIT
And AGAIN!!
I fixed one another bug, when GTA2\test dir doesn't exist, GTA2 will fail with error message.
EDIT
And AGAIN!!
I fixed one another bug, when GTA2\test dir doesn't exist, GTA2 will fail with error message.
Re: GTA2 Replay Runner?
Seems that detecting GTA2 path is pretty (read: very) buggy.
Ok, i removed anything unrelated to this and now when you run it, it should show you error
if it doesn't find GTA2 path on your machine.
What it says?
Download again and test. Tell me the error.
And if its not a secret, paste your full GTA2 path here.
Previous version detected GTA2 path better?
Ok, i removed anything unrelated to this and now when you run it, it should show you error
if it doesn't find GTA2 path on your machine.
What it says?
Download again and test. Tell me the error.
And if its not a secret, paste your full GTA2 path here.
Previous version detected GTA2 path better?
Re: GTA2 Replay Runner?
This means it can't find GTA2.EXE to run it.
Ok, will look at this more deeply.
I will make one more special version for you with specific messages.
I just don't get it. Maybe it's the Vista again
Ok, will look at this more deeply.
I will make one more special version for you with specific messages.
I just don't get it. Maybe it's the Vista again
Re: GTA2 Replay Runner?
Download.
http://www.gta2madness.co.cc/click.php?id=10
The algo itself is simple.
Ii will look into: HKEY_LOCAL_MACHINE\Software\Rockstar Games\GTA2
If it finds subkey:"Path" in there then it thinks that this is GTA2 path.
If it doesn't find it, then it will ask you show him where your GTA2 is.
Just point it to GTA2 folder.
In your case: c:\games\gta2\
Then it stores this info in:
HKEY_LOCAL_MACHINE\Software\Rockstar Games\GTA2\Path
If it can't find the GTA2 path from that place in registry then it should show you error at startup and then asks for correct GTA2 path with folder selection dialog.
Then it will show you the new GTA2 path.
You should verify if the info is correct and tell me.
And after he saved the info in the registry and you will execute the exe, it will show you the GTA2 path.
That's all. Don't be disappointed if it doesn't launch GTA2, because i disabled it temporarly.
http://www.gta2madness.co.cc/click.php?id=10
The algo itself is simple.
Ii will look into: HKEY_LOCAL_MACHINE\Software\Rockstar Games\GTA2
If it finds subkey:"Path" in there then it thinks that this is GTA2 path.
If it doesn't find it, then it will ask you show him where your GTA2 is.
Just point it to GTA2 folder.
In your case: c:\games\gta2\
Then it stores this info in:
HKEY_LOCAL_MACHINE\Software\Rockstar Games\GTA2\Path
If it can't find the GTA2 path from that place in registry then it should show you error at startup and then asks for correct GTA2 path with folder selection dialog.
Then it will show you the new GTA2 path.
You should verify if the info is correct and tell me.
And after he saved the info in the registry and you will execute the exe, it will show you the GTA2 path.
That's all. Don't be disappointed if it doesn't launch GTA2, because i disabled it temporarly.
Re: GTA2 Replay Runner?
It correctly reads and writes to that registry location but it doesn't verify if GTA2 is actually in that folder, so if there is a wrong path in there, it will never write to there until you delete that key.
Windows XP guest accounts can't write to LOCAL_MACHINE section which is why v11.3 doesn't use it. It works fine on limited Vista accounts though since it has a virtual registry.
Windows XP guest accounts can't write to LOCAL_MACHINE section which is why v11.3 doesn't use it. It works fine on limited Vista accounts though since it has a virtual registry.
Re: GTA2 Replay Runner?
So if there is invalid data this means exactly that it can't find the gta2.exe.
But can you tell me what is in that location by default on your PC or what was there?
But he still didn't asked for that key?
He thinks that this is correct path but failed to find GTA2.EXE there.
That's why it doesn't run.
OK, i will add the verification. I will read that registry path and will search for GTA2.EXE.
If i can't find it i will delete this key and will ask for specify correct GTA2 folder.
But can you tell me what is in that location by default on your PC or what was there?
But he still didn't asked for that key?
He thinks that this is correct path but failed to find GTA2.EXE there.
That's why it doesn't run.
OK, i will add the verification. I will read that registry path and will search for GTA2.EXE.
If i can't find it i will delete this key and will ask for specify correct GTA2 folder.
Re: GTA2 Replay Runner?
It had c:\games\gta2-test\ in there which is where I had gta2 during a test. After I deleted it then asked for a new folder, I put c:\games\gta2\ and it saved it fine.
That key isn't created by default by my versions of GTA2 installers. I'm not sure which ones actually write there.
I looked in c:\programdata\xfire\xfire_games.ini (game launcher program) and it searches in these places:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\gta2.exe\path
HKEY_LOCAL_MACHINE\SOFTWARE\Valve\Steam\InstallPath
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2987EE84-C4EE-4FF5-8160-32DE00D6ABC6}\InstallLocation
I don't have the Steam registry path but I have the other two. I think the uninstall one is created by the 300MB gta2installer.exe from rockstargames.com/classics. The App Paths one is either from v10.3 patch installer or original CD.
That key isn't created by default by my versions of GTA2 installers. I'm not sure which ones actually write there.
I looked in c:\programdata\xfire\xfire_games.ini (game launcher program) and it searches in these places:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\gta2.exe\path
HKEY_LOCAL_MACHINE\SOFTWARE\Valve\Steam\InstallPath
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2987EE84-C4EE-4FF5-8160-32DE00D6ABC6}\InstallLocation
I don't have the Steam registry path but I have the other two. I think the uninstall one is created by the 300MB gta2installer.exe from rockstargames.com/classics. The App Paths one is either from v10.3 patch installer or original CD.
Re: GTA2 Replay Runner?
http://www.gta2madness.co.cc/click.php?id=10
OK, i rewrote this detection part carefully.
I deleted my gta2.exe, i deleted that registry key.
Tried to mess with it in many different ways. And now it should work as it should.
It checks that registry key for GTA2 path. If it finds it then it will check if GTA2.EXE exists.
If not, it will delete the Path from that location and ask for new valid path.
If you point him to GTA2 folder but there is no exe, it will show you message and terminates.
If GTA2.EXE is found it saves that location into same place.
I hope that i didn't miss anything.
OK, i rewrote this detection part carefully.
I deleted my gta2.exe, i deleted that registry key.
Tried to mess with it in many different ways. And now it should work as it should.
It checks that registry key for GTA2 path. If it finds it then it will check if GTA2.EXE exists.
If not, it will delete the Path from that location and ask for new valid path.
If you point him to GTA2 folder but there is no exe, it will show you message and terminates.
If GTA2.EXE is found it saves that location into same place.
I hope that i didn't miss anything.
-
- Lunatic
- Posts: 456
- Joined: 19 Jul 2008, 14:14
- GH nick: Razor, R
- Location: Poland / Szczecin
- Contact:
Re: GTA2 Replay Runner?
hey do you know that rep doesnt work in multiplayer... When I run replay... then ped does my steps but he spawns at p1 spawnpoint... : (
Any idea how to force gta2 to run rep in correct player position?
Any idea how to force gta2 to run rep in correct player position?
Re: GTA2 Replay Runner?
Yes, join as player 2. You can't playback a multiplayer replay in singleplayer, you need to play it back in a multiplayer game and so does every other player that was in the game.
Re: GTA2 Replay Runner?
yeah, maybe im making things too complicated with this stuff.
But OK, now it should work fine. Link is the same as always.
http://www.gta2madness.co.cc/click.php?id=10
Also i fixed bug with copying backupped rep file to replay.rep if they were in same folder.
I took my GTA2 cd, installed it to c:\games\gta2 and indeed, it told me same error.
Now it should be fixed.
Also i attached my replay.rep file, if anyone wants to see / test it.
Just unpack the ZIP.
But OK, now it should work fine. Link is the same as always.
http://www.gta2madness.co.cc/click.php?id=10
Also i fixed bug with copying backupped rep file to replay.rep if they were in same folder.
I took my GTA2 cd, installed it to c:\games\gta2 and indeed, it told me same error.
Now it should be fixed.
Also i attached my replay.rep file, if anyone wants to see / test it.
Just unpack the ZIP.
- Attachments
-
- replay.zip
- (1.46 KiB) Downloaded 514 times
- Cuban-Pete
- Immortal
- Posts: 909
- Joined: 29 Jan 2010, 15:03
- GH nick: Cuban-Pete
Re: GTA2 Replay Runner?
Could you change the program a bit, because I'm getting a big warning....
"Mmmm, your eyes are so beautiful."
Re: GTA2 Replay Runner?
Cubane-Pete.
I know, Gustavob also got error from Avast.
I already reported this to Avast. Its false positive.
What AV do you use?
Sektor, what exactly failes?
Does find the path?
Why it works for me and not for you.
Strange.
C:\games\ doesn't matter, it adds the GTA2 to this by itself.
It works for me.
I know, Gustavob also got error from Avast.
I already reported this to Avast. Its false positive.
What AV do you use?
Sektor, what exactly failes?
Does find the path?
Why it works for me and not for you.
Strange.
C:\games\ doesn't matter, it adds the GTA2 to this by itself.
It works for me.
Last edited by B-$hep on 21 Feb 2010, 18:51, edited 2 times in total.
-
- Lunatic
- Posts: 456
- Joined: 19 Jul 2008, 14:14
- GH nick: Razor, R
- Location: Poland / Szczecin
- Contact:
Re: GTA2 Replay Runner?
you should add support to multiplayer replays
Re: GTA2 Replay Runner?
I thought c:\games was an error since it wrote c:\games\gta2 before but either way, it doesn't run gta2.exe.
Replay Runner is installed in C:\gta2\ReplRunr\
Replay Runner is installed in C:\gta2\ReplRunr\
Re: GTA2 Replay Runner?
Now it should:
http://www.gta2madness.co.cc/click.php?id=10
I shouldn't work so late. I'm starting to make stupid errors in code.
http://www.gta2madness.co.cc/click.php?id=10
I shouldn't work so late. I'm starting to make stupid errors in code.
- Cuban-Pete
- Immortal
- Posts: 909
- Joined: 29 Jan 2010, 15:03
- GH nick: Cuban-Pete
Re: GTA2 Replay Runner?
AVG 9.0 Free edition. I cannot get the file even unzipped. It completely blocks it, also after pressing ignore.
"Mmmm, your eyes are so beautiful."