XenonRecomp
XenonRecomp copied to clipboard
Segmentation fault with no information
Ive been playing around with this program. just to see what it can do however it seems that there are alot of issues and segmentation faults wtih no debugging info.
test.toml
[main]
file_path = "./default.xex"
out_directory_path = "./ppc"
switch_table_file_path = "./switch/"
Now when I try to run XenonRecomp
Intrestingly Ive tried running XenonAnalyze with my .xex(Plants vs zombies is what im trying to use.) and it seems to not have found a single jump table
jumptest.toml
# Generated by XenonAnalyse
# ---- ABSOLUTE JUMPTABLE ----
# ---- COMPUTED JUMPTABLE ----
# ---- OFFSETED JUMPTABLE ----
forgot to upload the directory where im running it. whoops
Edit: Ive also tried Minecraft xbox 360 edition and also have gotten an empty XenonAnalyse toml file when running XenonAnalyse
# Generated by XenonAnalyse
# ---- ABSOLUTE JUMPTABLE ----
# ---- COMPUTED JUMPTABLE ----
# ---- OFFSETED JUMPTABLE ----
Id like to formally apolgize. I used the XBLA arcade versions. ill try the normal ones. Again my bad
Ok Ive tried the Non xbox live arcade version of plants vs zombies.
I tried Xenonanyse and it still generates nothing like before. Tried XenonRecomp and it gets a little bit further but still segfaults
bazzite@bazzite:/var/home/bazzite/Documents/ohio/XenonRecomp/build/XenonRecomp$ ./XenonRecomp ./test.toml ./ppc_context.h
Recompiling functions... 0.0067994837%
Segmentation fault (core dumped)
my toml file
[main]
file_path = "./oof/default.xex"
out_directory_path = "./ppc"
minecraft xbox 360 edition does the same thing. segfaults but it does get a little bit further. I forgot to say but both pvz and minecraft xbox 360 edition does generate some files in the ppc folder before crashing
heres me doing minecraft xbox 360 edition(same toml file as before)
Im a worthless script kiddie I get whats wrong now.
If im to get this to work Im going to have to manually search and find the jump tables using ida as the anayliser is only meant for sonic unleashed. Im assuming there is no way to automate this process.
Hey there, I made a quick change to handle the cases where the addresses for register/save functions aren't specified, could you try again?
sure ill try it again. thanks for the quick reply :)
Hey there, I made a quick change to handle the cases where the addresses for register/save functions aren't specified, could you try again?
yes Ok I have done it again. I used Plants vs zombies Xex as its a 2d game and the simpliest I could think of that I own.
its a very long output so ive reduced repeating ones to make it shorter. you can view the full thing https://pastebin.com/HQ6PA69y here as I pretty lazily cut things and may have cut something important.
./XenonRecomp ./test.toml ./ppc_context.h
ERROR: __restgprlr_14 address is unspecified
ERROR: __savegprlr_14 address is unspecified
ERROR: __restfpr_14 address is unspecified
ERROR: __savefpr_14 address is unspecified
ERROR: __restvmx_14 address is unspecified
ERROR: __savevmx_14 address is unspecified
ERROR: __restvmx_64 address is unspecified
ERROR: __savevmx_64 address is unspecified
Recompiling functions... 0.0069103725%
Unrecognized instruction at 0x8206485C: sthu
Unrecognized instruction at 0x820693D4: lhzu
Unrecognized instruction at 0x820694A8: lhzu
Unrecognized instruction at 0x8206B170: eqv
Unrecognized instruction at 0x820718D8: addme
Unrecognized instruction at 0x82071928: addme
Unrecognized instruction at 0x82077918: sthu
Unrecognized instruction at 0x82077998: lhzu
Unrecognized instruction at 0x82077ACC: lhzu
Unrecognized instruction at 0x82077C00: lhzu
Unrecognized instruction at 0x82077C68: sthu
Unrecognized instruction at 0x82077CCC: sthu
Unrecognized instruction at 0x8207B2D8: lhzu
Unrecognized instruction at 0x8207D0C8: stfsu
Unrecognized instruction at 0x8207E160: eqv
Unrecognized instruction at 0x8207EF60: lfsux
Unrecognized instruction at 0x8207EF64: stfsu
Unrecognized instruction at 0x8207FB28: lfsux
Unrecognized instruction at 0x8208EB48: addme
Unrecognized instruction at 0x82092900: bso
Unrecognized instruction at 0x82093F48: bso
Unrecognized instruction at 0x82093F48: bso
Recompiling functions... 14.159353%
Unrecognized instruction at 0x8209FCD4: subfze
Unrecognized instruction at 0x8209FDFC: eqv
Unrecognized instruction at 0x8209FF24: eqv
Unrecognized instruction at 0x820A0208: eqv
Unrecognized instruction at 0x820A243C: bso
Unrecognized instruction at 0x820A9070: sthu
Unrecognized instruction at 0x820A9070: sthu
Unrecognized instruction at 0x820AB3FC: eqv
Unrecognized instruction at 0x820E032C: sthu
Unrecognized instruction at 0x820E042C: sthu
Unrecognized instruction at 0x820E0588: sthu
Unrecognized instruction at 0x820E0670: sthu
Unrecognized instruction at 0x820E0BA8: sthu
Unrecognized instruction at 0x820E0EB0: sthu
Unrecognized instruction at 0x820F77F8: sthu
Unrecognized instruction at 0x82107EFC: subfze
Unrecognized instruction at 0x8210A3F8: sthu
Unrecognized instruction at 0x8210CE54: addc
Unrecognized instruction at 0x8210CE64: addc
Unrecognized instruction at 0x8210DC5C: bnslr
Unrecognized instruction at 0x8210E154: bso
Unrecognized instruction at 0x821108C8: bso
Unrecognized instruction at 0x821108D4: bns
Unrecognized instruction at 0x821109A4: bso
Unrecognized instruction at 0x821109B0: bns
Unrecognized instruction at 0x821137C4: eqv
Unrecognized instruction at 0x821137C8: eqv
Unrecognized instruction at 0x821141CC: stfsu
Unrecognized instruction at 0x82115324: stfsu
Unrecognized instruction at 0x82115AEC: bso
Unrecognized instruction at 0x82115B48: stfsu
Unrecognized instruction at 0x82115B64: lfsu
Unrecognized instruction at 0x82115CF8: stfsu
Unrecognized instruction at 0x82115D14: lfsu
Unrecognized instruction at 0x821166B8: stfsu
Unrecognized instruction at 0x8211897C: bns
Unrecognized instruction at 0x821189A0: bns
Unrecognized instruction at 0x82118A10: bns
Unrecognized instruction at 0x8211AA30: sthu
Unrecognized instruction at 0x8211AA44: sthu
Unrecognized instruction at 0x8211AA5C: sthu
Recompiling functions... 28.311794%
Unrecognized instruction at 0x82123CE4: eqv
Unrecognized instruction at 0x8212558C: subfze
Unrecognized instruction at 0x821259B8: addme
Unrecognized instruction at 0x8212BB64: subfze
Unrecognized instruction at 0x8212CBD4: lhzu
Unrecognized instruction at 0x8212D218: addme
Unrecognized instruction at 0x8212F6D8: bso
Unrecognized instruction at 0x8212F7A0: bso
Unrecognized instruction at 0x8213B9C0: sthu
Unrecognized instruction at 0x8213D278: sthu
Unrecognized instruction at 0x8213F7B4: bso
Unrecognized instruction at 0x8213F7B4: bso
Unrecognized instruction at 0x8214C1EC: lhzu
Unrecognized instruction at 0x8214C1F0: sthu
Unrecognized instruction at 0x8214CC50: lhzu
Unrecognized instruction at 0x8214CC54: sthu
Unrecognized instruction at 0x821504CC: lhzu
Unrecognized instruction at 0x821504D0: sthu
Unrecognized instruction at 0x82153CD4: bso
Unrecognized instruction at 0x82154830: bso
Unrecognized instruction at 0x82154A8C: lwzux
Unrecognized instruction at 0x82154CAC: lwzux
Unrecognized instruction at 0x82154FE0: lwzux
Unrecognized instruction at 0x821551DC: lwzux
Unrecognized instruction at 0x82157CD0: bso
Unrecognized instruction at 0x82157D98: lwzux
Unrecognized instruction at 0x82157E4C: lwzux
Unrecognized instruction at 0x821580A8: bso
Unrecognized instruction at 0x821584E0: lhzu
Unrecognized instruction at 0x8215871C: bso
Unrecognized instruction at 0x821587E0: lbzux
Unrecognized instruction at 0x82158898: lbzux
Unrecognized instruction at 0x82158AFC: bso
Unrecognized instruction at 0x82158F34: lhzu
Unrecognized instruction at 0x82159480: stfsu
Unrecognized instruction at 0x8215A05C: bso
Unrecognized instruction at 0x8215A06C: bso
Recompiling functions... 42.464237%
Unrecognized instruction at 0x82165E88: eqv
Unrecognized instruction at 0x82165F50: bns
Unrecognized instruction at 0x82167E80: bso
Unrecognized instruction at 0x82168700: subfze
Unrecognized instruction at 0x821690C0: sthu
Unrecognized instruction at 0x82169640: sthu
Unrecognized instruction at 0x821698A8: lfsu
Unrecognized instruction at 0x82169FC0: lfsu
Unrecognized instruction at 0x8216F4D0: bso
Unrecognized instruction at 0x8216F9E4: lhzu
Unrecognized instruction at 0x8216F9E8: sthu
Unrecognized instruction at 0x82170050: lhzu
Unrecognized instruction at 0x82170054: sthu
Unrecognized instruction at 0x82175A80: bso
Unrecognized instruction at 0x82176068: bso
Unrecognized instruction at 0x82176A14: addme
Unrecognized instruction at 0x82176A48: addme
Unrecognized instruction at 0x82176A14: addme
Unrecognized instruction at 0x82176A48: addme
Unrecognized instruction at 0x8217C9EC: subfze
Unrecognized instruction at 0x8217CB04: subfze
Unrecognized instruction at 0x8217CC1C: subfze
Unrecognized instruction at 0x8217FDB4: subfze
Unrecognized instruction at 0x8217FDB4: subfze
Unrecognized instruction at 0x8218B5F0: lhzu
Unrecognized instruction at 0x8218F4D4: lhzu
Unrecognized instruction at 0x8218F504: lhzu
Unrecognized instruction at 0x82190D98: bso
Unrecognized instruction at 0x821917F8: lfdu
Unrecognized instruction at 0x821917FC: lfdu
Unrecognized instruction at 0x8219191C: stfdu
Unrecognized instruction at 0x82191920: stfdu
Unrecognized instruction at 0x82191948: lfdu
Unrecognized instruction at 0x8219197C: stfdu
Unrecognized instruction at 0x82191980: stfdu
Unrecognized instruction at 0x8219199C: lfdu
Unrecognized instruction at 0x821919B8: stfdu
Unrecognized instruction at 0x82191EFC: stfdu
Unrecognized instruction at 0x82191F18: stfdu
Unrecognized instruction at 0x82191FAC: stfdu
Unrecognized instruction at 0x82191FC8: stfdu
Unrecognized instruction at 0x82192E50: lhzu
Unrecognized instruction at 0x82192ED0: lhzu
Unrecognized instruction at 0x82195DB4: bso
Unrecognized instruction at 0x82195DDC: bso
Unrecognized instruction at 0x82195E0C: bso
Unrecognized instruction at 0x82196354: bso
Unrecognized instruction at 0x82196648: bso
Recompiling functions... 56.61668%
Unrecognized instruction at 0x82198D9C: sthu
Unrecognized instruction at 0x8219961C: lhzu
Unrecognized instruction at 0x82199698: lhzu
Unrecognized instruction at 0x82199AFC: sthu
Unrecognized instruction at 0x821A4020: eqv
Unrecognized instruction at 0x821A509C: lhzu
Unrecognized instruction at 0x821A50A4: lfdu
Unrecognized instruction at 0x821A50C0: stfsu
Unrecognized instruction at 0x821A5130: lhzu
Unrecognized instruction at 0x821A6140: stbux
Unrecognized instruction at 0x821A6D2C: lhzu
Unrecognized instruction at 0x821A6DB4: lhzu
Unrecognized instruction at 0x821A6E3C: lhzu
Unrecognized instruction at 0x821A6EC4: lhzu
Unrecognized instruction at 0x821A7314: lhzu
Unrecognized instruction at 0x821A7840: sthu
Unrecognized instruction at 0x821A7B18: stbux
Unrecognized instruction at 0x821A882C: lbzux
Unrecognized instruction at 0x821A8A44: lbzux
Unrecognized instruction at 0x821AC930: sthu
Unrecognized instruction at 0x821AC9C0: sthu
Unrecognized instruction at 0x821AEECC: lhzu
Unrecognized instruction at 0x821AEED4: lfdu
Unrecognized instruction at 0x821AEEF8: stfsu
Unrecognized instruction at 0x821AEFD0: lhzu
Unrecognized instruction at 0x821AF230: stfsu
Unrecognized instruction at 0x821AF250: stfsu
Unrecognized instruction at 0x821AF270: stfsu
Unrecognized instruction at 0x821AF290: stfsu
Unrecognized instruction at 0x821AF2B0: stfsu
Unrecognized instruction at 0x821AF2D0: stfsu
Unrecognized instruction at 0x821AF2F0: stfsu
Unrecognized instruction at 0x821B0A60: lbzux
Unrecognized instruction at 0x821B0AD0: lbzux
Unrecognized instruction at 0x821B1D28: sthu
Unrecognized instruction at 0x821B1D3C: sthu
Unrecognized instruction at 0x821B1FDC: lhzu
Unrecognized instruction at 0x821B2ECC: lhzu
Unrecognized instruction at 0x821B2EE4: lhzu
Unrecognized instruction at 0x821B2EFC: lhzu
Unrecognized instruction at 0x821B2F14: subfze
Unrecognized instruction at 0x821B999C: addme
Unrecognized instruction at 0x821BA770: stfdu
Unrecognized instruction at 0x821BAB0C: lhau
Unrecognized instruction at 0x821BC41C: eqv
Unrecognized instruction at 0x821BC514: eqv
Unrecognized instruction at 0x821BD8AC: lhzu
Unrecognized instruction at 0x821BD8B0: sthu
Unrecognized instruction at 0x821BE3CC: lwzux
Unrecognized instruction at 0x821C5C20: eqv
Unrecognized instruction at 0x821C60F4: lhau
Unrecognized instruction at 0x821C8DBC: stdux
Unrecognized instruction at 0x821C98D8: lhau
Unrecognized instruction at 0x821C9D30: lhau
Unrecognized instruction at 0x821CA138: lhau
Unrecognized instruction at 0x821CA18C: lfsu
Unrecognized instruction at 0x821CA278: stfsu
Unrecognized instruction at 0x821CA2C4: lfsu
Unrecognized instruction at 0x821CA9B0: stfsu
Unrecognized instruction at 0x821CAA88: stfsu
Unrecognized instruction at 0x821CABAC: lwzux
Unrecognized instruction at 0x821CAC70: lwzux
Unrecognized instruction at 0x821CADF8: lwzux
Unrecognized instruction at 0x821CC7EC: lbzux
Unrecognized instruction at 0x821CC898: lbzux
Unrecognized instruction at 0x821D112C: sthu
Unrecognized instruction at 0x821DEC64: lhzu
Unrecognized instruction at 0x821DEC64: lhzu
Unrecognized instruction at 0x821E22F4: lhzu
Unrecognized instruction at 0x821E22F4: lhzu
Recompiling functions... 70.76913%
Unrecognized instruction at 0x821F0A38: lhzu
Unrecognized instruction at 0x821F2124: subfze.
Unrecognized instruction at 0x821F2124: subfze.
Unrecognized instruction at 0x821F56AC: stbux
Unrecognized instruction at 0x821F5838: stbux
Unrecognized instruction at 0x821F670C: lbzux
Unrecognized instruction at 0x821F7134: addme
Unrecognized instruction at 0x821F7B4C: eqv
Unrecognized instruction at 0x821F7D8C: lhzu
Unrecognized instruction at 0x821FB4FC: lhzu
Unrecognized instruction at 0x821FBEC8: eqv
Unrecognized instruction at 0x821FD698: lhzu
Unrecognized instruction at 0x821FE2F4: lhzu
Unrecognized instruction at 0x821FE35C: lhzu
Unrecognized instruction at 0x82201694: lhzu
Unrecognized instruction at 0x82201C20: addme
Unrecognized instruction at 0x82208228: sthu
Unrecognized instruction at 0x82208704: sthu
Unrecognized instruction at 0x82208748: sthu
Unrecognized instruction at 0x82209538: bdzf
Unrecognized instruction at 0x8220953C: bdzf
Unrecognized instruction at 0x82209540: bdzf
Unrecognized instruction at 0x822096B0: bdzf
Unrecognized instruction at 0x822096B4: bdzf
Unrecognized instruction at 0x822096B8: bdzf
Unrecognized instruction at 0x8220AFD0: sthu
Unrecognized instruction at 0x8220FF88: bdzf
Unrecognized instruction at 0x8220FF8C: bdzf
Recompiling functions... 84.92157%
Unrecognized instruction at 0x82221364: bdzf
Unrecognized instruction at 0x8222C0E8: bdzf
Unrecognized instruction at 0x82236048: lhzu
Unrecognized instruction at 0x822360A8: lhzu
Unrecognized instruction at 0x822360CC: sthux
Unrecognized instruction at 0x822382C8: lhzu
Unrecognized instruction at 0x82238BFC: sthu
Unrecognized instruction at 0x8223BDB8: stfsu
Unrecognized instruction at 0x8223BDD4: stfsu
Unrecognized instruction at 0x8223BF10: stfsu
Unrecognized instruction at 0x8223D4B4: stfsu
Unrecognized instruction at 0x8223D56C: stfsu
Unrecognized instruction at 0x8224306C: eqv
Unrecognized instruction at 0x82244320: lfsu
Unrecognized instruction at 0x82244350: stfsu
Unrecognized instruction at 0x822444E8: lfsu
Unrecognized instruction at 0x822446DC: lfsu
Unrecognized instruction at 0x82245094: bdzf
Unrecognized instruction at 0x82245098: bdzf
Unrecognized instruction at 0x8224509C: bdzf
Unrecognized instruction at 0x822450A0: bdzf
Unrecognized instruction at 0x82245688: stfsu
Unrecognized instruction at 0x822461B4: bdzf
Unrecognized instruction at 0x822461B8: bdzf
Unrecognized instruction at 0x822461BC: bdzf
Unrecognized instruction at 0x822461C0: bdzf
Unrecognized instruction at 0x82246938: stfsu
Unrecognized instruction at 0x82247178: lfsu
Unrecognized instruction at 0x822481C8: sthu
Unrecognized instruction at 0x82249090: bdzf
Unrecognized instruction at 0x82249094: bdzf
Unrecognized instruction at 0x82249098: bdzf
Unrecognized instruction at 0x8224909C: bdzf
Unrecognized instruction at 0x822490A0: bdzf
Unrecognized instruction at 0x822490A4: bdzf
Unrecognized instruction at 0x8224B0F8: lhzu
Unrecognized instruction at 0x8224BB1C: stfsu
Unrecognized instruction at 0x8224BB38: stfsu
Unrecognized instruction at 0x8224BC74: stfsu
Unrecognized instruction at 0x8224C8AC: lfsu
Unrecognized instruction at 0x8224C8B0: lfsu
Unrecognized instruction at 0x8224C974: lfsu
Unrecognized instruction at 0x8224C978: lfsu
Unrecognized instruction at 0x8224C980: lfsu
Unrecognized instruction at 0x8224CA30: lfsu
Unrecognized instruction at 0x8224CA4C: stfsu
Unrecognized instruction at 0x8224CAA0: lfsu
Unrecognized instruction at 0x8224CABC: stfsu
Unrecognized instruction at 0x8224CB48: lfsu
Unrecognized instruction at 0x8224CB54: lfsu
Unrecognized instruction at 0x8224CB60: lfsu
Unrecognized instruction at 0x8224CB6C: lfsu
Unrecognized instruction at 0x8224CB78: lfsu
Unrecognized instruction at 0x8224CB94: stfsu
Unrecognized instruction at 0x8224CB9C: stfsu
Unrecognized instruction at 0x8224CBA4: stfsu
Unrecognized instruction at 0x8224CBAC: stfsu
Unrecognized instruction at 0x8224CBB4: stfsu
Unrecognized instruction at 0x8224CC18: lfsu
Unrecognized instruction at 0x8224CC24: lfsu
Unrecognized instruction at 0x8224CC30: lfsu
Unrecognized instruction at 0x8224CC3C: lfsu
Unrecognized instruction at 0x8224CC48: lfsu
Unrecognized instruction at 0x8224CC64: stfsu
Unrecognized instruction at 0x8224CC6C: stfsu
Unrecognized instruction at 0x8224CC74: stfsu
Unrecognized instruction at 0x8224CC7C: stfsu
Unrecognized instruction at 0x8224CC84: stfsu
Unrecognized instruction at 0x8224CDE4: stfsu
Unrecognized instruction at 0x8224CDEC: stfsu
Unrecognized instruction at 0x8224CDF4: stfsu
Unrecognized instruction at 0x8224CDFC: stfsu
Unrecognized instruction at 0x8224CE04: stfsu
Unrecognized instruction at 0x8224CE78: lfsu
Unrecognized instruction at 0x8224CECC: lfsu
Unrecognized instruction at 0x8224CED8: lfsu
Unrecognized instruction at 0x8224CEE4: lfsu
Unrecognized instruction at 0x8224CEF0: lfsu
Unrecognized instruction at 0x8224CEFC: lfsu
Unrecognized instruction at 0x8224CF28: stfsu
Unrecognized instruction at 0x8224CF30: stfsu
Unrecognized instruction at 0x8224CF38: stfsu
Unrecognized instruction at 0x8224CF40: stfsu
Unrecognized instruction at 0x8224CF48: stfsu
Unrecognized instruction at 0x8224D020: lfsu
Unrecognized instruction at 0x8224D024: lfsu
Unrecognized instruction at 0x8224D028: lfsu
Unrecognized instruction at 0x8224D02C: lfsu
Unrecognized instruction at 0x8224D030: lfsu
Unrecognized instruction at 0x8224D084: lfsu
Unrecognized instruction at 0x8224D098: stfsu
Unrecognized instruction at 0x8224D110: lfsu
Unrecognized instruction at 0x8224D114: lfsu
Unrecognized instruction at 0x8224D118: lfsu
Unrecognized instruction at 0x8224D11C: lfsu
Unrecognized instruction at 0x8224D120: lfsu
Unrecognized instruction at 0x8224D174: lfsu
Unrecognized instruction at 0x8224D188: stfsu
Unrecognized instruction at 0x8224EA68: lhau
Unrecognized instruction at 0x8224EA6C: lfsu
Unrecognized instruction at 0x8224EA74: lfsu
Unrecognized instruction at 0x8224EB5C: lfsu
Unrecognized instruction at 0x8224EB78: stfsu
Unrecognized instruction at 0x8224EBE4: lfsu
Unrecognized instruction at 0x8224EC00: stfsu
Unrecognized instruction at 0x8224ECBC: lfsu
Unrecognized instruction at 0x8224ECC8: lfsu
Unrecognized instruction at 0x8224ECD4: lfsu
Unrecognized instruction at 0x8224ECE0: lfsu
Unrecognized instruction at 0x8224ECEC: lfsu
Unrecognized instruction at 0x8224ED08: stfsu
Unrecognized instruction at 0x8224ED10: stfsu
Unrecognized instruction at 0x8224ED18: stfsu
Unrecognized instruction at 0x8224ED20: stfsu
Unrecognized instruction at 0x8224ED28: stfsu
Unrecognized instruction at 0x8224EDB4: lfsu
Unrecognized instruction at 0x8224EDC0: lfsu
Unrecognized instruction at 0x8224EDCC: lfsu
Unrecognized instruction at 0x8224EDD8: lfsu
Unrecognized instruction at 0x8224EDE4: lfsu
Unrecognized instruction at 0x8224EE00: stfsu
Unrecognized instruction at 0x8224EE08: stfsu
Unrecognized instruction at 0x8224EE10: stfsu
Unrecognized instruction at 0x8224EE18: stfsu
Unrecognized instruction at 0x8224EE20: stfsu
Unrecognized instruction at 0x8224EF04: lhzu
Unrecognized instruction at 0x8224EF80: lfsu
Unrecognized instruction at 0x8224EF8C: lfsu
Unrecognized instruction at 0x8224EF98: lfsu
Unrecognized instruction at 0x8224EFA4: lfsu
Unrecognized instruction at 0x8224EFB0: lfsu
Unrecognized instruction at 0x8224EFDC: stfsu
Unrecognized instruction at 0x8224EFE4: stfsu
Unrecognized instruction at 0x8224EFEC: stfsu
Unrecognized instruction at 0x8224EFF4: stfsu
Unrecognized instruction at 0x8224EFFC: stfsu
Unrecognized instruction at 0x8224F0A0: lhzu
Unrecognized instruction at 0x8224F11C: lfsu
Unrecognized instruction at 0x8224F128: lfsu
Unrecognized instruction at 0x8224F134: lfsu
Unrecognized instruction at 0x8224F140: lfsu
Unrecognized instruction at 0x8224F14C: lfsu
Unrecognized instruction at 0x8224F7B8: lfsu
Unrecognized instruction at 0x8224F7C4: lfsu
Unrecognized instruction at 0x8224F7D0: lfsu
Unrecognized instruction at 0x8224F828: stfsu
Unrecognized instruction at 0x8224F830: stfsu
Unrecognized instruction at 0x8224F838: stfsu
Unrecognized instruction at 0x8224F840: stfsu
Unrecognized instruction at 0x8224F848: stfsu
Unrecognized instruction at 0x8224FA2C: lhzu
Unrecognized instruction at 0x8224FA48: lhzu
Unrecognized instruction at 0x8224FA50: lhzu
Unrecognized instruction at 0x8224FB18: lfsu
Unrecognized instruction at 0x8224FB24: lfsu
Unrecognized instruction at 0x8224FB30: lfsu
Unrecognized instruction at 0x8224FB3C: lfsu
Unrecognized instruction at 0x8224FB48: lfsu
Unrecognized instruction at 0x8224FBA4: stfsu
Unrecognized instruction at 0x8224FBAC: stfsu
Unrecognized instruction at 0x8224FBB4: stfsu
Unrecognized instruction at 0x8224FBBC: stfsu
Unrecognized instruction at 0x8224FBC4: stfsu
Unrecognized instruction at 0x8224FCF8: bdzf
Unrecognized instruction at 0x8224FCFC: bdzf
Unrecognized instruction at 0x8224FD00: bdzf
Unrecognized instruction at 0x8224FD04: bdzf
Unrecognized instruction at 0x82250560: lvehx
Unrecognized instruction at 0x82250758: lvehx
Unrecognized instruction at 0x82250A08: lvehx
Unrecognized instruction at 0x82250B78: lvehx
Unrecognized instruction at 0x82250C28: bdzf
Unrecognized instruction at 0x82250C2C: bdzf
Unrecognized instruction at 0x82250C30: bdzf
Unrecognized instruction at 0x82250C34: bdzf
Unrecognized instruction at 0x82250C38: bdzf
Unrecognized instruction at 0x82250D30: bdzf
Unrecognized instruction at 0x82250D34: bdzf
Unrecognized instruction at 0x82250D38: bdzf
Unrecognized instruction at 0x82250D3C: bdzf
Unrecognized instruction at 0x82250D40: bdzf
Unrecognized instruction at 0x82250EAC: lfsu
Unrecognized instruction at 0x82250FBC: lfsu
Unrecognized instruction at 0x82250FC0: lfsu
Unrecognized instruction at 0x82251374: lfsu
Unrecognized instruction at 0x8225137C: lfsu
Unrecognized instruction at 0x822513A0: stfsu
Unrecognized instruction at 0x822513E4: lfsu
Unrecognized instruction at 0x822513E8: lfsu
su
Unrecognized instruction at 0x82252500: lfsu
Unrecognized instruction at 0x82252524: stfsu
Unrecognized instruction at 0x82252614: lhzu
Unrecognized instruction at 0x82252684: stfsu
Unrecognized instruction at 0x822526B4: lhzu
Unrecognized instruction at 0x822526D0: stfsu
Unrecognized instruction at 0x82252764: lfsu
Unrecognized instruction at 0x8225276C: lfsu
Unrecognized instruction at 0x82252790: stfsu
Unrecognized instruction at 0x822527D4: lfsu
Unrecognized instruction at 0x822527D8: lfsu
Unrecognized instruction at 0x822527E4: stfsu
Unrecognized instruction at 0x8226E664: addc
Unrecognized instruction at 0x8226E698: addme
Unrecognized instruction at 0x8226E6C0: addc
Unrecognized instruction at 0x8226E6D0: addc
Unrecognized instruction at 0x8226E6E8: addme
Unrecognized instruction at 0x8226E714: addc
Unrecognized instruction at 0x8226E720: addc
Unrecognized instruction at 0x8226F700: stfsu
Unrecognized instruction at 0x82270948: bdzf
Unrecognized instruction at 0x8227094C: bdzf
Unrecognized instruction at 0x82270950: bdzf
Unrecognized instruction at 0x82270954: bdzf
Unrecognized instruction at 0x82270958: bdzf
Unrecognized instruction at 0x8227095C: bdzf
Unrecognized instruction at 0x82270960: bdzf
Unrecognized instruction at 0x82270DB8: bdzf
Unrecognized instruction at 0x82270DBC: bdzf
Unrecognized instruction at 0x82271298: bdzf
Unrecognized instruction at 0x8227129C: bdzf
Unrecognized instruction at 0x822712A0: bdzf
Unrecognized instruction at 0x822712A4: bdzf
Unrecognized instruction at 0x82271570: bdzf
Unrecognized instruction at 0x82271574: bdzf
Unrecognized instruction at 0x82272178: bdzf
Unrecognized instruction at 0x8227217C: bdzf
Unrecognized instruction at 0x82272180: bdzf
Unrecognized instruction at 0x82272184: bdzf
Unrecognized instruction at 0x82272188: bdzf
Unrecognized instruction at 0x8227218C: bdzf
Unrecognized instruction at 0x822726BC: lhzux
Unrecognized instruction at 0x822726DC: lhzux
Unrecognized instruction at 0x82274430: sthu
Unrecognized instruction at 0x82274434: sthu
Unrecognized instruction at 0x82274438: sthu
Unrecognized instruction at 0x8227443C: sthu
Unrecognized instruction at 0x82274440: sthu
Unrecognized instruction at 0x82274AF8: sthu
Unrecognized instruction at 0x82274AFC: sthu
Unrecognized instruction at 0x82274B00: sthu
Unrecognized instruction at 0x82274B04: sthu
Unrecognized instruction at 0x82274B08: sthu
Unrecognized instruction at 0x82274B0C: sthu
Unrecognized instruction at 0x82275C0C: sthu
Unrecognized instruction at 0x82275C10: sthu
Unrecognized instruction at 0x82275C84: sthu
Unrecognized instruction at 0x82275C88: sthu
Unrecognized instruction at 0x82275C8C: sthu
Unrecognized instruction at 0x82275E4C: sthu
Unrecognized instruction at 0x82275E50: sthu
Unrecognized instruction at 0x82275E58: lfsu
Unrecognized instruction at 0x82275E94: lfsu
Unrecognized instruction at 0x82275ED0: sthu
Unrecognized instruction at 0x82275ED4: sthu
Unrecognized instruction at 0x82275ED8: sthu
Unrecognized instruction at 0x822762BC: sthu
Unrecognized instruction at 0x8227BC14: vpkswss128
Unrecognized instruction at 0x8227BCE0: sthu
Unrecognized instruction at 0x8227BDFC: vpkswss128
Unrecognized instruction at 0x8227BEC4: sthu
Unrecognized instruction at 0x8227C36C: stfsu
Unrecognized instruction at 0x8227C58C: stfsu
Unrecognized instruction at 0x8227C7E0: stfsu
Unrecognized instruction at 0x8227CB38: stfsu
Unrecognized instruction at 0x8227CD64: stfsu
Unrecognized instruction at 0x8227CDA8: stfsu
Unrecognized instruction at 0x8227D4A0: stfsu
Unrecognized instruction at 0x8227D520: stfsu
Unrecognized instruction at 0x8227D770: lfsu
Unrecognized instruction at 0x8227DA34: lfsu
Unrecognized instruction at 0x8227DCC4: lfsu
Unrecognized instruction at 0x8227DEF0: stfsu
Unrecognized instruction at 0x8227DF58: stfsu
Unrecognized instruction at 0x8227E0F4: lfdu
Unrecognized instruction at 0x8227E300: lfsu
Unrecognized instruction at 0x82280B30: bdnzt
Unrecognized instruction at 0x82280B7C: bdnzt
Recompiling functions... 99.07401%
Recompiling functions... 100%
got the files and everything and I think that did it. of course theres most likely a ton more to do to even get a basic version of this running but for now seems good. if you want me to run anything else just tell me. in the meantime ill be manually adding those jump tables as im sure its required. Already got a basic ghirda script although im not that skilled in this field of reverse engineering.
You got to re-implement all the missing instructions mentioned in the "Unrecognized instruction" messages. I believe you can look at how the Xenia emulator does them.
You got to re-implement all the missing instructions mentioned in the "Unrecognized instruction" messages. I believe you can look at how the Xenia emulator does them.
huh, its werid how sonic unleashed uses none of those instructions and its a fully 3d game but a 2d game does use them. im guessing because popcap used a different compiler or something. but im a stupid script kiddie so hell if I know. Im going to play around with this more. thanks for the advice and update.
FYI there's a PR that might already have these instructions implemented: https://github.com/hedge-dev/XenonRecomp/pull/1
FYI there's a PR that might already have these instructions implemented: #1
dont mean to be rude but could you not merge that then? Ill still try that though. thanks king.
We will merge it when we have the opportunity for it.
might have found the jump table and im wondering if this is it.
Now the thing is that I had to use xextool to decrypt and extract the binary code. Im a idiot reverse engineerer but does that mean the addresses where the jump table is stored will change addresses. If so what will I need to do to get the addresses of the jump-tables on the unencrypted normal .xex file.
nevermind I dont think its a jump table considering that some of what its jumping to is text. I believe this to be the jump table. thanks for all the help
Got a question.
Am I on the right track with finding these jump tables and
Am I suppose to unencrypt the xex file with xextool before running it.
XenonRecomp can decrypt XEX, what it doesn't yet handle is decompression, if your XEX is compressed you'll need to do it manually with xextool.
As for your jump table, these do look like addresses to me, if they are in the .text segment you're likely on the right path.
XenonRecomp can decrypt XEX, what it doesn't yet handle is decompression, if your XEX is compressed you'll need to do it manually with xextool.
As for your jump table, these do look like addresses to me, if they are in the .text segment you're likely on the right path.
so from with in ghidra i need to find the jump table correct?
XenonRecomp can decrypt XEX, what it doesn't yet handle is decompression, if your XEX is compressed you'll need to do it manually with xextool. As for your jump table, these do look like addresses to me, if they are in the .text segment you're likely on the right path.
so from with in ghidra i need to find the jump table correct?
yes join here https://discord.gg/xxgdUubG and ill help you out.
XenonRecomp can decrypt XEX, what it doesn't yet handle is decompression, if your XEX is compressed you'll need to do it manually with xextool.
As for your jump table, these do look like addresses to me, if they are in the .text segment you're likely on the right path.
there is a .rdata segment but there is not a .text one
Thanks ill use it.
I'm currently facing the same issue with XenonRecomp segmentation fault. Could someone enlighten me on the right direction?
XenonRecomp can decrypt XEX, what it doesn't yet handle is decompression, if your XEX is compressed you'll need to do it manually with xextool. As for your jump table, these do look like addresses to me, if they are in the .text segment you're likely on the right path.
so from with in ghidra i need to find the jump table correct?
yes join here https://discord.gg/xxgdUubG and ill help you out.
can you send the link again?
XenonRecomp can decrypt XEX, what it doesn't yet handle is decompression, if your XEX is compressed you'll need to do it manually with xextool. As for your jump table, these do look like addresses to me, if they are in the .text segment you're likely on the right path.
so from with in ghidra i need to find the jump table correct?
yes join here https://discord.gg/xxgdUubG and ill help you out.
can you send the link again?
https://discord.gg/4fdHva5njy