User Interface Layout (game.nui)
Summary
This file format contains the markup of the game interface.
This file is just an XML. The encoding is always(?) EUC-KR for known samples.
The top level object is the <document>
, which contains:
- FILEINFO
- DIALOGLIST
- COMPONENTLIST (old)
graph TD document --> FILEINFO document --> DIALOGLIST document --> COMPONENTLIST["(old) COMPONENTLIST"] DIALOGLIST --> DIALOG DIALOGLIST --> D["(old) D"] DIALOG --> CONTROL CONTROL --> INFO CONTROL --> NATION INFO --> N D --> D_C["(old) C"] D_C --> |GUID| COMPONENTLIST_C COMPONENTLIST --> COMPONENTLIST_C["(old) C"]
Locations
Data\gameui\game.nui
Data\
beingData_US\
orData_TW\
or the equivalent for any other region
FAQ
Help, instead of korean I just see garbage!
Check the beginning of the file for a section like this: <?xml version="1.0" encoding="euc-kr" ?>
. In this example it defines the encoding as EUC-KR.
Most text editors support reopening files in another encoding and if not already detected as EUC-KR, it should be changed.
In VS Code this can be done by pressing CTRL+SHIFT+P, selecting Change File Encoding
, which lets you reopen or save the file in a different encoding.