- Project
-
Spooner/Flipped (at github)
- Author
-
Bil Bas (aka Spooner) bil dot bagpuss at gmail dot com
- License
-
GPL v3
A gui-based tool for the game, Sleep is Death, aiming at improving the viewing, and enabling simple editing of, flip-book folders.
-
Wiki (including screenshots).
-
View individual frames, with thumbnails for easy navigation.
-
Start/previous/next/end navigation.
-
Play/pause flip-books.
-
Merge existing flip-books (makes playing games with breaks/pauses a lot more manageable, believe me!).
-
Delete frames (individual, by range or all identical).
-
Save edited flip-book in format identical to that created by the game. This also allows the re-creation of flip-books with new formats, by altering your templates folder.
Installation has been tested on Windows 7 x64, Kubuntu 10.04 x64 and Mac OS X Leopard. It should be possible to run it on any Windows, Linux or OS X machine.
-
Get the latest release from github.
-
Unpack the archive somewhere, for example into a directory inside your Sleep Is Death folder.
-
Click on ‘flipped/bin/flipped.exe’.
The executable does not have any dependencies on having the a Ruby interpreter or required libraries installed.
This should work on any system, but requires a bit of setup.
The application was created and tested using Ruby 1.8.7. It is only guaranteed to work with that version of Ruby, but should also operate correctly with Ruby 1.8.6.
Install using the 1.8.7 Windows installer) (you require “Ruby 1.8.7-p249” or later release of “1.8.x”. That is, not “1.9.x”).
Install Ruby 1.8.7 and the FOX gui toolkit, by running ‘flipped/install_ruby_ubuntu.sh’).
Some Linux distributions come with Ruby 1.8.7 (or 1.8.6). You can check if it is already installed by typing:
ruby --version
Install Ruby 1.8.7 using the OS X 10.5 (Leopard) installer (rubyosx.rubyforge.org/). If you are using OS X 10.3 (Tiger) or 10.4 (Panther) you will be fine using the Ruby 1.8.6 installers.
Apparently, OS X now comes ready with Ruby 1.8.7 (or 1.8.6). You can check if it is already installed by typing:
ruby --version
After installing Ruby, you must install a few required libraries (specifically FXRuby, r18n and JSON). Execute ‘flipped/install_libraries.rb’ to accomplish this. This will take a minute or so to automatically download and install the libraries.
On Linux this could take a while longer, since the script will have to compile FXRuby & JSON for you (you will need a build environment set up for this, including applications like gcc, but this is assumed as already being installed).
Choose one of:
-
Get the latest stable release from github (recommended).
-
Clone the project repository using git:
git clone git://github.com/Spooner/flipped.git
-
Download latest git snapshot zip/tar package.
It is probably easiest to put Flipped in a directory inside SleepIsDeath, but it doesn’t matter where it is.
Click on ‘flipped/lib/flipped.rbw’ to start the application. If it doesn’t start up properly, double check that you have performed step #1 and #2, above.
Just clicking on the application probably won’t work unless you’ve manually set up some aliases and paths. However, this should work regardless:
ruby1.8 ./flipped/lib/flipped.rbw
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Full text of the license is provided in COPYING.txt
-
Thanks to SiliconEidolon, Pie and ubik for testing and feedback.
-
Thanks to SiDtube for providing a marvellous community site for SiD players.
-
Thanks to github for hosting my project.
-
FXRuby library by Lyle Johnson, based on the FOX Toolkit by Jeroen van der Zijp.
-
r18n provides internationalisation support.
-
JSON provides serialisation in communications.
-
Ocra, used to create the standalone Windows executable.
-
Default templates directory, taken from SleepIsDeath v14c, by Jason Rohrer.
-
RubyMine Ruby IDE was used to develop the application. Enormous thanks to JetBrains for generously giving me a license for their excellent IDE in order to develop free, open-source applications.