GP4 GPaediaMaker released - V1.66

Posted by petrus 
Re: GP4 GPaediaMaker released - V1.30
Date: May 16, 2015 07:49PM
Posted by: petrus
GPaediaMaker 1.35 released

This update includes two new INI file specifications, a new function for indent, enhancement of the linefeed (LF) management in several functions and a new summary message about log file warnings.

Fixed:
* Closing files when program ends after a critical error
Enhanced:
* LF automatically added after second part in values for functions _fastestlap (pole position and fastest lap) and _recordlap (qualifying and race lap records in tracks gpaedia info part); LFs from input data are not considered here.
* LF automatically added after 2 and every 4 next teamnames in functions _list-teams resp. _list-Teams (Previous Teams); not executed, when the value already contains an LF
* new function "_indent1" inserts 1 Space before every line of the cells value if no leading space at the beginning of a line does already exist; function is included for "%lastyear% Results" in standard trackformat.csv
* new ini parameter "tracklist" as enhancement for track switching; must contain 17 (comma separated) parameter, example (2015):
-- tracklist = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,16,18,19 omits tracks 15 and 17 from track.csv columns.
* new ini parameter "corner_delimiter" allows alternative delimiter characters / \ , ; to separate corner data value parts (default is LF), example:
-- corner_delimiter = /
-- with corner data in format "name/gear/km/h" like "Jones / 3 / 145"; blank spaces where not considered
* summary message about log file warnings added to console output
Updated:
* data.zip (trackformat.csv standard file)
* example.zip
* gpaedia.ini
* GPaediaMaker Guide (last updated 2015-05-18 with new info about maximum name length of driver, team and track)

Download at top of thread.


petrus' gpaedia files



Edited 2 time(s). Last edit at 05/18/2015 07:43PM by petrus.
Re: GP4 GPaediaMaker released - V1.30
Date: May 17, 2015 02:32AM
Posted by: TomMK
An excellent tool that keeps getting better! Thanks petrus.

=====================================================


Intel NUC 8i3, 8GB RAM, MS Sidewinder Wheel
Re: GP4 GPaediaMaker released - V1.35
Date: June 04, 2015 06:03PM
Posted by: petrus
GPaediaMaker 1.36 released
This update fixes some problems that could occur during gpaedia creation for a CSM mod supporting more than 17 tracks.

Fixed:
* Replacing routine problems with circuit "none" could ev. crash the program
* Menu file changes (gp location, country, national adjective) for circuit "none" have had values "none". They are changed to empty now.
* Not enough driver replace rows, if more than 17 tracks are used; fixed with new standard driverformat.csv that has driver replace rows for 20 tracks;
- new warning message, if driver replace rows are insufficient
Updated:
* GPaediaMaker Guide
* data.zip: driverformat.csv

Download at top of thread.


petrus' gpaedia files



Edited 1 time(s). Last edit at 06/04/2015 06:04PM by petrus.
Re: GP4 GPaediaMaker released - V1.36
Date: July 14, 2015 01:56AM
Posted by: TomMK
Petrus, if possible could you post your 2011 base files please? (driver, team & track.csv). Thanks!

=====================================================


Intel NUC 8i3, 8GB RAM, MS Sidewinder Wheel
Re: GP4 GPaediaMaker released - V1.36
Date: July 16, 2015 06:00PM
Posted by: petrus
TomMK: Petrus, if possible could you post your 2011 base files please? (driver, team & track.csv).

I made the 2011 csv files two years ago, but those had yet to be worked over. This is WIP now and will be released soon - only final testing has to be done.


petrus' gpaedia files
Re: GP4 GPaediaMaker released - V1.36
Date: July 21, 2015 06:13PM
Posted by: petrus
GPaediaMaker 1.37 released
This update contains some minor fixes.

Fixed:
* Writing in an existing gps or str file did not delete previous content, which could lead to some garbage at the bottom of the file; now an existing gps or str file is deleted by the program before output.
* Function "_fastestlap" - usually used for pole position and fastest lap in track.csv - normally has 4 parts: driver, team, record, date. But the date may be omitted and then only 3 parts occur. The tracktable checking routine was therefore only testing for 2 delimiters "," and could not realise a missing 3rd one. Setting the new ini file parameter "chk_fastestlap" to 3 (default = 2) forces checking for 3 delimiters.
* Checking for driver replace rows could give a false logfile message.
Enhanced:
* Windowtitle set to "GPaediaMaker"
* INI file: new parameter "chk_fastestlap"
Updated:
* gpaedia.ini
* GPaediaMaker Guide

Download at top of thread.


petrus' gpaedia files
Re: GP4 GPaediaMaker released - V1.37
Date: March 01, 2016 08:18PM
Posted by: petrus
GPaediaMaker 1.38/1.38b released
This update contains the new feature "conditional row processing", an updated "nationality.csv" file and some fixes.
Fixed:
* example 2001 csv files: %season% and %lastyear% instead of 2001 and 2000
* %progpath% directory was not found when empty
Enhanced:
* "nationality.csv" with new line for Indonesia/Indonesian
* INI file: new parameters "valid_driverrows", "valid_teamrows" and "valid_trackrows" for use with conditional row processing
* Conditional row processing in userformat csv files.
This feature allows you to put all available data into your csv files and use the INI file to decide which of them are used. You don't need multiple csv files this way. The respective GPaediaMaker Guide chapter includes an example.
Updated:
* data.zip (with new nationality.csv)
* example.zip
* gpaedia.ini
* GPaediaMaker Guide

