-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with compilation #43
Comments
x64 is not yet supported, use x86 toolchain and libraries |
I compiled it and ran. Very cool! But when I enter the temple map become black and textures are lagging. |
It is a bug that happens if you are using a custom resolution from f2_res.ini instead of the default 640x480. |
There is another problem: I can't save game and in the game folder appears files with Windows paths like "data\proto". |
I think I've fixed problem with tile borders (tried on 2560x1440). Please elaborate on textures lagging. Last time I checked linux I had no problems on 1024x768 (1 vcpu, 2 gb ram). |
Arroyo temple after new commit (2a9e00d):
But the game resolution has to be set large like 1920x1080 to SIGSEGV happen. backtrace:
Edit: issue fixed by 96771e9 |
Please check if this one is fixed. There are rendering artefacts when map is out of bounds (corners on high resolutions), but they do not affect gameplay. We'll fix them later by rewriting tile rendering layer. |
In README.md there is typo in "sudo apt install libsd2-2.0-0" - should be libsdl. |
Typo fixed, thanks. Which Ubuntu version do you use? There are no missing includes complaints in CI (Ubuntu 20.04). In fact there was an include for |
20.04 FOCAL, "make" does not like atan2 in tile.cc, including math.h is fixing this thing. |
Don't playing music, video and in-game/menu sounds plays very well. |
I guess this is a path issue. First check |
At least in the GOG version the filename If that doesn't help, you can try enabling sound debug messages in the fallout2.cfg: [sound]
debug=1 @alexbatalov on an unrelated subject, have you thought about using spdlog or simply creating a logging class that could handle different levels of messages severity info/warning/error/debug, origin and file output? |
Haven't thought of. I'm not sure we need fully featured logging solution. This is only a game, not a mission critical service where you probably want to log every single action, and logs are either the only way to understand what's going on or a way to monitor healthiness of the service. You have to be reasonable on who's the audience of this different levels of messages. For bug reports maximum verbosity will likely be needed to understand the problem. What's the use for minimum verbosity log? |
Minimum verbosity log lets you quickly check for basic info like where files were loaded from or in this case a colourful warning message should be displayed about the missing 07desert.ACM instead of it being hidden under a sound debug configuration option. I think Falltergeist does it well. |
Steam version have 07desert.acm, not 07desert.ACM. After renaming music works. |
I have a problem with compilation. I use Manjaro 64 bit.
fallout2-ce/src/audio_file.cc:95:29: error: cast from ‘FILE*’ to ‘int’ loses precision [-fpermissive]
95 | audioFile->fileHandle = (int)stream;
The text was updated successfully, but these errors were encountered: