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
Please back up your stuff if you hack things. Also, if you run into any bugs, please reverse any changes and retest it before letting us know.
MASSIVE EDIT:
So, let's get started!
It seems that *everything* that is related to the game's content - like .lua-scripts, predefined areas and even graphics - is kept in "BIG.FILE". The file is located in the "Data" folder in the main Windforge directory. It can be interpreted as an uncompressed archive. (Almost) every file of the game is put there byte by byte and one after the other. A header at the beginning defines for each individual file (in this order) its length in bytes its position (in bytes) and the full path name (like "../Data/Objects/Characters/Inventories/Chapter1StartInventory.lua).
As I learned more about the file and the game handling its content I realized that it is not advisable to edit the file itself primarily because there is a much easier and moe flexible way to change how the game behaves. If you edit "BIG.FILE" you must ensure that the information in the header matches the content. Adding or removing just one byte in the file will most certainly break it. It is safe however if the start and end of (for example) a .lua-script remain in their exact place. I will still explain the basics though.
Example:
To have most items in the game one could change the player's starting inventory and then start a new game. This can be done by searching for the line
Though keep in mind the following:
One can not simply open the file in any text editor because of is size and binary content. Unfortunately Notepad++ is one of those editors that refuse to open it because of the first reason. The regular Notepad that comes with Windows may be able to open and display the file but saving it - even without changes - will break it. The game crashes on launch.
I used Vim[www.vim.org] to view the file though it still 'fixes' the end of the file with an additional byte (which should technically have no effect on the game). To be save I would recommend an actual binary/hex editor (I used HexEdit[www.hexedit.com]) to make changes.
Now the easy way:
The game already offers some sort of modding support. It can load files from "BIG.FILE" or from actual folders. "BIG.FILE" defines in its header were the files should be if they were not part of "BIG.FILE".
Placing a file in its correct folder and making sure it is not defined in "BIG.FILE" makes the game load the file without the restrictions of the archive in size and position. "BIG.FILE" is checked first.
The only problem: Extracting the archive's content first.
Fortunately all needed information is there and I was able to write a small program that does exactly that. (Right before I saw here that someone else has done that before me. Why?!?)
After extracting all 15260 files move or rename "BIG.FILE" so the game does not find it anymore and uses the separate files instead.
The separate files can be modified easily. To switch to the "BuildingInventory" like before just open the file "Data\UI\Pages\PlayerCustomizationPage.lua" in a text editor (Notepad++ works now! Yay!) and change the line
You can also edit the inventories themselves or create a new one like "MyModdedInventory.lua". They are all found in "Data/Objects/Characters/Inventories/". Maybe you want to add items that "BuildingInventory.lua" does not contain like "AetherkinAmmo" or "AetherkinHeavyAutoTurret". In addition the "BuildingInventory" contains some items that do not exist like "King" but there is a placable item called "KingSiegmund" (maybe an outdated name?) these are just noted in an error message in your error log. You will find a complete list of all items in the game in "Data\Objects\Crafting\CraftingItems.lua".
Said file enables you to modify the items too! How about a Sausage that destroys ilands of the size of the whole screen in one single hit? No problem. Just look for the item and change the corresponding value.
If you are aiming for an inofficial creative mode you might want to unlock all the recipes too. Either give yourself the corresponding recipe books or edit "Data\Objects\Crafting\Recipes.lua". To unlock all of them from the start change the line
All recipes that you unlocked by editing "startLocked" will be available to every character you play even if you load a saved game.
To have your creative mode without interfering with the rest of the game I suggest you make the changes you like to the recipes and the starting inventory. Then start a new game and save it as your "Creative Mode". After that revert all changes that you made to the files by restoring the backups (that you hopefully made) or simply put the unmodified "BIG.FILE" back in its place. Load the saved game and enjoy building freely.
Combination of the editing methods to change the starting Inventory:
If you do not want to extract everything from "BIG.FILE" for some reason then you can combine both methods for flexibility. Just copy the definition of "BuildingInventory.lua" into a new file "MyModdedInventory.lua". To find it search for "ItemList =". The definition consists of