Saving my .wld file creates a completely different one?

Need help with any SMBX game-related issues? Ask your questions here.

Moderator: Userbase Moderators

Biscuit
Cheep-Cheep
Cheep-Cheep
Posts: 11
Joined: Sun Jul 10, 2022 5:26 pm

Saving my .wld file creates a completely different one?

Postby Biscuit » Mon Jul 11, 2022 11:52 pm

So, I've encountered an issue where I can't move my .wld file into a folder because saving it creates a replica.

Downloads > SMBX2 > data > worlds
Whenever I use "Save As," I click on "Create custom folder," then type in my game name, and click enter. Even though I have the custom folder, the .wld file saves into the "worlds" folder. When I put it inside its specific folder and click "Save" on the editor, it creates a new copy outside the folder and back to the "Worlds" folder.
I need help on how to fix this.

deice
Rocky Wrench
Rocky Wrench
Posts: 622
Joined: Fri Jul 23, 2021 7:35 am

Re: Saving my .wld file creates a completely different one?

Postby deice » Tue Jul 12, 2022 5:19 am

i believe "create custom folder" isn't intended for use with wld files (and i'm pretty sure it doesn't do what you think it does). just open the wld file that's already in your episode folder and use "save" instead of "save as". i think the reason that the described behavior occurs is that the editor doesn't check whether the file you're working on has been moved in the meantime and will save to the original location the file was in when first saved/opened.

Biscuit
Cheep-Cheep
Cheep-Cheep
Posts: 11
Joined: Sun Jul 10, 2022 5:26 pm

Re: Saving my .wld file creates a completely different one?

Postby Biscuit » Tue Jul 12, 2022 1:51 pm

deice wrote:
Tue Jul 12, 2022 5:19 am
i believe "create custom folder" isn't intended for use with wld files (and i'm pretty sure it doesn't do what you think it does). just open the wld file that's already in your episode folder and use "save" instead of "save as". i think the reason that the described behavior occurs is that the editor doesn't check whether the file you're working on has been moved in the meantime and will save to the original location the file was in when first saved/opened.
Ah, I see. Is there a way I could get it into a custom folder? Whenever I open the folders to other users' worlds, I see their .wld file in their designated folder. (like the Princess Cliche and Invasion 2)

deice
Rocky Wrench
Rocky Wrench
Posts: 622
Joined: Fri Jul 23, 2021 7:35 am

Re: Saving my .wld file creates a completely different one?

Postby deice » Tue Jul 12, 2022 3:01 pm

Local Lemon Lover wrote:
Tue Jul 12, 2022 1:51 pm
Ah, I see. Is there a way I could get it into a custom folder? Whenever I open the folders to other users' worlds, I see their .wld file in their designated folder. (like the Princess Cliche and Invasion 2)
that's the one i'm referring to. what you're calling "custom folder" is the episode folder. you create a folder for your episode and place your world and level files in there.
also just to avoid further confusion, the "custom folder" option you see in the editor refers to automatically creating a folder with the same name as a level within which you place custom assets like graphics, sound and scripts for use in that level (though i don't remember if it filters file extensions so you're usually better off creating those yourself). custom assets for the world map are placed inside the episode folder (same folder as the wld file).

Biscuit
Cheep-Cheep
Cheep-Cheep
Posts: 11
Joined: Sun Jul 10, 2022 5:26 pm

Re: Saving my .wld file creates a completely different one?

Postby Biscuit » Tue Jul 12, 2022 5:30 pm

So, if I create my own folder (Right Click --> New --> Folder), name it whatever, and put my worlds and levels in, it'll work just fine?

deice
Rocky Wrench
Rocky Wrench
Posts: 622
Joined: Fri Jul 23, 2021 7:35 am

Re: Saving my .wld file creates a completely different one?

Postby deice » Wed Jul 13, 2022 6:52 am

Local Lemon Lover wrote:
Tue Jul 12, 2022 5:30 pm
So, if I create my own folder (Right Click --> New --> Folder), name it whatever, and put my worlds and levels in, it'll work just fine?
yes, the directory structure should look like:
- smbx2 install folder
-- data
--- worlds
---- (your episode name)
----- world.wld

your level files and folders with custom assets should be in the same directory as world.wld.

Biscuit
Cheep-Cheep
Cheep-Cheep
Posts: 11
Joined: Sun Jul 10, 2022 5:26 pm

Re: Saving my .wld file creates a completely different one?

Postby Biscuit » Wed Jul 13, 2022 12:15 pm

Alright, thank you!

Wohlstand
Chargin' Chuck
Chargin' Chuck
Posts: 2008
Joined: Tue Feb 11, 2014 4:44 pm
Flair: [ˈvoːlˌʃtant], 狐エンジニア
Pronouns: he/him
Contact:

Re: Saving my .wld file creates a completely different one?

Postby Wohlstand » Thu Jul 14, 2022 10:49 am

The "custom folder" at the world map is a feature of Moondust Engine and TheXTech: it's a similar directory to level's data directories, but it holds resources of the world map itself. This concept was created since the foundation of the Moondust Project to allow episodes to be more organised, so, you will don't need to flood the episode directory with custom resources of the world map itself. But, this feature is exclusive to Moondust Engine and TheXTech, and it doesn't support by other SMBX branches such as X2 or SMBX-38A. So, when you targeting your world map for X2 or SMBX-38A, don't use this feature as it is basically absent here.

So, if you making an episode for TheXTech, this structure is allowed:
- worlds/
--- (your episode name)/
----- block-x.png (shared between all levels of episode)
----- The world.wldx
----- The world/
------- tile-x.png, scene-x.png, ... (custom resources of the world map)
----- Level.lvlx
----- Level/
------- block-x.png, background-x.png, ...

In addition, both Moondust Engine and TheXTech allow you to have more than one world map in the same episode directory (each world map will be listed as a different episode in the list).

I.e.:
- worlds/
--- (your episode name)/
----- block-x.png (shared between all levels of episode)
----- tile-x.png (shared between all world maps of the episode)
----- The world one.wldx
----- The world one/
------- tile-x.png, scene-x.png, ... (custom resources of the world map one)
----- The world two.wldx
----- The world two/
------- tile-x.png, scene-x.png, ... (custom resources of the world map two)
----- Level.lvlx
----- Level/
------- block-x.png, background-x.png, ...

Trivia: I keep an idea to make the ability to have multiple different world maps in the part of the same episode and have the ability to travel between them like we do that between levels, but, this thing exists as a concept in my mind yet and no real attempts to implement this yet.


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 2 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari