Jump to content


- - - - -

Gplre


  • Please log in to reply
8 replies to this topic

#1 fajanko

fajanko

    Jani Posta

  • GPLLinks Team
  • PipPipPipPipPipPipPipPipPipPip
  • 823 posts
  • Gender:Male
  • Location:Hungary
  • Interests:"I am a semi-professional race car driver AND an amateur tattoo artist."
  • Sim interest:GPL

Posted Jan 15 2016 - 02:26 AM

GPLREporter that is.

As I know Martin has problems with further improvements of GPLRA. The lack of F2/CA support, this new 67x thingy, plus the forthcoming CA66 mod give more and more trouble to league admins when it comes to processing race results.

So I thought what if we would have an all new application built from scratch. :)

GPLRA outputs a lot more than we need for our league pages. We need only Reports menu, first section mainly.

Unfortunately I have zero knowledge about GPL replay file structures, nor writing desktop applications, but I'm familiar with xml files.

If someone would help me out with the first steps, I might make something.

Edited by fajanko, Jan 15 2016 - 04:24 AM.


#2 MECH

MECH

    Double poly killer

  • Administrators
  • PipPipPipPipPipPipPipPipPipPip
  • 2,408 posts
  • Gender:Male
  • Location:Here ->
  • Interests:My Girlfriend
  • Sim interest:GPL

Posted Jan 15 2016 - 06:02 AM

What are you thinking off then a tool that spits out the .rpy data to a more readable format?

#3 fajanko

fajanko

    Jani Posta

  • GPLLinks Team
  • PipPipPipPipPipPipPipPipPipPip
  • 823 posts
  • Gender:Male
  • Location:Hungary
  • Interests:"I am a semi-professional race car driver AND an amateur tattoo artist."
  • Sim interest:GPL

Posted Jan 15 2016 - 07:17 AM

I need for all race number in the entry list:

- driver's name
- driver's nationality
- car id (unique per mod)

- best qual lap time
- grid position

- race time
- race finish position
- race laps

- fastest race lap time
- fastest race lap
- fastest race lap position


Now GPLRA report is a preformated text file, which is great as it's readable as it is, and you can simply insert it into forum posts or your website.

From GPLRE I would be satisfied with a plain semi-colon separated csv file. Other league admins might have different needs :)

#4 Cookie

Cookie

    Chris Amon Fan

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 694 posts
  • Gender:Male
  • Location:SW Germany near Hockenheim
  • Interests:Historic Motorsport, F1, MotoGP
  • Sim interest:GPL

Posted Jan 15 2016 - 08:19 AM

Martin G was here some weeks ago and posted ;)

UKGPL uses the GPLRA_complete.txt plus the GPL export.html for the import in the database.

Imho the problem is that all the mod/car id's are hardcoded in the gplra.exe...

A co driver once found a way to patch the .rpy and gplra.exe for CA71 and F2
to get the right car names in the txt file, wich I use for UKGPL imports.

IMO the best way would be if the gplra.exe could take the car id's from an external library that could easily be held up to date :D

Edited by Cookie, Jan 15 2016 - 08:20 AM.


#5 Michkov

Michkov

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 701 posts
  • Gender:Male
  • Location:Graz
  • Sim interest:I am here to spam and wish to be deleted after registering

Posted Jan 15 2016 - 02:06 PM

View Postfajanko, on Jan 15 2016 - 07:17 AM, said:

From GPLRE I would be satisfied with a plain semi-colon separated csv file. Other league admins might have different needs :)

Seconded, in addition a tally of damages(split into minor medium as in the current lap by lap report) to each players name would be a nice feature,

#6 Border Reiver

Border Reiver

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 960 posts
  • Gender:Male
  • Location:St Andrews, Scotland
  • Interests:GPL and GPL editing
  • Sim interest:GPL

Posted Jan 15 2016 - 11:16 PM

View PostCookie, on Jan 15 2016 - 08:19 AM, said:

