Code Monkey home page Code Monkey logo

hearts-of-iron-iv-launcher's Introduction

Hearts of Iron IV Launcher

This project is completly bare bones and pure spaghetti code. It's something I made up fast so I can play the game without problems created by the Paradox Launcher V2. I might polish the launcher in the future but until then feel free to fork this and modify the project to your liking.

How to use the launcher

Simply compile the project and copy from Debug folder everything into the Hearts of Iron IV root folder. You will have to run the steam launcher or pdx launcher once to generate mods files. After that you can open Hoi4 Launcher.exe and you are good to go.

For more information on how to install here and can also check this video by LemmingAid.

Images that are used in this project belong to Paradox Interactive.

hearts-of-iron-iv-launcher's People

Contributors

xferno2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

hearts-of-iron-iv-launcher's Issues

Does this support debug mode?

On a normal launcher, you can use startup argument -debug to launch the debug mode, however doing so on this launcher through Steam results in game crashing.

Launcher has trouble enabling specific mods

This may align with my last issue: the new descriptor generator works great, (although the mods have no thumbnails, but you probably know that already) but any new mods I have subscribed to will not be enabled upon launching the game. I have already reinstalled both the recent release of the launcher and the game (and launcher) itself, but nothing changes. The launcher enables and disables older mods I've been subscribed to for months perfectly.

I wanted to private message instead of creating a whole new issue, but apparently that's not even a thing on this website. Sorry about that.

dlc_load.json?????

I can perfectly install the launcher and run it but when I go to play the game it doesn't let me and it says that it does not have access to some .json file. Does anyone know why this is and how I can fix it and run the game??? Other than that this seems to be a really cool passion project.

Launcher crashes when I try to open the game

Hello, how are you? I had a problem with .NET Framework when starting the game, I got an error box that said I had to enable JIT Debugging, many pages on the internet told me to put "<system.windows.forms jitDebugging="true" />" in the file ".exe.config" which was "Hoi4 Launcher.exe.config". After that I didn't get the error, but the Launcher closes and the game doesn't open.
I put "<system.windows.forms jitDebugging="true" />" at the end of the file, before

Vid.mp4

How to launch the game in debug mode?

Hello there - the launcher worked for me and it's really great since I'm literally unable to even launch the game via launcher 70 % of the time, but there is a single problem - how to launch the game in debug mode with the launcher? I considered checking the "Settings" Tab of the launcher, but I only see a white screen there.

imagen

every time I launch it gives me a microsoft .NET Framework error

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Hoi4_Launcher.Form1.generateCategories() in G:\Documents\Visual Studio 2017\Projects\Hoi4 Launcher\Hoi4 Launcher\Form1.cs:line 368
at Hoi4_Launcher.Form1.load() in G:\Documents\Visual Studio 2017\Projects\Hoi4 Launcher\Hoi4 Launcher\Form1.cs:line 113
at Hoi4_Launcher.Form1.Form1_Load_1(Object sender, EventArgs e) in G:\Documents\Visual Studio 2017\Projects\Hoi4 Launcher\Hoi4 Launcher\Form1.cs:line 103
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at MetroSet_UI.Forms.MetroSetForm.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at MetroSet_UI.Forms.MetroSetForm.WndProc(Message& message)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

Hoi4 Launcher
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/Games/SteamLibrary/steamapps/common/Hearts%20of%20Iron%20IV/Hoi4%20Launcher.exe

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

MetroSet UI
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///D:/Games/SteamLibrary/steamapps/common/Hearts%20of%20Iron%20IV/MetroSet%20UI.DLL

System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

ImgButton
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/Games/SteamLibrary/steamapps/common/Hearts%20of%20Iron%20IV/ImgButton.DLL

Geckofx-Winforms
Assembly Version: 45.0.34.0
Win32 Version: 45.0.34.0
CodeBase: file:///D:/Games/SteamLibrary/steamapps/common/Hearts%20of%20Iron%20IV/Geckofx-Winforms.DLL

Geckofx-Core
Assembly Version: 45.0.34.0
Win32 Version: 45.0.34.0
CodeBase: file:///D:/Games/SteamLibrary/steamapps/common/Hearts%20of%20Iron%20IV/Geckofx-Core.DLL

Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

Newtonsoft.Json
Assembly Version: 13.0.0.0
Win32 Version: 13.0.1.25517
CodeBase: file:///D:/Games/SteamLibrary/steamapps/common/Hearts%20of%20Iron%20IV/Newtonsoft.Json.DLL

System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Settings appear blank

Hoi4 launches with it as not responding and the settings are blank so I can't put it on fullscreen on launch. What gives?

Use gameDataPath setting in launcher-settings.json

Hey, idk if this project is maintained, but anyway:

I have configured the "gameDataPath" in the launcher-settings.json file to a custom path. When i try to open your launcher, it still searches for the dlc_load.json in the default gameDataPath. Can you fix this?

No Step Back Launcher Update?

When I run the launcher the options for no step back and the katyusha music dlc are not there so I was wondering if you were going to update the launcher to include those on the dlc menu.

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.