BramStoutProductions / MiEx

A modern Minecraft Exporter
BSD 3-Clause "New" or "Revised" License
60 stars 9 forks source link

Forced-Walk Chunks #23

Closed Fyoncle closed 7 months ago

Fyoncle commented 7 months ago

Cannot export ANY chunk that i didn't walk on inside the game, all chunks has to be used by the player before being possible to use, or they will be invisible on blender, is it possible to fix this also?

BramStout commented 7 months ago

MiEx currently only supports chunks written by Minecraft 21w43a or later. This is perfectly fine for new worlds created in the past two and a half years, but for any world created before that, you can end up with chunks that MiEx currently cannot load. Minecraft only updates the chunk to the latest version, when it actually loads it in and then saves it.

The goal is definitely to add in support for older versions of Minecraft, but we hadn't needed it so far, so support for it was never added in.

Fyoncle commented 7 months ago

MiEx currently only supports chunks written by Minecraft 21w43a or later. This is perfectly fine for new worlds created in the past two and a half years, but for any world created before that, you can end up with chunks that MiEx currently cannot load. Minecraft only updates the chunk to the latest version, when it actually loads it in and then saves it.

The goal is definitely to add in support for older versions of Minecraft, but we hadn't needed it so far, so support for it was never added in.

That world created a week ago on 1.20.1 :(

BramStout commented 7 months ago

Are you by any chance using the mod Distant Horizons? If so, the chunks generated by that mod can't be read by MiEx. It can only read the chunks generated by Minecraft itself.

If not, would you be able to share the world so that I can look into what's going on?

Fyoncle commented 7 months ago

Are you by any chance using the mod Distant Horizons? If so, the chunks generated by that mod can't be read by MiEx. It can only read the chunks generated by Minecraft itself.

If not, would you be able to share the world so that I can look into what's going on?

Nooo i don't use this mod. Also world is a bit too big so, i use elysium days modpack and i can give you the seed if you want.

BramStout commented 7 months ago

I'll try exporting a world created using that mod-pack sometime this week, to see if I can reproduce the issue.

In the mean time, would you be able to check if you still get this issue when using vanilla Minecraft? Just to check whether the issue has something to do with the mod-pack or not.

Fyoncle commented 7 months ago

I'll try exporting a world created using that mod-pack sometime this week, to see if I can reproduce the issue.

In the mean time, would you be able to check if you still get this issue when using vanilla Minecraft? Just to check whether the issue has something to do with the mod-pack or not.

Also on vanilla maps sir.

BramStout commented 7 months ago

Do the chunks, that don't show up in Blender, show up in the top-down view of the world in MiEx? After having done an export, MiEx will have created a file called log.txt next to the MiEx.jar file. Could you share that log.txt file?

Fyoncle commented 7 months ago

Do the chunks, that don't show up in Blender, show up in the top-down view of the world in MiEx? After having done an export, MiEx will have created a file called log.txt next to the MiEx.jar file. Could you share that log.txt file?

image Okay so, even tho i walk on them it just doesn't load at all now, and there was a insane log spam when i TP into this coordinates, heres the log file; log.txt

BramStout commented 7 months ago

Looking at the log, it almost looks like the chunk data itself is corrupt, although assuming that Minecraft loads it properly I doubt that's actually the case. Would you be able to share with me a vanilla world where this issue happens together with the coordinates of where it happens?

Fyoncle commented 7 months ago

Looking at the log, it almost looks like the chunk data itself is corrupt, although assuming that Minecraft loads it properly I doubt that's actually the case. Would you be able to share with me a vanilla world where this issue happens together with the coordinates of where it happens?

-665 -32 146 https://drive.google.com/file/d/1ZFehus7xtN0wxysxfcHmLyCzxVFJuCOM/view?usp=sharing

BramStout commented 7 months ago

Looking at the log, it almost looks like the chunk data itself is corrupt, although assuming that Minecraft loads it properly I doubt that's actually the case. Would you be able to share with me a vanilla world where this issue happens together with the coordinates of where it happens?

-665 -32 146 https://drive.google.com/file/d/1ZFehus7xtN0wxysxfcHmLyCzxVFJuCOM/view?usp=sharing

I've just tried loading in that world using the latest release of MiEx ( https://github.com/BramStoutProductions/MiEx/releases/tag/v1.3.0 ) and it loads up perfectly fine for me. I'm not able to reproduce the issue, unfortunately.

Would you be able to try loading the world into the latest version of MiEx and see if the issue still happens?

Fyoncle commented 7 months ago

Looking at the log, it almost looks like the chunk data itself is corrupt, although assuming that Minecraft loads it properly I doubt that's actually the case. Would you be able to share with me a vanilla world where this issue happens together with the coordinates of where it happens?

-665 -32 146 https://drive.google.com/file/d/1ZFehus7xtN0wxysxfcHmLyCzxVFJuCOM/view?usp=sharing

I've just tried loading in that world using the latest release of MiEx ( https://github.com/BramStoutProductions/MiEx/releases/tag/v1.3.0 ) and it loads up perfectly fine for me. I'm not able to reproduce the issue, unfortunately.

Would you be able to try loading the world into the latest version of MiEx and see if the issue still happens?

No chunks load except the ones i travel still in 1.3.0

BramStout commented 7 months ago

Would you be able to try it in the latest version ( https://github.com/BramStoutProductions/MiEx/releases/tag/v1.4.0 ) and then share the log file? The log file will now contain a few pieces of information about your Java install, which could help me figure out what's going on.

Fyoncle commented 7 months ago

Would you be able to try it in the latest version ( https://github.com/BramStoutProductions/MiEx/releases/tag/v1.4.0 ) and then share the log file? The log file will now contain a few pieces of information about your Java install, which could help me figure out what's going on.

In the warden one?

Fyoncle commented 7 months ago

image When i come here to load these parts of the map, they also blacked out cuz i never walked on them, thats not nice, i want a automatic load algorithm that automates this process without even walking in it in the game.

BramStout commented 7 months ago

Would you be able to try it in the latest version ( https://github.com/BramStoutProductions/MiEx/releases/tag/v1.4.0 ) and then share the log file? The log file will now contain a few pieces of information about your Java install, which could help me figure out what's going on.

In the warden one?

Any world where you are experiencing the issue. And then please share the log file here.

image When i come here to load these parts of the map, they also blacked out cuz i never walked on them, thats not nice, i want a automatic load algorithm that automates this process without even walking in it in the game.

If it's a bug in MiEx that causes it to not be able to load chunks even though Minecraft can load those chunks, then I'll try to fix it. The issue right now, though, is that I'm not yet able to reproduce that you're experiencing. Once I'm able to reproduce it, I can try to fix it. Having a log file from the latest version of MiEx would hopefully help with this.

If it's not a bug with MiEx, but rather with Minecraft itself (maybe that the chunks didn't get saved, etc.) then I won't be able to do much about it. MiEx won't be able to automatically load in those chunks, because it would then need to load in the entirety of Minecraft itself, which just isn't feasible.

Fyoncle commented 7 months ago

Would you be able to try it in the latest version ( https://github.com/BramStoutProductions/MiEx/releases/tag/v1.4.0 ) and then share the log file? The log file will now contain a few pieces of information about your Java install, which could help me figure out what's going on.

In the warden one?

Any world where you are experiencing the issue. And then please share the log file here.

image When i come here to load these parts of the map, they also blacked out cuz i never walked on them, thats not nice, i want a automatic load algorithm that automates this process without even walking in it in the game.

If it's a bug in MiEx that causes it to not be able to load chunks even though Minecraft can load those chunks, then I'll try to fix it. The issue right now, though, is that I'm not yet able to reproduce that you're experiencing. Once I'm able to reproduce it, I can try to fix it. Having a log file from the latest version of MiEx would hopefully help with this.

If it's not a bug with MiEx, but rather with Minecraft itself (maybe that the chunks didn't get saved, etc.) then I won't be able to do much about it. MiEx won't be able to automatically load in those chunks, because it would then need to load in the entirety of Minecraft itself, which just isn't feasible.

I didn't generate these chunks on minecraft, either i didn't walk on it, problem is exactly that, in mineways even tho you dont walk on it the WHOLE WORLD loads, but in MiEx it only loads the chunks you walk on.

BramStout commented 7 months ago

Would you be able to try it in the latest version ( https://github.com/BramStoutProductions/MiEx/releases/tag/v1.4.0 ) and then share the log file? The log file will now contain a few pieces of information about your Java install, which could help me figure out what's going on.

In the warden one?

Any world where you are experiencing the issue. And then please share the log file here.

image When i come here to load these parts of the map, they also blacked out cuz i never walked on them, thats not nice, i want a automatic load algorithm that automates this process without even walking in it in the game.

If it's a bug in MiEx that causes it to not be able to load chunks even though Minecraft can load those chunks, then I'll try to fix it. The issue right now, though, is that I'm not yet able to reproduce that you're experiencing. Once I'm able to reproduce it, I can try to fix it. Having a log file from the latest version of MiEx would hopefully help with this. If it's not a bug with MiEx, but rather with Minecraft itself (maybe that the chunks didn't get saved, etc.) then I won't be able to do much about it. MiEx won't be able to automatically load in those chunks, because it would then need to load in the entirety of Minecraft itself, which just isn't feasible.

I didn't generate these chunks on minecraft, either i didn't walk on it, problem is exactly that, in mineways even tho you dont walk on it the WHOLE WORLD loads, but in MiEx it only loads the chunks you walk on.

Mineways only loads in the chunks that are generated by Minecraft and saved to disk. This is also the same for MiEx. The two programs both load worlds in the exact same way. When I load in the Warden world that you send me in both programs, they both show the exact same thing and the both show all of the chunks: image

But for you, you're getting some chunks that aren't loaded:

Do the chunks, that don't show up in Blender, show up in the top-down view of the world in MiEx? After having done an export, MiEx will have created a file called log.txt next to the MiEx.jar file. Could you share that log.txt file?

image Okay so, even tho i walk on them it just doesn't load at all now, and there was a insane log spam when i TP into this coordinates, heres the log file; log.txt

I'm not getting that. This means that there is some bug somewhere with MiEx running on your computer that I'm not getting. Because I'm not getting that issue, I'm not able to reproduce it, and so I'm not able to fix it, because I'm not able to figure out what's actually going on.

This is why I'm asking for you to load in the world in the latest version of MiEx, verify that chunks aren't loading that are being loaded in Mineways, and then share the log.txt file that MiEx generates with me here. Hopefully, that log.txt file will have some clue in it on what's going on, so that I might be able to fix it.

Fyoncle commented 7 months ago

Would you be able to try it in the latest version ( https://github.com/BramStoutProductions/MiEx/releases/tag/v1.4.0 ) and then share the log file? The log file will now contain a few pieces of information about your Java install, which could help me figure out what's going on.

In the warden one?

Any world where you are experiencing the issue. And then please share the log file here.

image When i come here to load these parts of the map, they also blacked out cuz i never walked on them, thats not nice, i want a automatic load algorithm that automates this process without even walking in it in the game.

If it's a bug in MiEx that causes it to not be able to load chunks even though Minecraft can load those chunks, then I'll try to fix it. The issue right now, though, is that I'm not yet able to reproduce that you're experiencing. Once I'm able to reproduce it, I can try to fix it. Having a log file from the latest version of MiEx would hopefully help with this. If it's not a bug with MiEx, but rather with Minecraft itself (maybe that the chunks didn't get saved, etc.) then I won't be able to do much about it. MiEx won't be able to automatically load in those chunks, because it would then need to load in the entirety of Minecraft itself, which just isn't feasible.

I didn't generate these chunks on minecraft, either i didn't walk on it, problem is exactly that, in mineways even tho you dont walk on it the WHOLE WORLD loads, but in MiEx it only loads the chunks you walk on.

Mineways only loads in the chunks that are generated by Minecraft and saved to disk. This is also the same for MiEx. The two programs both load worlds in the exact same way. When I load in the Warden world that you send me in both programs, they both show the exact same thing and the both show all of the chunks: image

But for you, you're getting some chunks that aren't loaded:

Do the chunks, that don't show up in Blender, show up in the top-down view of the world in MiEx? After having done an export, MiEx will have created a file called log.txt next to the MiEx.jar file. Could you share that log.txt file?

image Okay so, even tho i walk on them it just doesn't load at all now, and there was a insane log spam when i TP into this coordinates, heres the log file; log.txt

I'm not getting that. This means that there is some bug somewhere with MiEx running on your computer that I'm not getting. Because I'm not getting that issue, I'm not able to reproduce it, and so I'm not able to fix it, because I'm not able to figure out what's actually going on.

This is why I'm asking for you to load in the world in the latest version of MiEx, verify that chunks aren't loading that are being loaded in Mineways, and then share the log.txt file that MiEx generates with me here. Hopefully, that log.txt file will have some clue in it on what's going on, so that I might be able to fix it.

image Somehow fixed in latest build which is 1.4.0, thank you!