Skip to content
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

Ikenfell (854940) #4248

Closed
2 tasks done
Darkhogg opened this issue Oct 8, 2020 · 6 comments
Closed
2 tasks done

Ikenfell (854940) #4248

Darkhogg opened this issue Oct 8, 2020 · 6 comments
Labels
Game compatibility - Unofficial Games not expected to work without issues

Comments

@Darkhogg
Copy link

Darkhogg commented Oct 8, 2020

System Information

I confirm:

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

Symptoms

Game doesn't start.

The issue seems to be partially fixed by using the proton version linked in #3886, but some extra errors appear about other unimplemented interfaces or whatever that error means.

Reproduction

I guess just try to launch it.

@kisak-valve kisak-valve added the Game compatibility - Unofficial Games not expected to work without issues label Oct 8, 2020
@tealnoise
Copy link

Yep, along with the changes mentioned in #3886 it looks like it's missing an update to the UserStats version (expects 012, but the latest in TOT is 011). Created a quick branch here that takes the relevant commit from that fork and adding the update to the user stats; and with those changes was able to launch the game.

In general, it looks like the root cause of the issue is based on some updates to the steamworks sdk in version 1.49 that looks to have incremented the expected version numbers (see here).

@Darkhogg
Copy link
Author

Darkhogg commented Oct 9, 2020

I can confirm that @tealnoise 's fixes work like a charm, the game runs perfectly after launching.

@rvolgers
Copy link

rvolgers commented Oct 11, 2020

For those looking for a quick fix, doing a quick and dirty patch on the game binary seems to work as well. Do this at your own risk, of course. I run this Python 3 script in the game directory (the one that contains IkenfellWin.exe):

#!/usr/bin/env python3

def u(txt):
    return txt.encode('utf-16le')

with open('IkenfellWin.exe', 'r+b') as f:

    data = f.read()
    f.seek(0)
    
    assert u('SteamUser021') in data, "patch already applied"

    open('IkenfellWin_backup.exe', 'wb+').write(data)

    data2 = data
    data2 = data2.replace(u('SteamUser021'), u('SteamUser020'))
    data2 = data2.replace(u('STEAMUSERSTATS_INTERFACE_VERSION012'), u('STEAMUSERSTATS_INTERFACE_VERSION011'))

    assert len(data) == len(data2)

    f.write(data2)

After applying this patch I can run the game from Steam normally. I do have it set to use the latest 5.x.x version of Proton I can select within Steam, so if it doesn't work for you, you might need to change that setting.

@Darkhogg
Copy link
Author

It seems that Ikenfell works perfectly for me after the latest Proton 5.13 release, without needing to do any manual patching/compiling from my part.

If @tealnoise or @rvolgers can check and confirm this, I'll close this issue.

@tealnoise
Copy link

Can confirm latest proton release supports the game (as it now supports steamworks sdk versions 1.49 and 1.50).

@rvolgers
Copy link

Fwiw, can confirm it works for me too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Game compatibility - Unofficial Games not expected to work without issues
Projects
None yet
Development

No branches or pull requests

4 participants