• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

BuckRogers25

Recruit
26 Badges
Nov 22, 2016
1
0
www.buckrogers25.com
  • Stellaris: Synthetic Dawn
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Age of Wonders: Planetfall Deluxe edition
  • Age of Wonders: Planetfall
  • Stellaris: Ancient Relics
  • Imperator: Rome
  • Imperator: Rome Deluxe Edition
  • Stellaris: Megacorp
  • BATTLETECH: Flashpoint
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Dungeonland
  • Surviving Mars
  • BATTLETECH
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Magicka 2: Ice, Death and Fury
  • Magicka 2
  • Magicka: Wizard Wars Founder Wizard
  • Cities: Skylines
  • Leviathan: Warships
This ones been a pain point for me for some time now. Alas I never received a fix after submitting a very detailed bug report for what was needed.

So, I came up with a work around myself.

The issue is simple, the game has not been coded to understand %appdata% relative paths when using a roaming profile with an active directory joined machine. The game simply fails to start, and isn't even able to generate a log since the logs directory is in the same folder. Hate to say it, but this is very poor coding. It could be that the issue is permissions rather than pathing, but I never recived a response to my bug report. Helldivers which uses the same code base, also has the same issue.

So the workaround is actually pretty simple. Modify the settings.ini file found in "Magicka2\data" and remove all references to %AppData% paths, replacing them with fixed paths. Below is a snippet from my modified settings.ini, the lines you need to adjust are all found at the end of the file. It's far from perfect, since all the save files live outside the user profile and wouldnt be backed up or synced when using a roaming profile. I also tried replacing these with fixed UNC paths to the network shares where the profile should reside, and dynamic %dir% paths, no joy.

-----
win32 = {
crash_dump = true
crash_dump_path = "D:\\Games\\Steam\\steamapps\\common\\Magicka 2\\crash_dumps\\dump-%UTCDATE%-%UTCTIME%-%RANDOM%.dmp"
crash_report = "D:\\Games\\Steam\\steamapps\\common\\Magicka 2\\crash_reports\\%HOSTNAME%-CRASH_%DATE%-%TIME%-%RANDOM%.txt"
floating_point_exceptions = false
input = {
keyboard = "windows"
mouse = "windows"
}
local_console_log = "D:\\Games\\Steam\\steamapps\\common\\Magicka 2\\logs\\console_%DATE%-%TIME%-%RANDOM%.txt"
query_performance_counter_affinity_mask = 0
renderer = {
adapter_index = 0
aspect_ratio = -1
borderless_fullscreen = false
d3d_debug = false
fullscreen = true
vsync = true
windowed = false
}
save_dir = "D:\\Games\\Steam\\steamapps\\common\\Magicka 2\\save"
user_settings = "D:\\Games\\Steam\\steamapps\\common\\Magicka 2\\user_settings.config"
window_name = "MAGICKA® 2"
-----

I really do urge paradox to adopt a better coding practice when it comes to dynamic paths and permissions. Hate to say, but in this day and age, this is just poor coding. Hope this helps someone else.
 
Upvote 0