-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Windows, Linux][x64] UnderRail #3
Comments
Doesn't appear to work with the latest build of XnaToFna available, on Linux with Mono anyways. I compiled it manually, but I get an error converting the data
Going to guess an error on my end likely due to my lack of knowledge in compiling mono programs, so I'll give an update when a new XnaToFna build is available. BTW — It seemed to convert the locale folder, but it's huge(~20GB!) |
Since a few commits ago, XnaToFna tries to update .xnbs. Judging from the stack trace, the way mono behaves prevents FNA from accessing the content readers properly. What version of Mono are you using? Maybe a Mono update can fix it, otherwise I'll need to work around this issue when using Mono. For now, you can disable the XNB transformer by passing --skip-xnb |
Thanks for the speedy reply.
--skip-xnb seemed to run without errors, but running the game itself just black screens though, no errors. |
You need to apply more changes than the ones in the main post for Linux 😅 After all, this issue is a progress issue for Windows... lemme change that. This archive contains a WIP copy of my current UnderRail setup, containing SFML2 for Linux x64, the matching .dll.config for the .NET bindings and an The game will seem "stuck" on a borderless black window while loading, even on Windows (at least on my machine). If it's a black window with a border, it crashed. Right now the main menu shows up but I can't get in-game due to a serialization-related roadblock. A field internal to the .NET Framework / mono seems to be null after loading an asset when it shouldn't. MonoDevelop's debugger implies that the field name changed, which mismatches with both the .NET Framework reference code and Mono source code... thus not helping at all. Good luck, maybe you'll have a better chance in getting it to run 😄 |
I assume the game passes on the hardcoded paths to SFML2. If you know what method it calls, you can use The simplest Specifically, |
Yeah, that fixed it. Still getting a blackscreen ingame, strace doesn't seem to report any other path issues. Hm. |
I'd begin trying to figure out if the textures render at all or if they just fail rendering, using apitrace. The textures could be loaded improperly, MojoShader could fail (very unlikely) or the rendering color is set to black because deserialization failed again (FNA 17.10 fixed this obscure bug). Unfortunately we can't (easily) debug the rendering code using MonoDevelop - the game is obfuscated. |
URL: https://www.gog.com/game/underrail
[Optional] Game Version: GOG 1.0.2.4
XnaToFna Version: 17.09.1 devbuild
Windows:
(See discussion)
Linux:
XnaToFna arguments:
--content Data --remove-public-key-token sfmlnet-audio-2 --remove-public-key-token sfmlnet-window-2 --skip-xnb
Description: I haven't played the game enough yet, but from my short tests, it's bug-free.
Changes required:
Screenshots:
The text was updated successfully, but these errors were encountered: