v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Utility:Accent Removal"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (Undo revision 30871 by Jackard (Talk) - Hosted file lost restoring list)
m (Found a copy of the more recent file.)
Line 2: Line 2:
 
You can remove accents from your texts - this even works on existing worlds.
 
You can remove accents from your texts - this even works on existing worlds.
  
1. Download [http://www.inforapid.de/html/searchreplace.htm Inforapid Search and Replace.]<br>
+
Download [http://www.inforapid.de/html/searchreplace.htm Inforapid Search and Replace.]
2. Save the list below to a text file.<br>
+
 
3. Find the following files in DF\raw\objects:<br>
+
Save the list below to a text file.
 +
 
 +
Find the following files in DF\raw\objects:
 
*language_DWARF.txt
 
*language_DWARF.txt
 
*language_ELF.txt
 
*language_ELF.txt
Line 10: Line 12:
 
*language_HUMAN.txt
 
*language_HUMAN.txt
  
4. Select them all, right-click and choose 'Search with InfoRapid' from the menu.<br>
+
Select them all, right-click and choose 'Search with InfoRapid' from the menu.
5. Click the Replace tab that shows up in the lower half of the window.<br>
 
6. Select your text file from before in the Replace With field, make sure Replace is set to 'Whole Search Expression' and click Start.<br>
 
7. A prompt will appear asking for confirmation. Check the Replace All button and click Yes.
 
  
When the program stops running you are done. Go ahead and close InfoRapid, no need to save search results.
+
Click the Replace tab that shows up in the lower half of the window.
 +
 
 +
Select your text file from before in the Replace With field, make sure Replace is set to 'Whole Search Expression' and click Start.
 +
 
 +
A prompt will appear asking for confirmation. Check the Replace All button and click Yes. When the program stops running you are done.
  
  
Line 24: Line 27:
 
</Command>
 
</Command>
 
<Command>
 
<Command>
<Search> </Search>
+
<Search> </Search>
 
<Replace>a</Replace>
 
<Replace>a</Replace>
 
</Command>
 
</Command>
Line 42: Line 45:
 
<Search>‡</Search>
 
<Search>‡</Search>
 
<Replace>c</Replace>
 
<Replace>c</Replace>
 +
</Command>
 +
<Command>
 +
<Search>‰</Search>
 +
<Replace>e</Replace>
 
</Command>
 
</Command>
 
<Command>
 
<Command>
Line 56: Line 63:
 
</Command>
 
</Command>
 
<Command>
 
<Command>
<Search>‰</Search>
+
<Search></Search>
<Replace>e</Replace>
 
</Command>
 
<Command>
 
<Search>¡</Search>
 
 
<Replace>i</Replace>
 
<Replace>i</Replace>
 
</Command>
 
</Command>
Line 68: Line 71:
 
</Command>
 
</Command>
 
<Command>
 
<Command>
<Search>Œ</Search>
+
<CaseSensitive>Yes</CaseSensitive>
 +
<Search>¡</Search>
 
<Replace>i</Replace>
 
<Replace>i</Replace>
 
</Command>
 
</Command>
 
<Command>
 
<Command>
<Search></Search>
+
<Search>Œ</Search>
 
<Replace>i</Replace>
 
<Replace>i</Replace>
 
</Command>
 
</Command>
Line 110: Line 114:
 
<Search>˜</Search>
 
<Search>˜</Search>
 
<Replace>y</Replace>
 
<Replace>y</Replace>
</Command></pre>
+
</Command>
 +
</pre>

Revision as of 05:27, 24 February 2009

Replacing accented letters with normal ones in the raws fixes this problem.

You can remove accents from your texts - this even works on existing worlds.

Download Inforapid Search and Replace.

Save the list below to a text file.

Find the following files in DF\raw\objects:

  • language_DWARF.txt
  • language_ELF.txt
  • language_GOBLIN.txt
  • language_HUMAN.txt

Select them all, right-click and choose 'Search with InfoRapid' from the menu.

Click the Replace tab that shows up in the lower half of the window.

Select your text file from before in the Replace With field, make sure Replace is set to 'Whole Search Expression' and click Start.

A prompt will appear asking for confirmation. Check the Replace All button and click Yes. When the program stops running you are done.


<Command>
	<Search>„</Search>
	<Replace>a</Replace>
</Command>
<Command>
	<Search> </Search>
	<Replace>a</Replace>
</Command>
<Command>
	<Search>ƒ</Search>
	<Replace>a</Replace>
</Command>
<Command>
	<Search>†</Search>
	<Replace>a</Replace>
</Command>
<Command>
	<Search>…</Search>
	<Replace>a</Replace>
</Command>
<Command>
	<Search>‡</Search>
	<Replace>c</Replace>
</Command>
<Command>
	<Search>‰</Search>
	<Replace>e</Replace>
</Command>
<Command>
	<Search>‚</Search>
	<Replace>e</Replace>
</Command>
<Command>
	<Search>Š</Search>
	<Replace>e</Replace>
</Command>
<Command>
	<Search>ˆ</Search>
	<Replace>e</Replace>
</Command>
<Command>
	<Search>‹</Search>
	<Replace>i</Replace>
</Command>
<Command>
	<Search></Search>
	<Replace>i</Replace>
</Command>
<Command>
	<CaseSensitive>Yes</CaseSensitive>
	<Search>¡</Search>
	<Replace>i</Replace>
</Command>
<Command>
	<Search>Œ</Search>
	<Replace>i</Replace>
</Command>
<Command>
	<Search>¤</Search>
	<Replace>n</Replace>
</Command>
<Command>
	<Search>•</Search>
	<Replace>o</Replace>
</Command>
<Command>
	<Search>”</Search>
	<Replace>o</Replace>
</Command>
<Command>
	<Search>“</Search>
	<Replace>o</Replace>
</Command>
<Command>
	<Search>¢</Search>
	<Replace>o</Replace>
</Command>
<Command>
	<Search>—</Search>
	<Replace>u</Replace>
</Command>
<Command>
	<Search>–</Search>
	<Replace>u</Replace>
</Command>
<Command>
	<Search>£</Search>
	<Replace>u</Replace>
</Command>
<Command>
	<Search>˜</Search>
	<Replace>y</Replace>
</Command>