debian/0000755000000000000000000000000012143172713007167 5ustar debian/between.60000644000000000000000000000002311463000507010675 0ustar .so man6/Between.6 debian/patches/0000755000000000000000000000000012143172612010614 5ustar debian/patches/abs_path.patch0000644000000000000000000000662411463250505013430 0ustar Description: Use absolute paths to the installed data files. Author: Paul Wise Bug: http://sf.net/support/tracker.php?aid=2672133 --- a/game7/gameSource/common.cpp +++ b/game7/gameSource/common.cpp @@ -12,7 +12,7 @@ Image *readTGA( const char *inFileName ) { - return readTGA( "graphics", inFileName ); + return readTGA( DATADIR"graphics", inFileName ); } --- a/game7/gameSource/musicPlayer.cpp +++ b/game7/gameSource/musicPlayer.cpp @@ -425,7 +425,7 @@ void loadMusicImage( const char *inTGAFileName ) { - musicImage = readTGA( "music", inTGAFileName ); + musicImage = readTGA( DATADIR"music", inTGAFileName ); w = musicImage->getWidth(); h = musicImage->getHeight(); --- a/minorGems/util/SettingsManager.cpp +++ b/minorGems/util/SettingsManager.cpp @@ -379,7 +379,7 @@ SettingsManagerStaticMembers::SettingsManagerStaticMembers() - : mDirectoryName( stringDuplicate( "settings" ) ), + : mDirectoryName( stringDuplicate( ETCDIR ) ), mHashSalt( stringDuplicate( "default_salt" ) ) { } --- a/game7/gameSource/Client.cpp +++ b/game7/gameSource/Client.cpp @@ -6,6 +6,8 @@ #include "minorGems/util/SettingsManager.h" #include +#include +#include char *Client::sServerURL = NULL; @@ -254,7 +256,21 @@ mPlayerID = stringDuplicate( returnedID ); - SettingsManager::setSetting( "playerID", mPlayerID ); + #define SETTINGS "/.between" + char* home = getenv( "HOME" ); + size_t len = strlen( home ); + size_t len2 = sizeof( SETTINGS ); + char* dir = (char*)malloc( len + len2 ); + if( dir ){ + strcpy( dir, home ); + if( dir[len-1] == '/') strcpy( dir + len - 1, SETTINGS ); + else strcpy( dir + len, SETTINGS ); + mkdir( dir, 0777 ); + char* dirName = SettingsManager::getDirectoryName(); + SettingsManager::setDirectoryName( dir ); + SettingsManager::setSetting( "playerID", mPlayerID ); + SettingsManager::setDirectoryName( dirName ); + } else SettingsManager::setSetting( "playerID", mPlayerID ); } else { resultWellFormatted = false; --- a/minorGems/util/TranslationManager.cpp +++ b/minorGems/util/TranslationManager.cpp @@ -162,7 +162,7 @@ mNaturalLanguageStrings( NULL ) { // default - setDirectoryAndLanguage( "languages", "English" ); + setDirectoryAndLanguage( DATADIR"languages", "English" ); } --- a/game7/gameSource/game.cpp +++ b/game7/gameSource/game.cpp @@ -1411,7 +1411,7 @@ void GameSceneHandler::initFromFiles() { // translation language - File languageNameFile( NULL, "language.txt" ); + File languageNameFile( new Path(DATADIR), "language.txt" ); if( languageNameFile.exists() ) { char *languageNameText = languageNameFile.readFileContents(); @@ -1424,6 +1424,7 @@ if( numTokens > 0 ) { char *languageName = *( tokens->getElement( 0 ) ); + TranslationManager::setDirectoryName( DATADIR "/languages" ); TranslationManager::setLanguage( languageName ); } else { debian/patches/series0000644000000000000000000000001711166325573012041 0ustar abs_path.patch debian/watch0000644000000000000000000000015211476347724010234 0ustar version=3 opts=dversionmangle=s/\+dfsg[0-9]*// http://sf.net/hcsoftware/Between_v(.*)_UnixSource\.tar\.gz debian/install0000644000000000000000000000075312142650442010564 0ustar 32x32/between.png usr/share/icons/hicolor/32x32/apps 32x32/between.png usr/share/pixmaps 32x32/between.xpm usr/share/pixmaps between.png usr/share/icons/hicolor/128x128/apps debian/*.desktop usr/share/applications game7/gameSource/Between usr/games game7/gameSource/graphics usr/share/games/between game7/gameSource/language.txt usr/share/games/between game7/gameSource/languages usr/share/games/between game7/gameSource/music usr/share/games/between game7/gameSource/settings/* etc/between debian/copyright0000644000000000000000000000726312142650442011131 0ustar This package was packaged by Paul Wise on 2008-03-19 It was downloaded from http://downloads.sourceforge.net/hcsoftware/ Upstream Author: Jason Rohrer Copyright: None, placed in the public domain Some files have different authors/copyright/licences: minorGems/crypto/hashes/sha*.h: No copyright (public domain) minorGems/io/file/win32/dirent.*: Copyright 1997 Kevlin Henney minorGems/io/serialPort/win32/COMPort.*: Copyright 2000 UAB BBDSoft minorGems/util/development/leakTracer/: No copyright (public domain) minorGems/network/linux/gnut_*: Copyright 2000 Josh Pieper minorGems/network/win32/SocketClientWin32.cpp: Copyright 2000 Josh Pieper minorGems/network/win32/SocketWin32.cpp: Copyright 2000 Josh Pieper minorGems/network/linux/SocketClientLinux.cpp: Copyright 2000 Josh Pieper minorGems/network/linux/SocketLinux.cpp: Copyright 2000 Josh Pieper minorGems/network/unix/SocketUDPUnix.cpp: Copyright 2000 Josh Pieper License: None, placed in the public domain sha1: Originally witten by Steve Reid Modified by Aaron D. Gifford NO COPYRIGHT - THIS IS 100% IN THE PUBLIC DOMAIN The original unmodified version is available at: ftp://ftp.funet.fi/pub/crypt/hash/sha/sha1.c THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. dirent: POSIX directory browsing functions and types for Win32. Kevlin Henney (mailto:kevlin@acm.org), March 1997. Copyright Kevlin Henney, 1997. All rights reserved. Permission to use, copy, modify, and distribute this software and its documentation for any purpose is hereby granted without fee, provided that this copyright and permissions notice appear in all copies and derivatives, and that no charge may be made for the software and its documentation except to cover cost of distribution. This software is supplied "as is" without express or implied warranty. COMPort: General component library for WIN32 Copyright (C) 2000, UAB BBDSoft ( http://www.bbdsoft.com/ ) This material is provided "as is", with absolutely no warranty expressed or implied. Any use is at your own risk. Permission to use or copy this software for any purpose is hereby granted without fee, provided the above notices are retained on all copies. Permission to modify the code and to distribute modified code is granted, provided the above notices are retained, and a notice that the code was modified is included with the above copyright notice. The author of this program may be contacted at developers@bbdsoft.com leakTracer: Authors: Erwin S. Andreasen Henner Zeller This program is Public Domain gnut & Socket*: This file is distributed under the GPL. On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-*'. debian/menu0000644000000000000000000000032211476345433010064 0ustar ?package(between):needs="X11" \ section="Games/Adventure" \ title="Between" \ longtitle="game about consciousness and isolation" \ command="/usr/games/between" \ icon="/usr/share/pixmaps/between.xpm" debian/between.desktop0000644000000000000000000000041711503620166012214 0ustar # Forwarded to http://sf.net/support/tracker.php?aid=2672143 [Desktop Entry] Type=Application Name=Between GenericName=Consciousness and isolation game Comment=game about consciousness and isolation Icon=between Exec=between Terminal=false Categories=Game;AdventureGame; debian/manpages0000644000000000000000000000004111462777476010724 0ustar debian/Between.6 debian/between.6debian/Between.60000644000000000000000000000532211503616723010654 0ustar .\" Placed in the public domain by Paul Wise .TH "between" "6" "December 2010" "" "Games" .SH "NAME" between \- a game about consciousness and isolation .SH "SYNOPSIS" .B between .SH "DESCRIPTION" Between is a video game written by Jason Rohrer about consciousness and isolation. .PP Between is a multiplayer-only art game. As a result, some people like it, many people do not get it and some people hate it. Search the internet for the author's name and the game title to find some discussion about the game before dismissing it. Some sample discussions and reactions are listed below. .PP You can play Between with a friend or stranger over the Internet. Both players will see a field, sky, clouds, a square structure and a shimmering tower. The interface reveals the initial controls (reference below). The players place red-green-blue blocks on the field and pile them upwards. Placing blocks over the shimmering tower causes pleasant tones while the colours match. Soon enough the players will not be able to match any more blocks with the complex patterns and colour variety in the tower. To the left is a bed indicating sleep. To the right is a bright room indicating wakefulness. Cycling through the dream and wakefulness states gives players three different realities in which to build the shimmering tower. Eventually in the state between dream and reality, mysterious interactions between the two players block placements and reality cycling patterns will result in blocks with new colours and patterns appearing on the field. These new blocks can then be used to match more and more of the shimmering tower over time... .PP The most interesting part about this game is the emotions it evokes within the player of the game. The ultra-low-res pixel art helps here, by not being too distracting and by leaving plenty room for viewer interpretation. .PP .SH "USAGE" Between has no command-line options. .PP The left and right arrow keys move left and right. .PP The spacebar is used to place or grab blocks. .PP The b/n keys are used to change the colour of the placed blocks. .PP The s/w keys are used to sleep/wake the player. .PP The Esc key is used to quit the game. .PP The game resolution and use of fullscreen or a window can be set by editing the files in /etc/between. .SH "SEE ALSO" The website: http://www.esquire.com/features/best-and-brightest-2008/rohrer-game .PP http://www.destructoid.com/jason-rohrer-s-new-game-between-is-out-111382.phtml .PP http://mile222.com/2008/11/jason-rohrers-latest-game-between-leaves-me-unenthused/ .PP http://www.gamasutra.com/view/feature/3853/persuasive_games_disjunctive_play.php .PP http://www.gamerswithjobs.com/node/42515 .PP http://kotaku.com/5096755/disjunctive-play-and-otherness-between debian/changelog0000644000000000000000000000117112143167717011051 0ustar between (6+dfsg1-3) unstable; urgency=low * Bump the debhelper compat to 9 and enable extra hardening * wrap-and-sort -sa to make diffs more readable * Bump Standards-Version, no changes needed * Fix the VCS URLs to work and be canonical -- Paul Wise Fri, 10 May 2013 21:02:05 +0800 between (6+dfsg1-2) unstable; urgency=low * Document GPL code in the copyright file (Closes: #614052) -- Paul Wise Mon, 21 Feb 2011 11:30:11 +0800 between (6+dfsg1-1) unstable; urgency=low * Initial release (Closes: #524846) -- Paul Wise Mon, 20 Dec 2010 18:50:15 +0800 debian/source/0000755000000000000000000000000012143172612010465 5ustar debian/source/format0000644000000000000000000000001411462777730011712 0ustar 3.0 (quilt) debian/control0000644000000000000000000000372112143166524010600 0ustar Source: between Section: games Priority: extra Maintainer: Debian Games Team Uploaders: Paul Wise Build-Depends: debhelper (>= 9), imagemagick, libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libsdl1.2-dev Standards-Version: 3.9.4 Homepage: http://www.esquire.com/features/best-and-brightest-2008/rohrer-game Vcs-Svn: svn://anonscm.debian.org/pkg-games/packages/trunk/between/ Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-games/packages/trunk/between/ Package: between Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: game about consciousness and isolation Between is a pixelated art game for two players by Jason Rohrer. . You know exactly what you need to do -- you can see it shimmering right there in front of you. You can see it while dreaming, too, and the difference has become subtle. Dreams wake into dreams, and people blend in and out: real characters and dream characters, all woven into the same script. Finally, they fade completely, and you're alone in the expanse with the construction. With time, you feel something growing, a pinhole that eventually yawns into a deep ravine of longing. The construction languishes, though the expanse seems indifferent. . One night, in a dream, they appear: things that you clearly could not have conjured on your own. Not snowflakes. Not the self-similar forms of leaves. Not distant planets' erosion networks as viewed through telescopes. Not those things that are beautifully external but lack the signatures of consciousness. These things that appear are ugly and non-procedural: indecipherable transmissions bubbling up through static, faded messages floating in bottles, and charcoal handprints on cave walls. Evidence has reached you through time of unknown duration and distance of unknown magnitude, but stale evidence is still evidence. . Somewhere, across whatever barriers stand between, is an "other". debian/links0000644000000000000000000000004411463000277010227 0ustar usr/games/Between usr/games/between debian/rules0000755000000000000000000000415012142647346010257 0ustar #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS=hardening=+all %: dh $@ --parallel override_dh_auto_configure: chmod u+x game7/configure cd game7 && platformSelection=1 ./configure override_dh_auto_build: convert -type Grayscale -negate ./game7/build/macOSX/iconMask.png mask.png composite -compose CopyOpacity mask.png ./game7/build/macOSX/iconColor.png between.png mkdir -p 32x32 convert -scale 32x32 between.png 32x32/between.png convert 32x32/between.png 32x32/between.xpm sed -i -e 's/-lX11//' game7/gameSource/Makefile sed -i -e 's/^DEBUG_FLAG = .*/DEBUG_FLAG = /' game7/gameSource/Makefile sed -i -e 's/^OPTIMIZE_FLAG = .*/OPTIMIZE_FLAG = /' game7/gameSource/Makefile sed -i -e 's/^COMPILE_FLAGS = /COMPILE_FLAGS = $$(CFLAGS) $$(CPPFLAGS) /' game7/gameSource/Makefile sed -i -e 's/^LINK_FLAGS = /LINK_FLAGS = $$(LDFLAGS) /' game7/gameSource/Makefile $(MAKE) -C game7/gameSource LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS) -DETCDIR=\\\"/etc/between\\\" -DDATADIR=\\\"/usr/share/games/between/\\\"" override_dh_auto_clean: [ ! -f game7/gameSource/Makefile ] || $(MAKE) -C game7/gameSource clean rm -f game7/gameSource/Makefile rm -f game7/gameSource/Makefile.minorGems_dependencies rm -rf 32x32 between.png mask.png override_dh_installchangelogs: dh_installchangelogs game7/documentation/changeLog.txt V=6 P=Between p=between sfp=hcsoftware/Between get-orig-source: wget -c http://downloads.sourceforge.net/project/$(sfp)/v$(V)/$(P)_v$(V)_UnixSource.tar.gz tar zxf $(P)_v$(V)_UnixSource.tar.gz # Embedded code copies, unused rm $(P)_v$(V)_UnixSource/minorGems/network/linux/gnut_* # VCS file rm $(P)_v$(V)_UnixSource/minorGems/.hgtags # Pre-built Windows libraries, unused rm $(P)_v$(V)_UnixSource/game7/build/win32/*.dll # non-free, unused rm -r $(P)_v$(V)_UnixSource/minorGems/util/development/fortify rm $(P)_v$(V)_UnixSource/minorGems/graphics/openGL/tga.* rm $(P)_v$(V)_UnixSource/minorGems/graphics/openGL/texture.* mv $(P)_v$(V)_UnixSource $(p)-$(V)+dfsg1.orig tar zcf ../$(p)_$(V)+dfsg1.orig.tar.gz $(p)-$(V)+dfsg1.orig rm -rf $(P)_v$(V)_UnixSource.tar.gz $(p)-$(V)+dfsg1.orig debian/compat0000644000000000000000000000000212142641650010365 0ustar 9