Skip to content

aayes89/XenonRecompCompiledFiles

Repository files navigation

XenonRecomp Compiled Files for Linux

  • Using Windows 10 X86_64 (WLS2 with Debian 12)
  • GNU Make 4.3 Built for x86_64-pc-linux-gnu
  • cmake version 3.25.1
  • git version 2.39.5

How to use

Usages:

  • XenonAnalyse:
    • XenonAnalyse [input XEX file path] [output jump table TOML file path]
  • XenonRecomp:
    • XenonRecomp [input TOML file path] [PPC context header file path]
  • XenosRecomp:
    • XenosRecomp [input path] [output path] [shader common header file path]

Troubleshooting

These compiled files were made possible after addressing some bugs in the implementation of some headers in the code.
Particularly in the xbox.h and xdbf.h files.

xbox.h

Patch blocks 243 to 263 to fix issues with unions: typedef struct _XXOVERLAPPED { union { struct { be Error; be Length; } errorLength;
    struct
    {
        uint32_t InternalLow;
        uint32_t InternalHigh;
    } internalParts;
}data;
uint32_t InternalContext;
be<uint32_t> hEvent;
be<uint32_t> pCompletionRoutine;
be<uint32_t> dwCompletionContext;
be<uint32_t> dwExtendedError;

} XXOVERLAPPED, *PXXOVERLAPPED;

xdbf.h

Patch block 129 to 138 to remove anonymity: union XDBFTitleID { struct { be u16; char u8[0x02]; }parts; be u32; };

shader_recompiler.cpp

Patch on structs: struct{ uint32_t code1; uint32_t code2; uint32_t code3; uint32_t code4; }; struct{ int8_t x; int8_t y; int8_t z; int8_t w; }; to struct Code_flow{ uint32_t code1; uint32_t code2; uint32_t code3; uint32_t code4; }; Code_flow cf; struct VarInt8{ int8_t x; int8_t y; int8_t z; int8_t w; }; VarInt8 vint;

Thanks

Base on Edge-dev project.

About

XenonRecomp compiled for Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors