2024-08-12
Don't test your Linux port only in WSL
A lot of my FarCry work has been on WSL. It's been great having a nearly full Linux development environment that's even capable of running graphical applications at decent speeds without leaving Windows. The rest of your C: drive is also available as a mounted device, giving you access to files there. I already have FarCry installed on Windows, so I chose to save space by symlinking the install directories to my git repo. And it's worked fine - until I started doing work on my Linux laptop, which crashed when loading save games.
Oh right, Linux has a case sensitive filesystem, and save files wrote of the names of levels in a different case than how they are actually named. Doh.
Made a fix that will hopefully last (256 characters is all anyone needs, right?).
This is a plan file, right?
- Port NOLF2 to Linux
- Fix the bridge explosion crash when escaping Siberia
- Port Far Cry to Linux
- Handle window change if user is only changing fullscreen setting ✓
- Commit the movie code
- Implement ClosePacks ✓
- Stop making a new OpenAL buffer for the menu music when recreating the window
- Find out why loading Carrier crashes from a save game but not from the missions menu
- Finish Dominatrix v1.2
- Make a sensitivity slider that affects gamepads