Search found 7 matches

by Fwiffo
Wed Feb 01, 2023 6:34 pm
Forum: Resolved Problems and Bugs
Topic: [1.1.72] Null pointer deref with bundled SDL at X11_Xinput2UngrabTouch
Replies: 3
Views: 2640

Re: [1.1.72] Null pointer deref with bundled SDL at X11_Xinput2UngrabTouch

Since the issue still exists in version 1.1.76, here is a quick way to find the address to patch:

Code: Select all

objdump -d factorio | sed -n -e '/call.*X11_XIUngrabTouchBegin/s/^ *\([^:]\+\).*/\1/p'
by Fwiffo
Tue Nov 29, 2022 5:13 pm
Forum: Resolved Problems and Bugs
Topic: [1.1.72] Null pointer deref with bundled SDL at X11_Xinput2UngrabTouch
Replies: 3
Views: 2640

[1.1.72] Null pointer deref with bundled SDL at X11_Xinput2UngrabTouch

This is tracked upstream at https://github.com/libsdl-org/SDL/issues/5889 and should be fixed with SDL2 version 2.24.0. Can you please update the bundled version to at least version 2.24.0? Thanks in advance :-)

In the meantime if others are affected, this can be patched out by replacing the call ...
by Fwiffo
Tue Jan 12, 2021 10:27 am
Forum: Ideas and Suggestions
Topic: Allow to change /usr/share/factorio in the binary
Replies: 6
Views: 1856

Re: Allow to change /usr/share/factorio in the binary


In my eyes nix has to provide a way to map those paths. Patching a binary sounds so dirty, I could not believe it. On Amiga I knew software, that - if it finds out it was patched - did overwrite sectors on the floppy, instead of reading - just to prevent hackers from replacing the authors name ...
by Fwiffo
Tue Jan 12, 2021 2:07 am
Forum: Outdated/Not implemented
Topic: Linux config directory should follow XDG Base Directory Specification
Replies: 5
Views: 3167

Re: Linux config directory should follow XDG Base Directory Specification


You can just set the folder the game uses through the config.ini file and config-path.cfg file. https://wiki.factorio.com/Application_directory


That's not the same as the mechanism in the XDG base directory specification :

$XDG_DATA_HOME defines the base directory relative to which user ...
by Fwiffo
Tue Jan 12, 2021 1:55 am
Forum: Ideas and Suggestions
Topic: Allow to change /usr/share/factorio in the binary
Replies: 6
Views: 1856

Re: Allow to change /usr/share/factorio in the binary


personally, i wouldn't expect wube to change anything to suit NixOS as it deviates so far from what is considered normal/acceptable Linux system practices that this kind of breakage is just something that you should expect.


It's about Nix (the package manager) in general, not just NixOS (the ...
by Fwiffo
Mon Jan 11, 2021 6:52 pm
Forum: Ideas and Suggestions
Topic: Allow to change /usr/share/factorio in the binary
Replies: 6
Views: 1856

Allow to change /usr/share/factorio in the binary

As mentioned in Linux config directory should follow XDG Base Directory Specification , this is a bit more exotic but it helps packaging (note: not distributing) Factorio for Nix and maybe even other distros (IIRC Debian policy would be something like "/usr/share /games /factorio").

Essentially ...
by Fwiffo
Sat Jan 09, 2021 4:09 pm
Forum: Outdated/Not implemented
Topic: Linux config directory should follow XDG Base Directory Specification
Replies: 5
Views: 3167

Re: [0.17.62] Linux config dir is $HOME/.factorio

:+1: since this should get rid of part 1 of 2 of my patch (part 2 is a bit more exotic) :-)

Backwards compatibility could be achieved by simply checking whether $HOME/.factorio exists and if that's not the case, use the XDG directories.

Go to advanced search