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

How to run on linux? #23

Open
dotnetCarpenter opened this issue Jan 1, 2018 · 6 comments
Open

How to run on linux? #23

dotnetCarpenter opened this issue Jan 1, 2018 · 6 comments

Comments

@dotnetCarpenter
Copy link

I've downloaded the zip file and get Neon_Data and Neon.x86. I'm using Ubuntu Mate and double click opens PyPar2. I guess Neon Skylines is suppose to run via Mono since it's mostly written in C# but doing mono Neon.x86 gives me Cannot open assembly 'Neon.x86': File does not contain a valid CIL image..

How am I suppose to run the game on linux?

@maxilevi
Copy link
Owner

maxilevi commented Jan 1, 2018

I am not an expert on Linux, but Mono is already integrated into the build so you just need to execute the .x86. Also some Linux users say they need to install libgtk in order to make it work properly. I will keep investigating to see if I can find something.

@maxilevi maxilevi closed this as completed Jan 5, 2018
@dotnetCarpenter
Copy link
Author

@Zaphyk Thanks - I will try that later today. It could be that simple... Dunno why I didn't try that.

For future reference: we're talking about doing chmod +x Neon.x86 and then ./Neon.x86

@dotnetCarpenter
Copy link
Author

I can play the game with my current installed libgtk but there is many to choose from and I do get a couple of warnings in the terminal.

Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "topmenu-gtk-module"

(Neon.x86:6999): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(Neon.x86:6999): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

Here is the log:
Player.log

A couple of GTK libs from apt:

  • libgtk-dotnet3.0-cil/xenial 2.99.3-2 amd64 GTK.NET library
  • libgtk-3-0/xenial-updates,now 3.18.9-1ubuntu3.3 amd64 [installed,automatic] GTK+ graphical user interface library
  • libgtk2.0-0/xenial-updates,now 2.24.30-1ubuntu1.16.04.2 amd64 [installed,automatic] GTK+ graphical user interface library
  • libgtkglext1/xenial 1.2.0-3.2fakesync1ubuntu1 amd64 OpenGL Extension to GTK+ (shared libraries)

@maxilevi maxilevi reopened this Jan 9, 2018
@xCuri0
Copy link

xCuri0 commented Jan 28, 2018

I got the game to open after installing sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 gtk2-engines-pixbuf:i386 libcanberra-gtk-mo:i386 gtk2-engines-murrine:i386 libatk-adaptor:i386 libgail-common:i386 but when clicking ok it closes and Player.log has

Desktop is 1600 x 900 @ 60 Hz
Unable to find a supported OpenGL core profile
Failed to create valid graphics context: please ensure you meet the minimum requirements
E.g. OpenGL core profile 3.2 or later for OpenGL Core renderer
Vulkan detection: 0
No supported renderers found, exiting
 
(Filename:  Line: 546)

But glxinfo | grep renderer shows OpenGL 4.3 is supported

server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
    Max core profile version: 4.3
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
OpenGL core profile version string: 4.3 (Core Profile) Mesa 17.4.0-devel - padoka PPA
OpenGL core profile shading language version string: 4.30
OpenGL version string: 3.0 Mesa 17.4.0-devel - padoka PPA
OpenGL shading language version string: 1.30
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 17.4.0-devel - padoka PPA
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

Seems like the game is incompatible with the Mesa drivers @dotnetCarpenter what driver are you using ?

@hishamhm
Copy link

@Zaphyk one difficulty is that basically all Linux distros nowadays are x86-64, and the Linux build available is 32-bit. (Windows and Mac usually have an easier time running legacy 32-bit binaries but for Linux you'd have to install a bunch of extra stuff for that because on Linux distros basically migrated every app, so there's no large base of legacy apps like on Windows). An x86-64 build for Linux would go a long way on making it easier to play the game on Linux!

@maxilevi
Copy link
Owner

@hishamhm Oh I see, I'll build a x64 version then. Thanks for the info!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants