belini rough guide to convert gp32k magic to gp3

Posted by belini 
belini rough guide to convert gp32k magic to gp3
Date: May 14, 2005 04:04PM
Posted by: belini
it's been a very long time since I looked at gp3 magic and didn't realise it was
so different from gp32k/gp4, so here go's.

magic data needs to be extracted from a gp32k track with marc aarts cmagic2000 tool
and then re-patched with marc aarts gp3 cmagic tool

example magic data file is original gp32k

1. replace header
2. CUT 1 - gp32k wing/gear settings ai/wet, player/dry/wet
3. CONVERT wing/gears to gp3 values ie: 15=166
4. DOUBLE cc power/grip ACE (I only program for ace)
5. CUT 2 - gp32k amateur/rookie power/grip values
6. CUT 3 - gp32k black flag values
7. INSERT 1 - always 0 in gp3
8. check data legnth is the same
9. save as .md

hopefully this will work

you may need to do a bit of tweeking, lap time will probably be out so use
timing factor finetune? (dw) to adjust to the correct pole time

pole time 90540 ; timing factor? (dw) is in seconds ie: 1m 30.540


[gp3-2000 magic file]
------------------------------------------- REPLACE WITH
[gp3 magic file]

15 ; fw 166
14 ; rw 165
29 ; 1st 180
34 ; 2nd 185
39 ; 3rd 190
44 ; 4th 195
50 ; 5th 201
56 ; 6th 207

----------------------------------------- CUT 1
16 ; fw
16 ; rw
27 ; 1st
32 ; 2nd
37 ; 3rd
42 ; 4th
48 ; 5th
54 ; 6th
14 ; fw
14 ; rw
29 ; 1st
34 ; 2nd
39 ; 3rd
44 ; 4th
50 ; 5th
56 ; 6th
5688 ; ukn (dw)
16 ; fw
16 ; rw
27 ; 1st
32 ; 2nd
37 ; 3rd
42 ; 4th
48 ; 5th
54 ; 6th
5638 ; ukn (dw)
----------------------------------------- CUT 1

54 ; hard tyre
53 ; soft tyre
100 ; >= 50 tyretype 1 else 0
16384 ; unused
16384 ; unused
16384 ; unused
16384 ; unused
16288 ; track grip
16384 ; unused
16384 ; unused
28 ; related to next value below
1010 ; ride height
16681 ; air resistance?
8152 ; fuel???
384 ; subtracted from diff between field_e2 of 2 cars and then compared to speed of first car
13897 ; tyre wear
64768 ; added to car.field_108. related to cc grip factor
512 ; grip???
500 ; ?? cc power factor ace --------------------- DOUBLE THIS VALUE
509 ; ?? cc grip factor ace --------------------- DOUBLE THIS VALUE
500 ; ?? cc power factor pro
492 ; ?? cc grip factor pro
481 ; ?? cc power factor semi-pro
485 ; ?? cc grip factor semi-pro

----------------------------------------- CUT 2
469 ; ?? cc power factor amateur
474 ; ?? cc grip factor amateur
438 ; ?? cc power factor rookie
472 ; ?? cc grip factor rookie
----------------------------------------- CUT 2

512 ; ?? cc random perf range min
2048 ; ?? cc random perf range max
47 ; some chance. same chance multiplied with race perc.
64 ; segment count, range 1 to 256
2 ; sectors to pit in 1
2 ; sectors to pit in 2
20480 ; pre pit speed limit
17446 ; fuel consumption 1
16965 ; fuel consumption 2
3316 ; cc shuffler???
128 ; a segment nr before which flag 0x80 in car.flags_ce is not cleared
90540 ; timing factor? (dw)
-1160 ; timing factor finetune? (dw)
15400 ; helps decide if a tyre set needs changing? (dw)
24000 ; same as above (dw)
25 ; rain chance
6 ; segment nr (start of some range)
6 ; segment nr (end of some range)
256 ; another perf factor
16000 ; ukn (dw)

----------------------------------------- CUT 3
122 ; ukn (dw)
10000 ; ukn (dw)
2048 ; ukn (dw)
5700 ; ukn (dw)
16384 ; ukn (dw)
16384 ; ukn (dw)
16384 ; ukn (dw)
16384 ; ukn (dw)
16384 ; ukn (dw)
16384 ; ukn (dw)
----------------------------------------- CUT 3


----------------------------------------- INSERT 1
0 ;
----------------------------------------- INSERT 1
78 ; pitstop group 1 %
30 ; stop 1
10 ; pit window 1
0 ;
0 ;
0 ;
0 ;
0 ;
22 ; pitstop group 2 %
9 ; stop 1
10 ; pit window 1
36 ; stop 2
10 ; pit window 2
0 ;
0 ;
0 ;
0 ; pitstop group 3 %
0 ; stop 1
0 ; pit window 1
0 ; stop 2
0 ; pit window 2
0 ; stop 3
0 ; pit window 3
0 ;
0 ; failure chance : suspension
0 ; failure chance : loosewheel
0 ; failure chance : puncture
3723 ; failure chance : engine
2234 ; failure chance : transmission
744 ; failure chance : oilleak/waterleak
0 ; failure chance : throttle/brake
0 ; failure chance : electrics
16384 ; unused
16384 ; unused
16384 ; unused
16384 ; unused
19968 ; bump factor
13 ; bump shift

[bumptable]

41,1
73,0
274,1
293,0
329,2
361,0
864,2
880,0








[www.belini.fsnet.co.uk]

I made 1.13 md's for 2004 Sakhir and Shangai.
You all can take them from my 2004 perf pak, hope it saves time and brains.
And where can I find your perf pak?
In the GP3 section, under "Patches" I think.

The latest version of the 2005 one is under "Season packages", so people can find it easily.
Re: belini rough guide to convert gp32k magic to gp3
Date: July 08, 2005 06:15PM
Posted by: arturo
Is there any editor to convert gp32k dat files to gp3 1.13 dat files??
I donĀ“t know any.
Re: belini rough guide to convert gp32k magic to gp3
Date: July 08, 2005 07:15PM
Posted by: arturo
What is different with this file? Maybye we can change something from GP32k dat files using Track Editor to have a gp3 1.13 dat files. Is that possible??
You just need to read the values in the md2 file and then copy to the md file...
Hi
I created a little editor to convert the md2 file in md.
It seems to work, but it's still a very beta.
I need some info to finish it and make the tests:

500 ; ?? cc power factor ace --------------------- DOUBLE THIS VALUE
509 ; ?? cc grip factor ace --------------------- DOUBLE THIS VALUE
500 ; ?? cc power factor pro
492 ; ?? cc grip factor pro
481 ; ?? cc power factor semi-pro
485 ; ?? cc grip factor semi-pro


How I have to consider these value for the conversion? in Gp3 I find values from around 8500 to 10500.

cya

-------------------------------
Don't know if this will help, but looking at the first three tracks (Albert Park, Interlagos and Imola) on each version it seems that multiplying the md2 value by 20 will give reasonably accurate figures. In the case of both Albert Park and Imola the "cc power factor ace" is 500 in md2 and 10000 in md, Interlagos is 493 and 9820 (493*20=9860 - that is only about 0.4% inaccurate).

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The test of a first-rate intelligence is the ability to hold two opposed ideas in the mind at the same time, and still retain the ability to function. -- F.Scott Fitzgerald
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