....

IMO the best way would be if the gplra.exe could take the car id's from an external library that could easily be held up to date :D

Agreed. I have thought that for a while and I wondered if we could convince Martin G to update GPLRA one last time to read the mod data from an external file that converts slot name/number to car name depending on the rank ID saved in the replay file. Since the mod team puts this information into the cst file and arranges for the unique rank IDs for each mod, it would make sense that each time a new mod is released all that would then need to happen would be to update this external look up file for GPLRA and it would then know about the cars for the new mod.

Rob

#7 MECH

MECH

    Double poly killer

  • Administrators
  • PipPipPipPipPipPipPipPipPipPip
  • 2,408 posts
  • Gender:Male
  • Location:Here ->
  • Interests:My Girlfriend
  • Sim interest:GPL

Posted Jan 16 2016 - 03:03 AM

That would work if gplra only reports a single mod but not how it's setup now.
The interface still needs to be adapted to fit the new mod in.
I guess gplra would have to be changed to only display the mod you select and then work with that as base.
It still would need to read the id's but that's a minor issue compared.

#8 Warren Hall Jr.

Warren Hall Jr.

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 97 posts
  • Gender:Male
  • Location:Cape Cod, USA, in a shack down by the river
  • Interests:Lots of stuff
  • Sim interest:GPL

Posted Jan 16 2016 - 09:57 PM

Using a hex editor these are the mods that are covered now. I was surprised to see the 55 mod already there.

