modorganizer-basic_games icon indicating copy to clipboard operation
modorganizer-basic_games copied to clipboard

Adds support for Fallout 2

Open mrowrpurr opened this issue 3 years ago • 9 comments
trafficstars

Automatically detects GOG and Steam installations.

Supports profile-specific .ini files:

  • ddraw.ini (sfall configuration)
  • f2_res.ini (high-res configuration)
  • I would love to support sfall-mods.ini too but it doesn't come out-of-the-box with GOG/Steam, it's just common for modders

Upon profile creation, fallout2.cfg is updated to use absolute paths to your game folder.

Without this fallout2.cfg change, the game results in an error when launching: "Couldn't find/load text fonts"

Save Games

  • Does not yet support save game images, didn't include any specific Save Game support at all

fallout2.cfg

There is an .ini file which needs its paths updated or the game won't launch. I wasn't sure where to put this code, so I put it into initializeProfile. It works but I don't know if it's the best place to put it!

mrowrpurr avatar Jul 06 '22 00:07 mrowrpurr

I'll run black locally and update to conform to the linter

mrowrpurr avatar Jul 07 '22 07:07 mrowrpurr

Updated it using black! Hopefully the workflow will pass this time

mrowrpurr avatar Jul 15 '22 18:07 mrowrpurr

I didn't think to add the information to the README

This PR also updates the README now (using the same formatting and information as the other games)

mrowrpurr avatar Jul 15 '22 18:07 mrowrpurr

Added one final tweak.

The fallout2.cfg .ini-formatted file was being written with spaces around the = in the file, e.g.

[section]
key = value

; I would expect no spaces around the =, e.g.
key=value

The popular Fallout 1/2 save game editor (F12se) struggled with this format. Found the space_around_delimiters=False option which fixes this. Now all the world is happy and lovely with this .cfg file :)

mrowrpurr avatar Jul 16 '22 05:07 mrowrpurr

Checks ran successfully 😸

mrowrpurr avatar Jul 16 '22 19:07 mrowrpurr

Let me know if there's anything else I should do on my end! 🎮

mrowrpurr avatar Jul 30 '22 15:07 mrowrpurr

Haven't seen this when I created my own version: https://gist.github.com/phobos2077/c7f1488ee98626cbbfc370ba8a5ba0a5#file-game_fallout2-py

I wonder why you have Fallout2HR.exe as executable instead of regular Fallout2.exe?

I'm looking for a way to use MO2 with Fallout2 with recent sfall version and modern-style mods. Sfall now supports a mods folder with mods_order.txt similar to archives.txt file in Bethesda games. Do you know if it's possible to add support for mod archives using the same UI as New Vegas plugin uses, for example, with just the Basic Games plugin?

You can read about my experience with MO2 here: https://www.nma-fallout.com/threads/using-mod-organizer-2-for-fallout-2-modding.221796/

phobos2077 avatar Jun 19 '23 16:06 phobos2077

Thanks for the PR, you will need to rebase against master for the latest change and the move to Qt6.

Holt59 avatar Sep 23 '23 12:09 Holt59

@mrowrpurr Pinging you again so you can see the comment by Holt. Please update this to use PyQt6 imports.

Silarn avatar Oct 19 '23 03:10 Silarn

Closing for now, feel free to re-open once the changes above have been added to the PR.

Holt59 avatar May 23 '25 07:05 Holt59