Enable Maiet Logo through the source?

Results 1 to 11 of 11
  1. #1
    Account Upgraded | Title Enabled! kochon is offline
    MemberRank
    Nov 2006 Join Date
    MontrealLocation
    1,451Posts

    Enable Maiet Logo through the source?

    Hi guys. I know there is a tutorial on how to enable or disable using ollydbg but I'm looking for a cleaner way to re-implement it through the source code so I don't need to edit my runnable every time I build it. I already know how to build it but I'm not sure where to look in the code. Any help would be really appreciated.
    Last edited by kochon; 19-02-16 at 04:27 AM.


  2. #2
    TBF Guru jetman82 is offline
    MemberRank
    Jan 2009 Join Date
    631Posts

    Re: Enable Maiet Logo through the source?

    Should be located in zinterfacebackground, or atleast the call to the function should be.

  3. #3
    Account Upgraded | Title Enabled! kochon is offline
    MemberRank
    Nov 2006 Join Date
    MontrealLocation
    1,451Posts

    Re: Enable Maiet Logo through the source?

    Quote Originally Posted by jetman82 View Post
    Should be located in zinterfacebackground, or atleast the call to the function should be.
    Thanks for helping me out, it was at line 324.
    Code:
    //  ZGetScreenEffectManager()->DrawEffects();
    to
    Code:
        ZGetScreenEffectManager()->DrawEffects();
    - - - Updated - - -

    sorry for double posting but your inbox is full, hopefully you will see this and I won't have to make a whole thread for it...


    now I'm trying to restore the login background, I've tried reversing this tutorial
    http://forum.ragezone.com/f245/backg...in-map-837813/

    But the login background is now just a black screen. I do have a file called loginbg.jpg in Interface/loadable.mrs and it IS referenced in the code but for some reason it won't show up... nothing useful in mlog either...

    I thought perhaps you could help me out again

  4. #4
    TBF Guru jetman82 is offline
    MemberRank
    Jan 2009 Join Date
    631Posts

    Re: Enable Maiet Logo through the source?

    You're sure the code is looking for a jpeg and not a png? if so pastebin the cpps and ill take a look at them.

  5. #5
    Account Upgraded | Title Enabled! kochon is offline
    MemberRank
    Nov 2006 Join Date
    MontrealLocation
    1,451Posts

    ! Re: Enable Maiet Logo through the source?

    Quote Originally Posted by jetman82 View Post
    You're sure the code is looking for a jpeg and not a png? if so pastebin the cpps and ill take a look at them.
    I'm at work atm but im pretty sure the function was drawing a .png from the .jpg Edit: after testing ,it crashes the game if there's already a loginbg.png in loadable.mrs, heres my zgameinterface [C++] ZGameInterface.cpp - Pastebin.com
    Last edited by kochon; 19-02-16 at 07:30 AM.

  6. #6
    TBF Guru jetman82 is offline
    MemberRank
    Jan 2009 Join Date
    631Posts

    Re: Enable Maiet Logo through the source?

    Quote Originally Posted by kochon View Post
    I'm at work atm but im pretty sure the function was drawing a .png from the .jpg Edit: after testing ,it crashes the game if there's already a loginbg.png in loadable.mrs, heres my zgameinterface [C++] ZGameInterface.cpp - Pastebin.com
    try commenting line 1370 to 1376 and launch gunz again.

  7. #7
    Account Upgraded | Title Enabled! kochon is offline
    MemberRank
    Nov 2006 Join Date
    MontrealLocation
    1,451Posts

    Re: Enable Maiet Logo through the source?

    Quote Originally Posted by jetman82 View Post
    try commenting line 1370 to 1376 and launch gunz again.
    Results in a black screen until I hit connect :(

  8. #8
    TBF Guru jetman82 is offline
    MemberRank
    Jan 2009 Join Date
    631Posts

    Re: Enable Maiet Logo through the source?

    Quote Originally Posted by kochon View Post
    Results in a black screen until I hit connect :(
    try changing loginbg.png to loginbg.jpg

  9. #9
    Account Upgraded | Title Enabled! kochon is offline
    MemberRank
    Nov 2006 Join Date
    MontrealLocation
    1,451Posts

    Re: Enable Maiet Logo through the source?

    Quote Originally Posted by jetman82 View Post
    try changing loginbg.png to loginbg.jpg
    It didn't work, sadly.
    I got mad and took a clean ZGameInterface.cpp that draws the login background and used it on my client, still it would not work. I even used the same loadable.mrs, still black screen. Maybe it's somewhere else? I'm all out of ideas.

    I've been looking around in other source files for a lead... I think it might be because during loading it does not load the loginbg.jpg, although I'm not sure at all and it could be anything at this point.
    Last edited by kochon; 22-02-16 at 04:13 PM.

  10. #10
    I am THE DON Joe9099 is offline
    MemberRank
    Jan 2007 Join Date
    England, UkLocation
    3,655Posts

    Re: Enable Maiet Logo through the source?

    Could be a fucked up loading screen, sometimes happens, who knows.
    Download any random image, rename it what it is in the files, compile...

  11. #11
    Account Upgraded | Title Enabled! kochon is offline
    MemberRank
    Nov 2006 Join Date
    MontrealLocation
    1,451Posts

    Re: Enable Maiet Logo through the source?

    Quote Originally Posted by Joe9099 View Post
    Could be a fucked up loading screen, sometimes happens, who knows.
    Download any random image, rename it what it is in the files, compile...
    No luck :/



Advertisement