Author Topic: Save console.log files forever  (Read 1268 times)

Something that keeps the console.log file beyond just the current session of running Blockland.

why would you need this

I would imagine after a while all those log files will take up a lot of space

why would you need this

I would imagine after a while all those log files will take up a lot of space
outside of something spamming the stuff out the the log, text files won't take up much space, especially if one compresses them with 7zip, compared to PNG screenshots

Well, I've come up with the something, however, this depends on using a .bat file to run the game instead of the normal (last I remember...) launcher route (you could use the launcher bypass or run the launcher exe).

This one requires you to add a folder named "consoleArchive", or whatever name you want for it; however, it must exist before running the code.
Code: [Select]
copy "console.log" "%cd%\consoleArchive\console %date:/=-% %time::=-%.log"This code will simply rename console.log files so that they stay in the main Blockland folder instead, so no need for a folder.
Code: [Select]
ren "console.log" "console %date:/=-% %time::=-%.log"

It is possible to do this on Torkscript, set new modpaths (havent tried to see if you really can set new modpaths), create console logger, have it save in another folder based on date and time

but yea if it fails, external code can always work

This is in the next Glass update