Giter Club home page Giter Club logo

Comments (10)

bit-hack avatar bit-hack commented on May 25, 2024

This issue looks a LOT like the same issue I had with fallout1-ce.
I opened a pull request for fallout1-ce which fixes that issue: alexbatalov/fallout1-ce#119
If I get time I could try to reproduce this and port that fix over to fallout2-ce.

from fallout2-ce.

 avatar commented on May 25, 2024

Thanks a lot for your answer! It appears that your solution is enough to solve the problem. I found the compat_makepath(basePath, drive, dir, NULL, NULL); function call at line 26 in src/file_find.cc of the F2CE source. Following your example, I added the compat_resolve_path(basePath); function call right after it. After having compiled and tried out the game, I could finally save and load the game without any issues. This fix should definitely be added to the latest source.

from fallout2-ce.

SomeTroglodyte avatar SomeTroglodyte commented on May 25, 2024

at line 26 in src/file_find.cc

Works perfectly, thanks. I would add that after an attempt with the broken code it is advisable to delete the sav files from the maps folder, otherwise you could start fresh games with dead ants in the trial caves...

from fallout2-ce.

savegame avatar savegame commented on May 25, 2024

is it merged to master?

from fallout2-ce.

SomeTroglodyte avatar SomeTroglodyte commented on May 25, 2024

nope

from fallout2-ce.

savegame avatar savegame commented on May 25, 2024

thank anyway, i'll try use fix described here

from fallout2-ce.

SomeTroglodyte avatar SomeTroglodyte commented on May 25, 2024

In case a ubuntu 22.04 / x64 - compatible binary helps:
fallout2-ce.zip

from fallout2-ce.

defname avatar defname commented on May 25, 2024

Thanks a lot for your answer! It appears that your solution is enough to solve the problem. I found the compat_makepath(basePath, drive, dir, NULL, NULL); function call at line 26 in src/file_find.cc of the F2CE source. Following your example, I added the compat_resolve_path(basePath); function call right after it. After having compiled and tried out the game, I could finally save and load the game without any issues. This fix should definitely be added to the latest source.

Your fix works perfectly for me. (GOG version)
Thanks a lot

from fallout2-ce.

yamzee avatar yamzee commented on May 25, 2024

Had an issue where I was unable to save (Error saving! Unable to save!), I tried fixing the path to data like in fallout1-ce (using upper case in the cfgs), but no luck. So then, I tried deleting the SAVEGAME folder and having the game remake it upon saving, no luck. Adding compat_resolve_path after compat_makepath and after recompiling there was no issue.

Game now saves and loads just fine. Should a PR be made for this?

from fallout2-ce.

driftsignal avatar driftsignal commented on May 25, 2024

for linux gog install in v1.2 saving worked for innoextract method and heroic game launcher install. v1.3 save fails and compat_resolve_path(basePath); addition in src/file_find.cc fixes again, but it is now after compat_makepath(basePath, drive, dir, nullptr, nullptr); line.

issue addressed in PR #369

from fallout2-ce.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.