Page 1 of 1

.oolite-save - Associating filetype with Oolite

Posted: Sat Jan 24, 2026 3:16 pm
by another_commander
Just dropped a little neat feature before we enter code freeze. This one is quite straightforward, but I think it can be very helpful and practical.

The -load command line parameter is now optional. You do not need it when loading games from the command line, but it doesn't hurt if it's there and it stays there also for compatibility with apps like OoliteStarter, which perform handling of command line args to load games.

So now you can just do $>oolite c:/path/to/savegame/savegame.oolite-save and Oolite will go ahead and load up the specified game and start with it.

Why is this practical? Well, now you can associate the .oolite-save filetype with Oolite itself. On Windows you only need to do this once and after that you can just double-click any savegame to launch Oolite. Once the filetype is associated, you can also go to a cmd window and type the path to the savegame (including the .oolite-save extension) and this will launch the game too. Essentially, your save games become like OS commands.

This is especially nice with the MSIX installer, which I have now modified to do the filetype association automatically. As soon as you install the MSIX you can go to your savegames folder and start double-clicking to launch them with Oolite. You can also right-click on a save file and select "Open with" in the context menu and you will see Oolite appearing as a candidate for opening the file with. And of course, with the MSIX the .oolite-save file type association is destroyed automatically and cleanly if you chose to uninstall the package.

Re: .oolite-save - Associating filetype with Oolite

Posted: Sat Jan 24, 2026 3:41 pm
by Lone_Wolf
So now you can just do $>oolite c:/path/to/savegame/savegame.oolite-save and Oolite will go ahead and load up the specified game and start with it.
oolite-git.sh ~/oolite-saves/Lone_Wolf016.oolite-save also works on linux.

Re: .oolite-save - Associating filetype with Oolite

Posted: Sat Jan 24, 2026 3:44 pm
by another_commander
Lone_Wolf wrote: Sat Jan 24, 2026 3:41 pm
oolite-git.sh ~/oolite-saves/Lone_Wolf016.oolite-save also works on linux.
Awesome! I was hoping for a Linux user to confirm what I suspected - that it works on Linux just fine as well.

Re: .oolite-save - Associating filetype with Oolite

Posted: Sat Jan 24, 2026 5:19 pm
by MrFlibble
Would it be possible/practical to have an option to compress the save files?

Mine are mostly 2M+. I'm in the habit of saving as new files regularly, especially when troubleshooting.

zstd squishes them to ~10%

Re: .oolite-save - Associating filetype with Oolite

Posted: Tue Jan 27, 2026 8:29 pm
by another_commander
MrFlibble wrote: Sat Jan 24, 2026 5:19 pm
Would it be possible/practical to have an option to compress the save files?

Mine are mostly 2M+. I'm in the habit of saving as new files regularly, especially when troubleshooting.

zstd squishes them to ~10%
We could look into this post-1.92.

In other news, the .oolite-save file type integration with the OS is now complete in the MSIX installer:
Image