LoadImage And PrintImage Soruce For 1.04D main

Results 1 to 19 of 19
  1. #1
    iNewLegend , Leo123 zolamu is offline
    MemberRank
    Apr 2006 Join Date
    Холон, IsrLocation
    737Posts

    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:


    and i make call to other pic after load sky
    result:


    Enjoy
    Creadits To Me (Leo123)
    and Holy For idea :)
    and coNsept to convect my asm code to c++ xD


  2. #2
    Valued Member CrazYRolleR is offline
    MemberRank
    Jan 2004 Join Date
    IsRaELLocation
    107Posts

    Re: [Release] LoadImage And PrintImage Soruce For 1.04D main

    thanks~!

  3. #3
    TitansTech / SCFMT bet0x is offline
    MemberRank
    Mar 2004 Join Date
    /dev/nullLocation
    840Posts

    Re: [Release] LoadImage And PrintImage Soruce For 1.04D main

    Nice idea ;)

  4. #4
    Proficient Member vova is offline
    MemberRank
    Feb 2006 Join Date
    russiaLocation
    150Posts

    Re: [Release] LoadImage And PrintImage Soruce For 1.04D main

    good one :D i love u leo123 ...DDD u are su*k lol joke u are the best

  5. #5
    Enthusiast SOFTONICO is offline
    MemberRank
    Apr 2005 Join Date
    BoliviaLocation
    48Posts

    Re: [Release] LoadImage And PrintImage Soruce For 1.04D main

    Thanks very nice...

  6. #6
    iNewLegend , Leo123 zolamu is offline
    MemberRank
    Apr 2006 Join Date
    Холон, IsrLocation
    737Posts

    Re: [Release] LoadImage And PrintImage Soruce For 1.04D main

    Quote Originally Posted by vova View Post
    good one :D i love u leo123 ...DDD u are su*k lol joke u are the best
    :\
    ...

  7. #7
    Account Upgraded | Title Enabled! GhostOne is offline
    MemberRank
    Mar 2007 Join Date
    SomeWhereLocation
    251Posts

    Re: [Release] LoadImage And PrintImage Soruce For 1.04D main

    good work

  8. #8
    Account Upgraded | Title Enabled! GMNLPV is offline
    MemberRank
    May 2007 Join Date
    PerLocation
    240Posts

    Re: [Release] LoadImage And PrintImage Soruce For 1.04D main

    Good idea ... u can make that for char select? ... :eek6: thanks :flag_schw

  9. #9
    iNewLegend , Leo123 zolamu is offline
    MemberRank
    Apr 2006 Join Date
    Холон, IsrLocation
    737Posts

    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

  10. #10
    Apprentice pedro_arg is offline
    MemberRank
    Sep 2007 Join Date
    14Posts

    Re: [Release] LoadImage And PrintImage Soruce For 1.04D main

    Look This Logo:


    Credits To PaPu.

  11. #11
    MuOnline custom moder Oo DragonMU is offline
    MemberRank
    Jan 2007 Join Date
    324Posts

    Re: [Release] LoadImage And PrintImage Soruce For 1.04D main

    How add this in main.exe??

  12. #12
    Account Upgraded | Title Enabled! GMNLPV is offline
    MemberRank
    May 2007 Join Date
    PerLocation
    240Posts

    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

  13. #13
    iNewLegend , Leo123 zolamu is offline
    MemberRank
    Apr 2006 Join Date
    Холон, IsrLocation
    737Posts

    Re: [Release] LoadImage And PrintImage Soruce For 1.04D main

    Quote Originally Posted by pedro_arg View Post
    Look This Logo:


    Credits To PaPu.
    nice
    where yo make call?

  14. #14
    Account Upgraded | Title Enabled! Holy is offline
    MemberRank
    Jul 2007 Join Date
    Mov eax, 1Location
    551Posts

    Re: [Release] LoadImage And PrintImage Soruce For 1.04D main

    Quote Originally Posted by zolamu View Post
    nice
    where yo make call?
    Leo...this isnt a function on the main, he only take the logo and edited with photoshop :).

  15. #15
    Enthusiast DDRII is offline
    MemberRank
    Jun 2007 Join Date
    25Posts

    Re: [Release] LoadImage And PrintImage Soruce For 1.04D main

    ty very much leo

  16. #16
    Apprentice pedro_arg is offline
    MemberRank
    Sep 2007 Join Date
    14Posts

    Re: [Release] LoadImage And PrintImage Soruce For 1.04D main

    [quote=H

  17. #17
    Valued Member k3ops is offline
    MemberRank
    Sep 2006 Join Date
    ARGENTINA!Location
    148Posts

    Re: [Release] LoadImage And PrintImage Soruce For 1.04D main

    [quote=H

  18. #18
    Account Upgraded | Title Enabled! Holy is offline
    MemberRank
    Jul 2007 Join Date
    Mov eax, 1Location
    551Posts

    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.

  19. #19
    iNewLegend , Leo123 zolamu is offline
    MemberRank
    Apr 2006 Join Date
    Холон, IsrLocation
    737Posts

    Re: [Release] LoadImage And PrintImage Soruce For 1.04D main

    Quote Originally Posted by DragonMU View Post
    How add this in main.exe??
    you need compile soruce make a dll
    and make call from main.exe
    where you want load image



Advertisement