[posila] Game on Steam won't launch

This subforum contains all the issues which we already resolved.
Turtleshot
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Mar 03, 2016 5:56 pm
Contact:

[posila] Game on Steam won't launch

Post by Turtleshot »

It used to launch without any problems up until today, I played 90 hours without any issues, but now when I start the factorio from steam, it just doesn't start, no error messages or anything. I look into my task manager and Factorio isn't even running. I don't really know what to do and I need help. I could give more information but I don't know what kind of information would help to fix this issue.

I re-installed/re-downloaded the game, run as admin, run as admin from exe, couldn't find anything that would make a change.

Please help. I love this game.
User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: Game on Steam won't launch

Post by prg »

Paste the Log file.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
Turtleshot
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Mar 03, 2016 5:56 pm
Contact:

Re: Game on Steam won't launch

Post by Turtleshot »

I have no more folder in %appdata%, is that supposed to be the case after a clean install? I saved it somewhere and the log-file ends when I stopped playing yesterday with the goodbye thing, so I don't think it would be any help. Here is it, though.

Here's my config.ini, maybe there's something in there that needs fixing.
Attachments
config.ini
(4.64 KiB) Downloaded 190 times
factorio-current.log
(842.64 KiB) Downloaded 204 times
User avatar
Smarty
Global Moderator
Global Moderator
Posts: 816
Joined: Sat Oct 04, 2014 5:00 pm
Contact:

Re: Game on Steam won't launch

Post by Smarty »

the pc specs would be helpful
Turtleshot
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Mar 03, 2016 5:56 pm
Contact:

Re: Game on Steam won't launch

Post by Turtleshot »

I've been running the game for 90 hours without any trouble, my pc runs the game very smoothly on the best graphics. I can even play online without any lag. I played about 30 hours since 12.26. When I start the game, either from Steam Library or the Factorio shortchut it says ''preparing to launch Factorio'' and then this window closes and nothing happens.


Specs :
Windows 10, x64
Processor : AMD A10-4600M Apu with Radeon(tm) HD Graphics 2.30GHz
Graphics card : AMD Radeon HD 7660G + HD 7700M Dual Graphics
Ram : 8.00GB (7.45 usable)
Turtleshot
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Mar 03, 2016 5:56 pm
Contact:

Re: Game on Steam won't launch

Post by Turtleshot »

How do I generate a new %appdata% folder?
User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: Game on Steam won't launch

Post by prg »

Factorio should be able to create the required directory structure itself. Also directories shouldn't just randomly disappear on their own. Maybe if you run Factorio in a terminal it might tell you what it doesn't like about your system.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
Turtleshot
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Mar 03, 2016 5:56 pm
Contact:

Re: Game on Steam won't launch

Post by Turtleshot »

That's all I'm getting... :S

Image
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: Game on Steam won't launch

Post by daniel34 »

prg wrote:Factorio should be able to create the required directory structure itself. Also directories shouldn't just randomly disappear on their own. Maybe if you run Factorio in a terminal it might tell you what it doesn't like about your system.
Turtleshot wrote:That's all I'm getting... :S
Image
Launching it from the terminal gives only this one line, even it it works perfectly (tried on my steam install).
This approach only works when using the drm-free website version, then you get the same output as in the log file.
quick links: log file | graphical issues | wiki
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: Game on Steam won't launch

Post by daniel34 »

You can try completely removing Factorio from the computer and reinstalling:
  • Uninstall any version of Factorio installed
    • Factorio Demo
    • Factorio (website version)
    • Factorio on Steam (right click the game in the Library and select "Delete Local Content...")
  • Delete the folder %appdata%\Factorio (C:\Users\<username>\AppData\Roaming\Factorio), backup the saves if there are any
  • Delete the folder steamapps\common\Factorio
  • Restart the PC
  • Install Factorio on Steam
quick links: log file | graphical issues | wiki
User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: Game on Steam won't launch

Post by prg »

daniel34 wrote:Launching it from the terminal gives only this one line, even it it works perfectly (tried on my steam install).
This approach only works when using the drm-free website version, then you get the same output as in the log file.
Oh, sad. Makes things somewhat more inconvenient to debug.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
orzelek
Smart Inserter
Smart Inserter
Posts: 3923
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Game on Steam won't launch

Post by orzelek »

If you are up for some heavy duty stuff there is other way that might possibly give some hints as to whats going on.

Drop by this link: https://technet.microsoft.com/en-us/sys ... nitor.aspx

It's an official tool that allows for quite detailed process monitoring.
You would need to run it before trying to run Factorio and then go to filter menu, select process name as conditions and write Factorio.exe in the box.
Then click Add and Apply. Window should get empty since no events should match the criteria.
Then try to start Factorio and see what pops up there. Considering that it fails quite quickly it should be a short list - try to screenshot it and post it here maybe devs can figure something out of it.
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: Game on Steam won't launch

Post by daniel34 »

orzelek wrote:try to screenshot it and post it here maybe devs can figure something out of it.
Better yet, go to File --> Save and save it as PML file and zip it before uploading, as that file contains a lot more information than a screenshot, including process information and the stack for each event.
quick links: log file | graphical issues | wiki
orzelek
Smart Inserter
Smart Inserter
Posts: 3923
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Game on Steam won't launch

Post by orzelek »

daniel34 wrote:
orzelek wrote:try to screenshot it and post it here maybe devs can figure something out of it.
Better yet, go to File --> Save and save it as PML file and zip it before uploading, as that file contains a lot more information than a screenshot, including process information and the stack for each event.
I was not recommending that since it contains also a lot of other information that pertains to his system and whats going on on it.
Will it save only filtered events or all ?
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: Game on Steam won't launch

Post by daniel34 »

orzelek wrote:
daniel34 wrote:
orzelek wrote:try to screenshot it and post it here maybe devs can figure something out of it.
Better yet, go to File --> Save and save it as PML file and zip it before uploading, as that file contains a lot more information than a screenshot, including process information and the stack for each event.
I was not recommending that since it contains also a lot of other information that pertains to his system and whats going on on it.
Will it save only filtered events or all ?
It will only save the filtered events currently on screen. If that is still too much, saving it as CSV will only save the actual event data seen on screen, not the detailed event properties.
quick links: log file | graphical issues | wiki
Turtleshot
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Mar 03, 2016 5:56 pm
Contact:

Re: Game on Steam won't launch

Post by Turtleshot »

Well so far I've reinstalled the whole game, reinstalled steam then reinstalled the whole game, did a restart on every reinstall and it still does the same, steam tries to launch Factorio, then it doesn't start. I'll try your program and see what's happening. I don't have DRM-free version, but I kind of want it now. Is there a way to get the DRM-free version from Steam Version?
Turtleshot
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Mar 03, 2016 5:56 pm
Contact:

Re: Game on Steam won't launch

Post by Turtleshot »

Here's the PML file from trying to start factorio. This might help?
Attachments
Logfile.rar
(38.38 KiB) Downloaded 134 times
posila
Factorio Staff
Factorio Staff
Posts: 5344
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Game on Steam won't launch

Post by posila »

Could you upload D:\Steam\GameOverlayRenderer.log after trying to launch Factorio.

Also I would be interested in Report.wer file. It should be located in one of the folders starting with AppCrash_Factorio.exe_ in %localappdata%\Microsoft\Windows\WER\ReportArchive\
(for example C:\Users\<user_name>\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_Factorio.exe_4c56fc92865f3fd3dc298cb35e6637026807e7d_5249c762_cab_412ac45a)
Turtleshot
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Mar 03, 2016 5:56 pm
Contact:

Re: Game on Steam won't launch

Post by Turtleshot »

posila wrote:Could you upload D:\Steam\GameOverlayRenderer.log after trying to launch Factorio.

