Pyskool

A remake of
Skool Daze and Back to Skool

Rock around the clock

To see a lamb at skool

Pyskool 1.1.2 has been released. As usual, copies are available from the download page in the shape of tarballs, zip files, DEB packages and RPM packages. Alternatively, if you’d like 1.1.2 to be served up to you by means of a package repository, you can get it from PyPI.

1.1.2 is a minor update to 1.1.1: no bug fixes or new features can be found in this release. Why bother with it, then? Well, one thing that the skool game ‘remixes’ included with Pyskool - namely Skool Daze Take Too, Ezad Looks, and Back to Skool Daze - have long been missing is their own tunes. Up till now, they have unashamedly borrowed the existing tunes from the original skool games - namely Skool Daze and Back to Skool. In 1.1.2, however, the remixes have had a musical overhaul: each one has its own theme tune, its own ‘all shields’ tunes, its own ‘open safe’ tune, and its own ‘up a year’ tune. That’s 12 (twelve) new tunes in total.

Now, I do understand that a customisation like this may be a little disconcerting at first. But note that I have taken great care to produce the 12 new tunes (actually nursery rhymes and other traditional songs) in the same style as the original skool tunes, so at least we still hear the familiar rasping notes of old. (Thanks, by the way, to Alex for showing me how to read piano sheet music.) The first person to correctly identify all 12 tunes will get, er, recognition for being the first person to correctly identify all 12 tunes!

If all this musical freshness is not to your taste, don’t despair. I’ve also customised the lesson questions and answers for each teacher in Skool Daze Take Too, Ezad Looks, and Back to Skool Daze. So if you’ve grown tired of Mr Rockitt constantly banging on about chemical symbols and animal homes, fire up Pyskool 1.1.2 today for some refreshingly different science (and geography, and history, and maths) quizzes.

Frozen dinner

Quit Pyskool?

Pyskool 1.1.1 has been released. This brand spanking new version for 2014 brings a few small enhancements and a bugfix to 1.1 (which, at the time, was a brand spanking new release for 2013). Impatient readers can head over to the download page now to grab a copy; the rest of you can stick around for some details on the changes since the previous release.

First of all, Pyskool now has a quit confirmation screen, shown by default when you press Escape (though not when you click the window close button). In keeping with Pyskool’s philosophy of ease of use, the screen displays, beneath the title ‘Quit Pyskool?’, two options whose meaning I hope is clear: ‘Yes’ and ‘No’. The player is then left to decide, at his leisure, whether to actually quit (‘Yes’), or to continue playing (‘No’). If, however, you’re one of those confident, accident-free players who never hit Escape without meaning it, and would be irritated by such trivial questioning, you can disable the confirmation screen by setting ConfirmQuit to 0 in the [GameConfig] section. On the other hand, if you’re one of those indecisive, accident-prone players who sometimes even click the window close button and immediately regret it, you can enable the confirmation screen in this situation by setting ConfirmClose to 1 in the [GameConfig] section.

Second of all, there is now an item on the main menu to switch between full-screen and windowed mode. True, this feature has been available since version 1.0 by pressing F11, but that fact was never mentioned anywhere in the documentation (except in the changelog). Now that it has its own menu item, perhaps more people will notice it, use it, and enjoy it.

Third of all, there is now support for appending content to existing ini file sections. This is done by adding a ‘+’ suffix to the section name. For example, if you add a section named [SkoolLocations+] to an ini file that is read after config.ini, then its contents will be appended to the contents of the [SkoolLocations] section in config.ini, rather than entirely replacing them. Which could be useful.

Finally, there was a bug in 1.1 and earlier versions that froze the game if Eric’s lines total went over 10000 (or Eric jumped out of the top-floor window) while he was being fetched by the teacher on dinner duty. This bug has been fixed, so you can now play Pyskool with confidence that Mr Wacker will hunt Eric down and expel him as appropriate even if it’s dinner time.

Making WAVEs

Biff! Pow! Smack!

Pyskool 1.1 has been released. As always, the download page is waiting to serve up tarballs, zip archives, DEB packages and RPM packages.

It’s been about a year since the last release, so I thought it was time to venture into the pyskool.ca vaults, track down and dust off Pyskool 1.0.1, and check that everything was still in good working order. Turns out everything is, but I updated a few things anyway while I was there.

Chief among the updates is a completely new set of sound files. The old sound files - most of which first appeared over five years ago in Pyskool 0.0.3 - were actual recordings of the audio output of a Spectrum emulator, made at the lofty frequency of 11.025kHz. Not surprisingly, then, they sound a little rough when you listen carefully (especially safe-key.ogg). The new sound files, however, are 44.1kHz streams programmatically generated from a precise analysis of the delays between speaker flips in the sound routines of the original games (taking into account contended memory and interrupts). Whether they sound more or less authentic than the emulator recordings, I’m not sure, but they are undoubtedly of much higher quality.

With a Spectrum-speaker-to-WAV library in place, then, I also took the liberty of adding hitting sound effects to Skool Daze. (Be honest: did you realise they’d been missing all this time?) In addition, Skool Daze and Back to Skool now have their own distinct sound effects for the bell, lines-giving, and Eric walking (instead of sharing them, as they had done up till 1.0.1).

So that covers the main changes to Pyskool itself, but in other news, the latest Pyskool code is now hosted on GitHub, and stable releases of Pyskool are just a pip install away via the Python Package Index. The avid Pyskooler can find even more details on the changes since 1.0.1 in the changelog.

Download Pyskool 1.1 today and hear the difference!