Jump to content


- - - - -

Season.ini Generator/editor


  • Please log in to reply
7 replies to this topic

#1 Compyableaphid52

Compyableaphid52

    Mike Spence

  • Members
  • PipPipPipPip
  • 31 posts
  • Interests:historic rally
  • Sim interest:GPL

Posted May 29 2020 - 08:09 AM

Just wondering if there is an editor for the season files for GPL, if not its not hassle to type up a fresh one, but i was looking for something more along the lines of a randomizer, that could of course include all my installed tracks.

#2 Compyableaphid52

Compyableaphid52

    Mike Spence

  • Members
  • PipPipPipPip
  • 31 posts
  • Interests:historic rally
  • Sim interest:GPL

Posted May 29 2020 - 08:20 AM

View PostCompyableaphid52, on May 29 2020 - 08:09 AM, said:

Just wondering if there is an editor for the season files for GPL, if not its not hassle to type up a fresh one, but i was looking for something more along the lines of a randomizer, that could of course include all my installed tracks.
I'm silly, I can just use GEM for this purpose, lol sorry about that, but if there does happen to be a track randomizer out there, doing a blind season like that would be fun!

#3 fajanko

fajanko

    Jani Posta

  • GPLLinks Team
  • PipPipPipPipPipPipPipPipPipPip
  • 1,179 posts
  • Gender:Male
  • Location:Hungary
  • Interests:graphic design
  • Sim interest:GPL

Posted May 29 2020 - 08:34 AM

View PostCompyableaphid52, on May 29 2020 - 08:20 AM, said:

I'm silly, I can just use GEM for this purpose, lol sorry about that, but if there does happen to be a track randomizer out there, doing a blind season like that would be fun!

(once it will be back online) you can find season.ini for all active seasons on Weekly.

Random season is a good idea. :)

#4 prize

prize

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 60 posts
  • Interests:GPL add-on tracks and mods
  • Sim interest:GPL

Posted May 29 2020 - 07:48 PM

I also like the idea of randomizing AI drivers in drivXX.ini.  If the slider is set to race against 5 AI drivers, say, by default you're racing against 5 fast drivers.  If you randomize the drivXX.ini for the mod you're using, you'll get a random choice of 5 drivers from the list; this makes for slower and more varied AI competition.

#5 jgf

jgf

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 986 posts
  • Gender:Male
  • Location:Columbus, OH
  • Sim interest:GPL and P&G

Posted May 30 2020 - 10:44 AM

Ah, the Driver Randomizer.  There was one for Nascar 2 (or 3?) but not for N2k3;  probably because the former used txt files for driver parameters while the latter used hex files.  Since GPL uses text files for drivers it probably wouldn't be too difficult for some knowledgeable soul to create a utility to randomize driver selection and/or performance.

The one I recall gave you four options for each driver performance parameter:  the percent chance he would perform better than normal and by how much;  and the percent chance he would perform worse than normal and by how much.  So, for example, a front runner might have a 3% chance of up to 20% less power ...the loss may be so slight you would never notice or he may be a backmarker for that race.  There was also a restore button to reset the defaults.  I loved that little program, and spent untold hours tweaking the cfg file ...and naturally had one for each carset.

For less than a full field it could randomly select the specified number of drivers and create a new driver.ini with just them.  (The Nascar util didn't do that, like GPL we always raced the best drivers.)

#6 Saiph

Saiph

    Still driving 4 Team BDS

  • Supporter
  • PipPipPipPipPipPipPipPipPipPip
  • 2,184 posts
  • Gender:Male
  • Location:Aylesbury, UK
  • Interests:Computer gaming (esp. simulations, strategy, RPG), real ale, live music, motor sports, boring the NSA/GCHQ to death.
  • Sim interest:GPL

Posted Jun 01 2020 - 12:04 PM

I spotted this thread a couple of days ago and I've been thinking about what has been posted. I think the idea of randomising driver performance, and randomising season files are good ideas, which would give GPL drivers more variety if they want it. However, I think that the two topics should be separated, otherwise this thread could become quite long, and possibly confusing if people are posting about both ideas in the same thread.

So, for talking about the driver randomizer, I have created a new thread here: http://srmz.net/inde...98
I have copied prize's and jgf's posts over to the new thread so their comments are not lost.

I am more familiar with editing season files than driver.ini files, so I think the season randomizer would be easier to write.

I already have a fairly crude utility which takes one of the report text files from my laptimes listing utility (GPLStats), and creates two sets of season files. One set is sorted into average lap time order. This allows me to choose the length of circuit I want to practice or hotlap, depending on how much time I have to spare. The first track in this season set is obviously Targa Florio. The last is the circular "Skidfun" track which has an average laptime of 8.2 seconds! The other set is sorted into average lap speed order. This allows me to choose an appropriate setup for the winged GPL mods when I am hotlapping, as the tracks with higher average speed are best lapped with low wing settings, and the tracks with lower average speeds are best lapped with high wing settings.

I think it would be quite easy to write a season randomizer which looked in your ...\GPL\tracks directory to see which tracks you had installed. It would then mix the list up randomly, and use the information in your SGEM.INI file (part of GEM) to create a season file (or a set of season files). You could also include options to limit the number of tracks, or to only select tracks below or above a certain length. Other selection criteria could also be possible.

(To clarify: I refer to a set of season files, as there used to be a 64-track limit on each season file. I still observe this limit just in case larger season files might cause problems. If, like me, you have more than 64 tracks installed, my utilities generate sets of files with 64 tracks in each, until the last file which has the remainder. So for example if you have 135 tracks installed, you would get 2x64 track season files, plus a 7-track season file at the end.)

Please let me know what you think of my post, and let me know if you would like any selection criteria for the random season. Any other ideas are also welcome. I will start looking into the season randomizer right away. It will be interesting to set up a "bare bones" version, and then I can add extra functionality to it as people express their ideas.

Compyableaphid, I see that you have GEM installed. Can you do me a favour and just confirm that you have a copy of the file SGEM.INI in the directory:
"C:\Users\Public\Documents\GEM+"?

I will also look into the driver randomizer, but I will need more info on that before starting any coding as I'm less familiar with those files. Of course, if anyone else would like to program either of these utilities, please feel free to let us know, especially if you can write programs with a nice Windows GUI! Mine are simpler, command-line style programs, but they usually seem to work quite effectively.

Just a quick reminder: Please use the OTHER thread linked above for the driver randomizer discussion, and THIS thread for the season randomizer. This will help avoid confusion. Thanks!

Edited by Saiph, Jun 01 2020 - 12:28 PM.


#7 fajanko

fajanko

    Jani Posta

  • GPLLinks Team
  • PipPipPipPipPipPipPipPipPipPip
  • 1,179 posts
  • Gender:Male
  • Location:Hungary
  • Interests:graphic design
  • Sim interest:GPL

Posted Jun 05 2020 - 02:19 AM

You can create your personal random seasons on Custom Rank Services page. See topic. http://srmz.net/inde...showtopic=10564

A desktop app which works for already installed tracks would be great though.

#8 jgf

jgf

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 986 posts
  • Gender:Male
  • Location:Columbus, OH
  • Sim interest:GPL and P&G

Posted Jun 05 2020 - 06:21 AM

Interesting idea, those options were the first thing that came to mind.

FWIW, my seasons have more or less stabilized with:

-default 67

-historic 67

-season57-season72  (F1 for each year, I think a couple of early tracks are still not available)

-season55

-67F2

-Indycar (remains of an abandoned attempt to recreate ICR2 using the Thundercars  mod)

-shrtcrct (short circuits), tracks less than about 1.2 miles in length, fun in the default "F3" cars

-ovals (soon to be deleted since never used ...I've yet to do five laps at IMS without tire temps hitting 300)

-fictional

and the most often accessed:
-seasonAF
-seasonGL
-seasonMT
-seasonUZ
all installed tracks in alphabetical order (there were once six of these but I've pruned my tracks list to about 220 now;  and still adhere to the 64 track limit)

the main thing I need now is time to run some of those seasons




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Sim Racing Links