To Viper and all moders

Posted by Lo2k 
To Viper and all moders
Date: May 14, 2003 02:50PM
Posted by: Lo2k
AS you asked me, i built a small tool automatically patching rims color to GP4.exe without Cameditor.
the app's name is GP4Patcher and weight 176Ko.
The exe automatically read a txt file in the same folder as the exe with a very flexible format, storing between 1 and 11 rims colors in any order and working with both v1.00 and 1.02 GP4 version.
The only thing it needs is that gp4 was regged, else i would have to add a "choose gp4 path" windows...

Well, it will be soon on my site, i only need the time to rebuild my left menu and updating the site.

Hope it will be what you were looking for...

Cya.



Re: To Viper and all moders
Date: May 14, 2003 03:22PM
Posted by: tux
instead of the reg thing. u could use a command line to point to the gp4.exe to patch (incase of multiple installs of gp4)



Post Edited (05-14-03 22:22)



Re: To Viper and all moders
Date: May 14, 2003 06:02PM
Posted by: Ellis
Yeah, i have 4 copies of GP4 on my PC right now, all using different things (2002, 2003, GT, DTM) i do need do be able to select the GP4 dir!




Racing Is Life. Anything that happens before or after is just waiting
Jesus may be able to heal the sick and bring the dead back to life, but he can't do shît for low fps
Re: To Viper and all moders
Date: May 15, 2003 01:49AM
Posted by: tux
(told ya ;-))





Re: To Viper and all moders
Date: May 15, 2003 02:46AM
Posted by: variante_ascari
sorry for posting this message here, although it's not related to the topic, but since the topic is addressed to Viper and all the moders...i wanna make a request from you guys, hope y'all can add :-

1) driver's body
2) the hans device (attached to the driver's body)
3) 3D steering and arm (if possible)
4) 3D exhaust (so far, only some cars have them)
5) 3D disc brake (with the callipers)
6) realisitc difuser for every cars (according to the real life car)
7) brake duct? it's in the game, isn't it?
8) realistic 3D rims for each cars with the real rim colours
9) pit crews
10) to be continued ;)

hope to see this in your coming release of your cars :)
cheers m8 :)



Post Edited (05-15-03 10:06)

Re: To Viper and all moders
Date: May 15, 2003 02:56AM
Posted by: ViperF1
Great..
I hope that tool can include a helmet postion set too.



F1GrandPrix.net - 1999 - 2003 Viper F1 Studio
---------------------------------------------------------------------------------
"I will drive flat out all the time. I love racing." - Gilles Villeneuve
Re: To Viper and all moders
Date: May 15, 2003 03:02AM
Posted by: Lo2k
Well, i finally add a small window to choose The gp4.exe file to patch but size of the tool comes to 250Ko and i can't make it really smaller : /

About helmet pos, they are not yet supported (as Cameditor) but i made that tool in order to be able to add other datas too easily (as arms colors or else).

Release might be there these evening.



Re: To Viper and all moders
Date: May 15, 2003 03:30AM
Posted by: tux
lauri,

use this code to make an app, you can patch mulitple files this way :)


[edit]

i uploaded the code to my site instead :)

[carsetcreator.grandprix-x.com]

[/edit]

[edit again ;)]

the mod installer (can even be a self extracting zip that just runs a file) then executes the exe eg

updater.exe "E:\Games\Grand Prix 4\GP4.exe" "E:\Games\Grand Prix 4\f1gstate.sav"

then it runs, u just check the file whats passed to it in the loop and execute the code for it. a 15-30kb project



Post Edited (05-15-03 10:38)



Re: To Viper and all moders
Date: May 15, 2003 09:51AM
Posted by: Madman271
May I give a little tips?

Consider to use GetFileAttributes() WinAPI to check wether a file exists. See these following codes (in Delphi32):

--- cut ---
uses windows;
function IsFileExists(s: string): bool;
begin
result := (windows.getfileattributes(pchar(s)) <> $FFFFFFFF);
end;
--- cut ---


Gr88ts,
Madman
Re: To Viper and all moders
Date: May 15, 2003 09:55AM
Posted by: tux
yeah, i noticed that it didnt work ;) so im using the normall sysutils way and some reason its only 45kb :|





Re: To Viper and all moders
Date: May 15, 2003 10:02AM
Posted by: Madman271
But using sysutils can increase size above 140k even for console program? Or I'm using a wrong Delphi version here? :)


Gr88ts,
Madman
Re: To Viper and all moders
Date: May 15, 2003 10:08AM
Posted by: tux
it can, but some how it didnt :| im using delphi 7 enterprise (and it normally does increase it by loads)


without sysutils its 15k with its 45k

(btw, check ure email ;))



Post Edited (05-15-03 17:08)



Re: To Viper and all moders
Date: May 15, 2003 11:49AM
Posted by: Lo2k
Well, thanks to you two :)
I will try all these nice tips :)



Re: To Viper and all moders
Date: May 15, 2003 03:51PM
Posted by: Lo2k
Didn't I told you, "in the evening" ? :)
Late in the evening is still in the evening, no ? :)

Well, at least, it's there. So just come on my site to grab it and have a try.

Cya :)



Sorry, only registered users may post in this forum.

Click here to login

Maintainer: mortal, stephan | Design: stephan, Lo2k | Moderatoren: mortal, TomMK, Noog, stephan | Downloads: Lo2k | Supported by: Atlassian Experts Berlin | Forum Rules | Policy