Code: Select all
script.on_event(defines.events, function(event)
if event.name == defines.events.on_chunk_generated then
game.take_screenshot{resolution={x=1920,y=1080}, zoom=0.08, path='test.png'}
end
end)
Code: Select all
0.001 2017-05-02 21:13:05; Factorio 0.15.6 (build 29362, win64, alpha)
0.001 Operating system: Windows 7 Service Pack 1
0.001 Program arguments: "C:\Games\Factorio-Mapper\Factorio_0.15.6\bin\x64\factorio.exe"
0.001 Read data path: C:/Games/Factorio-Mapper/Factorio_0.15.6/data
0.001 Write data path: C:/Games/Factorio-Mapper/Factorio_0.15.6
0.001 Binaries path: C:/Games/Factorio-Mapper/Factorio_0.15.6/bin
0.007 System info: [CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz, 8 cores, RAM: 32701MB]
0.007 Display options: [FullScreen: 0] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
0.008 Available display adapters: 2
0.008 [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 1060 6GB {0x01, [1920,30], 1680x1050, 32bit, 59Hz}
0.008 [1]: \\.\DISPLAY2 - NVIDIA GeForce GTX 1060 6GB {0x05, [0,0], 1920x1080, 32bit, 60Hz}
0.008 Create display on adapter 1. Size 1280x720 at position [310, 162].
0.029 Initialised Direct3D:[0] NVIDIA GeForce GTX 1060 6GB; driver: nvd3dumx.dll 21.21.13.7595
0.031 Video memory size (dedicated video/dedicated system/shared system/available): 6045/0/16094/1657 MB
0.047 DSound: Starting _dsound_update thread
0.047 DSound: Enter _dsound_update; tid=5756
0.048 Device reset internal.
0.049 Desktop composition is active.
0.049 Graphics settings preset: very-high
0.049 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: false]
0.102 Loading mod core 0.0.0 (data.lua)
0.108 Loading mod base 0.15.6 (data.lua)
0.191 Loading mod base 0.15.6 (data-updates.lua)
0.246 Checksum for core: 3409166051
0.246 Checksum of base: 2213884006
0.246 Checksum of seedmapper: 0
0.338 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1493752256
0.338 Info PlayerData.cpp:62: Cloud player-data.json unavailable
0.402 Loaded shader file C:/Games/Factorio-Mapper/Factorio_0.15.6/data/core/graphics/shaders/game.cso
0.402 Loaded shader file C:/Games/Factorio-Mapper/Factorio_0.15.6/data/core/graphics/shaders/zoom-to-world.cso
0.411 Initial atlas bitmap size is 16384
0.433 Created atlas bitmap 16384x16370
1.024 Created atlas bitmap 16384x8937
1.243 Created atlas bitmap 4096x3980
1.273 Created atlas bitmap 4096x3648
11.698 Sprites loaded
11.698 Convert atlas 4096x3980 to: trilinear-filtering
11.759 Convert atlas 4096x3648 to: mipmap
12.441 Loading sounds...
14.275 Custom inputs active: 0
14.313 Factorio initialised
57.452 Loading Level.dat: 950555 bytes.
57.452 Info Scenario.cpp:133: Map version 0.15.6-0
57.489 Checksum for script C:/Games/Factorio-Mapper/Factorio_0.15.6/temp/currently-playing/control.lua: 76911248
57.490 Checksum for script __seedmapper__/control.lua: 1731634969
63.142 Error CrashHandler.cpp:141: Exception Code: c0000094, Address: 0x000000014009bff7
ModuleBase: 0x000000013fcd0000, ImageSize: 0119e000, RelativeAddress: 003cbff7
63.142 Error CrashHandler.cpp:151: Exception Context:
rax=0000000000000001, rbx=000000000016a7a0, rcx=0000000000000000,
rdx=0000000000000000, rsi=000000000016a960, rdi=0000000051f6ad48,
rip=000000014009bff7, rsp=000000000016a6c0, rbp=000000000016a7c1,
r8=0000000000000000, r9=0000000000000051, r10=0000000000000010,
r11=0000000007eeffb0, r12=0000000000000000, r13=0000000051f6ac10,
r14=0000000007eeffb0, r15=000000000016a8a0
63.142 Crashed in C:\Games\Factorio-Mapper\Factorio_0.15.6\bin\x64\factorio.exe (0x000000013fcd0000 - 0x0000000140e6e000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-cu6znz\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-cu6znz\src\util\logger.cpp (354): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-cu6znz\src\util\logger.cpp (408): Logger::logStacktrace
c:\cygwin64\tmp\factorio-cu6znz\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-cu6znz\src\util\crashhandler.cpp (177): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007731BC10)
000000007731BC10 (kernel32): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077420108)
0000000077420108 (ntdll): (filename not available): EtwEventSetInformation
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000773B7958)
00000000773B7958 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000773C812D)
00000000773C812D (ntdll): (filename not available): RtlDecodePointer
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000773B855F)
00000000773B855F (ntdll): (filename not available): RtlUnwindEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000773EBCB8)
00000000773EBCB8 (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-cu6znz\src\map\tile.cpp (221): Tile::draw
c:\cygwin64\tmp\factorio-cu6znz\src\graphics\tilerenderer.cpp (376): TileRenderer::renderTile
c:\cygwin64\tmp\factorio-cu6znz\src\graphics\tilerenderer.cpp (476): TileRenderer::renderTilesInternal
c:\cygwin64\tmp\factorio-cu6znz\src\graphics\tilerenderer.cpp (58): TileRenderer::prepare
c:\cygwin64\tmp\factorio-cu6znz\src\graphics\gamerenderer.cpp (151): GameRenderer::prepareJob
c:\cygwin64\tmp\factorio-cu6znz\src\graphics\gamerenderer.cpp (133): GameRenderer::prepare
c:\cygwin64\tmp\factorio-cu6znz\src\graphics\renderutil.cpp (523): RenderUtil::takeScreenshot
c:\cygwin64\tmp\factorio-cu6znz\src\game.cpp (185): Game::postUpdate
c:\cygwin64\tmp\factorio-cu6znz\src\mainloop.cpp (607): MainLoop::prepare
c:\cygwin64\tmp\factorio-cu6znz\src\mainloop.cpp (397): MainLoop::mainLoopStep
c:\cygwin64\tmp\factorio-cu6znz\src\mainloop.cpp (227): MainLoop::run
c:\cygwin64\tmp\factorio-cu6znz\src\main.cpp (902): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (253): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000772959CD)
00000000772959CD (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000773CA561)
00000000773CA561 (ntdll): (filename not available): RtlUserThreadStart
64.792 Error CrashHandler.cpp:106: Map tick at moment of crash: 240
64.792 Error Util.cpp:76: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.