Git Product home page Git Product logo

mhf-iel's Introduction

MHF IELess Launcher

MHF default launcher requires IE to login. IE sucks.

This project reverse engineered the MHF launcher in order to make it possible to boot the game directly, without going through mhf.exe and mhl.dll.

If you're wondering 'Why use this instead of the original launcher?', here are some of the issues that are are solved by using a custom launcher:

  • Not being locked to IE.
    • Should open a sea of possibilities on how to design the launcher.
    • Won't take 10 seconds for each request.
    • Game might boot under Linux/Steam deck when using Proton/Wine, since IE was the main reason those weren't even options.
  • Not being locked to the weird way MHF connects to the server.
    • Allows launcher operations to be implemented using with HTTP(S), JSON, custom ports, etc.
  • Not being locked to the operations and data model the original launcher uses.
    • Allows implementing new operations, such as adding separate buttons for 'Sign Up' and 'Login'.
    • Allows storing and displaying extra information. For example, it would be possible to get character portraits on the launcher window.
    • Removes the need to modify the launcher (since we're replacing it) and mhfo-hd.dll to remove GameGuard, since mhfo-hd.dll calls a function provided by the launcher to run GameGuard checks.

Obs.: It should be noted that the Python GUI on the root is for testing the APIs. A decent GUI will be developed in the future, but some decisions need to be made first.

Usage

If you want to test this, make sure your server is running under the newsign branch.

After that, copy gui.py and mhf-iel.exe (either from the releases page or by compiling it yourself) to the folder MHF is installed. Run gui.py, and be happy.

Compile

In order to compile the project, a x86/32bit version of cl should be used, since we need to interface with mhfo-hd.dll, which was built for x86.

The easiest way to get cl is by installing Visual Studio's 'Desktop C++ Dev' package. If your Visual Studio is from 2019 or before, it should target x86 by default. Otherwise, you can run the 'x86 Native Tools CMD' shortcut, which will set everything for you.

After having a x86 version of cl available on your shell, just run buildCMD.bat or buildDLL.bat.

mhf-iel's People

Contributors

rockisch avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.