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

Add linux compatibility #39

Closed
wants to merge 2 commits into from
Closed

Add linux compatibility #39

wants to merge 2 commits into from

Conversation

DotWith
Copy link
Contributor

@DotWith DotWith commented Nov 22, 2022

This PR fixes #38 and #29. Most of these fixes are taken directly from Momentum Mod.

My IDE removes white-spaces automatically

TODO

  • Add Linux CI
  • Fix TOGL
  • Fix Game from crashing after startup screen
  • Add instructions in readme for linux
  • Update to GCC-9
  • Update to C++ 17
  • Fix Parentheses
  • Fix import in episodic

How to compile

  1. Download steam-runtime
  2. Execute in the directory:
cd steam-runtime 
./setup_chroot.sh --i386
  1. Next go into src/sp and execute:
cd src/sp
./createallprojects
sudo schroot --chroot steamrt_scout_i386 -- make -f Everything.mak
  1. The files should be compiled in game/mod_sdk2013ce/bin

* Disabled togl due to errors
* Fixed parentheses
* Updated to GCC-9 and C++ 17
* Fixed an import in episodic
@DotWith
Copy link
Contributor Author

DotWith commented Nov 23, 2022

The GCC upgrade crashes the game after startup because the engine bin is now outdated.

@DotWith
Copy link
Contributor Author

DotWith commented Dec 26, 2022

This doesn't work because it's using a newer gcc and steam-runtime. I will redo this pr once I have the time.

@DotWith DotWith closed this Dec 26, 2022
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

Successfully merging this pull request may close these issues.

[BUG] Linux compiling with steam-runtime
1 participant