XenonRecomp icon indicating copy to clipboard operation
XenonRecomp copied to clipboard

Stuck with Recomp

Open TheNotZen364 opened this issue 9 months ago • 9 comments

I've got my TOML file outputted but when I input it and the pcc_context.h file into XenonAnalyze, and hit enter it takes a few seconds and nothing happens, am I doing something wrong

TheNotZen364 avatar Mar 05 '25 04:03 TheNotZen364

I've got my TOML file outputted but when I input it and the pcc_context.h file into XenonAnalyze, and hit enter it takes a few seconds and nothing happens, am I doing something wrong

The TOML file you get from XenonAnalyse and the pcc_context.h from my understanding is meant to be used with XenonRecomp.

Also, can you detail the steps you took after getting the TOML output from XenonAnalyse, just so someone that knows how to use the recompiler can help you faster.

killer93551277 avatar Mar 05 '25 04:03 killer93551277

I've got my TOML file outputted but when I input it and the pcc_context.h file into XenonAnalyze, and hit enter it takes a few seconds and nothing happens, am I doing something wrong

If you're on windows, it's possible that the path format is wrong I can't remember how exactly I fixed it, but I named my path like this: ./private/default.xex (instead of two dots, I used one dot)

all the files must also be placed in respective location like this for example

Image

zeerowiibu avatar Mar 05 '25 08:03 zeerowiibu

I've got my TOML file outputted but when I input it and the pcc_context.h file into XenonAnalyze, and hit enter it takes a few seconds and nothing happens, am I doing something wrong

If you're on windows, it's possible that the path format is wrong I can't remember how exactly I fixed it, but I named my path like this: ./private/default.xex (instead of two dots, I used one dot)

all the files must also be placed in respective location like this for example

Image

unless i am very stupid, whats the config.toml, I've seen it before and tried to made one but apparently it needs some addresses and idk how to get them etc, idk if ive built it wrong but i used cmake and then compiled in visual studio

TheNotZen364 avatar Mar 05 '25 12:03 TheNotZen364

I've got my TOML file outputted but when I input it and the pcc_context.h file into XenonAnalyze, and hit enter it takes a few seconds and nothing happens, am I doing something wrong

If you're on windows, it's possible that the path format is wrong I can't remember how exactly I fixed it, but I named my path like this: ./private/default.xex (instead of two dots, I used one dot) all the files must also be placed in respective location like this for example Image

unless i am very stupid, whats the config.toml, I've seen it before and tried to made one but apparently it needs some addresses and idk how to get them etc, idk if ive built it wrong but i used cmake and then compiled in visual studio

it's just how I name the input file, don't mind it. As for addresses, you need something like IDA Pro or Ghidra and a plugin that can deal with xex file

zeerowiibu avatar Mar 05 '25 14:03 zeerowiibu

Image Ive found the byte pattern in the xex. does this mean that the address is 0x82719050?

TheNotZen364 avatar Mar 05 '25 16:03 TheNotZen364

Image Ive found the byte pattern in the xex. does this mean that the address is 0x82719050?

ok so i went on the assumptions this is the right address and I have cpp files in the out folder i made, do i just compile them?

TheNotZen364 avatar Mar 05 '25 17:03 TheNotZen364

I've got my TOML file outputted but when I input it and the pcc_context.h file into XenonAnalyze, and hit enter it takes a few seconds and nothing happens, am I doing something wrong

If you're on windows, it's possible that the path format is wrong I can't remember how exactly I fixed it, but I named my path like this: ./private/default.xex (instead of two dots, I used one dot) all the files must also be placed in respective location like this for example Image

unless i am very stupid, whats the config.toml, I've seen it before and tried to made one but apparently it needs some addresses and idk how to get them etc, idk if ive built it wrong but i used cmake and then compiled in visual studio

it's just how I name the input file, don't mind it. As for addresses, you need something like IDA Pro or Ghidra and a plugin that can deal with xex file

can you go over in detail how you got made the config.toml please the read me lacks

ryzendew avatar Mar 06 '25 23:03 ryzendew

I've got my TOML file outputted but when I input it and the pcc_context.h file into XenonAnalyze, and hit enter it takes a few seconds and nothing happens, am I doing something wrong

If you're on windows, it's possible that the path format is wrong I can't remember how exactly I fixed it, but I named my path like this: ./private/default.xex (instead of two dots, I used one dot) all the files must also be placed in respective location like this for example Image

unless i am very stupid, whats the config.toml, I've seen it before and tried to made one but apparently it needs some addresses and idk how to get them etc, idk if ive built it wrong but i used cmake and then compiled in visual studio

it's just how I name the input file, don't mind it. As for addresses, you need something like IDA Pro or Ghidra and a plugin that can deal with xex file

can you go over in detail how you got made the config.toml please the read me lacks

Sorry for the delayed reply. The config.toml is my input file, you can name it anything else. Just make sure the format for file paths are correct. I dunno if this is also needed but I also gave the exe file a permission to write files.

zeerowiibu avatar Mar 07 '25 15:03 zeerowiibu

I've got my TOML file outputted but when I input it and the pcc_context.h file into XenonAnalyze, and hit enter it takes a few seconds and nothing happens, am I doing something wrong

If you're on windows, it's possible that the path format is wrong I can't remember how exactly I fixed it, but I named my path like this: ./private/default.xex (instead of two dots, I used one dot) all the files must also be placed in respective location like this for example Image

unless i am very stupid, whats the config.toml, I've seen it before and tried to made one but apparently it needs some addresses and idk how to get them etc, idk if ive built it wrong but i used cmake and then compiled in visual studio

it's just how I name the input file, don't mind it. As for addresses, you need something like IDA Pro or Ghidra and a plugin that can deal with xex file

can you go over in detail how you got made the config.toml please the read me lacks

You just need to make a config toml as zeerowiibu already did and use that in your command like this: XenonRecomp.exe config.toml Path\To\PPC_Context\ppc_context.h

SuzuyaRose avatar Mar 12 '25 07:03 SuzuyaRose