Prison Architect

Prison Architect

44 个评价
Removing/sanitizing bio's
   
奖励
收藏
已收藏
取消收藏
mod
文件大小
发表于
更新日期
3.138 MB
2015 年 3 月 4 日 上午 8:49
2016 年 4 月 10 日 上午 10:35
7 项改动说明 ( 查看 )

订阅以下载
Removing/sanitizing bio's

描述
Be aware that I made this mod during the alpha-days of Prison Architect. The game has changed since then, and the names_in_the_game file that is mentioned here is now half-binary. I don't really care to figure out what the format is of that file, but maybe you can figure out something yourself. The packing and unpacking of main.dat works the same-ish, as long as you use the old RAR-format as outlined below.

-----

Courtesy of PrEZeX in the comments:

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.

-----


Do the badly written bio's and stupid names break your immersion? Feel like you are running a prison of 10 year olds?

This mod will provide you with a more sanitized version of prisoner bio's that you will need to edit into your game files. Subscribe to the mod, open and close the game to download the mod, then read the README file in the mod's folder. A step-by-step video is available at https://www.youtube.com/watch?v=1XgKwWO6hIs if you prefer that.

Full feature list
- Remove every bio
- Replace all surnames with one that is already in the game if:
--- The name consists of 2 or more parts and the first part is not a known concatenation (e.g. "the")
--- It contains blacklisted phrases (e.g. genitials, childish obsession with bodily functions)
--- Something is repeated 3 times in the name (e.g. lalala)
--- It is 0 or 1 characters long
- Replace all firstnames with one that is already in the game if:
--- Something is repeated 3 times in the name
--- It contains blacklisted phrases
--- It is 0 or 1 characters long
- Completely remove nicknames if:
--- It contains more than 2 words or is longer than 15 characters
--- It contains anything else than a-z and spaces
--- It contains blacklisted phrases
- First name, last name and nickname are turned into titlecase
- First name, last name and nickname are whitespace trimmed (whitespace before and after the name is removed)
热门讨论 查看全部(1)
6
2015 年 4 月 6 日 上午 5:08
Problem/bug report & improvement suggestions
Sumurai8
46 条留言
Horsepower 2021 年 12 月 6 日 上午 3:31 
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  [作者] 2020 年 4 月 14 日 上午 11:47 
@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 2020 年 4 月 6 日 上午 6:13 
FYI: This doesn't seem to work anymore, the game won't start if you change something in main.dat
lyonharted 2019 年 7 月 18 日 下午 2:43 
@PrEZeX I am definitely interested. Thanks a million!
Ferviani 2019 年 7 月 18 日 上午 11:59 
@Samurai6: You have a valid point, I'll do that. Will also share github repo for code validation. Thanks.
Sumurai8  [作者] 2019 年 7 月 18 日 上午 9:45 
@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 2019 年 7 月 16 日 上午 7:13 
@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 2019 年 7 月 13 日 下午 2:16 
@PrEZeX You are a hero. Didn't know it had to be RAR4 now. Thank you!
Ferviani 2019 年 7 月 13 日 上午 4:55 
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 2019 年 7 月 10 日 下午 1:18 
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.