Also I would be interested in Report.wer file. It should be located in one of the folders starting with AppCrash_Factorio.exe_ in %localappdata%\Microsoft\Windows\WER\ReportArchive\
(for example C:\Users\<user_name>\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_Factorio.exe_4c56fc92865f3fd3dc298cb35e6637026807e7d_5249c762_cab_412ac45a)
There is no AppCrash file as this is not a 'crash', the game just isn't starting, nothing appears at all. No error message, it says 'preparing to launch Factorio', then this message dissapears and nothing happens. I just made a system restore to 6th march and it didn't do anything. It's very weird.
Wed Mar 09 22:59:34 2016 UTC - Module file name: d:\steam\GameOverlayRenderer64.dll
Wed Mar 09 22:59:34 2016 UTC - GameID = 427520
Wed Mar 09 22:59:34 2016 UTC - Unknown opcodes for AMD64 at 3 bytes for func 0X00007FFBBDFBC610: 40 55 53 48 8B EC 48 83 EC 58 41 8B D8 48 85 C9
Wed Mar 09 22:59:34 2016 UTC - Failed hooking kernelbase LoadLibraryExW calls
Wed Mar 09 22:59:34 2016 UTC - System page size: 4096
Wed Mar 09 22:59:34 2016 UTC - Hooking SetCursorPos, GetCursorPos, ShowCursor, and SetCursor
Wed Mar 09 22:59:34 2016 UTC - Game is using ddraw.dll (dx7 or lower)... hooking.
Wed Mar 09 22:59:34 2016 UTC - Game is using opengl32.dll... hooking.
Wed Mar 09 22:59:34 2016 UTC - Modules at GameOverlayRenderer.dll attach
Wed Mar 09 22:59:34 2016 UTC - 01: Factorio.exe - (0X00007FF71BF70000 to 0X00007FF71CBDC000)
Wed Mar 09 22:59:34 2016 UTC - 02: ntdll.dll - (0X00007FFBC0D90000 to 0X00007FFBC0F51000)
Wed Mar 09 22:59:34 2016 UTC - 03: KERNEL32.DLL - (0X00007FFBC0320000 to 0X00007FFBC03CD000)
Wed Mar 09 22:59:34 2016 UTC - 04: KERNELBASE.dll - (0X00007FFBBDFA0000 to 0X00007FFBBE188000)
Wed Mar 09 22:59:34 2016 UTC - 05: WS2_32.dll - (0X00007FFBC0D20000 to 0X00007FFBC0D8B000)
Wed Mar 09 22:59:34 2016 UTC - 06: sechost.dll - (0X00007FFBC02C0000 to 0X00007FFBC031B000)
Wed Mar 09 22:59:34 2016 UTC - 07: RPCRT4.dll - (0X00007FFBBE730000 to 0X00007FFBBE84C000)
Wed Mar 09 22:59:34 2016 UTC - 08: WLDAP32.dll - (0X00007FFBBE3C0000 to 0X00007FFBBE41C000)
Wed Mar 09 22:59:34 2016 UTC - 09: msvcrt.dll - (0X00007FFBC0160000 to 0X00007FFBC01FD000)
Wed Mar 09 22:59:34 2016 UTC - 10: USER32.dll - (0X00007FFBBE970000 to 0X00007FFBBEAC6000)
Wed Mar 09 22:59:34 2016 UTC - 11: GDI32.dll - (0X00007FFBC0800000 to 0X00007FFBC0986000)
Wed Mar 09 22:59:34 2016 UTC - 12: ole32.dll - (0X00007FFBBE420000 to 0X00007FFBBE563000)
Wed Mar 09 22:59:34 2016 UTC - 13: combase.dll - (0X00007FFBC0AA0000 to 0X00007FFBC0D1D000)
Wed Mar 09 22:59:34 2016 UTC - 14: bcryptPrimitives.dll - (0X00007FFBBD4F0000 to 0X00007FFBBD55A000)
Wed Mar 09 22:59:34 2016 UTC - 15: PSAPI.DLL - (0X00007FFBBE200000 to 0X00007FFBBE208000)
Wed Mar 09 22:59:34 2016 UTC - 16: SHELL32.dll - (0X00007FFBBEBA0000 to 0X00007FFBC00FC000)
Wed Mar 09 22:59:34 2016 UTC - 17: cfgmgr32.dll - (0X00007FFBBD560000 to 0X00007FFBBD5A3000)
Wed Mar 09 22:59:34 2016 UTC - 18: WINMM.dll - (0X00007FFBBB3D0000 to 0X00007FFBBB3F3000)
Wed Mar 09 22:59:34 2016 UTC - 19: windows.storage.dll - (0X00007FFBBD950000 to 0X00007FFBBDF95000)
Wed Mar 09 22:59:34 2016 UTC - 20: advapi32.dll - (0X00007FFBBE860000 to 0X00007FFBBE907000)
Wed Mar 09 22:59:34 2016 UTC - 21: OPENGL32.dll - (0X00007FFB9C880000 to 0X00007FFB9C9A9000)
Wed Mar 09 22:59:34 2016 UTC - 22: shlwapi.dll - (0X00007FFBC0100000 to 0X00007FFBC0152000)
Wed Mar 09 22:59:34 2016 UTC - 23: kernel.appcore.dll - (0X00007FFBBD400000 to 0X00007FFBBD40F000)
Wed Mar 09 22:59:34 2016 UTC - 24: shcore.dll - (0X00007FFBBD890000 to 0X00007FFBBD945000)
Wed Mar 09 22:59:34 2016 UTC - 25: gdiplus.dll - (0X00007FFB9F150000 to 0X00007FFB9F2F8000)
Wed Mar 09 22:59:34 2016 UTC - 26: powrprof.dll - (0X00007FFBBD3B0000 to 0X00007FFBBD3FB000)
Wed Mar 09 22:59:34 2016 UTC - 27: profapi.dll - (0X00007FFBBD410000 to 0X00007FFBBD424000)
Wed Mar 09 22:59:34 2016 UTC - 28: WINMMBASE.dll - (0X00007FFBBB3A0000 to 0X00007FFBBB3CC000)
Wed Mar 09 22:59:34 2016 UTC - 29: GLU32.dll - (0X00007FFB9C850000 to 0X00007FFB9C87E000)
Wed Mar 09 22:59:34 2016 UTC - 30: DDRAW.dll - (0X00007FFB9C750000 to 0X00007FFB9C84A000)
Wed Mar 09 22:59:34 2016 UTC - 31: steam_api64.dll - (0X000000006B5F0000 to 0X000000006B627000)
Wed Mar 09 22:59:34 2016 UTC - 32: VERSION.dll - (0X00007FFBBA160000 to 0X00007FFBBA16A000)
Wed Mar 09 22:59:34 2016 UTC - 33: DCIMAN32.dll - (0X00007FFBA7ED0000 to 0X00007FFBA7ED8000)
Wed Mar 09 22:59:34 2016 UTC - 34: IMM32.DLL - (0X00007FFBBE910000 to 0X00007FFBBE94B000)
Wed Mar 09 22:59:34 2016 UTC - 35: WIN64C~1.DLL - (0X00007FFBB51C0000 to 0X00007FFBB51C7000)
Wed Mar 09 22:59:34 2016 UTC - 36: GameOverlayRenderer64.dll - (0X00007FFB93C80000 to 0X00007FFB93DE0000)
Wed Mar 09 22:59:34 2016 UTC - ----------------------------
Can you give me an access to the game while this issue is being fixed, to maybe test if this also affects the non-steam version? I'm just asking, I really enjoy the game. ;)
posila
Factorio Staff
Factorio Staff
Posts: 5344
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [posila] Game on Steam won't launch

Post by posila »

It sound similar to following two issues.

There were reports sometimes an antivirus makes the game crash like this:
http://steamcommunity.com/app/427520/di ... 163955893/

Or some third party software like Logitech QuickCam or Razer Synapse:
http://steamcommunity.com/app/427520/di ... 346174044/

I asked for Report.wer, because in PML I saw WerFault.exe was executed before Factorio closed, so I assumed it created some the report.

Anyway, can you try to run following commands fom command line?

Code: Select all

start /wait Factorio --create NewTestGame
start /wait Factorio --start-server NewTestGame
The first one creates new save and the second one will run the save in headless server. The point of this test is that both options don't run SteamAPI Init, which would restart the process under Steam, so you will be able to see what the game prints to console. Then stop the server by Ctrl + C.

I'll ask if we can get you an account on factorio.com, in meantime you can test if demo runs: https://www.factorio.com/get-download/0 ... n64-manual
Post Reply

Return to “Resolved Problems and Bugs”