EDIT: updated to version 1.38b including some fixes (2016-03-02)
Download at top of thread.


petrus' gpaedia files



Edited 2 time(s). Last edit at 03/02/2016 03:04PM by petrus.
Re: GP4 GPaediaMaker released - V1.38
Date: March 01, 2016 11:25PM
Posted by: Excalibur
Thank you Petrus! Very interesting updates! Great work! ;-)(Y)

____________________________________________________________________________________________________________________________________________

Re: GP4 GPaediaMaker released - V1.38
Date: March 02, 2016 12:45AM
Posted by: AUS_Doug
Hi everyone,
I'm having some trouble with the tool, and can't figure out the problem.

I'm running the program after setting up the .ini file like in the 'Quick Start' section, and I'm getting this:

=== text2gps_ff 1.38 ===

File not found ""

--- 1 errors found. Press any key to break ---

My .ini file looks like this:

;--- gpaedia.ini ---
;--- GP4 GPaediaMaker configuration file ---
;--- for use with version 1.31 or higher ---

; language variables (0 to 4):
; %ln% ==> en, de, es, fr, it
; %language% ==> English, Deutsch, español, Français, italiano

; gps: language files to create
;     create: yes=1, no=0 (optional, default is 1,0,0,0,0)
gps = 1,1,1,1,1

; define season variable %season%
season=2017

; define program path variable %program_path% (default is path of exe file)
program_path = B:\Games\GPaediaMaker\txt2gps_ff

; input path for constant txt files
in_path	= %program_path%\data\

; input path for edited csv and txt files
var_path = %program_path%\GP%season%\

; output path for created gps files
out_path = %program_path%\GP%season%\

; gps file names (normal)
ln_gps = GP%season%_%language%.gps

; define corner delimiter character (default: LF)
corner_delimiter = /

; switches (teams, drivers, tracks)
; handle GP4 driver 9/10 bug (use for 9.6 patched GP4 version)
sw_driver 9=10
sw_driver 10=9

I think I've got the folders set up correctly as well.

B:\Games\GPaediaMaker\txt2gps_ff\data] has all the files from data.zip
B:\Games\GPaediaMaker\txt2gps_ff\GP2017\ has all the files from the 2001 example in it.

This is my first time using GPaedia Maker, so sorry if I've missed something obvious.

Cheers.



F1 Graphics Swapper --- Lensdump - Renders and Screenshots --- GP4 Performance Generator
Re: GP4 GPaediaMaker released - V1.38
Date: March 02, 2016 03:01PM
Posted by: petrus
AUS_Doug: I'm running the program after setting up the .ini file like in the 'Quick Start' section, and I'm getting this:
=== text2gps_ff 1.38 ===
File not found ""
--- 1 errors found. Press any key to break ---


Thanks for your feedback. Every question is welcome because it will help improving the program.

