Prison Architect

Prison Architect

Removing/sanitizing bio's
46 Comments
Horsepower 6 Dec, 2021 @ 3:31am 
PrEZex's method no longer works - as snack said over a year ago, the game just crashes on startup if main.dat is modified, I think. Probably launcher integration? I'm gonna try running w/o launcher and seeing what happens.
Sumurai8  [author] 14 Apr, 2020 @ 11:47am 
@Salix: If you follow the instructions of PrEZeX below it works fine, except that the names_in_the_game file seems to have gotten a different format. I don't really know (or care to find out) what the new format is, but maybe you can just create an empty file with that name and be fine.
Snack 6 Apr, 2020 @ 6:13am 
FYI: This doesn't seem to work anymore, the game won't start if you change something in main.dat
lyonharted 18 Jul, 2019 @ 2:43pm 
@PrEZeX I am definitely interested. Thanks a million!
Ferviani 18 Jul, 2019 @ 11:59am 
@Samurai6: You have a valid point, I'll do that. Will also share github repo for code validation. Thanks.
Sumurai8  [author] 18 Jul, 2019 @ 9:45am 
@PrEZeX I don't want people to link executables or scripts I can't (or don't want to) vet for malicious code. I would recommend making your profile public and adding a block to showcase your workshop content, or letting people friend you so you can notify them when you finished it.
Ferviani 16 Jul, 2019 @ 7:13am 
@lyonharted: Glad I could help. I'm creating my own program to simplify this filtering process completely. If anybody is interested I can link it here when done.
lyonharted 13 Jul, 2019 @ 2:16pm 
@PrEZeX You are a hero. Didn't know it had to be RAR4 now. Thank you!
Ferviani 13 Jul, 2019 @ 4:55am 
FYI: To make this work with the new WinRar, when packaging the main.dat, use the "RAR4" archive format, "Normal" compression method, "4096 Kb" dictionary size and tick the "Create solid archive" box.
lyonharted 10 Jul, 2019 @ 1:18pm 
Sumurai8, I know it's a stretch since its been years since this mod has been touched, but I'm trying to use it again it's crashing the game when I try to launch. Any chance you could help? I can try to get screenshots of the error messages.
John Walker 12 Apr, 2016 @ 5:03am 
Man i cba it's to advanced for me LOOL
Sumurai8  [author] 11 Apr, 2016 @ 1:58pm 
Remember to actually perform the steps in the readme file ;-)
John Walker 11 Apr, 2016 @ 7:44am 
Thank you Sumurai8 :D
Sumurai8  [author] 10 Apr, 2016 @ 10:39am 
I've ran the script on the latest "names in the game" list, and with the latest "biographies" first and last names. That means replaced names are currently incompatible with a previous list. Enjoy everyone!
John Walker 9 Apr, 2016 @ 5:31pm 
I like this mod, but it needs an update for the new names.
Sumurai8  [author] 26 Dec, 2015 @ 2:42am 
@Major Chafe: I just tried to run it, and it seems to work just fine. The problem you describe is likely caused by failing to make it a solid archive. Not making it a solid archive causes it to compress each file alone, instead of compressing all files as a single data block. Refer to the video link in the comments below (or the one that soon will appear above). If you think that other people would benefit from the additional changes you made in the name file, feel free to report them in the subthread above, and I'll see if I can make changes to the script itself.
azairvine 25 Dec, 2015 @ 9:22pm 
I just tried to run this script with Version 2.0 and the game wouldn't load at all - the black screen just hung for ages. I did change some of the names after I had run the sanitisation process, but I doubt that would've had an impact on it.

Has anyone successfully run this script from V2.0?
Sumurai8  [author] 29 Oct, 2015 @ 10:20am 
@angusdez: You'll be happy to hear that my script will not "sanitize" your first name! I am sorry if your surname is, in fact, McBumfarty. My script will change that.
angusdez 28 Oct, 2015 @ 3:48pm 
MY name is angus!
lyonharted 25 Oct, 2015 @ 5:08pm 
OK, so I found the issue with the help of the image of your WinRAR. In English, it doesn't say compact archive. It says "create solid archive". That's the archiving option that needs to be checked. Did that, game started up just fine. Thanks for the help, and the great mod!
Sumurai8  [author] 25 Oct, 2015 @ 12:01pm 
Sumurai8  [author] 25 Oct, 2015 @ 11:39am 
My WinRar is in Dutch. The text may differ somewhat, but it should give you an option for a compact archive. Refer to the image to which options I change. Refer to http://imgur.com/kgwRaVJ if you want to know how it looks on my screen.

