Patch: Allowing windowed-mode resolution to be specified externally
Patch: Allowing windowed-mode resolution to be specified externally
This topic was splitted into two parts: The suggestion-part and the patch.part. The origin is here:
viewtopic.php?f=6&t=45948
-- ßilk
As a temporary solution, I've patched the .exe file using x64dbg to start with the desired resolution.
Here's the part of the file that needed to be modified (open image location for a larger version):
Here's the tool I used to convert the desired resolution to hex values.
viewtopic.php?f=6&t=45948
-- ßilk
As a temporary solution, I've patched the .exe file using x64dbg to start with the desired resolution.
Here's the part of the file that needed to be modified (open image location for a larger version):
Here's the tool I used to convert the desired resolution to hex values.
- Attachments
-
- Factorio_0.15.1_w64_Resolution_Patch_to_1680x1050.txt
- Patch file. Rename ".txt" to ".1337".
- (113 Bytes) Downloaded 315 times
Leading Hebrew translator of Factorio.
Re: Allowing windowed-mode resolution to be specified externally
Adding patch for 0.15.2.
- Attachments
-
- Factorio_0.15.2_w64_Resolution_Patch_to_1680x1050.txt
- Rename .txt to .1337 and apply using x64dbg.
- (113 Bytes) Downloaded 323 times
Leading Hebrew translator of Factorio.
Re: Allowing windowed-mode resolution to be specified externally
BTW, as the addresses change with every new version, one should start at the location of the following function in the hex dump (I believe a symbols file is required for this to be available),
and scroll a bit until the declaration of the constants having the comments
Code: Select all
GlobalContext::loadAllegro
Code: Select all
globalcontext.cpp:718
globalcontext.cpp:719
- Attachments
-
- Factorio_0.15.3_w64_Resolution_Patch_to_1680x1050.txt
- Fix for 0.15.3.
- (113 Bytes) Downloaded 261 times
Leading Hebrew translator of Factorio.
Re: Allowing windowed-mode resolution to be specified externally
Uploading fix for 0.15.4.
- Attachments
-
- Factorio_0.15.4_w64_Resolution_Patch_to_1680x1050.txt
- (113 Bytes) Downloaded 305 times
Leading Hebrew translator of Factorio.
Re: Allowing windowed-mode resolution to be specified externally
Uploading fix for 0.15.5.
- Attachments
-
- Factorio_0.15.5_w64_Resolution_Patch_to_1680x1050.txt
- (113 Bytes) Downloaded 313 times
Leading Hebrew translator of Factorio.
Re: Allowing windowed-mode resolution to be specified externally
Hm, this turned out to be a patch-thread, instead of a suggestion thread.
I need to split this thread into two parts, and moved this patch-part to Tools board.
I need to split this thread into two parts, and moved this patch-part to Tools board.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: Patch: Allowing windowed-mode resolution to be specified externally
Uploading fix for 0.15.6.
- Attachments
-
- Factorio_0.15.6_w64_Resolution_Patch_to_1680x1050.txt
- (113 Bytes) Downloaded 247 times
Leading Hebrew translator of Factorio.
Re: Patch: Allowing windowed-mode resolution to be specified externally
Uploading fix for 0.15.9.
- Attachments
-
- Factorio_0.15.9_w64_Resolution_Patch_to_1680x1050.txt
- (113 Bytes) Downloaded 320 times
Leading Hebrew translator of Factorio.
Re: Patch: Allowing windowed-mode resolution to be specified externally
Uploading fix for 0.15.10.
I'd love to hear if anybody finds this helpful
I'd love to hear if anybody finds this helpful
- Attachments
-
- Factorio_0.15.10_w64_Resolution_Patch_to_1680x1050.txt
- (113 Bytes) Downloaded 309 times
Leading Hebrew translator of Factorio.
Re: Patch: Allowing windowed-mode resolution to be specified externally
Fix for 0.15.11.
- Attachments
-
- Factorio_0.15.11_w64_Resolution_Patch_to_1680x1050.txt
- (113 Bytes) Downloaded 301 times
Leading Hebrew translator of Factorio.
Re: Patch: Allowing windowed-mode resolution to be specified externally
0.15.13
- Attachments
-
- Factorio_0.15.13_w64_Resolution_Patch_to_1680x1050.txt
- (113 Bytes) Downloaded 303 times
Leading Hebrew translator of Factorio.
Re: Patch: Allowing windowed-mode resolution to be specified externally
0.15.16.
- Attachments
-
- Factorio_0.15.16_w64_Resolution_Patch_to_1680x1050.txt
- (113 Bytes) Downloaded 230 times
Leading Hebrew translator of Factorio.
Re: Patch: Allowing windowed-mode resolution to be specified externally
0.15.17
- Attachments
-
- Factorio_0.15.17_w64_Resolution_Patch_to_1680x1050.txt
- (113 Bytes) Downloaded 285 times
Leading Hebrew translator of Factorio.
Re: Patch: Allowing windowed-mode resolution to be specified externally
0.15.18
- Attachments
-
- Factorio_0.15.18_w64_Resolution_Patch_to_1680x1050.txt
- (117 Bytes) Downloaded 349 times
Leading Hebrew translator of Factorio.
Re: Patch: Allowing windowed-mode resolution to be specified externally
0.15.19
- Attachments
-
- Factorio_0.15.19_w64_Resolution_Patch_to_1680x1050.txt
- (117 Bytes) Downloaded 270 times
Leading Hebrew translator of Factorio.
Re: Patch: Allowing windowed-mode resolution to be specified externally
0.15.20 & 0.15.21
- Attachments
-
- Factorio_0.15.21_w64_Resolution_Patch_to_1680x1050.txt
- (113 Bytes) Downloaded 254 times
-
- Factorio_0.15.20_w64_Resolution_Patch_to_1680x1050.txt
- (113 Bytes) Downloaded 285 times
Leading Hebrew translator of Factorio.
Re: Patch: Allowing windowed-mode resolution to be specified externally
0.15.23
- Attachments
-
- Factorio_0.15.23_w64_Resolution_Patch_to_1680x1050.txt
- (113 Bytes) Downloaded 290 times
Leading Hebrew translator of Factorio.
Re: Patch: Allowing windowed-mode resolution to be specified externally
0.15.24 & 0.15.25
- Attachments
-
- Factorio_0.15.25_w64_Resolution_Patch_to_1680x1050.txt
- (113 Bytes) Downloaded 266 times
-
- Factorio_0.15.24_w64_Resolution_Patch_to_1680x1050.txt
- (113 Bytes) Downloaded 258 times
Leading Hebrew translator of Factorio.
Re: Patch: Allowing windowed-mode resolution to be specified externally
0.15.27
- Attachments
-
- Factorio_0.15.27_w64_Resolution_Patch_to_1680x1050.txt
- (As always, rename to .1337 and apply using x64dbg, or just open as text and follow instructions in your favorite hex editor)
- (113 Bytes) Downloaded 273 times
Leading Hebrew translator of Factorio.
Re: Patch: Allowing windowed-mode resolution to be specified externally
NO LONGER MAINTAINED AS OF 0.15.28 BECAUSE FEATURE ADDED
FactorioBot wrote:
- Added --window-size launch option. For example --window-size=1680x1050 (44775)
Leading Hebrew translator of Factorio.