The current problem running it all on Linux: Using the Windows build on Wine results in no sound because Wine “can't find” the wav files despite them being there (not a permissions or case-sensitivity issue though). That causes the engine to lag a bit trying to repeatedly (as fast as possible) load the wav files. Using the native build, the audio worked perfectly, but the stylesheet isn't being correctly maintained between navigating locations/menus causing game-breaking issues without modifying the engine slightly (which I did, and it results in everything working for that). But there is another issue after that. The developers have foolishly used spaces in directory/file names which requires editing far too much to be sustainable. Frustrating to help others (I don't play adult games, I just remove DRM and fix things).
*Edit* I have attached an initial build (WITHOUT STYLESHEET FIX). This initial build also does not compensate for spaces in URIs. This is just proof-of-concept (POC) to show FastQSP can be compiled for Linux. Compiled on an Ubuntu-like distro. I have noticed that it doesn't automatically load the initial QSP like the Windows build. I can fix that sometime. You'll see the stylesheet issue at the main menu. Note that if you check the HTML on both the “Achtung/warning” that the CSS stylesheet from 'css/base.css' is present but
not so on any other page rendering the game unplayable because of it.
*Edit* I've noted that some *buntu newcomers aren't aware that some Desktop Environments don't do the whole “double-click to launch” thing and are used to shell scripts. Just ./FastQSP-JONT and you're fine. *shrug*
*Edit* I now have STYLESHEETS working! Spaces are also escaped correctly! There is only one problem left. File system case-sensitivity. The game developer(s) should rename all files to underscores and all lowercase and update their scripts to reflect that too. But for now...you can use ciopfs to circumvent this issue! Everything works correctly with the work-around providing case-insensitivity for file system access but the developer(s) should really get to fixing their case-sensitivity issues. The current file layout they're using with whack-case names and scripts that call either case and some with spaces will prevent them from running on Android and such if they wanted to target that platform.
Bug: For some reason, list items (<li> / </li>) are being removed when navigating back to a page. This'll take some time debugging. Once finished, ready for release. Suspect there is an issue with QSP variable lifetimes...which would explain STYLESHEET also being foobar without the hackish override. For now, I've added a call to executeJSON() inside the same routine I used to provide the STYLESHEET work-around. Working.
Goals: Auto-load QSP. Find way to automatically work around file system case-sensitivity.
Remember that the build attached is a raw compile of FastQSP (“mod” aka “jack” edition). It contains no work-arounds. The picture is of the build I'm working on which needs one last work-around (case sensitivity issue) and I have not uploaded it yet because I'm trying to see if I can do it without asking the game developer(s) to do it.
View attachment 998719