Author Topic: Typing names with accent marks  (Read 3631 times)

Offline Marrik

  • Colonel
  • ****
  • Posts: 180
    • View Profile
Typing names with accent marks
« on: January 14, 2023, 07:32:23 am »
How do you type accent marks in Xcom Files with a standard English keyboard?

Offline Juku121

  • Commander
  • *****
  • Posts: 1796
  • We're all mad here.
    • View Profile
Re: Typing names with accent marks
« Reply #1 on: January 14, 2023, 01:29:17 pm »
No clue. 'Native' accents do work, Alt codes do not.

So, alternatives:
  • Save, edit whatever you need changed, reload.
  • Switch keyboard language.
  • Remap your keyboard, either directly or with something like Autohotkey.

Offline TBeholder

  • Sergeant
  • **
  • Posts: 41
    • View Profile
Re: Typing names with accent marks
« Reply #2 on: January 14, 2023, 03:57:34 pm »
You mean for text fields in the game?
• If you want to use such things regularly, it’s probably easier to enable the relevant layout.
• If not, using Compose button is slower, ḅüť 🅸🆃 ãĺļóŵṣ lots of ⓕ🄐🄽©ẙ symbols (just tested in OXCE 7.8.7 — works for me).  ☺ Practically, however, it’s up to the font. Which is awesome compared to DOS, but as Unicode goes, almost modest. So the Greek letters, Roman numerals and « » † ‡ ← → ↑ ↓ © ♂ ♀ ≡ ≪ ≫ ¡ ¿ ∧ ∨ ∩ ∪ ⊂ ⊃ ∈ ∋ are supported, but × ≈ ≤ ≥ 〈 〉 ∉ ∌ ‼ ⁈ — ⌀ ⯐ ⌁ ⚡ ☢ ☣ ⚛ ⛏ ⚒ ⚓ ⚕ ☤ are replaced with question marks and characters >2 bytes (🕏 🌡 🎃 ) are ignored. For some reason, ½ ¼ are replaced with tiny dots, but ⅓ ⅕⅙ ⅐ ⅛ ⅟ with question mark.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11702
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Typing names with accent marks
« Reply #3 on: January 14, 2023, 05:45:32 pm »
Since this is a general OXCE question, I'll move it to the correct place.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9047
    • View Profile
Re: Typing names with accent marks
« Reply #4 on: January 14, 2023, 06:04:19 pm »
This has "nothing" to do with OXC/OXCE.

You type letters in OXC/OXCE the same way as in any other application.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11702
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Typing names with accent marks
« Reply #5 on: January 14, 2023, 06:19:26 pm »
This has "nothing" to do with OXC/OXCE.

You type letters in OXC/OXCE the same way as in any other application.

If I want to name my soldier Mikołaj Świerzyński, then indeed I can, because my system language is Polish.
But if I wanted to name this soldier Kálmán Mészöly, I could not, because I can't write Hungarian national characters which don't exist in the Polish set. (Except in MS Word and some other apps, which have special key bindings.)

I personally don't think it's a reasonable request, but it is for OXCE, not my mod. ;)

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9047
    • View Profile
Re: Typing names with accent marks
« Reply #6 on: January 14, 2023, 06:30:07 pm »
Then you go to Windows and install a Hungarian keyboard.

OXC/OXCE engine accepts all letters, we literally can't do more for you.

If you want a virtual keyboard in OXC/OXCE, then with all due respect, go somewhere.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9047
    • View Profile
Re: Typing names with accent marks
« Reply #7 on: January 14, 2023, 06:33:25 pm »
Topic moved from "OpenXcom Extended" to "Troubleshooting".

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11702
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Typing names with accent marks
« Reply #8 on: January 14, 2023, 08:59:17 pm »
Exactly.

Just to be clear: I was only explaining the opening issue, it wasn't what I thought!
« Last Edit: January 14, 2023, 09:39:54 pm by Solarius Scorch »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9047
    • View Profile
Re: Typing names with accent marks
« Reply #9 on: January 14, 2023, 09:39:18 pm »
I was also talking to you (2nd person plural), not to you (2nd person singular) :)

Offline TBeholder

  • Sergeant
  • **
  • Posts: 41
    • View Profile
Re: Typing names with accent marks
« Reply #10 on: January 15, 2023, 06:22:30 am »
Lol. Anyway, a somewhat more comprehensive answer: accents are in  FontBig.png sheet. The “extra” Unicode symbols are in FontBig_jp.png sheet.
The characters are mapped in Font.dat:
Code: [Select]
    images:
      - file: FontBig.png
        chars: >
          !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖŐŰÙÚÛÜÝÞŸßàáâãäåæçèéêëìíîïðñòóôõöőűùúûüýþÿФИСВУАПРШОЛДЬТЩЗЙКЫЕГМЦЧНЯфисвуапршолдьтщзйкыегмцчнябБжЖхХъЪэЭюЮĆĘ깣泥ŚśźżŻŹŃńĂăȘȚșțČĎĚŇŘŠŤŮŽčďěňřšťůžЄєŒœіІїЇøØĞŞİğşıΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρστυφχψωΆΈΉΊΌΎΏάέήίόύώςΐϊĹĽŔĺľŕ∞ЁёĐđ
      - file: FontBig_jp.png
        chars: >
          ‐―‘’“”†‡‥…‰′″※℃№℡ÅⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ←↑→↓⇒⇔∀∂∃∇∈∋∑√∝∞∟∠∥∧∨∩∪∫∬∮∴∵∽≒≠≡≦≧≪≫⊂⊃⊆⊇⊥⊿⌒①②③④⑤⑥⑦⑧⑨⑩⑪⑫⑬⑭⑮⑯⑰⑱⑲⑳─━│┃┌┏┐┓└┗┘┛├┝┠┣┤┥┨┫┬┯┰┳┴┷┸┻┼┿╂╋■□▲△▼▽◆◇○◎●◯★☆♀♂♪♭♯ 、。〃々〆〇〈〉《》「」『』【】〒〓〔〕〝〟
[…]
Xcom Files for some reason uses slightly changed FontBig/FontSmall — «đ» disappeared, but other accent characters remain where they were. It does not have its own Font.dat or FontBig_jp.png, thus for the rest should behave just like vanilla.
Dioxine_XPiratez does have its own font config, but changes are not related to character lists, other than removing small Korean sets under FONT_GEO_*. Otherwise should behave just like vanilla, since the sheets are unchanged.
X1Overhaul adds big Korean sheets, for that matter.

For curious modders — consider at least some of ☀ ☐☑☒ ☛☞ ☠☢☣☹☺ ☼☽ ⚐⚑⚒⚓⚔⚙⚛⚠⚡⛉⛊⛏ ⯐.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11702
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Typing names with accent marks
« Reply #11 on: January 15, 2023, 01:00:42 pm »
It appears that the vanilla character set was updated, whereas XCF still uses an older one. I'll add the new characters. :)