Page 1 of 1

[0.16.51] Steam eats benchmark command line output

Posted: Wed Aug 01, 2018 12:21 am
by Allaizn
This may be a repost of viewtopic.php?f=23&t=53480.

The problem occurs when launching Factorio on steam with the "benchmark" commandline option:
output.png
output.png (16.21 KiB) Viewed 1865 times
Note: that's all the output, there is nothing more.
I initally thought that I was simply not clever enough due to some subtle thing with piping, since other people also had problems with this (see the post I linked above).
I got it working with the website version of Factorio with no problem, which puzzled me further, but I soon forgot about it.
I only post this because Rseding confirmed the problem on his stream, where your__name__here showed us a work around.

So here's the workaround for anyone who finds this post by googling:
Step 0: use the website version, if you can (it's way less of a hassle)
Step 1: go into your steam library, right click on Factorio, and open it's "Properties", which should be the lowest option in the context menu.
Step 2: in the "General" tab, click on the "Set Launch Options..."
Step 3: Type in "cmd /c %command% > test.txt" (without the quotation marks)

This will output factorios console output into the "test.txt" file (benchmark results included) which can then be found in the install directory of Factorio.

The problem with this workaround is that the output is forced into another cmd instance, which means that no piping works :/
It may be something that you guys can't fix, because it's steam's fault, but I guess it's at least good to know that this problem exists.

Re: [0.16.51] Steam eats benchmark command line output

Posted: Wed Aug 01, 2018 1:27 am
by Zavian
The steam version restarting under steam is working as designed. (See viewtopic.php?f=49&t=52931&p=311376#p311357 . It probably needs to do that, otherwise things like achievements and steam cloud probably wouldn't work). So the best alternative is to download one of the other versions direct from https://www.factorio.com/download . (If you haven't done so already, you can link your Steam account to a Factorio.com account. You don't need to purchase the game again).

Re: [0.16.51] Steam eats benchmark command line output

Posted: Mon Aug 13, 2018 1:34 am
by Rseding91
Zavian wrote:The steam version restarting under steam is working as designed. (See viewtopic.php?f=49&t=52931&p=311376#p311357 . It probably needs to do that, otherwise things like achievements and steam cloud probably wouldn't work). So the best alternative is to download one of the other versions direct from https://www.factorio.com/download . (If you haven't done so already, you can link your Steam account to a Factorio.com account. You don't need to purchase the game again).
Indeed.