“Syntax highlighting is juvenile. When I was a child, I was taught arithmetic using colored rods. I grew up and today I use monochromatic numerals.”

— Rob Pike

Windows Subsystem for Linux


Very rough at the moment, with lots of issues that make it an early Beta, but it was nice to be able to scp over the save-hacking bash script I just wrote and have it Just Work, including creating a symlink to the save directory used by the Windows version of the game so that I could easily go back-and-forth between editing and testing. The supplied version of Ubuntu came with an old version of JQ, but I just grabbed the latest Linux binary with wget and all was well.

I’m going to try to build a decent Perl environment with Perlbrew, so that it survives reinstalls and upgrades. Then I can have some fun. If they ever get the Japanese IME working with WSL (or more precisely, their console window), I can have real fun.

Dear Amazon,


No offense, but I usually only see this sort of thing on Amazon Japan, and the quality of the material is higher there.

(NSFW)

more...

Dear Hello!Project Choreographers,


I’m not sure this qualifies as a dance move, but it’s definitely a performance.

Masaki Sato

Masaki Sato

Editing Fallout Shelter saves with OpenSSL and JQ


I’ve been playing Fallout Shelter for a while now, first on my phone (until my vault got big enough to crash the game constantly), then on an iPad Mini, and now also on Windows, where despite its tablet origin, it doesn’t support multi-touch on my Surface Pro. Fortunately, the keyboard controls are so nice that I don’t mind.

I made a few in-app purchases, because I like to pay what I think a “free” game is worth if I keep playing it. However, the items purchased are tied to a specific vault, so if you have 3 vaults and want to buy pets, you have to make three separate purchases; you can’t buy N pets and divide them between your vaults. Worse, if you delete the vault or the save file gets corrupted, you lose your purchases. For the final straw, the basic Lunchbox purchase is a total crapshoot, emphasis on the “crap”; you can spend real money and get nothing worthwhile. The only nice thing I can say is that the new Starter Packs appear to be guaranteed to have useful content, but if you buy an N-pack, they still all go to the same vault.

People quickly discovered how to read the file format and wrote a variety of tools to edit saves, but the most-recommended one runs under the Android emulator. I didn’t care about most of what the tools do, and I have an aversion to downloading anything that’s advertised as a cheat tool, because malware, so I poked around until I found the cleanest solution that used simple command-line tools. Specifically, OpenSSL and JQ.

After a little tinkering, I knocked together a simple (okay, it’s gotten rather elaborate…) bash script containing some common operations. Specifically, decrypt-and-pretty-print, convert to survival/normal mode, rename your vault, “buy” a bunch of lunchboxes and resources, and apply arbitrary JQ filter expressions from a file (for more complicated modding).

As for moving the files around, the PC version puts them in a quite sensible location. The iOS version is only accessible if you’ve enabled iCloud sharing, and then you have to go hunting in obscure sub-directories to copy a save from your iDevice, and to sync it back, the only way I’ve found is to copy it somewhere else, delete it from inside the game, copy it back (possibly increasing the last few digits of the filename), and then click the iCloud checkbox on the now-empty save slot (waiting a bit to give iCloud time to copy back and forth).

If I get motivated enough, I’ll sort through the Dweller data and make a tool to batch-rename them and sort out their relationship data (the game prevents direct incest, but after playing for a few months, I haven’t the slightest idea who bred with who). [update: turns out they don’t accurately track parentage. If a parent dies or is kicked out of the vault, the next person to arrive will inherit their id number, effectively adopting any children.]

Dear Weeping Angel,


Bad time to cover your face?

Weeping Angel versus stairs

(via)

Had to close the window...


Sigh. My neighbor’s son is rapping in the back yard while shooting hoops. Badly (the rapping, at least). I presume he’s wearing headphones, since all I hear is his attempt to sound black.

Woman of March


Small plug for a book of poetry by my old Japanese teacher, Yumiko Tsumura. Scheduled for release in November.

Yumiko Tsumura, Woman of March

It's in the air


The County called my home phone number this morning, instructing me to stay indoors with my windows closed. I can’t imagine why.

Soberanes fire

The closest point is a good 20 miles from my house, but part of what keeps Salinas cool and damp in the summer is the wind coming in from the ocean, so while the fire won’t come anywhere near me, the particulate matter will.

It doesn’t look like they’ve caught the person whose illegal campfire started it.

“Need a clue, take a clue,
 got a clue, leave a clue”