Censoring Crysis – Defeating the Potty Mouth

I promised you all I’d keep you updated on my clean-up progress. While I was procrastinating, another group of guys got together and blasted through the work in a manner to which only teens fueled by pizza and soda can accomplish.

I’ve actually tried their patches, and they seem to work well, making playing Crysis with the volume it deserves a much less cringy experience.

I’d recommend heading over to http://www.gamesoap.net. If their files give you any problems, just send me (or them) an e-mail. (Mine is {myfirstname}@wilcoxfamily.net.)

Thanks, guys from GameSoap. (And I’d add Company of Heroes to my wishlist for cleaned up games. I’ve looked into it, and even know how to edit the files; putting them back into the game is what I never finished.)

Blessings to you all.

Crysis rules!


This in-game screen shot shows some of the visuals that make Crysis so amazing.

Crysis is, without a doubt, completely deserving of the 98% score awarded to it by PC Gamer. Crytek built so well upon the immersive environment and storytelling that they had nearly perfected in Far Cry, that my kids and I have spent hours playing it, wearing out the demo mission, and then losing our lives for several weeks when the full version arrived.

Unfortunately, it has one small problem beyond the currently high hardware requirements. True to its military nature, the characters suffer from a severe case of potty-mouth. This really wasn’t acceptable to me, and Crytek didn’t provide a language filter or switch, so I decided to do something about it. And now you can, too!

Are you as smart as my kids?

There are a few assumptions here. I assume that you are reasonably proficient in a windows file system, and can do basic things like rename files, work with compressed folders (Zip archives), and know the difference between a file and folder.

Finding your starting point

First, find your Crysis folder. It’s probably c:Program FilesElectronic ArtsCrytekCrysis. Then drop down to GameLocalized.

Showing file extensions … step one toward becoming a power-user

For the folders in which we will be working, you will want to show file extensions for known file types via the Folder … Options dialog (see image below), unchecking the box marked “Hide file extensions for known file types.”


This is how to show those oh-so-useful file extensions.

Begin by making a backup

The english.pak file is the one you’re going to extract and modify, so we’ll make a backup of it first. Copy the english.pak file, and name the copy english.pak.original. You should end up with something like this:

The key here is, that the english.pak file is really just a pkZip-compatible archive with a different name. We can, using the wonders of Windows XP, extract it, modify its contents, and repackage it. (We could directly modify its contents just like any other folder, but there would be delays while the operating system uncompresses files that would soon become frustrating.)

Rename your english.pak file to english.pak.censored.zip.

Extraction

Right-click on english.pak.censored.zip, and choose Extract All ... from the context menu, which will open the Extraction Wizard. Click Next several times, watch the Extracting ... meter for a bit, and you’ll be ready for the next step.

Clearing the read-only attributes

To avoid possible repeated annoyances, you need to clear any read-only attributes on the exacted files. Right click on the newly-created extracted folder (which should be named english.pak.censored), and choose Properties. Click on the box marked Read-only until it is empty, and click OK. At the prompt that appears, choose Apply changes to this folder, subfolders and files. This will allow you to do the renaming or editing you need, without having to answer 7,439 prompts.


Clearing the read-only attribute for a bunch of files.

In the newly-created extracted folder (which should be named english.pak.censored), open up the Languages folder, then the dialog folder. From here you are going to have to search for text within files. Ah, but wait! Windows XP, by default, won’t find text within files that don’t have file types it knows about. So, you’re going to have to tweak your system in one more way to find what we need within the .fsq files (to be explained momentarily) that Crysis uses.

Fixing the darned Find Text within Files feature in Windows XP

Find your My Computer icon, right-click on it, and choose Manage. In the Computer Management console, click the plus sign next to Services and Applications, and then right-click on Indexing Service and choose Properties. (We won’t actually be activating the CPU-wasting Indexing Service, but the setting to fix the Find Text within Files feature is part of that service.) Be sure the box marked Index files with unknown extensions has a check mark in it, click OK, and then close the Computer Management console. (See the image below.)


Fixing the Find Text within Files feature in Windows XP.

Search and destroy the #!%#!$#!@$ bad language

