Release Liberal Crime Squad


ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
9,307
Age
51
Location
France, near Lyon
Here is Liberal Crime Squad, a tactical game in text mode.


preview2.png



The size of the game is due to the embedded musics, that are in ogg format (mid was also available, and while much smaller à 16Mb, it sounded less good).


History log


=========


Build 02


-----------

  • Fixed launch of the game

Build 01


-----------

  • Initial build
 
Last edited by a moderator:
could not run it. Still figuring out why. I really want to play this, a strings on the executable reveals a very nice plot.
 
=======================================================================================
PND             : /media/mocasin/pandora/menu/lcsgame_ptitseb.pnd
PND_FSTYPE      : Squashfs
APPDATADIR      : /media/mocasin/pandora/appdata/lcsgame
APPDD_FSTYPE    : ext4
PND_CPUSPEED    : <unset>
EXENAME         : runscript.sh
ARGUMENTS       : <unset>
=======================================================================================
[ START ]--- Mount the PND ----------
Mounting : mount -t squashfs -o ro "/dev/loop0" "/mnt/utmp/lcsgame"
Mounting the Union FS : mount -t aufs -o exec,dirs="/media/mocasin/pandora/appdata/lcsgame=rw+nolwh":"/mnt/pnd/lcsgame=rr" none "/mnt/utmp/lcsgame"
[SUCCESS]--- Mount the PND ----------
[ START ]--- Starting the application ( runscript.sh  ) ----------
--------------------------------------------------------------
Setting PATH to /mnt/utmp/lcsgame:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
--------------------------------------------------------------
Setting LD_LIBRARY_PATH to /mnt/utmp/lcsgame/libs:/lib:/usr/lib
System check
============
Freememory is 358
Cpu Speed is 1000
Sys Speed is 400
SDL_SOUNDFONTS=/mnt/utmp/lcsgame/TimGM6mb.sf2:/mnt/utmp/lcsgame/FluidR3_GS.sf2
[SUCCESS]--- Starting the application ( runscript.sh  ) ----------
[ START ]--- Restoring the frame buffer status ----------
[SUCCESS]--- Restoring the frame buffer status ----------
[ START ]--- Restoring nub mode ----------
[SUCCESS]--- Restoring nub mode ----------
[ START ]--- uMount the PND ----------
[ START ]--- Waiting the Union to be available ----------
[SUCCESS]--- Waiting the Union to be available ----------
rmdir: failed to remove `/mnt/utmp/lcsgame': Device or resource busy
[ START ]--- Waiting the PND mount dir to be free ----------
[SUCCESS]--- Waiting the PND mount dir to be free ----------
cleanup done
[SUCCESS]--- uMount the PND ----------
=======================================================================================
Return code is : 1



When manually setting the variables, xterm gives this:
~$ xterm -e ./crimesquad
Warning: Tried to connect to session manager, Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed


Although urxvt just blips a white xterm, and terminates immediately.


$ ./urxvt -e `pwd`/crimesquad
~$ echo $?    
0


I tried to remove my .Xauthorization file in $REAL_HOME, it just got recreated, so that should not be it either. SD cards are ext3 I think, so that should not be it (not NTFS). Going to reformat one, chmod 777 just in case and try again (some directories on my card are from root, so maybe that is something)
 
Last edited by a moderator:
Find the issue. The game was looking for the "xterm" info in codeblocks folder. I copied all terminfo localy and it works now.


Build 02


-----------

  • Fixed launch of the game
 
yay! Ty!


edit: Plays now. But I'm trying to get the ansi back to ascii ( I get à instead of lines)


Music is great, loved the atoms song.
 
Last edited by a moderator:
could not easily change the locale.  You see, the locale now is set to en_US.UTF-8, but the character encoding should change. OpenPandora has very little commands, so I'm strugling to do this:


fbnil@pandora:~$ perl -e 'for $i (32..255){print chr($i)}'
 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ


And with OEM / IBM850:


fbnil@pandora:~$ perl -e 'for $i (32..255){print chr($i)}'
 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø׃áíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■


it is just a cosmetic problem, so no big problem.


About the game:


Takes a lot to persuade ppl to join your cause. But it is fun. like a text version of the sims.


Coredump:


When I wanted to buy a gun. The NPC replies: "what exactly do you need", and the game dies. pndrun_lcsgame.out is clean. running ./runscript.sh directly also does not give an error message.


Reproducible.


1. Activate your Liberal


2. Assign an Activity


3. Recruitment and Acquisition


4. Start talking to people, once you get a conservative (won't join nor be favorable to your talk), ask for weapons. This crashes the game.
 
@FBnil: I tried to reproduced, but I didn't find that option to buy a gun. I recruited a few guys, but never had this option. Can you try a more detailled step-by-step guide?
 
Last edited by a moderator:
Sure thing.


So, there is this list of activities:


Activate Uninvolved Liberals Money: 325
ââââCODE NAMEââââââââââââSKILLâââHEALTHâââLOCATIONâââââââACTIVITYâââââââââââââââ
A - Frank Lowe 19 Liberal Shelter Recruiting
B - Beverly Osman 13 Liberal Shelter Credit Card Fraud
C - Zack Haymer 15 Liberal Shelter Selling Brownies
D - April Grant 16 Liberal Shelter Credit Card Fraud
E - Meg Zakharov 19 Liberal Shelter Selling Art
F - Wendell Murphy 17 Liberal Shelter Selling Art
G - Emily Hagee 18 Liberal Shelter Teaching Politics













Press a Letter to Assign an Activity.
[] to view other Liberal pages. T to sort people.
Press Z to assign simple tasks in bulk.


So your first character, should be recruiting:


So you press A for that first person, then D, and get a menu from 1 to 4 where 1 is recruit.


D - Recruitment and Acquisition


1 recruit


So you end up in this menu:


What type of person will Frank Lowe try to meet and recruit today?
ââââTYPEâââââââââââââââââââââââââââââââââââââââââDIFFICULTY TO ARRANGE MEETINGââ
A - Army Veteran Average
B - Athlete Average
C - College Student Very Easy
D - Computer Programmer Average
E - Dancer Average
F - Doctor Average
G - Fashion Designer Hard
H - Gang Member Easy
I - Hippie Very Easy
J - Journalist Average
K - Judge Hard
L - Lawyer Average
M - Locksmith Hard
N - Martial Artist Average
O - Musician Average
P - Mutant Nearly Impossible
Q - Prostitute Easy
R - Psychologist Average
S - Taxi Driver Average

Press a Letter to select a Profession
[] to view other Liberal pages.


Now you choose a Gang Member.


And if you return to the main menu, and press w for wait, you get this:


Adventures in Liberal Recruitment
ââFrank Lowe, Socialist ThreatâââââââââââââââââââLiberalââââââââââââââââââââââââ
Hrt: 10 Agi: 7 Top Skills:
Int: 8 Str: 8 Persuasion: 10
Wis: 1 Char: 14 Law: 2
Hlth: 8 Trans: On Foot Sword: 2
Weapon: None Teaching: 2
Clothes: Clothes Writing: 2
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ

Frank Lowe asks around for a Gang Member...
a - Lancelot Reasoner (20s, Male)
b - Richard Birkin (20s, Male)

Press enter or escape to call it a day.


Press a or b to talk to one of these, they will present you with this list:


A - Strike up a conversation about politics.
B - Drop a pickup line.
C - On second thought, don't say anything.
D - Buy weapons.


Now press D to buy weapons.


Note: if right-wing, you wont be able to talk about politics anyway, and a pickup does not work (not with Frank's skill anyway). So all you really can do is buy weapons...


and there... it crashes. Tried to begin a new game, and the crash is consistent.
 
Mmmm, I tried under gdb, and it didn't crashed


Sawyer St. Housing Projects, Jan. 18, 200Recruiting Money: 7
#─CODE NAME────────────SKILL───WEAPON─────────ARMOR──────────HEALTH───TRANSPORT─
1 Damien Sulaiman 18/2 None Clothes Liberal On Foot
2
3
4
5
6
─────────────────────────────────────────────Buyer: Damien Sulaiman─────────────

G - Buy a Liberal Gun C - Buy Liberal Clips
E - Look over Equipment

0 - Show the squad's Liberal status # - Check the status of a squad Liberal
B - Choose a buyer Enter - LeaveALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred





But I did get a buffer underrun... Strange. I'll try again.
 
The exact point is:


Hey I need a gun


What exactly do you need?


I press enter... and crash.


heh... this time I get: This is not the right place. And then returns to the main screen. Not sure. Maybe I need a new character again.
 
The exact point is:


Hey I need a gun


What exactly do you need?


I press enter... and crash.


heh... this time I get: This is not the right place. And then returns to the main screen. Not sure. Maybe I need a new character again.

Yep, I got past that without issue.


Try to play without the music, just in case...
 
Last edited by a moderator:
Back
Top