Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: How to 'write' accented/special Characters  (Read 928 times)

Refar

  • Bay Watcher
    • View Profile
How to 'write' accented/special Characters
« on: October 18, 2008, 07:11:17 am »

I am trying to mod language files and need a way to input these odd characters somehow... So far everything i tries was to no avail.
What software / method do you use to successfully edit these ?
Logged
Today on Home Improvement TV:
Urist Twolefthand, Dabbling Mechanic, assembles a 10x Crossbow weapon trap.

Jifodus

  • Bay Watcher
  • Resident Lurker
    • View Profile
    • Dwarf Fortress Projects
Re: How to 'write' accented/special Characters
« Reply #1 on: October 18, 2008, 09:43:38 am »

First you'll want to change the font to Terminal (if you're using Windows). Then you should use Programs>Accessories>System Tools>Character Map and also use the Terminal font. There are other ways no doubt, but this doesn't require any third party tools.
Logged

Refar

  • Bay Watcher
    • View Profile
Re: How to 'write' accented/special Characters
« Reply #2 on: October 18, 2008, 10:01:45 am »

I can get the symbols to diplay, that is not the problem.
I can not write them (Some of them - specifically say male/female ones). They are not on the Keyboard, they are not in the Character Table from Terminal font.
Copy/paste from other applications (where they do show up in the character table to choose from) does not work...
Logged
Today on Home Improvement TV:
Urist Twolefthand, Dabbling Mechanic, assembles a 10x Crossbow weapon trap.

Jifodus

  • Bay Watcher
  • Resident Lurker
    • View Profile
    • Dwarf Fortress Projects
Re: How to 'write' accented/special Characters
« Reply #3 on: October 18, 2008, 10:55:28 am »

Use the ALT/numpad trick and use this as a reference. You will have to convert the hex ordinals to decimal first though.
Logged

Refar

  • Bay Watcher
    • View Profile
Re: How to 'write' accented/special Characters
« Reply #4 on: October 18, 2008, 11:27:46 am »

Tried... the Notepad doesn't recognize the characters, so it will display (and save) these as ?

Edit: The Problem seem to affect only the first 32 characters in the code page - these do not get displayed in character tables, are saved screwy, etc.
All the others seem to work fine...

Edit2: Ok, got it working... Had to HexEdit these in. Odd.
« Last Edit: October 18, 2008, 11:50:45 am by Refar »
Logged
Today on Home Improvement TV:
Urist Twolefthand, Dabbling Mechanic, assembles a 10x Crossbow weapon trap.

Nonanonymous

  • Bay Watcher
  • A blithering idiot
    • View Profile
Re: How to 'write' accented/special Characters
« Reply #5 on: October 18, 2008, 05:13:16 pm »

If you mean to do this for tiles, you have to use the number of the character you want to display.

Language, the best thing you can do is find an existing word that has the character you want to use, then copy and paste that specific character into your word.
Logged

Refar

  • Bay Watcher
    • View Profile
Re: How to 'write' accented/special Characters
« Reply #6 on: October 19, 2008, 03:53:41 am »

I mean to do this for Creature Definitions (Adding gender makers to each i care about breeding)
These were not used in any Language file yet.
And yes, i do use C&P now, after i Hex Edited the first set of markers in.
Logged
Today on Home Improvement TV:
Urist Twolefthand, Dabbling Mechanic, assembles a 10x Crossbow weapon trap.

Nonanonymous

  • Bay Watcher
  • A blithering idiot
    • View Profile
Re: How to 'write' accented/special Characters
« Reply #7 on: October 19, 2008, 12:48:52 pm »

The gender symbol already shows up next to the creatures name, why do you need to add it to the names?
Logged

Refar

  • Bay Watcher
    • View Profile
Re: How to 'write' accented/special Characters
« Reply #8 on: October 19, 2008, 01:22:53 pm »

It shows up in Pet list and unit details.
Not in Assign (or free) to Cage / Chain / Pit selections - where it really matters for breeding.
Does not make a lot of a difference if you have just few animals. But i am running a Leather Export fort with really a lot of animals... It became quite tedious to look up the genders from the list screen and then guess which one animal to release every time.
So now is started to add the gender markers to more and more Raw's as i get new Animals from the elves...
« Last Edit: October 19, 2008, 01:25:21 pm by Refar »
Logged
Today on Home Improvement TV:
Urist Twolefthand, Dabbling Mechanic, assembles a 10x Crossbow weapon trap.