GP4 Track Editing - new new thread

Posted by markko 
Re: GP4 Track Editing - new new thread
Date: May 15, 2013 03:56PM
Posted by: Lo2k
@cleberpister : jip mapping in pitlane has some kind of mystery... sometime games looks exactly as in GP4Builder, sometimes it's a complete mess. I got some new element from SDI but I hadn't used it so far so in pitlane, jip mapping is not as reliable as for track.

Re: GP4 Track Editing - new new thread
Date: May 15, 2013 06:29PM
Posted by: addie
as for the pitlane lines

not totally sure whether its the same subject, but so far it made a difference in what slot a track was loaded on how the lines showed up.
its all about a value that tells gp4.exe about the ratio of the width of the pitlane itself to the width of pitlane plus verge plus bank. this values is/was hardcoded in gp4.exe, and can now be set in the .ini-file of the track with the trackmanager of latest GPxPatch this is fixed.

see also: link to realGPx-forum for some illustrations on this.

and maybe of use, in the latest revision of pau/F I posted a working example of this: pau2013@waa63.ch/racesim (lookout for pau2013c.zip)

the .jips are still a bit of a pain sometimes, but at least there is some more consistency now. thanks SDI for bringing this to my attention !

- - - - - - - - - - - -
please no PMs; but you're welcome at: [addie3 at waa63 dot ch] and [www.waa63.ch]
Re: GP4 Track Editing - new new thread
Date: May 15, 2013 07:00PM
Posted by: cleberpister
OK...Thanks!

I enter the file track.ini of each track?

[TrackMap] (pau2013)
Date = 692.50,294.25,356.50, -220.06,262.11,375.39, -186.13, -354.14

And each track has a value? Where I see these values​​?

AYRTON SENNA FOREVER!
Re: GP4 Track Editing - new new thread
Date: May 15, 2013 08:06PM
Posted by: addie
cleberpister Wrote:
-------------------------------------------------------
> OK...Thanks!
>
> I enter the file track.ini of each track?
>
> (pau2013)
> Date = 692.50,294.25,356.50,
> -220.06,262.11,375.39, -186.13, -354.14
>
> And each track has a value? Where I see these
> values​​?

every track has its own .ini-file for the trackmanager of GPxPatch. I have (usually) all files belonging to a track in one folder, one track, one folder. one of the files is the mentioned .ini-file, eg pau2013.ini. thats where you set the mentioned values for that track. be sure to have the "prefix" (of GP4Info-data) set in the .dat file (in the gp4builder this piece of data is called "wad name", but it means all kind of things, not just the wad name).

the gp4-original values are at diffenent places, most of all hardcoded in gp4.exe, or in the case of the trackmap-data in a file called .\MAPS\RESOURCES\trackmaps/trackmaps.dat (can be opened and edited with notepad). now if you eg want the values of montreal2001 in your own track, just open the mentioned file and copy/paste the appropriate data to your .ini file. but beware, in trackmaps.dat its 4 lines with two values each, in the .ini all those 8 values are on a single line, comma-delimited.

I hope this helps

- - - - - - - - - - - -
please no PMs; but you're welcome at: [addie3 at waa63 dot ch] and [www.waa63.ch]
Re: GP4 Track Editing - new new thread
Date: May 15, 2013 08:35PM
Posted by: SDI
GPxPatch 4.10 will use a pitlane width ratio value of 0.333 for each custom track that does not explicitly specify it. This is done for consistency amongst different slots. See the documentation for details.

René Smit, Independent Software Developer.
Download my GPx tools here.
Re: GP4 Track Editing - new new thread
Date: May 15, 2013 09:16PM
Posted by: cleberpister
But for the tracks "original" I put the values ​​of trackmaps?

For example, Interlagos in 1994 was the first Grand Prix, so I put in settings.ini track:

[Pitlane]
WidthRatio= 0.333 or what other value?

[TrackMap]
Date = 410.000000,14.750000,709.350891, -968.156738, -151.059006,914.953003,414.635986, -942.484009 (values ​​Melbourne, track 1)

IS CORRECT?

