Psycho Patrol R

Psycho Patrol R

Not enough ratings
how to do a native linux port for psycho patrol r
By wget
the only correct way to run the game
   
Award
Favorite
Favorited
Unfavorite
GUIDE
note: the game seems to work fine on proton right now, but if it doesnt work for you or it doesnt run well, then you can try this

if you're lazy and just want to get it working right now, then you can simply extract the contents of this zip file into the same folder where psychopatrolr.pck is:
https://gist.github.com/wgetJane/2be1b20bc50c1123037eada8cbc17b9d/raw/ppr_linux.zip (15.6 MB)

however, if you think i'm probably evil and twisted and don't trust random binaries from me, then here's how you can get it working on your own

first, you need the executable, so download the Godot 3.6 export templates (current version that Psycho Patrol R uses) from here:
https://github.com/godotengine/godot-builds/releases/download/3.6-stable/Godot_v3.6-stable_export_templates.tpz

extract the linux_x11_64_release executable file from the archive

then rename it to psychopatrolr (or psychopatrolr.x86_64 if you wanna be fancy)

the executable file needs to be in the same folder where psychopatrolr.pck is, every file we're making or getting needs be in the same folder

now we just need the dependencies Qodot and Godotsteam

get libqodot.so from here:
https://github.com/QodotPlugin/libqodot/releases/tag/v1.7.0

get libmap.so from here:
https://github.com/QodotPlugin/libmap/releases/tag/v1.7.0

get libgodotsteam.so + libsteam_api.so from here:
https://github.com/GodotSteam/GodotSteam/releases/tag/v3.28

you should also make a file named steam_appid.txt with 1907590 written inside of it
(that number is Psycho Patrol R's app id as you can see from this url: https://store.steampowered.com/app/1907590/)

everything should be working by now, but there's a few extra things you can do

if you want to launch the linux version directly through your steam library, you can set the game's launch options on steam to something like this:
./psychopatrolr; echo %command%

if you've already played the game through proton and want to copy your save folder, then you can find it at probably somewhere like this:
~/.steam/steam/steamapps/compatdata/1907590/pfx/drive_c/users/steamuser/AppData/Roaming/Godot/app_userdata/Psycho Patrol R

then you can put it in this path:
~/.local/share/godot/app_userdata/Psycho Patrol R

anyway this should keep working even after ville releases more patches and updates to the game
(unless godot 3 gets another big update that breaks stuff which is probably unlikely)

tell me if you find any weird issues (i haven't run into any so far)
IMPORTANT
this game is in early access right now and will naturally be very buggy

🚨 DO NOT REPORT BUGS TO VILLE IF YOU'RE NOT SURE THAT IT'S NOT LINUX-RELATED 🚨

gameplay-related bugs are typically safe to report, but visual glitches (that aren't just ui bugs) could easily be caused by linux graphics drivers or whatever
9 Comments
V 27 Mar @ 7:30am 
checked out half of them and they didn't work at all lol. using linux mint on this & your technique of making it work is better than nothing right now. i know that he could not bother on doing it which is pretty annoying to see in general, but he keeps stealing beers in my country so it makes sense.
wget  [author] 27 Mar @ 7:09am 
@Fartcruise
that would be neat but steam probably requires that you test for a platform first before you can say that your game supports it, and i doubt ville would find any appeal in having to test on linux in addition to testing on windows
V 27 Mar @ 6:54am 
literally checking out which proton works and i came towards this, will update once i check every proton and realize that Callie can literally fix this issue by just making another export for Linux and let the community test it.
Apharisc 26 Mar @ 4:36am 
this is super cool and interesting! i likely wont be doing this but its so neat to know that its possible. thank you!
wget  [author] 24 Mar @ 3:25pm 
@Kajetan proton doesnt work for everyone and can have lower performance, if you think it works fine for you through proton, then you don't have to do anything
giant rat 24 Mar @ 1:38pm 
I'll keep this in mind when the game doesn't run properly via proton at any point.
drunk auntie 24 Mar @ 11:36am 
>type useful guide on how to fully export the game natively for linux
>get insulted by brainlets for no particular reason
thanks for the guide brodie
Kajetan 24 Mar @ 9:14am 
just use proton like a normal person omfg
Nyu 24 Mar @ 7:19am 
but it runs on my deck without this.