Now we can find and eliminate any language you might find offensive. You should have a folder open to something like english.pakLanguagesdialog. Press F3 or click the Search button at the top of the window to open the Search Companion. Click All Files or Folders, and enter *.fsq in the All or part of the file name: box, and the word you want to eliminate from the dialog in the A word or phrase in the file: box. In the example pictured below, I’ve entered nomad, which can hardly be considered profane, but you get the idea.


Personally, I hate the silly dog, and have hacked my account with TweakUI so it doesn’t show up. This screen shot is from my youngest son’s account.

Click Search Now to start the search. It will take a few moments to find the files for which you are looking, but you can start with the first one it finds. You will know the search is complete when the Search Now button becomes active again.

Right-click on the first file in the list, and choose Open Containing Folder. That will open the folder containing that file, and highlight the file, as shown below.

In my example, greets_02.fsq is highlighted. It isn’t necessary to do so, but you can open the file and view it if you like. (Windows will ask you how you want to open it. Tell it to Select the program from a list, and have it opened in Notepad or WordPad.) The .fsq files actually contain the XML that drives the facial animation when the in-game characters are speaking, and I found it fascinating. The files also contain the “real” text for the spoken dialog, which is why we can use them to find offensive language.

As I said, it isn’t necessary to examine the .fsq files, unless you want to verify exactly what the dialog is that they describe. Notice that the folder you’ve opened contains two files with the same file name, but different suffixes. The one that ends in .mp2 is an MPEG layer 2 audio file that contains the actual dialog audio. To eliminate it from being spoken in the game, just rename it .mp2_ (or anything else you like; putting underscores in file names is kind of a Geeky programming thing to do). I do recommend keeping the name the same and modifying the 3-letter extension, though, because you may wish to get at these files again later.


Renaming a file.

Once you’ve done that, close the folder that contains these files (the one that opened when you chose Open Containing Folder). Then go to the next file the search found, right-click on it, and choose Open Containing Folder again. Repeat as necessary, and run new searches as necessary, until the game reaches the language level you’re comfortable with. (My target was somewhere between rated G and rated PG.)

(Rather than just rename the files, one could use an audio editor like Audacity to remove the offensive words. It is my intention to do this with some of the longer dialog clips, but I have not taken the time to do so yet.)

Packing it all back up

Once you are done running all your searches and renaming all the files you wish to change (and this may take a while), as there are quite a few, the last step is to recompress all the files into a new compressed folder named english.pak, and be sure that file is in the correct location. Go back to your C:Program FilesEA GamesCrytekCrysisGameLocalized folder, right-click on the english.pak.censored folder, and choose Send To then Compressed (zipped) folder. This will create a new file called english.pak.zip, and will probably take a couple of minutes.


Recompressing the modified folder into a .zip file.

Lastly, delete english.pak (you should have it backed up as a file named english.pak.original), and rename english.pak.zip to english.pak. You should then be ready to play Crysis and not feel the need to wash out the character’s mouths (especially Psycho’s) with virtual soap.

Other possibilities

Now, if you don’t want to go to all this trouble, if you send me a really nice e-mail (or a 512 MB NVIDIA 8800 GT), I just might point you to a place you can download my modified .pak file. (Mine is {myfirstname}@wilcoxfamily.net.)

Next on my list of games to fix: Company of Heroes.

2008: Year of the Nerd

I hesitate to include this, but this is the sort of thing that goes on at a New Year’s Eve party at Heritage Baptist Church.

In addition to “praying in” the new year, we also spent several hours playing board games and doing improv skits. Lynn B., our great game organizer, ran a Family Feud session, which was quite fun, although at first we demonstrated our vast lack of knowledge in how this particular game show operated. Once it got going, the competition was fierce.

I loved the fact that all the kids were involved as well. David was interviewed by me in one of the skits as an eyewitness to the events of “The Ugly Duckling”; in his version he ran over the Ugly Duckling with his car! Tom H. brought a snowball inside, which ended up recycled a number of times by being thrown or dropped down the back of people’s shirts. Pastor Erik told people (not necessarily children) not to run about 4,328 times. Phil L. and David E. carried Isaac outside a couple of times and threw him in a snowbank.

Afterward we went home and let the kids stay up as long as they wanted, as is our tradition on New Year’s. NaNi didn’t make it much after 1:00. David was up until about 4:30. Isaac stayed awake until 6:40 p.m. on the first. We woke him up for dinner, and trounced him at Halo 3, which is extremely unusual, but shows how drastically sleep deprivation can affect performance and critical skills.

