Jump to page content

Notices for 25th November 2007 to 12th November 2007

Sunday, 25th November 2007

Gorillas Deluxe

Way back in February, Edgar Ruiz from Colombia asked me if I could restore CGA support in Gorillas Deluxe, and it took until now to remember to do it. CGA support in Gorillas Deluxe is now restored, and the game has been patched up further to improve compatibility. For example, the explosion radius setting is halved under CGA, and there are some revised taunt messages for CGA mode to keep them all under 40 characters (the width of the screen). The game is corrected to support full 17-character names in CGA.

I also discovered that the Czech version was one version behind; it still had the potential to crash with an illegal function call. The Czech version is now fully up to date with the English version.

Wednesday, 14th November 2007

Batch-RegEx 1.2.1 released with various fixes and improvements.

Incidentally, what I said previously about settings files and %APPDATA% wasn’t that true, having fallen victim to my abominable memory. It was not quite how I was checking for the location. My software uses the application’s own folder – itself an acceptable behaviour and preferred by some – unless Documents and Settings was found; more recently, I started using Documents and Settings\user\Application Data if it existed, and a Telcontar subfolder for tidiness. This hack was clearly noted in the code comments as being English-only. I simply didn’t know, at the time, how to derive the correct path nor did I investigate it. Still lame, but not quite as much as I imagined.

Monday, 12th November 2007

Batch-RegEx is updated today to version 1.2. The new version brings the ability to save and recall expression lists, as well as further clean-up of the Windows version’s interface.

Normally, settings code for my apps just calls on my PreferencesFile class, but each expression list in Batch-RegEx 1.2 is a plain text file. I needed to write fresh code to find %APPDATA%, and was about to go about it in my normal way in REALbasic 3 of DesktopFolder.parent.child("Application Data") (REALbasic will just return your Windows directory if you ask for the settings folder). This was when I realised how dreadful this approach was: it will fail if the Application Data folder’s name is localised. For example, in German, %APPDATA% expands to C:\Dokumente und Einstellungen\Benutzer\Anwendungsdaten\.

Batch-RegEx instead calls SHGetFolderPathA() – which requires Internet Explorer 4 or higher! – to return the system’s localised path to this folder. All my other software (that uses PreferencesFile) will need patching too. Sometimes, I am such a ninny.