Performance for each track [solved]

Posted by littleone90 
Performance for each track [solved]
Date: November 01, 2013 03:29PM
Posted by: littleone90
Hi everybody!
just a info: what file i have to edit and what i have to write for have a performance file for each race? i got the 17 perf file in the same folder (2013/Data/Patch), and try to edit the gpxset, but didn't work..any help?






Edited 1 time(s). Last edit at 11/03/2013 11:28PM by littleone90.
Re: Performance for each track
Date: November 01, 2013 08:47PM
Posted by: SDI
Can be specified using the key PathXX under the [PerfManager] section in gpxset.ini, where XX is the track number, and must contain the path of the file, which can be relative to the GPx directory. Enable under the same section must be set to 1.

René Smit, Independent Software Developer.
Download my GPx tools here.
Re: Performance for each track
Date: November 02, 2013 07:59AM
Posted by: TomMK
Check out the 2013 gp4 central mod v3 or the 2006 mod from gp4db, they both use individual perf files so you can use those as examples to help you.

I think your problem is that you have put the perf files in the Patch folder but you haven't written the correct path in the gpxset.ini file

=====================================================


Intel NUC 8i3, 8GB RAM, MS Sidewinder Wheel
Re: Performance for each track
Date: November 02, 2013 12:56PM
Posted by: littleone90
I'm downloading the 2013 to see.
at the moment this is my situation:



GpXSet:

[PerfManager]
Enable=1
Path=
Path01=gpxpdata\performance_albertpark.txt
Path02=gpxpdata\performance_interlagos.txt
Path03=gpxpdata\performance_buenosaires.txt
Path04=gpxpdata\performance_imola.txt
Path05=gpxpdata\performance_monaco.txt
Path06=gpxpdata\performance_catalunya.txt
Path07=gpxpdata\performance_montreal.txt
Path08=gpxpdata\performance_magnycours.txt
Path09=gpxpdata\performance_silverstone.txt
Path10=gpxpdata\performance_hockenheim.txt
Path11=gpxpdata\performance_hungaroring.txt
Path12=gpxpdata\performance_spafrancorchamps.txt
Path13=gpxpdata\performance_monza.txt
Path14=gpxpdata\performance_spielberg.txt
Path15=gpxpdata\performance_nurburgring.txt
Path16=gpxpdata\performance_suzuka.txt
Path17=gpxpdata\performance_jerez.txt

but still didn't work..


Re: Performance for each track
Date: November 02, 2013 01:12PM
Posted by: TomMK
Well it wouldn't work, because your files are in a folder called Patch but your gpxset.ini is pointing to a folder called gpxpdata.

You have to write the path of the file correctly, then it will work.

=====================================================


Intel NUC 8i3, 8GB RAM, MS Sidewinder Wheel
Re: Performance for each track
Date: November 02, 2013 01:20PM
Posted by: littleone90
i think the folder is correct because when i go in gp4 i see the 1997 driver name, so it load the performance.
the problem is that loads always the same file (the first alphabetically)that is in the folder.

i have have try to change the name of the folder, but nothing change


Re: Performance for each track
Date: November 02, 2013 01:28PM
Posted by: TomMK
Move all of the perf files from Data\Patch to the Data\GPxPatch folder and try it again, I think it will work that way.

=====================================================


Intel NUC 8i3, 8GB RAM, MS Sidewinder Wheel
Re: Performance for each track
Date: November 02, 2013 01:31PM
Posted by: littleone90
TomMK Wrote:
-------------------------------------------------------
> Move all of the perf files from Data\Patch to the
> Data\GPxPatch folder and try it again, I think it
> will work that way.

i have try that. if i move all the performance file in Data\GPxPatch and keep the gpxset like the one in the first post, when i go in the game no performance file are loading, and i see all the 2001 driver name...


Re: Performance for each track
Date: November 02, 2013 10:41PM
Posted by: EricMoinet
If I'm correct you have two GPSAVES folders in your Grand Prix 4 directory : first one in CAPS, the other one spelling "Gpsaves" at the end of the Grand Prix 4 directory.
You're probably pointing to the wrong one.



Re: Performance for each track
Date: November 02, 2013 10:52PM
Posted by: littleone90
EricMoinet Wrote:
-------------------------------------------------------
> If I'm correct you have two GPSAVES folders in
> your Grand Prix 4 directory : first one in CAPS,
> the other one spelling "Gpsaves" at the end of the
> Grand Prix 4 directory.
> You're probably pointing to the wrong one.




No, just one folder


