Skip to content
1vs100Public
forked from landaire/exui

About

Xbox 360 XUI decompiler

Resources

Stars

1 star

Watchers

0 watching

Forks

 
 

Latest commit

 

History

30 Commits

Folders and files

Repository files navigation

exui

  • Decompiles Xbox 360 XUI scenes (.xur) and string tables (.xus) to XML.
  • Compiles that XML, or XUI files you write yourself, back to the binary forms.
  • Unpacks and packs XUIZ archives.
  • Runs XUI scenes in your own program with the exui-runtime library.

Usage

Decompile an archive into a directory of .xui scenes, .xus.xml string tables and the other files:

exui decompile dashmain -o dashmain-src --order-file dashmain.order

Edit the files, then build the archive again:

exui pack dashmain-src -o dashmain --order dashmain.order

Without --order the entries are sorted by name. Compile a single scene or string table with exui compile scene.xui or exui compile strings.xus.xml. exui extract and exui list work on archives without decompiling.

A decompiled scene compiles back to the same bytes. The text rules that make this work are in doc/xui-format.md.

Libraries

exui-core reads XUIZ archives and XUR scenes. Use it if you only need the file formats.

exui-runtime instantiates scenes, runs their timelines, focus and messages, lays out text and renders each frame to an xbox360-draw draw list. It is no_std and runs on the console and on a PC. You supply the archives and a renderer. xbox360-raster is a software renderer for that draw list.

let mut ui = exui_runtime::Ui::new(registry, &archives, display);
ui.load_scene("section://0,main#", "main.xur")?;
loop {
    ui.update(frame_time);
    ui.draw(&mut renderer, &mut draw_list)?;
}

The behavior the runtime reproduces is described in doc/xui-render.md, doc/xui-controls.md, doc/xui-timelines.md and doc/xui-text.md.

exui-extension is the descriptor format of extension archives, which add scenes and patch existing ones without changing the base archives.

Building

cargo build --release

About

Xbox 360 XUI decompiler

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages