Package Details: psychonauts 20130506-1

Git Clone URL: (read-only)
Package Base: psychonauts
Description: A mind-bending platforming adventure (game sold separately)
Upstream URL:
Licenses: custom
Submitter: ejona86
Maintainer: ejona86
Last Packager: ejona86
Votes: 13
Popularity: 0.283918
First Submitted: 2012-06-02 20:21
Last Updated: 2015-06-20 16:14

Latest Comments

C5OK5Y commented on 2013-07-11 10:18

@ejona86: The current method of extracting the the Mojo Installer could be improved in a way that, as unzip always returns 1 (the Mojo Installer isn't a valid ZIP file), it is only continued when unzip returns 0 (improbable) or 1. This is useful because unzip can return various values which can point to real issues - in those cases it is best to abort the build. The code:

# if unzip returns a value different from 0, save it to $_return
unzip -o "${_gamepkg}" -d "${pkgname}-${pkgver}" || _return=$?
# if $_return is set and is not equal to "1", exit
[ $_return ] && [ ! $_return -eq "1" ] && exit 1 || true

It is possible that 'exit 1' could be replaced by 'return 1' but I haven't tested it (tell me if you do!).

ejona86 commented on 2013-07-03 15:11

@alex404. This package simply depends on openal. However, openal can use alsa, pulseaudio, or oss. Similarly, if you use alsa for openal by installing alsa-plugins, alsa can use optionally use pulseaudio and jack. It all depends on your configuration.

alex404 commented on 2013-06-27 18:51

Hey, I had to install alsa-oss to get this to work. You may want to make it a dependency.

Baumi commented on 2013-05-10 16:17

New Version is availabe by Humble Bundle


md5sum: 'cd207acda0613cf06bc153b4b85dceb3'

TheCycoONE commented on 2013-01-08 01:45

0.6 aka 01042012 is now on the humble bundle site.

fettouhi commented on 2012-10-22 18:04

Has anyone been able to find psychonauts version 0.6 anywhere? It is mentioned here

but I can't find it anywhere.

fettouhi commented on 2012-08-16 06:15

New build of Psychonauts is out.

joshgillies commented on 2012-07-18 11:13

I got the following output:

STUBBED: fix up the rest of the SSE code first at DetectSSESupport (/home/icculus/projects/psychonauts/Source/CommonLibs/DFMath/MathGeneral.cpp:32)
STUBBED: write me? at SetPCLanguage (/home/icculus/projects/psychonauts/Source/game/luatest/UnixMain.cpp:120)
STUBBED: fix up the rest of the SSE code first at DetectCPUCaps (/home/icculus/projects/psychonauts/Source/game/luatest/Game/PCGameApp.cpp:223)
STUBBED: check LANG envr var at _GetDefaultGameLanguage (/home/icculus/projects/psychonauts/Source/game/luatest/Game/GameApp.cpp:171)
Console created
Save path: /home/josh/.local/share/Psychonauts
Write path: WorkResource
STUBBED: inline asm at SSEMul_4x4_4x4_2arg (/home/icculus/projects/psychonauts/Source/CommonLibs/DFMath/Matrix.cpp:710)
STUBBED: inline asm at SSEMul_4x4_4x4_3arg (/home/icculus/projects/psychonauts/Source/CommonLibs/DFMath/Matrix.cpp:698)
******** unit test failed ********
Transport started
DaveD: NCListenSocket: Listening on port 40001
STUBBED: VK_* at InitInputNames (/home/icculus/projects/psychonauts/Source/CommonLibs/DirectX/SDLInput.cpp:1220)
No joysticks detected
ERROR: Missing required OpenGL extensions:
- GL_EXT_texture_compression_s3tc
Start Up completed in 3.86 seconds
/usr/bin/psychonauts: line 3: 13254 Segmentation fault ./Psychonauts

Managed to get past this seg fault by installing "lib32-libtxc_dxtn libtxc_dxtn" from AUR.

But then ran into the following:

Found OpenAL device: 'OpenAL Soft'
ALSA lib dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib32/alsa-lib/
AL lib: alsa_open_playback: Could not open playback device 'default': No such device or address

Installed lib32-alsa-plugins alsa-plugins lib32-pulse

and it now runs at least. But performance is not so great.

Any ideas?

Anonymous comment on 2012-07-11 23:29

I am running Arch 64 with the ati catalyst driver from the catalyst repository.
In order for psychonauts to work for me, I needed to install lib32-catalyst-utils (there was some error with
Furthermore, it wouldn't start because it whined about /dev/dsp not existing (I use pulseaudio), so I needed to install lib32-libpulse in order to fix that.
Perhaps you could add these packages as dependencies.
Kind regards,

fettouhi commented on 2012-07-10 17:54

Can anyone get past Waterloo World? The game constantly crashes for me when entering this world.

brotatos commented on 2012-06-30 21:54


ejona86 commented on 2012-06-30 01:51

brotatos: I forgot one essential question: are you on 32 bit or 64 bit?

ejona86 commented on 2012-06-30 01:49

brotatos: Well, we got further... Those errors look like your OpenGL isn't working. What type of video card do you have and what video drivers are you using? For example, I am using ATI and the open source ati drivers (xf86-video-ati). You likely need to install the 32-bit version of some of the drivers. For example, I need lib32-ati-dri. If you can get Psychonauts working, your swordandsworcery problems will probably be fixed too.

brotatos commented on 2012-06-29 18:53

Neither lib32-libgl or lib32-mesa seem to work.

Here's the output for lib32-libgl:
Here's the output for lib32-mesa:

ejona86 commented on 2012-06-29 14:29

fettouhi: I just updated the PKGBUILD to support using test patch 0.4.

brotatos: Failed loading is the cause of the problem. You need to install either (assuming you are on x86_64) lib32-libgl or lib32-mesa (which depends on lib32-libgl). I'll need to update the PKGBUILD with the dependency. If you would be kind enough to tell me if you needed lib32-mesa in addition to lib32-libgl, that would be helpful.

brotatos commented on 2012-06-29 06:29

I just tested the latest build. Here's the output:
Segmentation faults are never fun.

ejona86 commented on 2012-06-28 13:44

Those are test builds, as described at and . I've coded up the changes to the PKGBUILD, but don't have enough time to test it at this very moment. I should have enough time tonight.

fettouhi commented on 2012-06-27 12:15

There are new patches for linux version of Psychonauts here. Could you maybe add them to the pkgbuild?

ejona86 commented on 2012-06-19 02:43

I've update the PKGBUILD to use the system's libraries and to fix the dependencies in general. Surprisingly, this package does not depend on mesa. I was able to run the game without issue without, which just baffles me. If one of y'all figure out how it hooks into OpenGL, I'd love to hear it.

If you don't have enough space in /tmp and are using yoaurt, then set the TMPDIR environment variable like "TMPDIR=/some/path/with/space yaourt...". Note that normally the PKGBUILD would take approx 5.5 GB x 4 to build (the original download, unzipped download in src/, sources copied to pkg/, and final package tar). The PKGBUILD does "cp -R" so that pkg/ doesn't use much space. I always "ln -s" the original download into the ${startdir}, but that still requires the 9 GB of TMP storage.

Ram-Z commented on 2012-06-11 15:01

Could you add lib32-nvidia-utils-bumblebee and lib32-virtualgl as optdepends for bumblebee users.

Anonymous comment on 2012-06-10 11:45

i currently have all of this solved with an unfortunately heavy-handed PKGBUILD

keys are optional, and a symlink is usable. aria2 is optional, and of course manual intervention is acceptable with ability to manually resume download later.

i want to get makepkg to automatically resume if the .torrent is present but i've just finally gotten all the possibilities handled.

this PKGBUILD looks like a god-awful MESS. i know. but the intention is to create a completely game-agnostic PKGBUILD, where all you have to do is handle package() for each game separately. sadly, package() cannot be reliably generalized to fit all needs (but i might be able to work out an HIB meta-PKGBUILD with split-package capacity if there is any good will.)

this new PKGBUILD is not fully complete, i have a couple more things i want to tweak. i have tested supermeatboy with this PKGBUILD in every variation of options. it all appears to be functional...but there is yet more work to do to make this perfectly generic and completely reusable. so far, you pretty much just need to change the variable and array declarations at the top of the file. a tiny bit of work for _humblebundle() is still necessary, but it's so close i can taste it now.

Chais commented on 2012-06-10 11:21

That's exactly the reason why I gave the possibility to copy or symlink the game package to the build directory. Especially considering the size of the download and the resulting package. Few people will have a /tmp with over 9 GB.

ZDragon commented on 2012-06-10 10:43

That is a seperate problem. There definitely should be the option of downloading and most importantly, *building* the package outside of /tmp. It is just too large for that. But I do not see how this relates to the wish of automatic downloading, i.e. users could just enter a download directory that would automatically be symlinked then.

Chais commented on 2012-06-10 09:55

That's exactly the reason why I gave the possibility to copy or symlink the game package to the build directory. Especially considering the size of the download and the resulting package. Few people will have a /tmp with over 9 GB.

ZDragon commented on 2012-06-10 09:19

ejona86, I would be in favor of allowing user choice in this regard. I do not think that most users *will* re-download the whole package whenever you make a revision, but if they choose to do so, perhaps after you warn them about it - then why not?

I know that this package is rather exceptional because it is definitely the largest of any of the HIB packages, but I would really appreciate the *option* of letting the PKGBUILD download the needed files itself.

Also, the package doesn't need makedepend on aria2, the torrent option should just not be available if aria2 is not installed. This is the best way to do it riht now since there is no way of having optional make dependencies.

ejona86 commented on 2012-06-10 06:25

Chais and zendeavor, thanks for the help. I just updated the PKGBUILD for the new version. FYI, I am not a fan of the auto-downloading PKGBUILDs. I'm all for making it more obvious where to put things, but I don't want it to makedepend on aria2c or use a _humblebundlekey environment variable or encourage people to download 4.1 GiB every time I make a revision.

Anonymous comment on 2012-06-09 20:04

ejona86, feel free to orphan this package. i've taken over the supermeatboy package and am currently working on a PKGBUILD for this one now. check out supermeatboy for a sample.

Chais commented on 2012-06-09 17:36

This should do the trick:

ejona86 commented on 2012-06-09 06:09

It may be as long as a week before I get to begin trying to update the PKGBUILD. I don't have access to my computer right now, and thus the delay.

quantumphaze commented on 2012-06-09 01:32

Looks like the new 06042012 version is a bin installer. Well ... good luck with that :(

quantumphaze commented on 2012-06-05 08:27

FYI: That patch also fixes the muted audio during cut-scenes.

Thanks for including it in the PKGBUILD ejona86 (for those who don't ever look at PKGBUILDs you must enable it manually at line 33).

Anonymous comment on 2012-06-03 14:06

Can you put PKGEXT='.pkg.tar' in the PKGBUILD? It takes ages to compress it otherwise.

Anonymous comment on 2012-06-03 12:58

Here is a patch, that enables joypad input.

Tomato commented on 2012-06-03 11:14

Oh, and lib32-nvidia-utils and nvidia-utils, for nVidia cards.

Tomato commented on 2012-06-03 11:13

It should recommend lib32-ati-dri, ati-dri, lib32-libtxc_dxtn and libtxc_dxtn