CAFlames D3D Test Environment

Posts 1–15 of 44 · Page 1 of 3
CAFlames D3D Test Environment
Hi Guys, So I made a pretty basic D3D Test Environment for you...

Heres a Screenshot (with my very own base injected into it):




And Here are Virus Scans:

VirusTotal
Jotti


Enjoy, and please Thank me.
(Process is D3DTest.exe)


Please Approve
@Jabuuty671
@AVGN
@Disturbed
@Bombsaway707
CAFlames D3D Test Environment.zipattachment deleted · 763 downloads before removal
When you put your name on it, it makes people not want to use it
Quote Originally Posted by whit View Post
When you put your name on it, it makes people not want to use it
If I remove my name ... would you use it?
Quote Originally Posted by CAFlames View Post


If I remove my name ... would you use it?
Prolly not
Quote Originally Posted by ChaosMagician View Post
How does it works?
I assume it just creates a Direct3D device and links it to a window.
Quote Originally Posted by mmbob View Post


I assume it just creates a Direct3D device and links it to a window.
Your assumption is right.. lol.

@ the other guy.. basically its an application that resembles game engines (such as combat arms) and you may inject directx-based hacks into it.... to test.
Hey CAFlames ,i have a problem ,and u can have a solution .

When i inject my .dll on the D3DTest.exe (not your d3dtest) ,the program ends .

Sorry my English ,i am braZilian.
Quote Originally Posted by Templar View Post
Hey CAFlames ,i have a problem ,and u can have a solution .

When i inject my .dll on the D3DTest.exe (not your d3dtest) ,the program ends .

Sorry my English ,i am braZilian.
Its your Detour. You cant just use any detour... urs is probably meant for specifically comBat arms. here.. try this:

Code:
void WriteMemory(PVOID dwAdd, void *val, int bytes)
{

    DWORD d, ds;  
    VirtualProtect(dwAdd, bytes, PAGE_EXECUTE_READWRITE, &d);
    memcpy(dwAdd, val, bytes);   
    VirtualProtect(dwAdd,bytes,d,&ds);
}

LPVOID DetourCreate(LPVOID lpFuncOrig, LPVOID lpFuncDetour)
{
    LPBYTE    Jmp,Org; DWORD    dwBack; INT len;
    BYTE * pFuncOrig = (BYTE *)lpFuncOrig;
    BYTE * pFuncDetour = (BYTE *)lpFuncDetour;

    len = (pFuncOrig,6);

    Org = Jmp = (LPBYTE)HeapAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY,len+6);
    Jmp[0] = (BYTE)len;    
    Jmp++;

    VirtualProtect(pFuncOrig,len, PAGE_READWRITE,&dwBack);
    WriteMemory(Jmp,pFuncOrig,len);    //Function at top
    Jmp += len;
    Jmp[0] = 0xE9;
    *(DWORD*)(Jmp+1) = (DWORD)(pFuncOrig + len - Jmp) - 5;

    pFuncOrig[0] = 0x68;        
    *(DWORD*)(pFuncOrig+1) = (DWORD)(pFuncDetour);
    pFuncOrig[5] = 0xC3;

    for (int i = 6; i<len; i++) pFuncOrig[i] = 0x90;
    VirtualProtect(pFuncOrig,len,dwBack,&dwBack);

    return &Org[1];
}
Then where your old hook (w/ detour) was.. put this:

Code:
DetourCreate((PBYTE)VTable[16], ( BYTE* )gellPresent); //First option is VTable stuf.... 42 for endscene, 17 for present, 16 for reset, 82 for DIP... ,Second option would be name of w/e it is.. endscene, beginscene, present, reset, DIP, etc etc
@CAFlames Every Detour i ever had worked in the Test environment.....
Wtf isa Detour just for CA
Quote Originally Posted by whit View Post
@CAFlames Every Detour i ever had worked in the Test environment.....
Wtf isa Detour just for CA
durr the detours for combat arms dont work in all test environments..
Quote Originally Posted by CAFlames View Post


durr the detours for combat arms dont work in all test environments..
@whit is right
Detours should work for every game unless they are using hard coded addresses from the game or its libraries.

The BR guys problem is probably that he injected his .dll with out commenting out all of his PTC, ESP, etc..
Quote Originally Posted by swatfx View Post
Detours should work for every game unless they are using hard coded addresses from the game or its libraries.

The BR guys problem is probably that he injected his .dll with out commenting out all of his PTC, ESP, etc..
@CAFlames Basically he was trying to modify memory that doesn't exist.
Posts 1–15 of 44 · Page 1 of 3
This thread is closed for replies.

Tags for this Thread

None

Need help?