Late afternoon on the first, we were in the process of getting ready to go see Enchanted, when David came in calling, “It stings! It stings!” I thought he’d hurt or frozen his hands, until he pointed to his head. Isaac had accidentally hit him across the eyebrow with a snow shovel, splitting the skin open quite deeply, so we went to the emergency department at SNHMC instead of to the movies. (The physician’s office had just closed.) David was very worried about stitches, but got to have his skin superglued together instead.

While David and I waited, and waited, and waited in the waiting room, Nichelle was at home making beef enchiladas, our last bit of holiday eating-too-much-for-our-own-good.

Welcome, 2008!

$40 for an Interactive Touchsuface?

Saw this on Slashdot today.

Johnny Lee has developed a system to turn virtually any surface or display into a pen-interactive “touch” surface. The video below shows how cool this is.

Take a look at Johhny Lee’s other Wii Remote projects!

While I’m on the subject of hardware, I wouldn’t normally be remotely tempted to pay $800 or more for a computer keyboard, but these steampunk keyboards are masterpieces. And wait ’till you see the laptop.

Erik DiVietro IS Jack Ryan

Erik DiVietro posted this via his MySpace page. As I hate MySpace, and loved this, he gave me permission to cross-post it here.

Erik treated one of those inane e-mail surveys as if he were Jack Ryan, the protagonist in most of Tom Clancy’s novels. (Also, I should note that, just like Erik, I’ve read all of Clancy’s novels. Clancy peaked with The Sum of All Fears—avoid the movie, though—and really hasn’t done remotely as well since.)

I completed this entire survey as Jack Ryan, of the Tom Clancy novels. It is disturbing that I retain this much information about a fictional character, and more so that I do it about MANY fictional characters.

1. If you were to kill a man, horror movie style, which kitchen utensil would you use?
Horror movie style, eh? That’s a tough one. I had an Ayatollah killed by sending in the B-2 bomber with a bunker buster.

2. Did you ever swallow a coin?
No, but I did buy a helicopter once.

3. What was the worst gift you’ve ever received?
That moron Tom Clancy ruined my legacy by writing Teeth of the Tiger

4. What is your most embarrassing childhood memory?
That my father almost arrested John Clark

5. How many kids do you want?
I have four. For some reason, every time my wife and I slept together in another country or in a time of international crisis, she got pregnant again.

6. What’s your moms middle name?
She didn’t have one, but her maiden name was Burke

7. Have you ever operated a fire extinguisher?
In ways the manufacturer never contemplated.

8. What did you eat for breakfast?
I skip breakfast a lot, and Kathy is always getting on my case about it.

9. who do you hate?
Used to communists, then the Japanese and then the Asian-financed terrorists. Oh, and bureaucrats. MAN do I hate them!

10. what do you hope to have accomplished by the end of this year?
When you’re Jack Ryan – there is nothing left to do. I made millions on the stock market; I wrote books; I was a Marine; I’ve been head of the CIA, Vice-President and President. SHOOT…I single-handedly brought peace to Jerusalem. I stole an entire ballistic missile submarine from the Russians AND forced the head of the GRU to defect! There’s nothing I haven’t done.

11. do you have any reallllly crazy relatives?
Apparently, I have two twin psychotic nephews. My daughter is a little strange as well.

12. Did you ever wake up under the influence of NyQuil, completely unable to move?
I was addicted to painkillers after I almost broke my back, and had a drinking problem that forced me out of government service for awhile.

13. Are you feeling nostalgic right now?
I’m a former president of the USA, of course.

14. Did you own a Lite-Brite?
My grandkids do; but it is nothing compared to the NSA command center.

15. Can you dive?
In a wetsuit? No. I’m a terrible swimmer; but I did operate the dive planes of the Red October under Captain Marco Ramius

16. Do you own a mouthpiece for anything?
Not really.

18. Have you ever used a pogo stick?
Is that anything like a 9MM handgun? Or explosives?

19. Who was the most creative bum you’ve ever met, trying to get some money from you?
Probably Ed Kealty.

20. What’s your favorite Jelly Belly jelly bean flavor?
Can of INTERNATIONAL WHOOPIN’. That’s a flavor, right?

21. favorite food you CRAVE?
I love my wife’s cooking. Of course, every time she makes a special meal, people seem to try to kill us.

