error [ModHandler]: Error occurred in getModsSource method: Error while getting default mods platform source for undefined: Error while getting default mods platform: Error while getting mods platform: Error while checking if game hoi4 has PDX mods: connect EACCES 151.101.122.217:443
warn [TelemetryService]: Failed sending telemetry: RequestError: Error: connect EACCES 52.206.171.113:443
warn [NewsFeedContainer]: Failed to get user segments: VError: Getting user marketing segments failed: connect EACCES 151.101.122.217:443
Thanks, blocking services.paradoxplaza.com seems to have done the trick.Not that I know of. Other than brute-force denying network connections with an application firewall:
View attachment 660217
You can't just block specific IP addresses because the Launcher talks to CDNs which IP addresses will vary depending on your location and whatever network magic the CDN is performing. So all outgoing network traffic has to be blocked as a whole.
This also blocks Launcher update checks (not necessarily a bad thing), and downloading mod thumbnails. Other than that it seems to work ok.
I just did a quick test, not thorough enough to confirm there are no functional issues with regards to mod handling.
I had to clean the contents of the .launcher-cache folder (within the Documents > Paradox Interactive > Hearts of Iron IV folder) to completely get rid of the news/advertisements.
YMMV.
-nolauncher but that doesn't work anymore.Btw, is there a launch option to skip the launcher entirely when launching the game through steam? I virtually never change anything there.
This is what I usually do.you can make a Windows shortcut (or a Linux symlink) to hoi4.exe and start it directly from your desktop
When I run it like this on Linux, I don't get the steam overlayAlternatively you can make a Windows shortcut (or a Linux symlink) to hoi4.exe and start it directly from your desktop instead of from Steam. If the Steam client is running in the background before running hoi4.exe, all Steam in-game features (overlay, achievements, multiplayer etc.) will still be available, at least on Windows but I'd expect the same on Linux.
How did you block by hostname on Linux, using the /etc/hosts file?Thanks, blocking services.paradoxplaza.com seems to have done the trick.
You could try what's hinted here, in a wrapper script:When I run it like this on Linux, I don't get the steam overlay![]()
Q. The Steam Overlay won't work when launching from outside of Steam.
A. On Linux you must set the LD_PRELOAD environment variable to load the gameoverlayrenderer.so
This will look something like:
export LD_PRELOAD=~/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so;~/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
YesHow did you block by hostname on Linux, using the /etc/hosts file?
Neat! The library path seems to be outdated though; I ended up withYou could try what's hinted here, in a wrapper script:
Exec=env LD_PRELOAD=/home/USER/.steam/ubuntu12_64/gameoverlayrenderer.so /home/USER/.steam/steam/steamapps/common/Hearts\ of\ Iron\ IV/hoi4 in my .desktop file.it's not outdated, it's just written for a different launching method (specifically, it's a short fragment of a shell script, rather than a .desktop file).The library path seems to be outdated though
Btw, is there a launch option to skip the launcher entirely when launching the game through steam? I virtually never change anything there. The old one used to have-nolauncherbut that doesn't work anymore.
~/.local/share/Steam/ubuntu* does not exist on my system, it is not just the tilde expansion. The location of steam files seems to depend on the installation method. (I'm using Ubuntu)it's not outdated, it's just written for a different launching method (specifically, it's a short fragment of a shell script, rather than a .desktop file).
in most modern shells, ~ gets expanded to the home directory of the current user.
Yep, I just like to start games through the Steam interface. Oh well.I think making a shortcut directly to HOI4. EXE works. It should skip the launcher. The game should use the mods used last time.
Why don't you try the hack I described earlier for Windows, but transposed to Linux.Yep, I just like to start games through the Steam interface. Oh well.
ln -s hoi4 dowser)Yep, the files lack the .exe extension. I'm just worried that an update or verifying local files undoes this solution. After realizing the game starts dowser without any further arguments, I've now set the launch "options" toWhy don't you try the hack I described earlier for Windows, but transposed to Linux.
Something like:
- locate dowser.exe in HOI 4 game directory (I don't know how it's named exactly on Linux, might be 'dowser' without the .exe)
- rename it to something else (e.g. dowser.orig)
- create a symbolic link named dowser[.exe] in the HOI 4 game directory that points to the hoi4 executable (e.g.ln -s hoi4 dowser)
This should work.
./hoi4 # %command% and it seems to work fine; maybe something like that works on Windows as well.The old launcher was part of hoi4.exe and it is not there anymore in newer patches. You can only get it by reverting to patch 1.7.1 or older.Is there a way to remove the launcher and back to previous one? It's pure shit.
Right, it would.I'm just worried that an update or verifying local files undoes this solution.
Wow, I had never heard of the %command% special value for Steam launch options, until now.I've now set the launch "options" to./hoi4 # %command%and it seems to work fine; maybe something like that works on Windows as well.
"C:\Program Files (x86)\Steam\steamapps\common\Hearts of Iron IV\hoi4.exe" %command%