NFS Carbono - Change Game Window Position
Finally found a way to get rid of that annoying 100,100.
You will be able to set your window position for windowed mode with the next NFSC Extra Options.
------------------------------------
Required Code Changes:
0x7309F3 (Commands / Byte Array):
New Value: ?? ??
jmp WindowPositionCodeCave
// Code Cave:
DWORD CreateGameWindow = 0x730060
DWORD WindowPositionCodeCaveExit = 0x7309F8
DWORD WINDOWX = 320 //Left
DWORD WINDOWY = 180 //Top
void __declspec(naked) WindowPositionCodeCave()
{
_asm
{
mov eax,WINDOWX
mov [esp+0x30],eax
mov ecx,WINDOWY
mov [esp+0x34],ecx
add eax,edi
mov [esp+0x38],eax
add ecx,ebx
mov [esp+0x3C],ecx
call CreateGameWindow
jmp WindowPositionCodeCaveExit // Cave Exit
}
}
Other Videos By nlgxzef
Other Statistics
Need for Speed: Carbon Statistics For nlgxzef
At this time, nlgxzef has 2,642,481 views for Need for Speed: Carbon spread across 47 videos. His channel uploaded 5 hours worth of Need for Speed: Carbon videos, roughly 29.25% of the content that nlgxzef has uploaded to YouTube.