Post AvRFofcTa4AIOxgJv6 by foone@digipres.club
 (DIR) More posts by foone@digipres.club
 (DIR) Post #AvREW7jCkYCS7eQB4C by foone@digipres.club
       2025-06-24T00:11:56Z
       
       0 likes, 1 repeats
       
       So I'm hacking on Family Feud for the Switch, and it turns out it stores all its questions in one two-megabyte JSON file.with no linebreaks
       
 (DIR) Post #AvREdYOa02cUrBJiQC by foone@digipres.club
       2025-06-24T00:13:18Z
       
       0 likes, 0 repeats
       
       it is (of course!) Unity
       
 (DIR) Post #AvRF4qRb0GOCeVk120 by foone@digipres.club
       2025-06-24T00:18:14Z
       
       0 likes, 0 repeats
       
       the file is 6mb if you run it through a json formatter. So they saved 4mb! in this 2gb rom! that is probably compressed!
       
 (DIR) Post #AvRFEJTgQTqPIyETHU by foone@digipres.club
       2025-06-24T00:19:57Z
       
       0 likes, 0 repeats
       
       the layout of the json is... weird. I think they're trying to do some basic manual compression? There's string pools.
       
 (DIR) Post #AvRFJf1TkWYHZdadPc by foone@digipres.club
       2025-06-24T00:20:58Z
       
       0 likes, 0 repeats
       
       So there's primarily:1. list of questions (each of these is a complex structure)2. list of strings of questions3. list of strings of answers (true or false or unseen)4. links to audio files
       
 (DIR) Post #AvRFRb3GOkJjZeD0V6 by foone@digipres.club
       2025-06-24T00:22:24Z
       
       0 likes, 0 repeats
       
       the last two are aligned. So #4 is called "AnswerAudioCues" and goes:[        "A_Cry",        "UNKNOWN",        "UNKNOWN",        "UNKNOWN",        "UNKNOWN",        "A_Howl",        "UNKNOWN",        "A_BreakDown",...
       
 (DIR) Post #AvRFXCt19mtgMe5jqS by foone@digipres.club
       2025-06-24T00:23:17Z
       
       0 likes, 0 repeats
       
       and #3 is called "AnswerText" and goes:[        "Cry",        "Sob",        "Get sad",        "Weep",        "Cries",        "Howl",        "Feel sad",        "Break down",...
       
 (DIR) Post #AvRFaDc8uJVjUSdP0K by foone@digipres.club
       2025-06-24T00:23:50Z
       
       0 likes, 0 repeats
       
       See how it lines up? Cry, Howl, and Break Down are answers with matching audio files: So when they're selected, the game will play one of the audio files of the host reading them out.
       
 (DIR) Post #AvRFeCTV5MMR7BUUKG by psilocervine@gamedev.lgbt
       2025-06-24T00:24:37Z
       
       0 likes, 0 repeats
       
       @foone it *sounds* like they were probably using Unity's JsonUtility, which is notable for being only slightly better than useless due to its inability to handle all sorts of different structures, requiring manual implementation or finding a different json parser entirely
       
 (DIR) Post #AvRFizdMFtiajlO3QO by foone@digipres.club
       2025-06-24T00:25:28Z
       
       0 likes, 0 repeats
       
       okay so #1, "Questions".Each structure here has an ID, TextIndexUS, Quality, Validity, ValidForOnline, Answers, and False Answers.
       
 (DIR) Post #AvRFofcTa4AIOxgJv6 by foone@digipres.club
       2025-06-24T00:26:35Z
       
       0 likes, 0 repeats
       
       The ID just looks like "Q_00001". TextIndexUS indexes into the #2 string table, "QuestionText". Here it's 0, which matches up with:"Name something you do after a fight with your partner."
       
 (DIR) Post #AvRFs5lgojVAMvcfiK by foone@digipres.club
       2025-06-24T00:27:12Z
       
       0 likes, 0 repeats
       
       Quality & Validity are integers of unknown use. (1 and 3, here)ValidForOnline is a boolean (false, here).
       
 (DIR) Post #AvRG0EsYpM3mwTin2G by foone@digipres.club
       2025-06-24T00:28:38Z
       
       0 likes, 0 repeats
       
       answers is a list of objects. Each has a separate Id (named like "Q_00001_A01"), and TextIndexUS (indexing into AnswerText, here 0 or "Cry"), AudioIndexUS (indexing into AnswerAudioCues, here 0 or "A_Cry"), a points value (here 62), and then a VariantIndicesUS sub-list
       
 (DIR) Post #AvRG5MEqtNFNDPaZI8 by foone@digipres.club
       2025-06-24T00:29:35Z
       
       1 likes, 0 repeats
       
       VariantIndicesUS is the indexes of AnswerTexts that are alternate aliases or "Cry". Here it's 1-9, or:        "Sob",        "Get sad",        "Weep",        "Cries",        "Howl",        "Feel sad",        "Break down",        "Wail",        "Moan",
       
 (DIR) Post #AvRGCeByXVW4vNieYq by foone@digipres.club
       2025-06-24T00:30:51Z
       
       0 likes, 0 repeats
       
       FalseAnswers has the same sort of structure as Answers: Id, TextIndexUS, AudioIndexUS, VariantIndicesUS. all that's missing is the points (since you get no points for an invalid answer)
       
 (DIR) Post #AvRGFLf9t55YKFeojY by foone@digipres.club
       2025-06-24T00:31:22Z
       
       0 likes, 0 repeats
       
       So I think this is juts here for the AI players: it lets them generate plausible incorrect answers.
       
 (DIR) Post #AvRGMwa91NwCr5vxoG by foone@digipres.club
       2025-06-24T00:32:40Z
       
       0 likes, 0 repeats
       
       for example, the first false answer is 45, with variants of 46-51. That matches to "Call ex", with variants of:        "Call ex-boyfriend",        "Call ex-girlfriend",        "Call ex-husband",        "Call ex-wife",        "Call ex-partner",        "Message ex",
       
 (DIR) Post #AvRGVUErlnplYa3SE4 by foone@digipres.club
       2025-06-24T00:34:17Z
       
       0 likes, 0 repeats
       
       it looks like the game ships with 1595 questions
       
 (DIR) Post #AvRGYgCZkReLWoVQ92 by foone@digipres.club
       2025-06-24T00:34:49Z
       
       0 likes, 0 repeats
       
       although there are duplicates and near-duplicates
       
 (DIR) Post #AvRGhyolu4S5s4o3eK by foone@digipres.club
       2025-06-24T00:36:33Z
       
       0 likes, 0 repeats
       
       the game also contains a 3036-line file titled "swear_filter"
       
 (DIR) Post #AvRHWRPnqyg12kBne4 by foone@digipres.club
       2025-06-24T00:45:38Z
       
       0 likes, 1 repeats
       
       some items:bloblosbullet vibeclover clampscommiecunillingusdolcett (OKAY, WHO DATAMINED A VORE WIKI?)flowglazeddonutgrampshahal (?)heterosexualmasterblastermcfaggetmoistmr hands (immortality for the horsefucker!)octopussy (the only banned Bond movie)paginate (what)pileplumpplug (no, not buttplug. just plug)raging boner (boner is on the list separately, so I don't know why they needed to call this one out)smeg (red dwarf: banned)soviettainted loveyaoi
       
 (DIR) Post #AvRHa2w6o81MHW1FSa by foone@digipres.club
       2025-06-24T00:46:16Z
       
       0 likes, 0 repeats
       
       oh and tutelage. the game bans tutelage
       
 (DIR) Post #AvRHd0BLVJwcblYV7I by foone@digipres.club
       2025-06-24T00:46:52Z
       
       0 likes, 0 repeats
       
       and stew
       
 (DIR) Post #AvRHy0oiL33qetzKF6 by foone@digipres.club
       2025-06-24T00:50:40Z
       
       0 likes, 0 repeats
       
       doom? they banned DOOM!?
       
 (DIR) Post #AvRI3vrveGhJ39JZho by Sylvhem@eldritch.cafe
       2025-06-24T00:51:39Z
       
       0 likes, 0 repeats
       
       @foone I’m dying at seeing “dolcet” on this list :’).Also they only banned “heterosexual” and not “homosexual” or “bisexual”?
       
 (DIR) Post #AvRI6w3NQ0NAUW6LNA by foone@digipres.club
       2025-06-24T00:52:10Z
       
       0 likes, 0 repeats
       
       they ban "bimbos" but not "bimbo". the singular is fine.
       
 (DIR) Post #AvRIAUtQLIj3Pe912e by lp0_on_fire@social.linux.pizza
       2025-06-24T00:52:43Z
       
       0 likes, 0 repeats
       
       @foone, well, if they banned that one, clearly we're not actually all ----ed…
       
 (DIR) Post #AvRII7aerhlNSQ0Cxc by Sylvhem@eldritch.cafe
       2025-06-24T00:54:14Z
       
       0 likes, 0 repeats
       
       @foone You can have one (1) bimbo, as a treat.
       
 (DIR) Post #AvRIW8cTpoZ6hiXQwq by foone@digipres.club
       2025-06-24T00:56:44Z
       
       0 likes, 0 repeats
       
       australian, athletesfoot, church, color (not colored: that's separate), dendrophilia (attraction to trees?), and dumas (NO COUNT OF MONTE CRISTO HERE)
       
 (DIR) Post #AvRIYr1nhEdr0tg1js by silvermoon82@wandering.shop
       2025-06-24T00:56:45Z
       
       0 likes, 0 repeats
       
       @foone One bimbo is godly, two is just hedonism.
       
 (DIR) Post #AvRIdhqBHZCDy1YUuu by foone@digipres.club
       2025-06-24T00:58:12Z
       
       0 likes, 0 repeats
       
       @Sylvhem no, they banned those too, I just didn't mention them
       
 (DIR) Post #AvRIgryS3yGuGQvs1I by foone@digipres.club
       2025-06-24T00:58:43Z
       
       0 likes, 0 repeats
       
       they also ban the term "black cock", despite the fact that both "cock" and "black" are banned separately.
       
 (DIR) Post #AvRIkZgfziiOhuNvFI by foone@digipres.club
       2025-06-24T00:59:26Z
       
       0 likes, 0 repeats
       
       they ban:boobsbooobsboooobsbooooobsbooooooobsbut not:boooooobs
       
 (DIR) Post #AvRJ5M6PhKbqeiKfBI by Sylvhem@eldritch.cafe
       2025-06-24T01:03:08Z
       
       0 likes, 0 repeats
       
       @foone They had some really specific ideas…
       
 (DIR) Post #AvRJ9FOqYnYJ1foHs8 by foone@digipres.club
       2025-06-24T01:03:53Z
       
       0 likes, 0 repeats
       
       inert, itch, jade, jam, jelly, juice, latin (?!)
       
 (DIR) Post #AvRJpjachm36oxZsv2 by socketwench@masto.hackers.town
       2025-06-24T01:11:28Z
       
       0 likes, 0 repeats
       
       @foone That's like banning fun.
       
 (DIR) Post #AvRK7OWvk6j0ibGtge by foone@digipres.club
       2025-06-24T01:14:45Z
       
       0 likes, 0 repeats
       
       @psilocervine looks like they're using Newtonsoft.Json
       
 (DIR) Post #AvROCvDfcTrEMPzJaK by Video_Game_King@digipres.club
       2025-06-24T02:00:17Z
       
       0 likes, 0 repeats
       
       @foone Some of these describe ethnicities and nationalities, which tells me the developer wanted to head off online abuse. Either that, or someone on the team REALLY had it out for Latin Australian bimbos.
       
 (DIR) Post #AvROHh0RtL9xj84w4W by 64bithero@mstdn.games
       2025-06-24T02:01:19Z
       
       0 likes, 0 repeats
       
       @foone @CowboyWho there is a heath ledger joker quote that might work really well here ..
       
 (DIR) Post #AvRPlcEKJVVTYVOzQG by yomimono@wandering.shop
       2025-06-24T02:17:58Z
       
       0 likes, 0 repeats
       
       @foone looking down my shirt to see whether I have bobs, boobs, booobs, boooobs, booooobs, boooooobs, or booooooobs
       
 (DIR) Post #AvRSAVAxsUiSpDp9Ga by ericspittle@infosec.exchange
       2025-06-24T02:44:53Z
       
       0 likes, 0 repeats
       
       @foone bo{2,}bs?
       
 (DIR) Post #AvRawd2ajrMKkdMowi by Laukidh@infosec.exchange
       2025-06-24T04:23:14Z
       
       0 likes, 0 repeats
       
       @foone tainted love? No soft cell
       
 (DIR) Post #AvRcZGHXODQ3PhLLvs by yuki2501@masto.hackers.town
       2025-06-24T04:41:24Z
       
       0 likes, 0 repeats
       
       @foone Wait, the word black is banned???"how do you like your coffee?""Black."YOU HAVE BEEN BANNED"😑
       
 (DIR) Post #AvRgvkp2vAfCJvzuQC by Nentuaby@wandering.shop
       2025-06-24T05:30:06Z
       
       0 likes, 0 repeats
       
       @foone String pools are probably more to do with easing localization than saving space.
       
 (DIR) Post #AvRx7q0X4CUj8z9bhw by benbradley@mastodon.online
       2025-06-24T08:31:43Z
       
       0 likes, 0 repeats
       
       @foone They don't ban 58008?
       
 (DIR) Post #AvT3pKZm5F9ZHkijFA by foone@digipres.club
       2025-06-24T21:21:30Z
       
       0 likes, 0 repeats
       
       it also has the scunthorpe problem
       
 (DIR) Post #AvT5aDol81SvtCeWNE by ozzelot@mstdn.social
       2025-06-24T21:41:43Z
       
       0 likes, 0 repeats
       
       @foone what about colour? are the bri'ish allowed to be sloightly rude?
       
 (DIR) Post #AvT6CvrDq1TRTqGNPs by kartonrad@troet.cafe
       2025-06-24T21:48:12Z
       
       0 likes, 0 repeats
       
       @foone somehow that one feels less lewdsomehow it feels related to a multitude of boba
       
 (DIR) Post #AvT6G8cYq8zLvzvygy by amberage@eldritch.cafe
       2025-06-24T21:48:20Z
       
       0 likes, 0 repeats
       
       @foone this thread keeps getting better by the second 😭
       
 (DIR) Post #AvTwCTzQe1LwfPCzjM by gilgwath@social.tchncs.de
       2025-06-25T07:30:42Z
       
       0 likes, 0 repeats
       
       @foone profanity filters are my favourite example to demonstrate to people why regex is actually hard. 😬 A lot of programmers think they are big brain enough that they always get it right.
       
 (DIR) Post #AvWaVcbjDGqRNYivlQ by n1vux@mastodon.radio
       2025-06-26T14:11:38Z
       
       0 likes, 0 repeats
       
       @foone ^if only there were some way to have expressions to match a set of strings in a regular way^