Skip to content
This repository has been archived by the owner on Dec 28, 2019. It is now read-only.

[DEPRECATED] A wrapper for Chobby to launch Chobby + engine + set default configs up, etc

License

Notifications You must be signed in to change notification settings

Spring-Chobby/spring-launcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecation

This Python + Qt launcher was an early solution for a Spring game distribution launcher and has been deprecated in favor of https://github.com/gajop/spring-launcher, an Electron solution

Launcher

A wrapper for Spring to distribute and launch Spring games and Lua lobbies.

Building natively (Recommended)

Requirements: PyQT5, pyinstaller (for freezing). See additional Python version restrictions for pyinstaller: https://github.com/pyinstaller/pyinstaller

Setting up a virtualenv and installing requirements:

  1. Setup a virtual environment: virtualenv --python=/usr/bin/python3 env
  2. Activate the virtual environment: source env/bin/activate
  3. Install dependencies: pip install PyQT5 pyinstaller

Freezing:

  1. Activate the virtual environment: source env/bin/activate
  2. Change into the spring_launcher directory: cd spring_launcher
  3. Freeze it with pyinstaller: pyinstaller --windowed launcher.spec -y

Building on Wine (Unsupported)

Requires docker to be installed and user to be added to the docker group.

First enter the docker_wine folder and build:

docker build . -t chwine

Then to create a frozen release run the following command from the root of the repository:

docker run -v $PWD/spring_launcher:/spring_launcher chwine /bin/sh -c 'cd spring_launcher; wine /home/user/.wine/drive_c/Python35-32/Scripts/pyinstaller.exe --noconsole la uncher.spec -y'

To test the frozen release (doesn't work for me), run the below:

docker run --net host -e DISPLAY=$DISPLAY -v $PWD/spring_launcher:/spring_launcher chwine /bin/sh -c 'cd spring_launcher; wine dist/launcher/launcher.exe'

About

[DEPRECATED] A wrapper for Chobby to launch Chobby + engine + set default configs up, etc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •