Proton: X4: Foundations (392160)

Created on 30 Nov 2018  路  15Comments  路  Source: ValveSoftware/Proton

Compatibility Report

  • Name of the game with compatibility issues: X4: Foundations
  • Steam AppID of the game: 392160

System Information

I confirm:

  • [v] that I haven't found an existing compatibility report for this game.
  • [v] that I have checked whether there are updates for my system available.


steam-392160.log

Symptoms

Game launches, plays short intro video and then hangs with black screen with custom cursor activated and menu music playing. While game launches the crash reporter is appearing and crashing when trying to collect system info.

Reproduction

  1. Install game and run it with Steam Play.
Game compatibility - Unofficial

Most helpful comment

For anybody still interested, the Linux version has now been released on Steam so Proton is no longer needed.

All 15 comments

I think that this has got something to do with utf8_64.dll in X4 Foundations/ui/core/lualibs. Wine reports an invalid ELF header for the file:

.local/share/Steam/steamapps/common/X4 Foundations/ui/core/lualibs/utf8_64.dll: invalid ELF header

later on resulting in an exception:

263.247:0022:004f:trace:module:MODULE_InitDLL (0x3b570000,PROCESS_ATTACH,(nil)) - RETURN 1
1263.247:0022:004f:trace:module:process_attach (L"utf8_64.dll",(nil)) - END
1267.355:0022:004f:trace:seh:NtRaiseException code=c0000005 flags=0 addr=0xf7673f ip=f7673f tid=004f
1267.355:0022:004f:trace:seh:NtRaiseException  info[0]=0000000000000001
1267.355:0022:004f:trace:seh:NtRaiseException  info[1]=00000000fe03c018

Symlinking the file to the (possibly?) equivalent utf8.so (or replacing it with an empty file of the same name?) from X:Rebirth removes the crash entirely and seemingly successfully enters the game engine. However, the main menu is completely borked and doesn't react to input. The game also reports being unable to initialize the UI, probably due to the problematic utf8_64.dll.

/edit: On the other hand, the invalid ELF headers might not be a problem at all, since these are reported for multiple DLLs (utf8_64.dll just caught my attention because replacing it makes the game kind of work).

I am going to add my own log into the mix. And I have found 12 'invalid ELF' entries in the log file.

steam-392160.log

I'm also adding my log:
steam-392160.log

Here is my log, hoping we can play this game soon.

steam-392160.log

The developers might add native support in a later release https://twitter.com/EGOSOFT/status/1017779469216514049

With some of the recent patches, the crash seems like we might be closer to actually running, not sure. Attaching a log.

And yeah, baracoder, Egosoft will be doing a Native Port, but it'd still be nice if this was playable now.

steam-392160.log

It seems from Foxxtrot hes log file that the execution location or something is not correct, I've seen this in the past with Native Ports of X3 as well. Unfortunately im not skilled enough to further investigate and im usually just messing around :P but maybe someone with some actual skill gets an idea with this information:
Line 15337 File I/O: Could not find file '.\ui\addons\ego_eventmonitor\ui.xml'
Line 15340 XLib::XMLInputOpenCallback(): Failed to open the file: ui/addons/ego_eventmonitor/ui.xml
Line 15343 error message is to long, i will not include this in the post.

I will check later today on my box to see if i have similar messages now with the latest patches.

@Ichinix that particular message is due to the file literally not being there. There is no ui\addons\ego_eventmonitor\ui.xml file listed in the game files.

@radcapricorn aaaahh yeah well thats a problem ))) i was in the office so i could not check.
Here is the latest log file with the last patches they have released, there is indeed a change in behavior.
steam-392160.log

@Ichinix the ui/addons/ego_eventmonitor/ui.xml is enlisted in 08_sig.cat so it's probably packed somewhere in 08.dat or 08_sig.dat. I could be wrong but the same way of packaging was used in X3 series.

Just providing some information. May or may not be helpful.

I've unpacked the files and did a search for what you are looking for here.
https://i.imgur.com/1qK4tPe.png

For anybody still interested, the Linux version has now been released on Steam so Proton is no longer needed.

Can this issue be closed now?

@JotaVeUltra I don't think so, as (unless I'm wrong) the issue still isn't resolved in proton.

I think, it's better to close this as a native Linux version is available.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AwesamLinux picture AwesamLinux  路  3Comments

matou68 picture matou68  路  3Comments

Dakunier picture Dakunier  路  3Comments

raikirii picture raikirii  路  3Comments

juppso picture juppso  路  3Comments