A port of Digital Psychosis' 1994 platform shooter for the Acorn Archimedes.
Young Sigmund has a few problems. To help him resolve his mental instability you must enter the surreal world of his inner mind and shut down the malfunctioning brain cells.
Guide Sigmund through the Ego, Psyche and Id zones - each one 300 times the size of the screen - to locate the eight renegade neurons, entering them one by one to find and trigger their self-destruct system.
License: free
Requirements: SDL, SDL_mixer
| Sound: | Play in X: | Play in Console: | Multiplayer: | Network Play: | 3D Acceleration: | Source Available: |
|---|---|---|---|---|---|---|
| yes | yes | yes | no | no | yes | yes |
Submitted by blotwell on 2007-07-24.

Unfortunately compiling it is messy. If I don't edit the Makefile and run the game from the extracted directory (the README states I needn't install it) it seg faults after pressing space on the start screen. Very briefly I can see Digital Pychosis in a gold curly font with the border graphics so it is finding the data files.
If I edit the makefile (INSTALLBIN=/home/woden/Source/asylum-0.2, INSTALLRESOURCEPATH=/home/woden/Source/asylum-0.2, INSTALLHISCORES=/home/woden/Source/asylum-0.2) and run it I get this :-
woden[asylum-0.2]$ make
Makefile:29: warning: overriding commands for target `/home/woden/Source/asylum-0.2'
Makefile:23: warning: ignoring old commands for target `/home/woden/Source/asylum-0.2'
Makefile:35: warning: overriding commands for target `/home/woden/Source/asylum-0.2'
Makefile:29: warning: ignoring old commands for target `/home/woden/Source/asylum-0.2'
gcc -x c++ -O2 -funsigned-char -DRESOURCEPATH=\"/home/woden/Source/asylum-0.2\" -DSCOREPATH=\"/home/woden/Source/asylum-0.2\" -o asylum asylum.c -lm -lSDL -lSDL_mixer -lstdc++
asylum.c: In function `void bonusplot()':
asylum.c:2982: warning: comparison is always false due to limited range of data type
asylum.c: In function `Mix_Chunk* make_sound(char, int, int, int, char)':
asylum.c:6138: warning: converting to `int' from `double'
asylum.c:6178: warning: converting to `Uint16' from `double'
asylum.c:6179: warning: converting to `Uint16' from `double'
asylum.c: In function `void sdl_music_hook(void*, Uint8*, int)':
asylum.c:6263: warning: converting to `short unsigned int' from `double'
asylum.c:6264: warning: converting to `short unsigned int' from `double'
woden[asylum-0.2]$ ./asylum
Sound disabled: loading sound effects failed
A file vital to the game cannot be loaded. Please reset your machine and try againwoden[asylum-0.2]$
woden[asylum-0.2]$
I don't understand why this doesn't work as I am currently in /home/woden/Source/asylum-0.2 . Also I think you should fix the limited data range warning above as that's going to be a bug.
There is a folder called highscores (it's empty) which I imagine you are going to save to? The Makefile states this is to be created in /var/games/asylum so I'm wondering how you are going to save to that!
The README states "the default keys are Z, X, ;, ." although I haven't found what "." does and it fails to mention Enter is fire. Perhaps Enter is supposed to be "."?
Thankfully the controls can be redefined but unfortunately the joystick doesn't work: int swi_joystick_read(int a,int* x,int* y) is empty.
"Save Settings" is interesting. I saw it once and then had to hunt it down. If you press Escape a menu pops-up. In-game there are two options otherwise there are three. To get the fourth option "Save Settings" you have to choose one of the first three and on returning to the menu the "Save Settings" option appears.
I've enjoyed what I've played of the game but there are some issues with the gameplay. The height of some of the platforms the guy has to jump onto are barely higher than the guy which makes the task tricky. The map I played was huge. I kept dropping down and I didn't think I was going to find the bottom!
Is there anyway of downloading and playing Asylum on pc? I have Windows XP but cannot find anywhere to download it.
Thank you in advance,
Tom
woden[asylum-0.2]$ make install
Makefile:29: warning: overriding commands for target `/home/woden/Games/asylum-0.2'
Makefile:23: warning: ignoring old commands for target `/home/woden/Games/asylum-0.2'
Makefile:35: warning: overriding commands for target `/home/woden/Games/asylum-0.2'
Makefile:29: warning: ignoring old commands for target `/home/woden/Games/asylum-0.2'
mkdir -p /home/woden/Games/asylum-0.2
chgrp games /home/woden/Games/asylum-0.2
chgrp: changing group of `/home/woden/Games/asylum-0.2': Operation not permitted
make: *** [/home/woden/Games/asylum-0.2] Error 1
woden[asylum-0.2]$
If I delete the chgrp lines (there are two) all I get is an empty /home/woden/Games/asylum-0.2.
Looking at the Makefile I'd say it was screwed.
It still seg faults for me when pressing space on the start screen. Perhaps others will have better luck running their own binary.
Regards
Thanks for the feedback! I had thought the difficulty of jumping onto some platforms was how the original author had intended the game, but since you commented on it I took another look and lo, behold and by golly there was in fact a bug. This is fixed in 0.2.1, and I tried to make the Makefile slightly simpler too.
The segfault on startup was tracked down by Dmitry Marakasov building the game on FreeBSD, and is fixed in SVN. And everything else you suggested ... I took note, it's on the wishlist. :)
chrisclark781 at hotmail.com
The problem seems to be little-endian ints in the data files; the code was assuming it could treat them as native ints. I've fixed several such places in the latest SVN, but I can't promise I found them all.
Try building the new version and let me know how it goes. You can also email me directly from the "developer contact" page on the Sourceforge site.
now time's up to play it :) - thank you very much for another kewl oss game!
That means SDL doesn't know how to deliver a 320x256 fullscreen mode. Probably some officious person removed it from your X installation because nobody would ever need something so archaic. (What platform or distribution are you using?)
The solution is to modify your XF86Config, but that may be nontrivial if you don't already know how to do it (try Google.)
The other solution is to design a new set of sprites for Asylum at a more reasonable resolution (640x512 or higher) and send them to me, which will give me an incentive to add higher resolution support to the code :).
Trying to compile on macos.
I fixed the issue wth SDL libraries and includes but i get this error when compiling
/usr/bin/ld: Undefined symbols: _main
Hope you can shed some light on this!
This is a general discussion forum, so I reply to questions to which I know the answer and leave the others for someone who does ... if you want them treated as support requests you should be on the sourceforge site :).
On the OS X question below, assuming that's what you wanted an answer to: I know nothing about OS X, which is why I don't feel I'm the best person to respond. If you post the command line you're using to compile, and how you fixed the issue with SDL, I'll look over them for obvious mistakes, but I still think you'd be better posting on an OS X-related board. Heck, you'd be better posting in the general happypenguin forums, simply because they have higher readership.
I'd say it's a good port of an (admittedly very) old game, but still fun to play and I did see no showstoppers. I like platformers, so that's a 4 from my side :)
Pit