[0.16.51] Steam eats benchmark command line output

Bugs that are actually features.
Allaizn
Long Handed Inserter
Long Handed Inserter
Posts: 90
Joined: Sat Mar 03, 2018 12:07 pm
Contact:

[0.16.51] Steam eats benchmark command line output

Post 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 1864 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.
Zavian
Smart Inserter
Smart Inserter
Posts: 1655
Joined: Thu Mar 02, 2017 2:57 am
Contact:

Re: [0.16.51] Steam eats benchmark command line output

Post 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).
Rseding91
Factorio Staff
Factorio Staff
Posts: 16101
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.16.51] Steam eats benchmark command line output

Post 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.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Not a bug”