AYRTON SENNA FOREVER!
Re: GP4 Track Editing - new new thread
Date: May 15, 2013 11:13PM
Posted by: SDI
If you swap default tracks around you want to use the original ratio's indeed.

The pit lane width ratio values of the default tracks are as follows:

1: 0.391
2: 0.366
3: 0.420
4: 0.347
5: 0.382
6: 0.382
7: 0.542
8: 0.293
9: 0.263
10: 0.366
11: 0.478
12: 0.420
13: 0.351
14: 0.382
15: 0.538
16: 0.553
17: 0.289

Also, for [TrackMap], the key is Data, not Date.

René Smit, Independent Software Developer.
Download my GPx tools here.



Edited 2 time(s). Last edit at 05/15/2013 11:15PM by SDI.
Re: GP4 Track Editing - new new thread
Date: May 15, 2013 11:31PM
Posted by: addie
cleberpister Wrote:
-------------------------------------------------------
> But for the tracks "original" I put the values
> ​​of trackmaps?
>
> For example, Interlagos in 1994 was the first
> Grand Prix, so I put in settings.ini track:
>
>
> WidthRatio= 0.333 or what other value?
>
>
> Date = 410.000000,14.750000,709.350891,
> -968.156738, -151.059006,914.953003,414.635986,
> -942.484009 (values ​​Melbourne, track 1)
>
> IS CORRECT?



you'd like to have the gp4-original interlagos track, as it is in slot 3, you'd like to have that in slot 1 ? then no.



for the trackmap data, you would go to the mentioned file and look for the following paragraph:

Interlagos2001
-343.250000,935.250000
1317.056885,1785.739868
-976.367981,-505.440002
932.340027,472.292999

here you take the values, put them on a single line like the following:

-343.250000, 935.250000, 1317.056885, 1785.739868, -976.367981, -505.440002, 932.340027, 472.292999

if you ask me, you even could go like this:

-343, 935, 1317, 1786, -976,-505, 932, 472

so you had in the .ini:

[TrackMap]
data=-343, 935, 1317, 1786, -976,-505, 932, 472


and as for the pitlane width ratio you could look up the values of SDI, eg here: link

scrool down to pitlane width ratio, and there you'll notice, in original interlages (slot 3) the team of geoff crammend took 0.420, so in the .ini it would read:

[PitLane]
WidthRatio= 0.42

if you packaged the track like that, with the trackmanager of GPxPatch you can load it in any slot (even in all slots at once, eg for testing something), and it will look the same, as far as those parameters are concerned

- - - - - - - - - - - -
please no PMs; but you're welcome at: [addie3 at waa63 dot ch] and [www.waa63.ch]
Re: GP4 Track Editing - new new thread
Date: May 16, 2013 01:29PM
Posted by: cleberpister
OK, I'll do the tests.
But the clues are not original, such as Estoril (indianapolis2001.gp4) what values ​​should I put?
It has to be the values ​​of indianapolis? Estoril the track 13 the 1994.

AYRTON SENNA FOREVER!
Re: GP4 Track Editing - new new thread
Date: May 16, 2013 02:03PM
Posted by: addie
cleberpister Wrote:
-------------------------------------------------------
> OK, I'll do the tests.
> But the clues are not original, such as Estoril
> (indianapolis2001.gp4) what values ​​should I
> put?
> It has to be the values ​​of indianapolis?
> Estoril the track 13 the 1994.

- - - - -

the values for the arcade ingame trackmap or not yet really understood, so its a bit of trial&error. for starting you may want to try all original values, and take the one that fits best.

as for the ptlane width ratio, load the trackfile into the gp4builder and have a look at the pitlane width compared to the width of the parking space (verge + bank), if you follow the link I posted before, posting link again, scroll down to "pitlane width ratio", you see some screenshots of this.
however if the width of the pitlane is similar to the parking space, take 0.5, if its smaller take a lower figure, eg 0.3, if its wider you take a bigger figure, then check again in the game.

- - - - - - - - - - - -
please no PMs; but you're welcome at: [addie3 at waa63 dot ch] and [www.waa63.ch]
Re: GP4 Track Editing - new new thread
Date: May 16, 2013 05:33PM
Posted by: cleberpister
Hello! Tested for the tracks "original" and it worked ...
The night will run tests on the other tracks (Estoril, jerez, Aida and etc).