--- EDIT 2016-03-03 ---
The above error occurs probably because your txt2gps_ff is an empty path. (It's not necessary to put the exe file there, but the old checking routine expects at least one file there. I have fixed this routine, so with the new version 1.38b from 2016-03-02 this problem will not occur anymore.)
Your folders are indeed set up correctly.
You probably did not give an INI file as parameter to the program. The GPaediaMaker Guide says:
Running txt2gps_ff
It's a good idea to save copy your CSV files before starting.
To run the program, then if your INI file is „gpaedia.ini“ in the program path, double click on txt2gps_ff.exe.
Else drag and drop your INI file onto the programs name or use the „open with“ option.
...
I will mention this in the Quick Start chapter too.
--- /EDIT ---

The INI file needs adjustment otherwise you might encounter some format errors.
* Deactivate the corner_delimiter. The 2001 files have got corner data in the old format with LF as delimiter.
* When running the 2001 files with season = 2017 you have to make some changes in the 2001 csv data files: replace 2001 by %season% and 2000 by %lastyear%. As an alternative you can use the 2001 example from version 1.38b. If you would specify season = 2001 this problem would not occur.
* Tip: Set out_path different from var_path, e.g. out_path = %program_path%\GP%season%\out. Especially when there are many files in var_path, this will give you a better overview. You may also use different INI files which all have an own out_path but process the same source csv files.

As it looks like you want to have the 2001 files as a base for a more recent season, you can delete all text files from the var_path, because these trackinfo text files are special for 2001 and cannot reasonably be used in any other season. As a base consider downloading a more recent gpaedia from my files (see signatur below).


petrus' gpaedia files



Edited 7 time(s). Last edit at 03/03/2016 05:24PM by petrus.
Re: GP4 GPaediaMaker released - V1.38
Date: March 06, 2016 09:06PM
Posted by: petrus
GPaediaMaker 1.40 released
This update comes with some features for more comfort, e.g. a front-end "GPaediaMaker.exe", an open file dialog to process INI files.

Fixed:
* Error message for INI file specification "log_extended"
Enhanced:
* Optional front-end GPaediaMaker.exe included
-- Open file dialog when run without parameters
-- Processing INI file given as parameter (no open file dialog then)
* Screen: maximum height 800px => more display rows visible; size of used monitor taken into account; progress bar (...) is now located before the file creation messages and will not be overwritten.
* Automatic detection of cornerdata delimiter; without specifying corner_delimiter in the INI file, the alternative delimiter values /\.; can be used.
* Additional INI file specification valid_rows for "Conditional row processing": valid_rows = 1 means valid_driverrows=1 AND valid_teamrows=1 AND valid_trackrows=1
Added:
* GPaediaMaker.exe
* GPaediaMaker.cfg
Updated:
* GPaediaMaker Guide (new with pdf bookmarks 2016-03-07)

Download at top of thread.


petrus' gpaedia files



Edited 2 time(s). Last edit at 03/07/2016 06:27PM by petrus.
Re: GP4 GPaediaMaker released - V1.40
Date: April 03, 2016 05:16PM
Posted by: petrus
GPaediaMaker 1.41 released

Fixed:
* Driver replace with insufficient driverformat rows could cause program CTD
* Overwrite of warning message and progress bar
* GPaediaMaker Guide: table of contents

Download at top of thread.


petrus' gpaedia files



Edited 1 time(s). Last edit at 04/05/2016 12:08PM by petrus.
Re: GP4 GPaediaMaker released - V1.41
Date: April 05, 2016 11:17AM
Posted by: petrus
GPaediaMaker 1.42 released

Fixed:
* Conditional row selection:
- INI file specifications valid_rows etc. can have values 1, 2 or 3 where 3 means 1 or 2.
- Conditional row values are checked: values greater 2 are rejected with a warning message put into the log file.
* Standard driverformat.csv file now has 21 rows for replace driver values (instead of 20)
Updated:
* data.zip
* gpaedia.ini
* GPaediaMaker Guide

Download at top of thread.


petrus' gpaedia files



Edited 2 time(s). Last edit at 04/05/2016 12:08PM by petrus.
Re: GP4 GPaediaMaker released - V1.43
Date: April 11, 2016 12:35PM
Posted by: petrus
GPaediaMaker 1.43 released
With this release the trackspecific gpaedia is enhanced.

Enhanced:
* With the new transform functions "_%drivers%" (resp. "_%Drivers% for uppercase) the two driver entries in the team table can be trackspecific using %drivera% and/or %driverb% instead of explicit names.
* Trackspecific data extended (part text files 5,6,10,11)
Updated:
* data.zip
* GPaediaMaker Guide

Download at top of thread.


petrus' gpaedia files
Re: GP4 GPaediaMaker released - V1.43
Date: April 11, 2016 08:10PM
Posted by: Turbo Lover
Your updates are much appreciated, Peter.



My Grand Prix 4 Files

I'm a total dick. How many people can say that?
Re: GP4 GPaediaMaker released - V1.43
Date: April 12, 2016 03:29AM
Posted by: kerleyf1
Thank you.

------------------------------------------------------------------------------------------------


PLEASE VISIT: F1 1996 MOD
Re: GP4 GPaediaMaker released - V1.43
Date: April 12, 2016 10:31AM
Posted by: TomMK
Thanks again!

=====================================================


Intel NUC 8i3, 8GB RAM, MS Sidewinder Wheel
Re: GP4 GPaediaMaker released - V1.43
Date: May 08, 2016 12:50PM
Posted by: petrus
GPaediaMaker 1.44 released
Some fixes

Fixed:
* Checking for invalid number of replace lines
* Routine SetCloseCountry: track switches management could lead to a program stop with internal error message if more than 17 tracks were used.
* Function _%Drivers% did not convert english teamdriver names to uppercase, if names were not given as %drivera% resp. %driverb%.

Download at top of thread.


petrus' gpaedia files
Re: GP4 GPaediaMaker released - V1.45
Date: May 24, 2016 03:18PM
Posted by: petrus
GPaediaMaker 1.45 released

Fixed:
* Driver replace management, especially for mods with tracklists.
Enhanced:
* New INI file parameter "log_file" to specify an alternative name for the log file (default: gpaedia; extension is always .log).
This is useful when gpaedia files are created in the same directory with more than one run.
Updated:
* GPaediaMaker Guide
* gpaedia.ini

Download at top of thread.


petrus' gpaedia files
Re: GP4 GPaediaMaker released - V1.45
Date: May 24, 2016 07:30PM
Posted by: Turbo Lover
Thanks. :)



My Grand Prix 4 Files

I'm a total dick. How many people can say that?
Sorry, only registered users may post in this forum.

Click here to login

Maintainer: mortal, stephan | Design: stephan, Lo2k | Moderatoren: mortal, Vader, stephan | Downloads: Lo2k | Supported by: Atlassian Experts Berlin | Forum Rules | Policy