LoadImage And PrintImage Soruce For 1.04D main
This Is For load image and print asm soruce
ASM CODE
Code:
Main.exe 1.04D Load And Print Image Model By Leo123
MyScreen DB "interface\gamecensorship_fear.tga", 0
Offsets
Main_LoadImage DD 006F8974H
Main_PrintImage DD 00642C94H
Example Call
Invoke DrawPic, 1H, 3F1C28F6H, 3F1C28F6H, 43160000H, 43960000H, 41F00000H, 41200000H, 1BH, Offset MyScreen
The Procs
DrawPic Proc IsModelForceShow:DWord, scaleY:FLOAT, scalyX:FLOAT, Modelheight:FLOAT, Modelwidth:FLOAT, postionY:FLOAT, postionX:FLOAT, PrintCode:DWord, imagepath:DWord
Invoke LoadImg, 1H, 0H, 2900H, 2601H, imagepath, PrintCode
Invoke PrintImg, IsModelForceShow, scaleY, scalyX, Modelheight, Modelwidth, postionY, postionX, PrintCode
Ret
DrawPic EndP
LoadImg Proc var1:FLOAT, var2:FLOAT, var3:FLOAT, var4:FLOAT, imgpath:DWord, PrintCode:DWord
Push var1
Push var2
Push var3
Push var4
Push PrintCode
Push imgpath
Call Main_LoadImage
Add Esp, 18H
Ret
LoadImg EndP
PrintImg Proc IsModelForceShow:DWord, scaleY:FLOAT, scalyX:FLOAT, Modelheight:FLOAT, Modelwidth:FLOAT, postionY:FLOAT, postionX:FLOAT, PrintCode:DWord
Push 0H
Push 1H
Push IsModelForceShow
Push scaleY
Push scalyX
Push 0H
Push 0H
Push Modelheight
Push Modelwidth
Push postionY
Push postionX
Push PrintCode
Call Main_PrintImage
Add Esp, 30H
Ret
PrintImg EndP
C++
Code:
#define LoadImg ((void(*) (FLOAT, FLOAT, FLOAT, FLOAT, DWORD, DWORD)) 0x006F8974)
#define PrintImg ((void(*) (DWORD, FLOAT, FLOAT, FLOAT, FLOAT, FLOAT, FLOAT, DWORD)) 0x00642C94)
LoadImg(1, 0, 0x2601, imagepath, printcode);
PrintImg(IsModelForceShow, scaleX, scaleY, ModelHeight, ModelWidth, positionY, positionX, PrintCode);
Tested On 1.04D Haste Main.exe
If you make call in screen start after load defult imeages the result is:
http://img219.imageshack.us/img219/7876/xdca4.th.jpg
and i make call to other pic after load sky
result:
http://img74.imageshack.us/img74/98/skyet3.th.jpg
Enjoy
Creadits To Me (Leo123)
and Holy For idea :)
and coNsept to convect my asm code to c++ xD
Re: [Release] LoadImage And PrintImage Soruce For 1.04D main
Re: [Release] LoadImage And PrintImage Soruce For 1.04D main
Re: [Release] LoadImage And PrintImage Soruce For 1.04D main
good one :D i love u leo123 ...:D:D:D:D:D:D u are su*k lol joke u are the best
Re: [Release] LoadImage And PrintImage Soruce For 1.04D main
Re: [Release] LoadImage And PrintImage Soruce For 1.04D main
Quote:
Originally Posted by
vova
good one :D i love u leo123 ...:D:D:D:D:D:D u are su*k lol joke u are the best
:\
...
Re: [Release] LoadImage And PrintImage Soruce For 1.04D main
Re: [Release] LoadImage And PrintImage Soruce For 1.04D main
Good idea ... u can make that for char select? ... :eek6: thanks :flag_schw
Re: [Release] LoadImage And PrintImage Soruce For 1.04D main
this is function work on all game
but oter pics can overside ur pic (while)
bad english
Re: [Release] LoadImage And PrintImage Soruce For 1.04D main
Re: [Release] LoadImage And PrintImage Soruce For 1.04D main
How add this in main.exe??
Re: [Release] LoadImage And PrintImage Soruce For 1.04D main
Search in folder MU/DATA/LOGO ^^ in that folder is the logo.ozj :) u can edit that and other .ozj too ^^ good luck
Re: [Release] LoadImage And PrintImage Soruce For 1.04D main
Quote:
Originally Posted by
pedro_arg
nice
where yo make call?
Re: [Release] LoadImage And PrintImage Soruce For 1.04D main
Quote:
Originally Posted by
zolamu
nice
where yo make call?
Leo...this isnt a function on the main, he only take the logo and edited with photoshop :).
Re: [Release] LoadImage And PrintImage Soruce For 1.04D main
Re: [Release] LoadImage And PrintImage Soruce For 1.04D main
Re: [Release] LoadImage And PrintImage Soruce For 1.04D main
Re: [Release] LoadImage And PrintImage Soruce For 1.04D main
Laugh laugh guys...this is maked with photoshop with the letters that CzF released some months ago. There is no function in main to change the logo only PHOTOSHOP. You arent a coder pedro_arg so dont laugh at me because i am a coder and i can tell you that there is no code in main to change this.
Re: [Release] LoadImage And PrintImage Soruce For 1.04D main
Quote:
Originally Posted by
DragonMU
How add this in main.exe??
you need compile soruce make a dll
and make call from main.exe
where you want load image