Replies: 1 comment
-
|
just commit them, you need to find fable 2 discord group and in June there was discussion about how fix imp |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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” (
.libor.a) that already exports the full Xbox 360xboxkrnl.exe,xam.xex,hal.dll,videodriversymbol sets?If yes, where can I download it?
(GitHub repo / Discord attachment / Xenia forks / OG XDK leak mirrors?)
Was it built with
__cdeclor__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