Skip to content
sbobovyc edited this page Mar 2, 2012 · 3 revisions

At the moment, cui_magick just prints out information about the data structures found in the file. Essentially the file consists of sections.

Section 1 - mapping text variables to compiled text files (ctx)
Section 2 - mapping sound ids to sounds
Section 3 - unknown, possibly mapping meta data of sound files to sound id
Section 4 - mapping font id to font files (jff)
Section 5 - mapping ui resources to files (dds)
Section 6 - mapping ui icon graphics to ui resources
Section 7 - UI element definitions
Section 8 - game GUI definitions

The tools parses the file up to section 7. Many parts of the data structures are still unknown. For those interested, I've documented parts of section 7 and section 8 in cui_file.py.

For that want to play around with cui_magick.exe:

  1. open a command line terminal
  2. go to the exe
  3. run the command
    cui_magick.exe \path\to\interface.cui
  4. the output is really long, so pipe the output to a file:
    cui_magick.exe \path\to\interface.cui > output.txt