Page 1 of 1
[0.16.25] Bigger than 32x32 item icons are tiny in alt-mode
Posted: Sat Feb 24, 2018 1:02 pm
by 321freddy
Possibly related to this:
viewtopic.php?f=11&t=57683&p=342251
I have some items with icons of size 64x64 px in my Attach Notes mod. All these items also have an almost equal virtual signal with the same icon properties.
The items icon is tiny in alt mode ingame:
Item entry in data.raw:
Code: Select all
["signpost-icon-danger"] = {
flags = {
"hidden"
},
icon = "__attach-notes__/graphics/signpost-icons/danger-icon.png",
icon_size = 64,
name = "signpost-icon-danger",
order = "a",
stack_size = 1,
subgroup = "signs-red-signpost-icons",
type = "item"
},
And the corresponding virtual signal:
Code: Select all
["signpost-icon-danger"] = {
icon = "__attach-notes__/graphics/signpost-icons/danger-icon.png",
icon_size = 64,
name = "signpost-icon-danger",
order = "a",
subgroup = "signs-red-signpost-icons",
type = "virtual-signal"
},
As you can see they have exactly the same icon properties but are drawn differently.
The icons are correctly drawn in the inventory and when dropped on the ground, but are larger than usual when used as map tag icon!
(Don't be irritated by the actual icon, this can be repoduced with any icon larger than 32x32. It has some technical reasons that I have to have both item and signal at the same time.)
log file Code: Select all
0.001 2018-02-24 13:47:46; Factorio 0.16.25 (build 35610, win64, steam)
0.001 Operating system: Windows 10 (version 1703)
0.001 Program arguments: "C:\Games\Steam Games\steamapps\common\Factorio\bin\x64\Factorio.exe"
0.001 Read data path: C:/Games/Steam Games/steamapps/common/Factorio/data
0.001 Write data path: C:/Users/*****/AppData/Roaming/Factorio [8747/199121MB]
0.001 Binaries path: C:/Games/Steam Games/steamapps/common/Factorio/bin
0.018 System info: [CPU: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz, 8 cores, RAM: 3340/8104 MB, page: 5174/10006 MB, virtual: 199/134217727 MB, extended virtual: 0 MB]
0.019 Display options: [FullScreen: 1] [VSync: 1] [UIScale: custom (109.3%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
0.021 Available display adapters: 1
0.021 [0]: \\.\DISPLAY1 - Intel(R) HD Graphics 4600 {0x05, [0,0], 1920x1080, 32bit, 60Hz}
0.021 Create display on adapter 0. Size 1399x787 at position [250, 129].
0.835 Initialised Direct3D:[0] NVIDIA GeForce GTX 960M; driver: nvldumdx.dll 23.21.13.9077
0.835 D3DFMT_A8 is not supported format for surfaces.
0.835 D3DFMT_L8 is not supported format for surfaces.
0.844 Video memory size (dedicated video/dedicated system/shared system/available): 4055/0/4052/4088 MB
0.869 DSound: Starting _dsound_update thread
0.869 Device reset internal.
0.869 Device reset internal.DSound: Enter _dsound_update; tid=2396
0.874 Desktop composition is active.
0.874 WARNING: You have vsync and desktop composition enabled on Direct3D. Consider disabling vsync to increase performance on some configurations.
0.874 Graphics settings preset: very-high
0.875 Graphics options: [Graphics quality: high] [Video memory usage: high] [Light scale: 25%] [DXT: auto] [Shader: 1]
0.875 [Parallel sprite loading: 1] [Max texture size: 0/8192] [Bmp cache: 0] [Sprite slicing: 1] [Low quality rotation: 0]
1.298 Loading mod settings attach-notes 0.1.4 (settings.lua)
1.324 Loading mod settings even-distribution 0.2.7 (settings.lua)
1.324 Loading mod settings PickerExtended 3.0.3 (settings.lua)
1.326 Loading mod settings bobwarfare 0.16.4 (settings.lua)
1.333 Loading mod core 0.0.0 (data.lua)
1.382 Loading mod base 0.16.25 (data.lua)
1.737 Loading mod attach-notes 0.1.4 (data.lua)
1.795 Loading mod boblibrary 0.16.4 (data.lua)
1.841 Loading mod even-distribution 0.2.7 (data.lua)
1.886 Loading mod PickerExtended 3.0.3 (data.lua)
1.939 Loading mod bobwarfare 0.16.4 (data.lua)
2.011 Loading mod base 0.16.25 (data-updates.lua)
2.077 Loading mod bobwarfare 0.16.4 (data-updates.lua)
2.080 Script @__boblibrary__/technology-functions.lua:155: Technology nitrogen-processing does not exist.
2.080 Script @__boblibrary__/module-functions.lua:12: Recipe gun-cotton-synthetic does not exist.
2.138 Loading mod attach-notes 0.1.4 (data-final-fixes.lua)
4.528 Loading mod even-distribution 0.2.7 (data-final-fixes.lua)
4.593 Loading mod PickerExtended 3.0.3 (data-final-fixes.lua)
4.675 Checksum for core: 3693877892
4.675 Checksum of base: 3612512180
4.675 Checksum of attach-notes: 1351146386
4.675 Checksum of boblibrary: 435821733
4.675 Checksum of even-distribution: 1247531334
4.675 Checksum of PickerExtended: 3301063350
4.675 Checksum of bobwarfare: 1385936544
4.904 Loading sounds...
7.347 Info PlayerData.cpp:67: Local player-data.json unavailable
7.347 Info PlayerData.cpp:70: Cloud player-data.json available, timestamp 1519473356
7.517 Loaded shader file C:/Games/Steam Games/steamapps/common/Factorio/data/core/graphics/shaders/game.cso
7.518 Loaded shader file C:/Games/Steam Games/steamapps/common/Factorio/data/core/graphics/shaders/zoom-to-world.cso
7.522 Loaded shader file C:/Games/Steam Games/steamapps/common/Factorio/data/core/graphics/shaders/alpha-mask.cso
7.559 Initial atlas bitmap size is 16384
7.565 Created atlas bitmap 16384x11799 [none]
8.204 Created atlas bitmap 16384x2104 [decal]
8.323 Created atlas bitmap 8192x8176 [compressed, mask]
8.334 Created atlas bitmap 8192x1020 [compressed, mask]
8.430 Created atlas bitmap 8192x8152 [compressed, mask, shadow]
8.524 Created atlas bitmap 8192x8160 [compressed, mask, shadow]
8.546 Created atlas bitmap 8192x1148 [compressed, mask, shadow]
8.548 Created atlas bitmap 8192x5568 [mipmap]
8.563 Created atlas bitmap 8192x800 [compressed, mipmap, mask, smoke]
8.741 Created atlas bitmap 8192x8192 [linear-minification, mipmap, terrain]
8.937 Created atlas bitmap 5632x528 [linear-minification, mipmap, terrain]
8.954 Created atlas bitmap 8192x2160 [no-crop, trilinear-filtering, icon, light]
9.030 Created atlas bitmap 8192x924 [alpha-mask]
14.864 Atlases loaded from disk cache.
25.446 Sprites loaded
25.446 Convert atlas 8192x8176 to: compressed
29.740 Convert atlas 8192x1020 to: compressed
30.138 Convert atlas 8192x8152 to: compressed
32.523 Convert atlas 8192x8160 to: compressed
34.707 Convert atlas 8192x1148 to: compressed
35.004 Convert atlas 8192x5568 to: mipmap
35.201 Convert atlas 8192x800 to: mipmap compressed
35.584 Convert atlas 8192x8192 to: min-linear
35.893 Convert atlas 5632x528 to: min-linear
35.909 Convert atlas 8192x2160 to: trilinear-filtering
35.990 Convert atlas 8192x924 to: alpha-mask
40.015 Custom inputs active: 49
40.086 Factorio initialised
Re: [0.16.25] Bigger than 32x32 item icons are tiny in alt-mode
Posted: Mon Feb 26, 2018 2:17 am
by eradicator
321freddy wrote: but are larger than usual when used as map tag icon!
viewtopic.php?t=57683
Oddly my 192x192 and 64x64 item icon map tags work correctly since that fix.
Re: [0.16.25] Bigger than 32x32 item icons are tiny in alt-mode
Posted: Mon Feb 26, 2018 9:18 am
by Rseding91
Can you please upload a mod that shows the issue?
Re: [0.16.25] Bigger than 32x32 item icons are tiny in alt-mode
Posted: Mon Feb 26, 2018 9:40 am
by posila
Thanks for the report.
Fixed for 0.16.26
Re: [0.16.25] Bigger than 32x32 item icons are tiny in alt-mode
Posted: Thu Mar 01, 2018 2:12 pm
by 321freddy
Thank you! works as expected now