8 years ago
World Editing: Transferring Water
@SimGuruModSquad
I've managed to successfully transfer the entire layout of one .world file, with the same number of lots, to another, by performing the following steps:
1. First, I deleted the .world file I wanted to replace, created a copy of the one with the layout I wanted to swap it with, then renamed the copy to the name of the original.
2. Then, I edited the DWorld resource (0x810A102D) and World Objects (0xFCB1A1E4) and updated the lot IDs to match those of the original world.
3. Then, I transferred resource 0x17C0C281 from a backup copy of the original world, which seems to be necessary as the game will crash in Live Mode without it.*
4. Finally, I transferred over all the LOBJ (0x91568FD8) and LDNB (0x12952634) resources. Without those, the game would hang at the loading screen on new saves. I presume they're related to premade lots.
I was able to almost successfully transfer the entire layout of one world to another, except for the water, which seems to be stuck on the original. I tried this twice - once I replaced the north world in Newcrest with the starter world in Oasis Springs and there was no visible water at all, then I tried replacing the community part of Willow Creek with the community part of Oasis Springs, and there was a bit of water which seems to be from the original world.
(The screenshot shows the community part of Willow Creek with its entire layout replaced with Oasis Springs using the steps above - the lighting has also been changed but that is unrelated to the thread)
*I know that water isn't stored in resource 0x17C0C281, as even before I replaced it, I was still able to access the world from Build Mode and the problem still occurred. This problem occurs even when the lot IDs are literally the only thing changed, which strongly suggests that water is defined somewhere outside the .world file.
I've managed to successfully transfer the entire layout of one .world file, with the same number of lots, to another, by performing the following steps:
1. First, I deleted the .world file I wanted to replace, created a copy of the one with the layout I wanted to swap it with, then renamed the copy to the name of the original.
2. Then, I edited the DWorld resource (0x810A102D) and World Objects (0xFCB1A1E4) and updated the lot IDs to match those of the original world.
3. Then, I transferred resource 0x17C0C281 from a backup copy of the original world, which seems to be necessary as the game will crash in Live Mode without it.*
4. Finally, I transferred over all the LOBJ (0x91568FD8) and LDNB (0x12952634) resources. Without those, the game would hang at the loading screen on new saves. I presume they're related to premade lots.
I was able to almost successfully transfer the entire layout of one world to another, except for the water, which seems to be stuck on the original. I tried this twice - once I replaced the north world in Newcrest with the starter world in Oasis Springs and there was no visible water at all, then I tried replacing the community part of Willow Creek with the community part of Oasis Springs, and there was a bit of water which seems to be from the original world.
(The screenshot shows the community part of Willow Creek with its entire layout replaced with Oasis Springs using the steps above - the lighting has also been changed but that is unrelated to the thread)
*I know that water isn't stored in resource 0x17C0C281, as even before I replaced it, I was still able to access the world from Build Mode and the problem still occurred. This problem occurs even when the lot IDs are literally the only thing changed, which strongly suggests that water is defined somewhere outside the .world file.