Surviving Mars

Surviving Mars

Not enough ratings
Finding and Reading Game Logs (Surviving Mars)
By Doktor Nik
This guide covers how to find your game logs for troubleshooting crashes and errors, as well as how to read the messages my mods output. It also includes the best way to contact me for help with my mods.

Here are the default file paths, see the rest of the guide for further information.

Windows:
C:\Users\<user_name>\AppData\Roaming\Surviving Mars\logs (AppData is a hidden folder)

Xbox/Microsoft Store:
C:\Users\<user_name>\AppData\Local\Packages\ParadoxInteractive.SurvivingMars_zfnrdv2de78ny\LocalCache\Roaming\Surviving Mars\Save\

MacOS (OS X):
~/Library/Application Support/Surviving Mars/

Linux:
~/.local/share/Surviving Mars/logs/
   
Award
Favorite
Favorited
Unfavorite
Finding Logs
Windows:
%AppData%\Surviving Mars
C:\Users\<user_name>\AppData\Roaming\Surviving Mars

You can hit Win+R and paste in %AppData%\Surviving Mars
Use your username instead of <user_name>
AppData is a hidden folder

Microsoft Store/Xbox:
%LOCALAPPDATA%\Packages\ParadoxInteractive.SurvivingMars_zfnrdv2de78ny\LocalCache\Roaming\Surviving Mars\Save\
C:\Users\<user_name>\AppData\Local\Packages\ParadoxInteractive.SurvivingMars_zfnrdv2de78ny\LocalCache\Roaming\Surviving Mars\Save\

MacOS (OS X):
~/Library/Application Support/Surviving Mars/

Linux:
~/.local/share/Surviving Mars/logs
$XDG_DATA_HOME/Surviving Mars/logs

Remember to escape spaces in terminal
$XDG_DATA_HOME may not be set on all systems
Reading Logs
About the Logs
The name of the log files contain the date and time of when the game was launched. Be sure to select the right log file for review. You should also be able to set your system to sort them by date created to make this easier.

The logs are in plain text, and you can look at them yourself. I try to list clear messages with helpful tips when possible, though you may need to enable the mod option to print extra warnings, assuming it exists for the mod you're troubleshooting.

Messages From my Mods
All of my mods use the following logging format:
[Mod Name]/Filename SEVERITY: Message

Examples:

Error:
[Tidy Depots 2]/Script.lua ERROR: # of drone hubs exceeds maximum!

This means that the mod is trying to calculate more drone hubs than actually exist in the game. Something went wrong and the mod is not working as expected. Please report these errors to me.

Warning:
[Tidy Depots 2]/Script.lua WARNING: Less than 1 Concrete available for depot. Try removing some extra depots.

This means that there are not enough resources (Concrete in this case) to spread around all of the depots. I recommend either stocking up on concrete or reducing the number of depots being used.
Asking for Help
If you need some help, feel free to come ask. Please ask politely, and understand that I'm very busy. I'll do my best to help, but I can't be available 24/7 for everyone.

You should be able to send me logs directly, as they're just text files. You can also use pastebin.com (no signup needed), or zip them up.

When asking for help, please include the following information to make things easier to fix:
✤ Name of the mod in question
✤ Other mods in use at the same time
✤ What's happening
✤ What you expect to be happening instead
✤ Latest log file
✤ Any relevant screenshots


You can find me:
Discord: https://discord.gg/B4xue3uEG4
Reddit: /u/fizzle_fuze (/r/SurvivingMars)
Email: mods@aidevelopment.org
General: Coding in an RC Safari
Credits & Thanks
Thanks to ChoGGi for supplying the location of the logs for systems I don't have, as well as some general information which acted as a template for this guide.
3 Comments
chaostheory66821 Jul 6, 2021 @ 8:43pm 
Thank you for the suggestions, Fizzle_Fuze.
Doktor Nik  [author] Jun 28, 2021 @ 2:55am 
@chaostheory66821 there is no other log location to the best of my knowledge.

My guess is that the game is crashing before it can generate a log. I'd take a look through other logs, such as system logs and logs from the launcher if applicable (steam, epic games) etc.

I hope you get it working! :)
chaostheory66821 Jun 13, 2021 @ 11:59pm 
Default install but no log file present in the location specified. Is there another? Game crashes immediately when trying to launch in Linux Mint 19.3