Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Pretty neat that the game now allows importing the JSON file directly and bypassing the gzip/b64 encoding steps. I've confirmed the same works on Windows too -- though the game needs to be running in window-mode (not fullscreen) so you can actually do the drag-n-drop from explorer onto the game window. EDIT: You might be able to drag and drop onto the game's taskbar icon on windows.
FYI: everywhere you use "pigz", you can replace with "gzip" (pigz is a parallel-gzip implementation -- handy when you need to compress massive amount of data and you have lots of idle CPU cores -- decompression is still mostly single-threaded though). All the tools you used do have their windows counterparts.
Almost correct. The string is not gzip'ed, it is zlib compressed. That, unfortunately is not handled by gzip, in or out. FWIW, the documentation you linked to also says it's zlib deflate.
And, yes, the need for windowed mode does reduce the feature some. It is not, however, required. You can Alt+Tab to the file manager and still have the game "full screen". Minimize on focus loss is an option in the settings, and with that off the game will still be visible and will accept the drag/drop operation from Windows.
Dropping the file onto the taskbar icon doesn't work, holding it there, however, seems to raise the game again and then the drop does work. Still easier than opening the file in an editor, copying kilobytes, or megabytes, of text and pasting, slowly, into the in-game text box.
The beauty for me is that the file can be JSON, which I can edit repeatedly, and never have to recompress and re-encode again.
Exactly this. You can also backup blueprints in a git repo or something as its clear-text JSON and see its history/changes over time. Much cleaner that storing the b64/zlib blob in source control.
OMG. I completely forgot about git. Quit using it with BP's cause the blob was worthless. Even depends on the order of names in the JSON. That is at least able to be controlled, with some effort, using jq. With the raw JSON in the repo, git becomes worthwhile again.
Thanks for the reminder.