Jump to content


* * * * * 2 votes

Rpy Dump Utility

replay

  • Please log in to reply
19 replies to this topic

#1 tramker

tramker

    Martin Krejčiřík

  • Members
  • PipPip
  • 14 posts
  • Gender:Male
  • Location:Prague, CZE
  • Interests:Racing
  • Sim interest:GPL

Posted Mar 05 2016 - 10:13 PM

Hello everybody,

I've created a new tool to produce textual reports from replay files. It's carset independent, it can load a GEM+ carset file to get correct car names.

It's a simple command window utility for Windows (Vista+) and Linux. Current version can output:
  • entry list, including team, car, engine and driver name
  • practice results
  • race results
  • race fastest laps
  • dump of all laptimes of all cars
Feature requests are welcome. My intention as to add JSON and possibly CSV data output.

Download here: https://pub.i-line.cz/rpy/

Edited by tramker, Mar 08 2016 - 12:04 PM.


#2 mcmirande

mcmirande

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 552 posts
  • Gender:Male
  • Location:Tucumán, Argentina
  • Sim interest:GPL

Posted Mar 06 2016 - 12:36 AM

Great! I'd like to have a linux version :)

Cheers. Marcos

#3 Lalethor

Lalethor

    Denny Hulme

  • Supporter
  • PipPipPipPipPipPipPipPipPipPip
  • 200 posts
  • Gender:Male
  • Location:Verona Italy
  • Sim interest:GPL and P&G

Posted Mar 06 2016 - 12:45 AM

how it works?
readme it's unreadable..

#4 fajanko

fajanko

    Jani Posta

  • GPLLinks Team
  • PipPipPipPipPipPipPipPipPipPip
  • 747 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 - 01:33 AM

README here:

RPY dump utility.

This utility produces textual report from Grand Prix Legends replay files.

Type:
rpydump --help
for command line options help.

Usage example:
rpydump.exe some_race.rpy --cst carset/gpl66.cst -o report.txt

Output file is always UTF-8 encoded. For Windows codepage encoding use:
rpydump.exe some_race.rpy >report.txt

Download location:
http://pub.i-line.cz/rpy/

Written by Martin Krejcirik

Thanks Martin!

Edited by fajanko, Mar 06 2016 - 02:15 AM.


#5 ginetto

ginetto

    GPL track editor

  • Administrators
  • PipPipPipPipPipPipPipPipPipPip
  • 2,344 posts
  • Gender:Male
  • Location:Lombardia, Italia
  • Interests:Mountain
  • Sim interest:GPL

Posted Mar 06 2016 - 03:20 AM

Thank you Martin! :thumbup:

A request:
Is it possible to make different data be read in their own line instead of having all the data in one single line? :tomato:

#6 tramker

tramker

    Martin Krejčiřík

  • Members
  • PipPip
  • 14 posts
  • Gender:Male
  • Location:Prague, CZE
  • Interests:Racing
  • Sim interest:GPL

Posted Mar 06 2016 - 05:21 AM

If you see everything as one line, that's because I didn't bother with DOS/Windows lineendings. I thought it was not a real problem these days, but I forgot about notepad.exe :duh:. I will fix that in the next version.

Also Windows Vista is a minimum requirement currently.

EDIT: lineends are fixed now in version 0.4.1

Edited by tramker, Mar 06 2016 - 11:13 AM.


#7 tramker

tramker

    Martin Krejčiřík

  • Members
  • PipPip
  • 14 posts
  • Gender:Male
  • Location:Prague, CZE
  • Interests:Racing
  • Sim interest:GPL

Posted Mar 06 2016 - 08:53 PM

View Postmcmirande, on Mar 06 2016 - 12:36 AM, said:

Great! I'd like to have a linux version :)

You've got one to test now :) I hope it will work for you, most likely point of failure is glibc version (GLIBC 2.14 minimum).

#8 mcmirande

mcmirande

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 552 posts
  • Gender:Male
  • Location:Tucumán, Argentina
  • Sim interest:GPL

Posted Mar 06 2016 - 08:58 PM

View Posttramker, on Mar 06 2016 - 08:53 PM, said:

View Postmcmirande, on Mar 06 2016 - 12:36 AM, said:

