You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context
I’m porting WWE SmackDown vs. RAW 2007 (beta version since its only 7kb) with XenonRecomp.
The recompiler step finishes, but when I try to link the generated C++ (Clang-CL 19, VS 2022) I hit hundreds of unresolved symbols such as
__imp__XNotifyGetNext __imp__XGetVideoMode __imp__XamInputGetState … etc.
I can stub them out manually and link, but I’d rather save time by linking against an existing import-stub library (one that just exports the right names as no-ops, like the old XDK did internally).
Some question i hope can get answered:
Is there a public “stub SDK” ( .lib or .a) that already exports the full Xbox 360 xboxkrnl.exe, xam.xex, hal.dll, videodriver symbol sets?
If yes, where can I download it?
(GitHub repo / Discord attachment / Xenia forks / OG XDK leak mirrors?)
Was it built with __cdecl or __stdcall, and does it use the __imp__ prefix (as on retail) or undecorated names?
Any CMake / VS example showing how to link it with Clang-CL (target_link_libraries( my_exe PRIVATE xboxkrnl xam … ))?
Gotchas I should know about? (duplicate symbols, name-mangling mismatches, linker flags, etc.)
Thanks in advance! happy to credit any resources in the eventual repo!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Context
I’m porting WWE SmackDown vs. RAW 2007 (beta version since its only 7kb) with XenonRecomp.
The recompiler step finishes, but when I try to link the generated C++ (Clang-CL 19, VS 2022) I hit hundreds of unresolved symbols such as
__imp__XNotifyGetNext
__imp__XGetVideoMode
__imp__XamInputGetState
… etc.
I can stub them out manually and link, but I’d rather save time by linking against an existing import-stub library (one that just exports the right names as no-ops, like the old XDK did internally).
Some question i hope can get answered:
Is there a public “stub SDK” (
.lib
or.a
) that already exports the full Xbox 360xboxkrnl.exe
,xam.xex
,hal.dll
,videodriver
symbol sets?If yes, where can I download it?
(GitHub repo / Discord attachment / Xenia forks / OG XDK leak mirrors?)
Was it built with
__cdecl
or__stdcall
, and does it use the__imp__
prefix (as on retail) or undecorated names?Any CMake / VS example showing how to link it with Clang-CL (
target_link_libraries( my_exe PRIVATE xboxkrnl xam … )
)?Gotchas I should know about? (duplicate symbols, name-mangling mismatches, linker flags, etc.)
Thanks in advance! happy to credit any resources in the eventual repo!
Beta Was this translation helpful? Give feedback.
All reactions