If you do not check that option to the right, prison architect will behave strange while loading. If you do not use the latest version of main.dat to replace the names_in_the_game.txt file, you'll end up with a prison with weird sprites, or it will just crash for some reason or another.
lyonharted 24 Oct, 2015 @ 3:21pm 
So I tried this out. The script works fine, etc. etc. Then when I replace the main.dat file, my game won't start. I'm assuming I'm compressing it wrong. I'm using WinRAR, it's a rar file, and it has at least some kind of compression on. What am I missing?
Sumurai8  [author] 4 Apr, 2015 @ 6:57am 
@rob-alex: I just made a bug/feature thread. Can you please tell me any relevant information that I need to reproduce the error that you did get? For example what the name of the prisoner was that you inspected, what the exact run-time error was that you did get, and if you went through the steps as outlined in the readme file? Please post the reply in the bug thread :-) Thanks!
Masterfox 4 Apr, 2015 @ 5:50am 
When opening up a new prisoner´s bio with this mod active, the Game has a runtime error and crashes.
Zorg 2 Apr, 2015 @ 7:43am 
Totally agree. There should have been guide lines other than no swearing, which in some cases I have seen in game anyways. I constantly look at prisoner bios and names as it is part of the game and cannot understand why people insisted on making names that completely went against the dark theme of this game. Anyways thanks for the mod.
Syd Sustain 31 Mar, 2015 @ 9:51am 
THANK YOU! I know the devs have to make money somehow, but this "bonus feature" was a bad move in my opinion.
Counsel 30 Mar, 2015 @ 7:46pm 
@[DPH] Docter Medic [DPH] Thank you for your honesty.
Sumurai8  [author] 30 Mar, 2015 @ 2:47pm 
@Tobeh: I don't think it is possible to do that. As for the suggestion of letting people select their crimes, I would suggest going to the introversion forums and making a suggestion topic there.
Sadpan 30 Mar, 2015 @ 9:56am 
I once saw Conan O'Brien stuck in my prison for murdering the TV crew.
Magic Man 30 Mar, 2015 @ 6:27am 
i honestly find most os the bio's pretty funny XD
girlfromverona 30 Mar, 2015 @ 1:16am 
Thank you! Best mod I've come across so far.
Araxiel 30 Mar, 2015 @ 1:10am 
But, what would I do with great and immersive people such as:
IAMTHESHADOWXD "After entering the minecraft and ridding minecraftier from herobrine and israphelat the battle of the end he was imprisoned by mojar because he entered illegally although alittle annoyed he was happy he stopped the evil in minecraftier for now"
or
Bad "panzertank" Nigger "Young and bad boy, he is alone in the world, he is neonazi follower, he doesn't have an instagram O"

I mean that is some pulitzer prize winning backstory right there. This game deals with some heavy topics such as death row, police brutality, overcrowded prison, acceptable statistical casualties and other real-life issues, and I feel prisoners such as Steve "misterbrilliant" Hogarty ("Backflipped his BMX over a canyon and did a sick wheelie next to a policeman who promptly arrested him on seven counts of 'being totally rad.' He accepts all charges") really help to convey this. :guard:

(http://imgur.com/a/GhDkl#0)
Tobeh 29 Mar, 2015 @ 9:59am 
Some bios are pretty well written and humerous and it would be a shame to miss out on them, but it is lousy when you get a prisoner whose name is a bunch of question marks. It would have been nicer if they allowed writers of the bio to select the crimes they commited/pleas because most of the time the story doesn't even match the sentencing. Also, I wonder is there any way to reduce the frequency of appearance of the face in the game backer tier prisoners; having people who paid the most money to back the game show up very frequently kind of breaks the immersion too. Thumbs up. :prisoner:
Ninatendo64 28 Mar, 2015 @ 2:27pm 
Aaaaah.
Sumurai8  [author] 28 Mar, 2015 @ 2:18pm 
%localappdata%/Introversion/Prison\ Architect/mods
Ninatendo64 28 Mar, 2015 @ 2:16pm 
Where is the mods folder for this? I can't quite seem to find it. Relatively new to workshop stuff like this.
Ninatendo64 28 Mar, 2015 @ 12:41pm 
I don't mind humor, but not when it just completely destroys immersion. Thats why I can't get into dungeons of Dredmor, despite my love of Roguelikes. Great mod.
Sumurai8  [author] 28 Mar, 2015 @ 10:25am 
This mod has now been updated to contain the names_in_the_game list of Alpha 31
Scott <TM> 28 Mar, 2015 @ 9:38am 
Wile DOAG wer caug HT fightin g him princepal, now also stealing grtapes. No him given worse senence prison but also big man an gang leder!!!!!!!!!!!!!!!!
Sumurai8  [author] 28 Mar, 2015 @ 9:21am 
Thanks all :-)
Havoc 28 Mar, 2015 @ 9:16am 
Now all we need is redcoat colonial prison colonies
Weird Chap 28 Mar, 2015 @ 6:45am 
Oh my god thank you!
Syndicake ☠ 28 Mar, 2015 @ 5:39am 
finally a mod for people like me with no sense of humour.
Takotsubo 28 Mar, 2015 @ 5:24am 
Brilliant! Appreciate the effort you've put into this. The childish bio's and names sometimes have been torturing me for many alpha's.
Barracuda 4 Mar, 2015 @ 4:44pm 
Nice work!