22. When was the last time you pulled lint out of your bellybutton?
What do I look like? A democrat?

23. Did you ever use someone else’s toothbrush?
There was this crisis where the president thought the Russians were launching nukes at us, but it turned out to be a BIG misunderstanding. But I stayed up for like 3 weeks without sleeping, so I probably did.

24. Do you REALLY floss everyday?
Of course. I’m a Georgetown alumnus.

25. what is your favorite cologne/perfume you always wear?
Cologne is for men who haven’t killed Irish terrorists with their own hands.

26. If you were on Double Dare, would you take the physical challenge?
Look. I’ve been dropped from helicopters onto submarines in storms; I’ve been shot at by drug czars; and I was there when a crazy Japanese pilot flew a 747 into the Capitol building. My wife and I survived nuclear blasts AND two different version of the Ebola virus. You got nothing on me.

27. What’s the largest living organism that you killed?
Shoot. I’ve killed so many things. Probably my father-in-law’s ego.

28. Did you ever take a lighting bug and smear its guts on your arm so you get a cool glowing effect like war paint?
Who writes these stupid questions?

29. What’s the best toy you’ve ever gotten in a McDonalds happy meal?
an armored limousine Hot Wheel

30. if you could be anywhere in the world doing anything right now what would it be?
Back in the Oval Office, ordering Clark and Ding to take care of people.

31. Can you juggle?
HELLO! Fearless leader of the free world here!

32. how do you feel right now?
nostalgic, see 13 above.

33. Do you remember that square candy bar called “Chunky”?
I do. Ate many a Chunky bar out of the CIA vending machines.

34. Predict the length of the next Peter Jackson movie.
Longer than Bear and the Dragon felt but somewhat shorter than Executive Orders actually was.

35. What was your favorite toy as a kid?
G.I. Joes.

36. Are you willing to go the distance?
That’s one heck of a question to ask me. How many of you have even TRIED to read all my books?

37. Did you answer question 17?
How could I? It was stolen by Arab terrorists bent on bringing down the free world through Internet hacking.

Skvid Number One

Skvid = SKit on VIDeo

Last week our pastor asked me to put together a video skit to help illustrate a sermon in a series of lessons on stewardship: What happens when we overwhelm ourselves with choices and activities? Of course, it also illustrates beautifully the quirkiness of the Wilcox family.

I did the video in Windows Movie Maker, a free download for Windows XP. I had to overcome a quirk that kept locking the software up, discovering that previewing clips in the preview window wouldn’t work correctly, unless I dragged the clips to the timeline first. I can’t explain that, but wish I’d found the answer hours earlier. Movie Maker isn’t bad, but I need something that will let me treat the audio track from the video separately, as well as add more audio layers.

The film was shot entirely out of sequence, in order to meet the availability schedule of the actors (my kids), over the course of a very busy Saturday. The Star Wars: The Empire Strikes Back clip was created by shooting our own HDTV, the quickest way I could think of to get the piece I needed.

Background music includes Ella Fitzgerald’s, “I’m Beginning to See the Light,” and the title theme from Back to the Future.

Overall, it’s a tad too long at just over 6 minutes (the goal was 5 minutes), and I never got around to including any video transitions. I may tweak it a bit in the next few days, especially if I try out a more advanced software package, and hope to get it down to 4 to 4.5 minutes. I recall seeing George Lucas talking about an old filmmaker adage, “Films are never finished, just abandoned,” and how he had the technology (and money) to keep going back to his films to finish them the way he wanted.

Random Webness

Amazing Dental Technology

This morning I reported to my dentist at 8:00 a.m. to have a crown done. They use a CEREC system, and I was amazed by the technology.

They shot me up with Novocaine, got rid of the old filling and ground down the disintegrating part of the molar. Then they use an IR imager to get a 3D image of the tooth that remains, and match—in beautifully animated 3D—the crown that will be milled to the base that remains, using the tooth outline against a database of about 500 3D teeth to get one that looks natural. (See the video above. It’s jaw-dropping.)

The dentist then can adjust this using a mouse and 3D view. They pick a tint that matches the rest of your teeth, throw a block of dental material in a tiny, computerized milling machine, and in 11 to 22 minutes, the crown is done.

This gets molecularly bonded (rather than just cemented) to the original tooth surface, and voila—essentially a new tooth, in less time than it takes the Novocaine to wear off.