On the tire marks on the ground, I have to put the files inside the folder track? And 17 files have marks, what should I put?

marks.mra = track1? Is that correct?
marks.mrb = track2? Is that correct?
marks.mrc = track3? Is that correct?

AYRTON SENNA FOREVER!
Re: GP4 Track Editing - new new thread
Date: May 16, 2013 06:25PM
Posted by: SDI
cleberpister Schreef:
-------------------------------------------------------
> On the tire marks on the ground, I have to put the
> files inside the folder track? And 17 files have
> marks, what should I put?
>
> marks.mra = track1? Is that correct?
> marks.mrb = track2? Is that correct?
> marks.mrc = track3? Is that correct?

That's correct. Put one of them in the same folder as the .dat file, and use .mr extension. For the name you can use the same name as the .wad file.

René Smit, Independent Software Developer.
Download my GPx tools here.
Re: GP4 Track Editing - new new thread
Date: May 16, 2013 06:39PM
Posted by: cleberpister
OK, I'll try!

What would this file (pau2013.slc)? Grateful

AYRTON SENNA FOREVER!
Re: GP4 Track Editing - new new thread
Date: May 16, 2013 07:27PM
Posted by: SDI
That's a starting lights file. It's not needed for use with GPxPatch because the same data is read from the .ini file.

René Smit, Independent Software Developer.
Download my GPx tools here.
Re: GP4 Track Editing - new new thread
Date: May 16, 2013 07:35PM
Posted by: cleberpister
OK...

I use CSM/TSM.
My trackpacks are strategies for racing with 100% of the laps.
Is it possible to keep the file Default (100%) and create a Default (50%) being decided in the CSM menu, for example equal to TEAM 11.

Grateful

AYRTON SENNA FOREVER!
Re: GP4 Track Editing - new new thread
Date: May 16, 2013 08:40PM
Posted by: SDI
I'm afraid you lost me here. Maybe someone else understands :)

René Smit, Independent Software Developer.
Download my GPx tools here.
Re: GP4 Track Editing - new new thread
Date: May 16, 2013 08:49PM
Posted by: cleberpister
hehe...OK...Thanks! (Y)

AYRTON SENNA FOREVER!
Re: GP4 Track Editing - new new thread
Date: May 17, 2013 04:42PM
Posted by: addie
cleberpister Wrote:
-------------------------------------------------------
> OK, I'll try!
>
> What would this file (pau2013.slc)? Grateful

I included it for backward compatibility. you could load that file into gp4.exe with the "starting light editor" of patrickC. but as SDI mentioned, its not neccessary anymore. its replaced by something like the following in the ini-file (example of pau):

[StartingLights]
X1=-165.62
Y1=-230.42
Z1=7.54
X2=-166.29
Y2=-228.40
Z2=7.24

the figures mean the position of the top left and the bottom right bulb of the starting lights matrix.


addendum: just in case you want some of the original tracks to load in different slots, you could read the appropriate values for the starting lights from gp4.exe by the help of the forementioned SLEditor of patrickC and put them into the ini-file of that track.

- - - - - - - - - - - -
please no PMs; but you're welcome at: [addie3 at waa63 dot ch] and [www.waa63.ch]



Edited 1 time(s). Last edit at 05/17/2013 04:54PM by addie.
Re: GP4 Track Editing - new new thread
Date: May 17, 2013 06:06PM
Posted by: cleberpister
OK, THANKS!

Another problem: the TV camera, the mechanics they do not appear, but onboard cameras, they are "working".
This happens in Suzuka and Montreal.
It has something to do with the cameras? How to fix?





AYRTON SENNA FOREVER!
Re: GP4 Track Editing - new new thread
Date: May 17, 2013 07:07PM
Posted by: addie
very interesting

just to be sure, these are the original tracks ? I mean the real original tracks of grandprix4 ? and in a regulare setup, say original tracks in original slots the mechanics do show up ?

- - - - - - - - - - - -
please no PMs; but you're welcome at: [addie3 at waa63 dot ch] and [www.waa63.ch]
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