XboxDev / nxdk

The cross-platform, open-source SDK to develop for original Xbox: *new* xdk
435 stars 66 forks source link

Not working on Debug Kit. #426

Open kooscode opened 3 years ago

kooscode commented 3 years ago

Trying to run via XDK Launcher on official Debug Kit, but get errors.

I did set cxbe -MODE:debug but it still doesnt run on Debug Kit running a Debug Kernel 5849..

JOLT-image1

thrimbor commented 3 years ago

What did you try to run? Please provide as much info as possbile - which OS you built on, which nxdk version, which LLVM version you have installed etc.

kooscode commented 3 years ago

built the standard hello++ application. so its using the NXDK_CXX makefile

built using following tools:

thrimbor commented 3 years ago

Ah, I think your issue is the missing debug signature. Unmodified debug kernels check the xbe's signature, unfortunately xbes built with nxdk don't have a valid signature because we don't ship the debug key for legal reasons.

https://github.com/XboxDev/XboxDev/issues/15 describes a what would be necessary to resolve this, but I don't think anyone has been working on implementing a solution yet, at least not in a form I could recommend here.

kooscode commented 3 years ago

OK - thanks.. Since I have a debug kit, i have access to the debug keys.. let me see if I can get it going.

GXTX commented 3 years ago

xbetool allows resigning the executable, it might be possible with the correct key to properly sign it debug. However I don't really recommend using a debug kit for every day use - retail boxes are a dime a dozen.