Real Weather for GTR2 UI Tools by Pixiv

From Simwiki.net
Jump to navigation Jump to search

Description

  • Weather files to support Pixiv's GTR2 UI Tools
  • Support user-selected weather slots like AMS2

Download

TBD

Initial Ideas

That sounds great. If you're interested in a weather slots UI, something like how AMS2 lets you select weather slots, here's what I'm thinking,

If your UI could allow a user to select up to say 4 weather slots, from fixed list of weather slot types (Clear, Rainy, Stormy, etc.), and then select a random file from an agreed upon folder structure of pre-generated weather combinations,

Then I could generate those combinations and you'd just select from a pre-generated list of weather combinations.

Bonus 1: If you can read a ZIP file of these weather combinations, that would a big win as there will be thousands of files generated and ZIP saves 10x+ disk space. TIW also found it's just faster. Talk to TIW about how he did it. But with Python, I imagine it will be even easier to open, list files, select a random item from the list, and extract a file.

Bonus 2: UI allows the user to select weather slots by session (Practice1/2, Qualifying1/2, Warmup, Race)

Bonus 3: If the UI could read weather slot "pieces" and stitch them together into a whole weather.txt file then we could really reduce the number of files generated, reduce file size, and everything would generally be faster.

Details

Weather Slots:
- All weather slot types: Clear, MostlyCloudy, Overcast, LightRain, Rain, Storm, Thunderstorm
- Weather slot types are applied to weather slots which are Minute{} blocks in the Weather.txt file
- Example:
-- User selects: Clear, Rain, Clear
-- Weather.txt contains 3 Minute{} blocks for the given session:
--- Minute{ Conditions: 0, AmbientTemp: 20.00 }
--- Minute{ Conditions: 70, AmbientTemp: 20.00 }
--- Minute{ Conditions: 0, AmbientTemp: 20.00 }

GTR2 Weather Generator:
- 
- Generate "pieces of weather.txt" that represent only 

UI:
- App picks random weather-slot files, pieces them together, saves to weather.txt, sets readonly=true, user picks Changeable weather

Scratchpad