Git Product home page Git Product logo

nukeandbeans / bulletproof-arma-launcher Goto Github PK

View Code? Open in Web Editor NEW

This project forked from overfl0/bulletproof-arma-launcher

0.0 1.0 0.0 6.34 MB

Customisable mod installer and launcher for Arma 3 mods that takes care of *everything* for your community players! Why "bulletproof", you ask? Because "Idiotensicher" was mean :)

License: GNU General Public License v3.0

Batchfile 0.17% Python 99.83%

bulletproof-arma-launcher's Introduction

Create your own launcher

See the extensive documentation on the wiki for a step by step guide. The wiki is updated much more often than this readme file.

Install

Manually installing the environment is now quite tricky as it involves, among other things, getting the right version of Kivy (1.9.1) and patching it with our own custom patches (located in the Patches directory of the Bulletproof-Build-Environment repository).

We're trying to make it as easy as possible to start working on the launcher and we have created a Vagrant configuration file that will create a virtual machine containing everything that is needed to code right away.

Until issues with Kivy are fixed and the right patches are included in the Kivy source code, this is the preferred method of working on the launcher.

Running

LiClipse

Open LiClipse, select the default workspace and run launcher.py

Manually

Double click src\launcher.py or open a command prompt and execute python src\launcher.py

Fake Steam, Arma, TeamSpeak installation

To fake Steam, Arma, TeamSpeak installation and set several other internal variables, copy devmode_sample.conf to devmode.conf and put it in the same directory as you're running the launcher from. Then, uncomment and/or modify its contents accordingly.

Running The Tests

To run the Tests cd into the src dir and run,

for unit test

nosetests ../tests -a "!integration" --nocapture

for integration tests

nosetests ../tests -a "integration" --nocapture

Important: To run those tests under Linux or Cygwin, replace the double quotes (") with single quotes (').

Build

To create a <launcher_name>.exe executable do the following:

Automatically

Make sure the config\config.py file is populated. Copy config_sample.py and modify its values otherwise. Execute the file build.bat. The script will first run tests and then create the executable if the tests pass.

Manually

From the project root execute:

python <path/to/python>\Python27\Scripts\pyinstaller-script.py launcher.spec

If necessary execute the following command to rebuild the spec file. A newly spec file will not work, see kivy packaging wiki:

pyinstaller --name <launcher name> --onefile src\launcher.py

However, this should normally not be required as the spec file should already be present.

bulletproof-arma-launcher's People

Contributors

jonpas avatar overfl0 avatar sighter avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.