Re: Performance for each track
Date: November 02, 2013 11:09PM
Posted by: TomMK
littleone90 Wrote:
-------------------------------------------------------
> TomMK Wrote:
> --------------------------------------------------
> -----
> > Move all of the perf files from Data\Patch to
> the
> > Data\GPxPatch folder and try it again, I think
> it
> > will work that way.
>
> i have try that. if i move all the performance
> file in Data\GPxPatch and keep the gpxset like
> the one in the first post, when i go in the game
> no performance file are loading, and i see all the
> 2001 driver name...


Yeh but if you actually load a race you will see the proper names.

You need to add one of your performance files to the path= line (at the moment in your gpxset.ini file this line is blank), then the names will also show in the menu.

=====================================================


Intel NUC 8i3, 8GB RAM, MS Sidewinder Wheel
Re: Performance for each track
Date: November 02, 2013 11:40PM
Posted by: EricMoinet
I'm referring to the left part :




Re: Performance for each track
Date: November 02, 2013 11:53PM
Posted by: littleone90
TomMK Wrote:
-------------------------------------------------------
> littleone90 Wrote:
> --------------------------------------------------
> -----
> > TomMK Wrote:
> >
> --------------------------------------------------
>
> > -----
> > > Move all of the perf files from Data\Patch to
> > the
> > > Data\GPxPatch folder and try it again, I
> think
> > it
> > > will work that way.
> >
> > i have try that. if i move all the performance
> > file in Data\GPxPatch and keep the gpxset like
> > the one in the first post, when i go in the
> game
> > no performance file are loading, and i see all
> the
> > 2001 driver name...
>
>
> Yeh but if you actually load a race you will see
> the proper names.
>
> You need to add one of your performance files to
> the path= line (at the moment in your gpxset.ini
> file this line is blank), then the names will also
> show in the menu.

[PerfManager]
Enable=1
Path=gpxpdata\performance_buenosaires.txt
Path01=gpxpdata\performance_albertpark.txt
Path02=gpxpdata\performance_interlagos.txt
Path03=gpxpdata\performance_buenosaires.txt
Path04=gpxpdata\performance_imola.txt
Path05=gpxpdata\performance_monaco.txt
Path06=gpxpdata\performance_catalunya.txt
Path07=gpxpdata\performance_montreal.txt
Path08=gpxpdata\performance_magnycours.txt
Path09=gpxpdata\performance_silverstone.txt
Path10=gpxpdata\performance_hockenheim.txt
Path11=gpxpdata\performance_hungaroring.txt
Path12=gpxpdata\performance_spafrancorchamps.txt
Path13=gpxpdata\performance_monza.txt
Path14=gpxpdata\performance_spielberg.txt
Path15=gpxpdata\performance_nurburgring.txt
Path16=gpxpdata\performance_suzuka.txt
Path17=gpxpdata\performance_jerez.txt

now the problem is that in every race i have the performance "performance_buenosaires.txt", even if i load melbourne or monza... :(

EricMoinet Wrote:
-------------------------------------------------------
> I'm referring to the left part :
> [i1054.photobucket.com]
> t/image_zpsc4266fa8.png

didn't see that.. so what i have to do?


Re: Performance for each track
Date: November 03, 2013 01:10AM
Posted by: gareth
Try changing the first line from:
Path=gpxpdata\performance_buenosaires.txt

to:
Path=gpxpdata\csmperf.txt

I've got some mods that have that first line and it seems to work a treat. Hopefully it will for you too.
Re: Performance for each track
Date: November 03, 2013 03:59PM
Posted by: littleone90
gareth Wrote:
-------------------------------------------------------
> Try changing the first line from:
> Path=gpxpdata\performance_buenosaires.txt
>
> to:
> Path=gpxpdata\csmperf.txt
>
> I've got some mods that have that first line and
> it seems to work a treat. Hopefully it will for
> you too.

try, if i write this, when i go in game i see the original 2001 name and performance...


Re: Performance for each track
Date: November 03, 2013 04:39PM
Posted by: kedy89
From what I know, this is how this all works:

Let's say this is your gpxset.ini of the Data\GpxPatch folder
[PerfManager]
Enable			=1
Path			=gpxpdata\Generic.txt
Path01			=gpxpdata\Melbourne.txt
Path02			=gpxpdata\Sepang.txt
Path03			=gpxpdata\Interlagos.txt
Path04			=gpxpdata\Imola.txt
Path05			=gpxpdata\Barcelona.txt
Path06			=gpxpdata\A1Ring.txt
Path07			=gpxpdata\Monaco.txt
Path08			=gpxpdata\Montreal.txt
Path09			=gpxpdata\Nürburgring.txt
Path10			=gpxpdata\Silverstone.txt
Path11			=gpxpdata\MagnyCours.txt
Path12			=gpxpdata\Hockenheim.txt
Path13			=gpxpdata\Hungaroring.txt
Path14			=gpxpdata\Spa.txt
Path15			=gpxpdata\Monza.txt
Path16			=gpxpdata\Indianapolis.txt
Path17			=gpxpdata\Suzuka.txt

This line is used for the ingame driver selection menu and the prerace grid lineup
Path			=gpxpdata\Generic.txt

If you've selected Round 1 in the CSM menu, you'll have the Melbourne.txt used when you drive. But you'll see the names of the Generic.txt in the ingame driver selection menu and the grid lineup.
So when there are driver changes during the season, you'll have wrong names if you do it as described above.



This is how I set up my mods so that everything works fine:

All performance files are located in the Data\Performance folder. The swap.ini thus has to have this line included:
[SwapFolder]
...
Folder2		=Performance,gpxpdata
...

The gpxset.ini in the Data\GpxPatch folder looks like the one above.

Then I have a gpxset.txt in the Data\Files\Merge folder, which only contains this:
[PerfManager]
Path		=gpxpdata\%trackname%.txt

To get the two gpxset.inis merged when starting the mod, your MergeINI.lst in the Settings folder has to have this line:
Files\Merge\gpxset.txt,gpxpdata\gpxset.ini

This way you'll have the perf file of in the CSM menu selected track used for the ingame driver menu and grid lineup.
You have to pay attention that the names of the performance files are equal to the tracknames in the globalvars.ini.
E.g. if your globalvars.ini says this
[trackname]
Allowchange		=1
Name			=Grand Prix of ...
Name Icon		=Files\Icons\gp2.ico
VarCount		=17
Var1			=Albert Park
...
but your perfomance file is called Melbourne.txt, it won't work!


Hope I could help you with this.




Some mods
F1 1996 | F1 2002 | F1 2007 | F1 2011 | F1 2013 | F1 2015 | F1 2018



Edited 1 time(s). Last edit at 11/03/2013 10:13PM by kedy89.
Re: Performance for each track
Date: November 03, 2013 05:19PM
Posted by: littleone90
kedy89 Wrote:
-------------------------------------------------------
> From what I know, this is how this all works:
>
> Let's say this is your gpxset.ini of the
> Data\GpxPatch folder
>
>
> Enable =1
> Path =gpxpdata\Generic.txt
> Path01 =gpxpdata\Melbourne.txt
> Path02 =gpxpdata\Sepang.txt
> Path03 =gpxpdata\Interlagos.txt
> Path04 =gpxpdata\Imola.txt
> Path05 =gpxpdata\Barcelona.txt
> Path06 =gpxpdata\A1Ring.txt
> Path07 =gpxpdata\Monaco.txt
> Path08 =gpxpdata\Montreal.txt
> Path09 =gpxpdata\Nürburgring.txt
> Path10 =gpxpdata\Silverstone.txt
> Path11 =gpxpdata\MagnyCours.txt
> Path12 =gpxpdata\Hockenheim.txt
> Path13 =gpxpdata\Hungaroring.txt
> Path14 =gpxpdata\Spa.txt
> Path15 =gpxpdata\Monza.txt
> Path16 =gpxpdata\Indianapolis.txt
> Path17 =gpxpdata\Suzuka.txt
>
>
> This line is used for the ingame driver selection
> menu and the prerace grid lineup
>
> Path =gpxpdata\Generic.txt
>
>
> If you've selected Round 1 in the CSM menu, you'll
> have the Melbourne.txt used when you drive. But
> you'll see the names of the Generic.txt in the
> ingame driver selection menu and the grid lineup.
> So when there are driver changes during the
> season, you'll have wrong names if you do it as
> described above.
>
>
>
> This is how I set up my mods so that everything
> works fine:
>
> All performance files are located in the
> Data\Performance folder. The swap.ini thus has to
> have this line included:
>
>
> ...
> Folder2 =Performance,gpxpdata
> ...
>
>
> The gpxset.ini in the Data\GpxPatch folder looks
> like the one above.
>
> Then I have a gpxset.ini in the Data\Files\Merge
> folder, which only contains this:
>
>
> Path =gpxpdata\%trackname%.txt
>
>
> To get the two gpxset.inis merged when starting
> the mod, your MergeINI.lst in the Settings folder
> has to have this line:
>
> Files\Merge\gpxset.txt,gpxpdata\gpxset.ini
>
>
> This way you'll have the perf file of in the CSM
> menu selected track used for the ingame driver
> menu and grid lineup.
> You have to pay attention that the names of the
> performance files are equal to the tracknames in
> the globalvars.ini.
> E.g. if your globalvars.ini says this
>
>
> Allowchange =1
> Name =Grand Prix of ...
> Name Icon =Files\Icons\gp2.ico
> VarCount =17
> Var1 =Albert Park
> ...
>
> but your perfomance file is called Melbourne.txt,
> it won't work!
>
>
> Hope I could help you with this.

thanks, later i try and let you know ;)


Re: Performance for each track
Date: November 03, 2013 07:13PM
Posted by: littleone90
not working..always the driver name of 2001.. I think i will give up to have the performance for each race
i don't really know what to do...

Gpxset:


[PerfManager]
Enable=1
Path=gpxpdata\generic.txt
Path01=gpxpdata\melbourne.txt
Path02=gpxpdata\interlagos.txt
Path03=gpxpdata\buenosaires.txt
Path04=gpxpdata\imola.txt
Path05=gpxpdata\monaco.txt
Path06=gpxpdata\barcellona.txt
Path07=gpxpdata\montreal.txt
Path08=gpxpdata\magnycours.txt
Path09=gpxpdata\silverstone.txt
Path10=gpxpdata\hockenheim.txt
Path11=gpxpdata\hungaroring.txt
Path12=gpxpdata\spa.txt
Path13=gpxpdata\monza.txt
Path14=gpxpdata\a1ring.txt
Path15=gpxpdata\nurburgring.txt
Path16=gpxpdata\suzuka.txt
Path17=gpxpdata\jerez.txt

Globalvars


[trackname]
Allowchange		=1
Name			=Gran Premio di...
Name Icon		=Files\Info\icons\GrP.ico

VarCount		=17
Var1			=Melbourne
Var2			=Interlagos
Var3			=BuenosAires
Var4			=Imola
Var5			=Monaco
Var6			=Barcellona
Var7			=Montreal
Var8			=MagnyCours
Var9			=Silverstone
Var10			=Hockenheim
Var11			=Hungaroring
Var12			=Spa
Var13			=Monza
Var14			=A1Ring
Var15			=Nurburgring
Var16			=Suzuka
Var17			=Jerez

swap.ini

[SwapFolder]
Folder1 =Tweaker\gp4tweak_data,gp4tweak_data
Folder2 =GpxPatch\snd\%Radio%,gpxpdata\snd
Folder3	=Performance,gpxdata

mergeini

;GP4Tweaker
Merge\tweaker\%gouttes%.ini,gp4tweak_data\visordroplet.ini
Merge\tweaker\%headmove%.ini,gp4tweak.ini
Merge\tweaker\%armscolors%.ini,gp4tweak.ini
;GPxPatch
Merge\gpxpatch\%countertype%.ini,gpxpdata\gpxcinfo.ini
Merge\gpxpatch\%affichagetv%.ini,gpxpdata\gpxcinfo.ini
Merge\DurationSet\QuickRaceDistance\%QuickRaceDistance%\gpxset.ini,gpxpdata\gpxset.ini
Merge\DurationSet\fridaypractise\%fridaypractise%\gpxset.ini,gpxpdata\gpxset.ini
Merge\DurationSet\Session\%Session%\gpxset.ini,gpxpdata\gpxset.ini
Merge\DurationSet\saterdaypractise\%saterdaypractise%\gpxset.ini,gpxpdata\gpxset.ini
Merge\DurationSet\QualifyMaxLaps\%QualifyMaxLaps%\gpxset.ini,gpxpdata\gpxset.ini
Files\Merge\gpxset.txt,gpxpdata\gpxset.ini

file to merge in the folder that i create:

performance folder:


.. I do not understand why is not working






Edited 1 time(s). Last edit at 11/03/2013 07:28PM by littleone90.
Re: Performance for each track
Date: November 03, 2013 07:21PM
Posted by: kedy89
If you want, you can send me the mod and I'll have a look at it.




Some mods
F1 1996 | F1 2002 | F1 2007 | F1 2011 | F1 2013 | F1 2015 | F1 2018
Re: Performance for each track
Date: November 03, 2013 07:37PM
Posted by: littleone90
i upload it and send you a pm


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