Stunts Forum

ZakStunts - the Competition => Competition and Website => : dreadnaut December 15, 2025, 12:08:45 +01:00

: What should be in the download Stunts pack?
: dreadnaut December 15, 2025, 12:08:45 +01:00
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?
: Re: What should be in the download Stunts pack?
: alanrotoi December 15, 2025, 01:54:38 +01:00
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.
: Re: What should be in the download Stunts pack?
: dreadnaut December 17, 2025, 10:19:46 +01:00
In:
- manual check skip (stunts_k)
- grass skid sound fix

Can't think of other fundamental stuff, so I'll start with this 👍
: Re: What should be in the download Stunts pack?
: dreadnaut December 23, 2025, 03:50:58 +01:00
And that's done, no more manually creating zip files 🎉
: Re: What should be in the download Stunts pack?
: alanrotoi December 23, 2025, 09:24:40 +01:00
Wow! I won't ask how you do that because I won't understand the code. So well done!! ;D
: Re: What should be in the download Stunts pack?
: dreadnaut December 23, 2025, 11:38:54 +01:00
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.