Skip to content

bil-bas/flipped

Repository files navigation

Flipped - The flip-book tool

Project

Spooner/Flipped (at github)

Author

Bil Bas (aka Spooner) bil dot bagpuss at gmail dot com

License

GPL v3

Description

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).

Features

Viewing

  • View individual frames, with thumbnails for easy navigation.

  • Start/previous/next/end navigation.

  • Play/pause flip-books.

Editing

  • 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

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.

Using binary (Windows only)

  1. Get the latest release from github.

  2. Unpack the archive somewhere, for example into a directory inside your Sleep Is Death folder.

  3. Click on ‘flipped/bin/flipped.exe’.

The executable does not have any dependencies on having the a Ruby interpreter or required libraries installed.

Using source-code (Any system, including Windows)

This should work on any system, but requires a bit of setup.

1. Install Ruby

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.

Windows

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”).

Linux

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
Mac (OS X)

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

2. Install required libraries

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).

3 Get the source code for Flipped

Choose one of:

  1. Get the latest stable release from github (recommended).

  2. Clone the project repository using git:

    git clone git://github.com/Spooner/flipped.git
  3. 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.

4. Run application

Windows & Mac (OS X)

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.

Linux

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

License

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

Credits

  • 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.

About

Tool to view and manipulate flip-books created by the game Sleep Is Death (http://sleepisdeath.net).

Resources

License

Stars

Watchers

Forks

Packages

No packages published