cars67..FNKW....GPLRpyAnalyser..DHPR....YLPR...._GPLRA_merged.rpy...Only 1 lap loaded, will extract that to a new replay file...G5 Privateer....G5 Lotus....G2 Privateer....G2 Lotus....PD GT...PD GT500....PD Lotus....Magalloys...Oil Star....Megaspark...King Wing...Ultragrip...Racing Bull.Lubetech....Mercedes....Lancia..Maserati....Connaught...Gordini.Vanwall.BrabhamBT7..BrabhamBT11.McLaren M2B.Lotus33 BRM.Lotus33 Cli.Lotus 43....Honda RA273.Ferrari 246.Ferrari 312.EagleAAR T1F....EagleAAR T1G....Cooper T81..BRM P261....BRM P83.BrabhamBT11B....BrabhamBT116....BrabhamBT115....Brabham BT19....Matra...Lotus49b....McLaren.Lotus63.Porsche 910.Ford GT40MkI....Mirage M1...FordGT40MkIV....Ferrari330P4....Chaparral 2F....Lola T70 Mk3....Chaparral 2D....FordGT40Mk2B....Lotus...Eagle...Cooper..unused atm..Honda...Ferrari.BRM.G5 Priva ...G5 Lotus ...G2 Priva ...G2 Lotus ...PD GT    ...PD GT500 ...PD Lotus ...Magalloy ...Oil Star ...Megasprk ...KingWing ...Ultrgrip ...RaciBull ...Lubetech ...Mercedes ...Lancia   ...Maserati ...Conaught ...Gordini  ...Vanwall  ...Brab BT7 ...BrabBT11 ...Porsche  ...GT40 MkI ...Mirage   ...GT40MkIV ...Chap 2F  ...Lola T70 ...Chap 2D  ...GT40Mk2B ...Lot33BRM ...Lot33Cli ...Lotus 43 ...Ferr 246 ...Ferr 312 ...EagleT1F ...EagleT1G ...BRM P261 ...BRM P83  ...BraBT11B ...BraBT117 ...BraBT115 ...BrabBT19 ...Matra    ...Lotus49b ...Lotus63  ...unused   ...McLaren  ...Por.Mk1.Mir.Mk4.FP4.C2F.Lol.C2D.Mk2.MclM2b..L33BRM..L33V8...L43H16..RA273...Fer246..Fer312..EagT1F..EagT1G..CoopT81.BRMP261.BRMP83..BT11brm.BT11dwr.BT11wks.BT19wks.Unknown Car/Year   .GR5 Ford Priv  1966.GR5 Team Lotus 1966.GR2 Lotus Priv 1966.GR2 Team Lotus 1966.Prod GT     1966.Prod GT500 1966.Prod Lotus 1966.Magalloys   NA  .Oil Star    NA  .Megaspark   NA  .King Wing   NA  .Ultragrip   NA  .Racing Bull    NA  .Lubetech    NA  .Mercedes W196  1955.Lancia D50 1955.Ferrari 555    1955.Maserati 250F  1955.Connaught T. B 1955.Gordini T16    1955.Vanwall     1955.Honda RA272    1965.Lotus 33    1965.Ferrari 512    1965.BT7 Brabham    1965.Cooper T77 1965.BRM P261    1965.Brabham BT11   1965.McLaren M2B    1966.Lotus33 BRM    1966.Lotus33 Cli    1966.Lotus 43    1966.Honda RA273    1966.Ferrari 246    1966.Ferrari 312    1966.EagleAAR T1F   1966.EagleAAR T1G   1966.Cooper T81 1966.BRM P261    1966.BRM P83     1966.BrabhamBT11B   1966.BrabhamBT116   1966.BrabhamBT115   1966.Brabham BT19   1966.Porsche 910    1967.Ford GT40MkI   1967.Mirage M1   1967.FordGT40MkIV   1967.Ferrari330P4   1967.Chaparral 2F   1967.Lola T70 Mk3   1967.Chaparral 2D   1967.FordGT40Mk2B   1967.Matra MS80 1969.Lotus 49b   1969.Ferrari 312    1969.Mclaren M7 1969.Lotus 63    1969.BRM P126/139   1969.Brabham BT26   1969.Honda RA273    1967.Lotus 49    1967.Ferrari 312    1967.Eagle AAR104   1967.Cooper T81 1967.BRM P83     1967.Brabham BT24   1967.unused atm 1966.unused atm 1967.Unknown    .Ford 105E i.BRM 105E   .BRM 105E II.Coswo. 105E.Lotus 105E .Mercedes   .Lancia .Ford 105E  .V8 GMC hemi.Connaught  .Gordini    .Vanwall    .BRM V8 .Ford V8 3.0.ClimaxV82.0.Ferrari V6 .WestlakeV12.MaseratiV12.BRM V8 2.1 .BRM V8 1.9 .ClimaxS42.5.RepcoV8 3.0.Porsche F8 .Ford V8 286.Ford V8 350.ChevyV8 330.BRM V12    .Honda   .Ford    .Ferrari    .Weslake    .Maserati   .BRM     .Repco   .Climax 16v .Climax 32v .Honda V12  .Ferrari V12.BRM H16 3.0.ClimaxS42.7.unused .ChevyV8 427.Ford V8 427.Ford DFV   .67season.ini....69season.ini....55season.ini....65season.ini....GTseason.ini....66season.ini....error...SCGT1967 (mod)..Cortina/1966 (mod)..ThunderCars (mod)...1955 (mod)..1965 (mod)..1966 (mod)..1969 (mod)..1967 (original).\placGT.ini.\placCM.ini.\plac55.ini.\plac65.ini.\plac66.ini.\placTC.ini.\plac69.ini.1967....???.Cortina.67GT....TC..1955....1965....1966....1969

Perhaps adding and editing whats in GPLRA could be done.
Warren

#9 fajanko

fajanko

    Jani Posta

  • GPLLinks Team
  • PipPipPipPipPipPipPipPipPipPip
  • 823 posts
  • Gender:Male
  • Location:Hungary
  • Interests:"I am a semi-professional race car driver AND an amateur tattoo artist."
  • Sim interest:GPL

Posted Mar 06 2016 - 02:17 AM

First version is out ---> http://srmz.net/inde...showtopic=11293




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Sim Racing Links