0 of 0

File information

Last updated

Original upload

Created by

Lummox JR

Uploaded by

LummoxJR

Virus scan

Safe to use

About this mod

A collection of xEdit scripts for finding or fixing "tofu" caused by characters that don't display in game fonts.

Requirements
Permissions and credits
Changelogs
Ever play the game and notice a weird square where a quotation mark or an apostrophe is supposed to be?

The fonts that shipped with Skyrim weren't meant to handle curly quotes and many other characters. Unfortunately, a lot of mod authors write dialogue and text in editors that use "smart" quotes, the second dumbest feature ever invented for word processors next to Clippy. (As a typography enthusiast, it makes me crazy to see a curly quote facing the wrong way when it was meant to be an apostrophe.) When they paste that text into Creation Kit or xEdit, the curly quotes come along for the ride, and the game can't display them. Hence you see a square that looks a lot like a block of tofu.

This collection of xEdit scripts is a resource for modders or players who want to patch mods themselves. The scripts were made using Idrinth's DSDifyer as a starting point, and of course this was inspired by Squares of Skyrim - Tofu Patches so show some love to both of their creators.

How does it work?

The scripts look for common "tofu" characters, and either replaces them with the right text or shows you where to find the affected records.

  • Curly single quotes ⇒ straight apostrophe
  • Curly double quotes ⇒ straight double quote
  • EM dash ⇒ double hyphen
  • EN dash ⇒ hyphen
  • Ellipsis ⇒ three periods

What do the scripts do?

There are four scripts in the collection.
  • Tofu Detect simply lists any records with detected tofu in the messages area of xEdit. Select any mods or records you want to check, and apply the script.
  • Tofu Repair makes changes to any plugins you select that have tofu, replacing the tofu with the appropriate characters. Be sure to back up the plugins first, unless xEdit is already backing them up for you.
  • Tofu to Patch creates a patch plugin with overrides for the mods in question.
  • Tofu to DSD creates a file for use with Dynamic String Distributor that will replace the text.

All scripts are provided as-is and at your own risk. Always practice safe modding.

Installation

Simply unzip the files and place them in the Edit Scripts directory for your SSEEdit/xEdit installation.