It's impossible, no one can do it.
anyone can say me as can make a hack with image
It's impossible, no one can do it.
Idk what your talking bout man
@snayfer
@whit
I think he is referring to something like this:
I don't know C++ very well but i think Acid_Burn released a tutorial on it. Here let me explain...
First get your image and open it up in the converter that acid_Burn provided(goggle it)
Convert the image to bytes. The output bytes will be in the text file.
Define you bytes like this:
In the globals put,Code:BYTE Menu[ ] = {output bytes here};
Code:LPD3DXSPRITE Sprite; LPDIRECT3DTEXTURE9 MenuTexture; static BOOL Create = TRUE;
Now, Go to your Endscene or Present(were you make your menu) and create your texture and sprite like so:
Code:if(Create){ D3DXCreateTextureFromFileInMemory(Device,&Menu,siz eof(Menu),&MenuTexture); D3DXCreateSprite(pDevice,&Sprite); Create = FALSE; }
Now you need to draw the sprite (In Endscene or Present again)
Code:D3DXVECTOR3 POS; POS.x = 15; POS.y = 15; POS.z = 0; Sprite->Begin(); Sprite->Draw(MenuTexture,NULL,NULL,&POS,0xFFFFFFFF); Sprite->End();
If you would like the image transperent, Replace
WithCode:Sprite->Begin();
All credits go to Acid_Burn and pyroctain666. If you just go to the following thread you can get the image to byte converter and your all set.Code:Sprite->Begin(D3DXSPRITE_ALPLHABLEND);
Thread:
https://www.mpgh.net/forum/207-combat...w-sprites.html
@OBrozz using Huge BYTE arrays like that will cause Visual Studios to lag
@whit
I haven't coded in C++ in a long time so i wouldn't know.The only thing i tried to convert to a byte array would be a .wav file for sound in my C++ hack but i stopped coding in c++ because i prefer delphi. This is just a public release, im not giving him my filetobyte array.
OBrozz (06-09-2011)
It is D3d and you can use SPRITES as shown about or you can Draw a texture on a Primitive for better control over your image.
I just like programming, that is all.
Current Stuff:
- GPU Programmer (Cuda)
- Client/Server (Cloud Server)
- Mobile App Development
OBrozz (06-09-2011)