Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.43 KB

README.md

File metadata and controls

43 lines (29 loc) · 1.43 KB

Define your own games for Pinball 2000 plattform

Build Status Coverage Status bitHound Score

Limitations

Only runs on Linux

We are using parport2 low-level driver, which is only available for linux.

Installation

Libraries

  1. for new ubuntu follow the instructions at https://github.com/rogerwang/node-webkit/wiki/The-solution-of-lacking-libudev.so.0
  2. sudo npm install -g grunt-cli bower
  3. npm install
  4. npm run-script install-deps
  5. because we use compass for frontend we need ruby and compass
    1. sudo apt-get install ruby
    2. gem install compass
  6. in node-webkit native addons have to be built manually
    1. sudo npm install -g nw-gyp
    2. cd src/app/node/node_modules/FlipperDriver/node_modules/parport2
    3. nw-gyp configure --target=0.11.2
    4. nw-gyp build

Build

  1. grunt build
  2. The executables can be found at dist/releases/Pinball2000

Run

Execute the generated executable with sudo. We need root privileges in order to access the parallel port.

Run Tests

  1. grunt hub:test