On the back of the auto-generated car pack, I thought I would automate filling in the seasonal Stunts pack.
There is a base file (https://zak.stunts.hu/dl/zakstunts-stunts-base.zip), to which we add the custom cars. Today it includes stunts_k and the audio fix for skid sounds on grass. I prefer to use a vanilla build, because there are many restunts-based ones, and they move fast these days.
What else should be in the base package, that someone interested in Stunts should have?
The grass skid sound is a must in my opinion. If this sound doesn't exist I will go back to pc speaker sounds. Maybe it's not the best sound but it is as useful as the paved skid. Also it's a sound for dirt road skid so it is very important for soundblaster.
In:
- manual check skip (stunts_k)
- grass skid sound fix
Can't think of other fundamental stuff, so I'll start with this 👍
And that's done, no more manually creating zip files 🎉
Wow! I won't ask how you do that because I won't understand the code. So well done!! ;D
It's Lego bricks, but with Zip files:
- we know which set of cars we need for the season
- there's a zip for each car
- there's the zip mentioned above with the basic Stunts game
PHP has a nice ZipArchive (https://www.php.net/manual/en/class.ziparchive.php) functionality, which I can use to create a new archive, and copy the files from the right set.
Once it's done, we save in a directory and re-use for future requests — so it's slow only the first time.