Jump to content


* * * * * 2 votes

Rpy Dump Utility

replay

  • Please log in to reply
28 replies to this topic

#1 tramker

tramker

    Martin Krejčiřík

  • Members
  • PipPipPip
  • 19 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: http://pub.i-line.cz/rpy/

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


#2 mcmirande

mcmirande

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 932 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
  • 295 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
  • 920 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,911 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
  • PipPipPip
  • 19 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
  • PipPipPip
  • 19 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
  • 932 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

    Denny Hulme

  • Supporter
  • PipPipPipPipPipPipPipPipPipPip
  • 586 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
  • PipPipPip
  • 19 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

    Denny Hulme

  • Supporter
  • PipPipPipPipPipPipPipPipPipPip
  • 586 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
  • PipPipPip
  • 19 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
  • 920 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
  • PipPipPip
  • 19 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
  • 920 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   9 downloads


#16 Stefan Roess

Stefan Roess

    Denny Hulme

  • Supporter
  • PipPipPipPipPipPipPipPipPipPip
  • 2,049 posts
  • Gender:Male
  • Location:Bavaria, Germany
  • Interests:racing :)
  • Sim interest:GPL and P&G

Posted Apr 26 2016 - 02:50 PM

Thanks for this tool Martin.

I can`t get it to work (Windows 7, 64-bit)
I am using "rpydump-0.5.0-win32".

When I click on the rpydump.exe a window opens for a short moment and closes again.
It does not make any difference when I start it as admin, or when I deactivate my Antivirus software.

Am I doing something wrong?

#17 tramker

tramker

    Martin Krejčiřík

  • Members
  • PipPipPip
  • 19 posts
  • Gender:Male
  • Location:Prague, CZE
  • Interests:Racing
  • Sim interest:GPL

Posted Apr 26 2016 - 03:12 PM

View PostStefan Roess, on Apr 26 2016 - 02:50 PM, said:

Am I doing something wrong?

It's command line utility, that's how it works :)

- copy rpydump and your replay to the same directory
- run cmd.exe (from Windows search box)
- cd \your\dir
- run rpydump with correct parameters (replay filename is the minimum)

You can also try provided bat script, but you have to edit it and correct paths first. You can put 'pause' at the end so it doesn't exit.

I hope to make GUI launcher in the future, but for now, this is it.

Edited by tramker, Apr 26 2016 - 04:58 PM.


#18 Stefan Roess

Stefan Roess

    Denny Hulme

  • Supporter
  • PipPipPipPipPipPipPipPipPipPip
  • 2,049 posts
  • Gender:Male
  • Location:Bavaria, Germany
  • Interests:racing :)
  • Sim interest:GPL and P&G

Posted Apr 26 2016 - 04:06 PM

View Posttramker, on Apr 26 2016 - 03:12 PM, said:

View PostStefan Roess, on Apr 26 2016 - 02:50 PM, said:

Am I doing something wrong?

It's command line utility, that's how it works :)

- copy rpydump and your replay to the same directory
- run cmd.exe (from Windows search box)
- cd \your\dir
- run rpydump with correct parameters (replay filename is the minimum)


Works great! Thx :up:

Edited by Stefan Roess, Apr 26 2016 - 04:07 PM.


#19 tramker

tramker

    Martin Krejčiřík

  • Members
  • PipPipPip
  • 19 posts
  • Gender:Male
  • Location:Prague, CZE
  • Interests:Racing
  • Sim interest:GPL

Posted May 05 2016 - 05:44 PM

Something for those fearful of command lines...

Quote

v0.6.0 - 2016/05/05 - Windows GUI launcher

    rpygui.exe is a Windows launcher for rpydump. It needs rpydump.exe in it's
    directory to operate.

    Slight modification of semikv format. Tables now start with table_start;
    token. Semicolon in value is now escaped. Added --laps support.

    Fixed invalid UTF exception on non-ascii characters in cst files.

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

Edited by tramker, May 05 2016 - 05:59 PM.


#20 fajanko

fajanko

    Jani Posta

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

Posted May 06 2016 - 12:51 AM

Thanks Martin! :)





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