XenonRecomp icon indicating copy to clipboard operation
XenonRecomp copied to clipboard

has anyone had any successful attempts to create a working executable?

Open derlineUn opened this issue 9 months ago • 4 comments

i know that unleashed recomp itself is the very first of many, but I would like to know from the community if anyone other than the hedge dev guys managed to recompile any other project, it would be great to have better communication so that this great tool has good development and several projects.

Image

I'm trying my own project with a friend of mine, and it would be great to receive help and if possible offer help as well.

derlineUn avatar Mar 23 '25 15:03 derlineUn

i know that unleashed recomp itself is the very first of many, but I would like to know from the community if anyone other than the hedge dev guys managed to recompile any other project, it would be great to have better communication so that this great tool has good development and several projects.

Image

I'm trying my own project with a friend of mine, and it would be great to receive help and if possible offer help as well.

I have managed compiling an exe that does the basic hello world cmd, but that's all I've managed so far

masterspike52 avatar Mar 23 '25 20:03 masterspike52

XenonRecomp is the easiest part I think, you just merge some missing instructions from pull requests, then use analyse, then recompile and make sure there is no more errors, and then you need a frontend for that, you can use UnleashedRecomp, put xex, configs and comment out patches, installer, api and all the hardcoded functions (PPC_FUNC, GUEST_FUNCTION_HOOK), get it to compile (you may also need to stub some calls of xam/xboxkrnl in imports.cpp), place game files in "game" folder, xex or patched xex in "patched" dir and something in "update" dir near UnleashedRecomp executable and then look for the addresses of kernel functions (heap, guest thread and filesystem), HeapCreate for example is in few first function calls in entry

Unfortunately I don't have anything to show because it crashes here and there, but at least the code is executing and maybe I can get at least to audio playback

ga2mer avatar Mar 23 '25 20:03 ga2mer

XenonRecomp is the easiest part I think, you just merge some missing instructions from pull requests, then use analyse, then recompile and make sure there is no more errors, and then you need a frontend for that, you can use UnleashedRecomp, put xex, configs and comment out patches, installer, api and all the hardcoded functions (PPC_FUNC, GUEST_FUNCTION_HOOK), get it to compile (you may also need to stub some calls of xam/xboxkrnl in imports.cpp), place game files in "game" folder, xex or patched xex in "patched" dir and something in "update" dir near UnleashedRecomp executable and then look for the addresses of kernel functions (heap, guest thread and filesystem), HeapCreate for example is in few first function calls in entry

Unfortunately I don't have anything to show because it crashes here and there, but at least the code is executing and maybe I can get at least to audio playback

Do you have a discord where I can talk to you? I'm exactly doing that and at that point, maybe we have the same crash. Also wanted to know if you found some functions I didnt.

gamerbross avatar Mar 24 '25 16:03 gamerbross

XenonRecomp is the easiest part I think, you just merge some missing instructions from pull requests, then use analyse, then recompile and make sure there is no more errors, and then you need a frontend for that, you can use UnleashedRecomp, put xex, configs and comment out patches, installer, api and all the hardcoded functions (PPC_FUNC, GUEST_FUNCTION_HOOK), get it to compile (you may also need to stub some calls of xam/xboxkrnl in imports.cpp), place game files in "game" folder, xex or patched xex in "patched" dir and something in "update" dir near UnleashedRecomp executable and then look for the addresses of kernel functions (heap, guest thread and filesystem), HeapCreate for example is in few first function calls in entry

Unfortunately I don't have anything to show because it crashes here and there, but at least the code is executing and maybe I can get at least to audio playback

what are the chances i can get you to elaborate on that process a bit more, perhaps over a dm on discord or here. maybe a bit of a step by step process mayhaps

masterspike52 avatar Mar 25 '25 17:03 masterspike52