I was out and on my way again at 9:20.

Game Camp Nation – “Isaacing”

Isaac and David spent two weeks this year at Game Camp Nation, which has been operated for a number of years by our friends Phil Luchon and Steve Deyesso and their staff, originally under the name of “Camp Turing.”

[Best_Wordpress_Gallery id=”11″ gal_title=”Game Camp Nation, 2007″]

All the photos from those weeks can also be viewed here on Google Photos.

David and Isaac were among the first students to test a new curriculum designed for younger students. They developed games using the GameMaker software, which allows sprite-based games to be created using a relatively simple properties-panel-driven model. (Game Maker also features its own scripting language, and the ability to do more advanced things, even as much as a 3D FPS game.) Game Camp Nation also offers courses in game programming using C++ (which will probably be switched to Java next year), and 3D modeling and animation using AutoDesk’s Maya.

Each student gets his own computer to work and play on all day. Attendees also have some non-computer time to play board games and enjoy meals. Still, this was more of a “Geek Heaven” kind of place than one might be expecting in a summer camp. (I wonder if any of the children noticed that the conference room the hotel gave them didn’t have any windows.)


Isaac and David Outside the Conference Center used by Game Camp Nation for their Waltham, Ma., sessions.

Both weasels enjoyed camp immensely, and readily learned to create and debug games. They were up before I was every morning, and I let them stay late almost every night to participate in the network gaming tournaments that the camp runs at the end of the day. David got so tired one day that he fell asleep in the car in the morning, and then on the couch in seconds when we got home, sleeping there nearly 12 hours through the night.


Isaac and David with Game Camp Nation staff members Chris, Steve, and Joy.

We Have a Weiner Winner!

The game tournament is open to all camp attendees, whether they stay overnight or not. To keep things balanced among different types of games, they played FPS games (Halo and Call of Duty), RTS games (StarCraft and Command & Conquer 3), and Motocross Madness 2. Scores were kept all week, and the winner each week got a $50 gift certificate to Best Buy.

Of course that meant that Isaac and David were staying until 8:30 every night, but I figured it was worth the effort for two weeks.

Isaac came in first the first week, despite my dragging him out early one night. During the second week, he was leading by 100% of the second-place person’s score. Steve decided that dominating by that much for two weeks in a row would be called “Isaacing.”


Isaac with the huge Lego set he purchased, #7662 Trade Federation MTT

Lana Lang Succumbs to Repeated Physical and Psychological Trauma

The Daily Planet, Metropolis, August 23, 2007
Lois Lane

Lana Lang (below) was admitted to the Metropolis Psychiatric Hospital (above) earlier today for an indefinite period of intense psychiatric care, after what has been described as an “intense, psychotic break.” Lana is known for having a number of strange, apparently psychiatric episodes. One associate we interviewed believed she had merely “gone Lana” again, citing events such as Lana’s brutally attacking and nearly killing confidante Chloe Sullivan, editor of The Torch, Smallville High School’s often tabloid-like student newspaper, or another period lasting several days when she believed herself to be the incarnation of a 17th-century French witch.


Lana Lang, an exceptionally traumatized young lady.

A medical professional within the psychiatric hospital provided details under the condition of absolute anonymity:

Miss Lang is the most severely traumatized case I have seen in my career, far worse than we see even from lengthy, close-quarters combat. Lana seems to have an intense fear of nearly everything, including hospitals.

She is recounting stories of being attacked repeatedly at the Talon coffee shop, her parents’ grave site, the Kent farm, Smallville Medical Center, her own residences, Smallville High School, several horse stables, and virtually every outdoor location she has traveled to.

She screams or sobs constantly about being hunted, attacked, and buried alive. There is little wonder her sleep is disrupted by incessant nightmares. Her medical records, among her numerous admissions for injury or unexplained illness, indicate she even barely survived being caught in a tornado several years ago. She often rocks back and forth in a corner, incessantly mumbling that her friends are keeping secrets from her, and she appears convinced that at any moment anyone around her might suddenly turn on her.

If even half the things she describes have actually occurred, it will be a miracle if Miss Lang will ever be able to leave this facility. But we will do our best to help her.

Clark Kent, who has been Lana’s friend from early childhood, appeared nervous, and refused to comment on her condition.


Here’s an interesting bit on what Lana Lang was like in the comic books.