I use this for my DLLs. I never really have a problem. IIRC the address will have to be changed if you build as a Title Dll(remove the SysDll declaration).
I don't remember though, I usually always build as a sysdll and use DL to load it.
<version major="0x02" minor="0x00" build="0x397F" qfe="0x00"/>.
<mfgmode mode = "aware"/>
<baseaddr addr = "0x91C00000"/>
I can get the dll base address to 0x82000000 in the project settings under the base address under linker|advanced
The project is set to dynamic library (.xex)
With DllMain instead of _cdecl main
Entry Point: DllMain
Base Address: 0x82000000
I set dll main as the entry point or I get loads of errors - but now when i load the dll it gives a black screen and freezes the console.
I am trying to load this dll for Forza making patches to the default.xex with xepatcher
The DLL by default maps to 0x88000000 which XePatcher presumably doesn't support - loads of errors about ranges.
Hope you can understand at least a sentence of that :/