Main.exe Parameters or Build

Results 1 to 4 of 4
  1. #1
    Graveyard Networks -Jumong- is offline
    MemberRank
    Dec 2005 Join Date
    /f248/Location
    852Posts

    Main.exe Parameters or Build

    I just wanted to ask if main.exe have a parameter for the launcher to call it or there are few parts on main.exe itself that needs to be called by the launcher when you code it?... I am asking this so because i currently have a main.exe that you can directly run just by executing it directly, im configuring my launcher and i wanna make sure im ready for future in case i update and the main.exe i will get have a parameter my launcher is ready for it.


  2. #2

    Re: Main.exe Parameters or Build

    i cant understand what u wanna do, u have launcher and u wanna run launcher.exe and that it runs main.exe afterwards and u connect to the game or what? ur explanation confused me

  3. #3
    Don't be afraid to ask! RevolGaming is offline
    MemberRank
    Jun 2012 Join Date
    1,458Posts

    Re: Main.exe Parameters or Build

    Open the main.exe with ollydbg change view to main - > rightclick -> search for all referenced text strings ->find Mu.Exe or Mu or something like this maybe Launcher.exe you will find it anyways.. After that double click on this text.. double clicnk on the row, it will give you the offsets address where is this "function call"... copy it.. rightclick go to -> paste offset -> enter -> now you see the called offset on your screen you will find JNP or JNZ or something like this.. if you see JMP, change it to JNZ and after rightclick copy midifield parts.. new window open up... after rightclick-> save -> main2.exe

    and you can try it... :) if you made everything right the launcher will be called in every run... but! sometimes it can cause bug...

    if the user change the launcher name from mu.exe or from launcher.exe to mu2.exe or launcher2.exe your main will start too maybe... its working with some main.exe... better if you make a dll in visual studio, which check the running process list, if launcher.exe is not running, it will call start the application, if running it will start the main.exe... :)

  4. #4
    Graveyard Networks -Jumong- is offline
    MemberRank
    Dec 2005 Join Date
    /f248/Location
    852Posts

    Re: Main.exe Parameters or Build

    Im just getting info about main.exe, i know now. It doesnt have any run parameters but rather it checks if it was run by mu.exe as explained to me by mauka.



Advertisement