Great! I'd like to have a linux version :)

You've got one to test now :) I hope it will work for you, most likely point of failure is glibc version (GLIBC 2.14 minimum).

Thanks!!

#9 Robert Fleurke

Robert Fleurke

    Buckethead > Mozart

  • Supporter
  • PipPipPipPipPipPipPipPipPipPip
  • 392 posts
  • Gender:Male
  • Location:Groningen, the Netherlands
  • Interests:Life
  • Sim interest:GPL

Posted Mar 10 2016 - 08:45 AM

Martin, thanks for this utility!

BTW I remember your name from back in the day, I believe you were a Czech GPL champion. Was about to start with GPL back then, still ran ICR2. You might remember Jindrich Machalinek (Jima Chaleenek), who was one of my rivals and friends. ;)

#10 tramker

tramker

    Martin Krejčiřík

  • Members
  • PipPip
  • 14 posts
  • Gender:Male
  • Location:Prague, CZE
  • Interests:Racing
  • Sim interest:GPL

Posted Mar 10 2016 - 09:10 AM

You are right Robert, I remeber your name too, from ESCORS. Jima was one on the first simracers I met in real live. I started Czech online league a year or two later, have retired years ago, but some of the guys still run to this day. You may also recognize Bronislav Robenek, he is avid NASCAR fan and online racer.

#11 Robert Fleurke

Robert Fleurke

    Buckethead > Mozart

  • Supporter
  • PipPipPipPipPipPipPipPipPipPip
  • 392 posts
  • Gender:Male
  • Location:Groningen, the Netherlands
  • Interests:Life
  • Sim interest:GPL

Posted Mar 10 2016 - 09:21 AM

Ah yes, I always focussed more on the NASCAR sims, especially NR2003. Quit simracing back in 2007, but started back with GPL late 2013. Finally getting a good feel for it, the most impressive thing of GPL to me is you keep on learning and improving. The learning curve keeps on going. It's simply amazing how much alive GPL still is! Some real good high level online racing going on as well :)

Jima and his friend (I forgot his name) would visit me in 2000/2001 or so, but it didn't work out since his friend went ill. Great memories though.

#12 tramker

tramker

    Martin Krejčiřík

  • Members
  • PipPip
  • 14 posts
  • Gender:Male
  • Location:Prague, CZE
  • Interests:Racing
  • Sim interest:GPL

Posted Apr 20 2016 - 08:12 PM

v0.5.0 - 2016/04/20
New semicolon delimited output format (--format=semikv).
New option -osame to set output filename same as the replay file (with txt extension).
Some column names in text output format were renamed:
- Diff in Best Laps is now called Gap
- Winner in Race Results is now called Gap


#13 fajanko

fajanko

    Jani Posta

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

Posted Apr 25 2016 - 01:16 AM

Thanks Martin! :)

#14 tramker

tramker

    Martin Krejčiřík

  • Members
  • PipPip
  • 14 posts
  • Gender:Male
  • Location:Prague, CZE
  • Interests:Racing
  • Sim interest:GPL

Posted Apr 25 2016 - 05:59 AM

Guys, can someone collect all the latest cst files from all released mods and post it here ? I can bundle it wiith rpydump and make it search the correct one automatically (at least I hope so).

#15 fajanko

fajanko

    Jani Posta

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

Posted Apr 25 2016 - 07:34 AM

View Posttramker, on Apr 25 2016 - 05:59 AM, said:

Guys, can someone collect all the latest cst files from all released mods and post it here ? I can bundle it wiith rpydump and make it search the correct one automatically (at least I hope so).

My cst folder attached.

67-extra 1.cst
67-extra 2.cst
67-extra 3.cst
67-extra 4.cst
67-extra 5.cst
67-extra 6.cst
67-extra 7.cst
69-extra.cst
canm66.cst
canm71.cst
gpl65.cst
gpl65fd.cst
gpl65fg.cst
gpl66.cst
gpl69.cst
gples.cst
gplF2.cst
gplfd.cst
gplfg.cst
gplfv.cst
GPLGT.cst
gplt64.cst
gplTC.cst

Attached Files

  • Attached File  cst.zip   20.18K   4 downloads






Also tagged with one or more of these keywords: replay

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Sim Racing Links