• 1

    posted a message on Minecraft Region Fixer.

    Hello!


    I just tested a 1.19 minecraft world with regionfixer and it seems to work perfectly ok. I also checked the minecraft wiki and I don't see any breaking changes for regionfixer, so, it should work as always.


    Tell me if there's anything wrong

    Posted in: Server Support and Administration
  • 0

    posted a message on Minecraft Region Fixer.

    Hello!


    If you messed up the seed of the world and generated new chunks on top of old ones there is no much to do. Regionfixer can find wrong things in the file format but can't detect if the world looks wrong. It can detect if the world can't be read.


    So, sorry, there is not much to do in that case.

    Posted in: Server Support and Administration
  • 0

    posted a message on Minecraft Region Fixer.

    New version out! Contributors have updated regionfixer to work with 1.18.1 worlds. Get from github cloning master branch or from the releases page:


    https://github.com/Fenixin/Minecraft-Region-Fixer/releases/tag/v0.3.5

    Posted in: Server Support and Administration
  • 0

    posted a message on Minecraft Region Fixer.

    New version out! Contributors have updated regionfixer to work with 1.18.1 worlds. Get from github cloning master branch or from the releases page:


    https://github.com/Fenixin/Minecraft-Region-Fixer/releases/tag/v0.3.5

    Posted in: Minecraft Tools
  • 0

    posted a message on Minecraft Region Fixer.

    This last update should help with POIs and entities. Good luck!

    Posted in: Server Support and Administration
  • 0

    posted a message on Minecraft Region Fixer.

    New version out. This new version is mostly thanks to contributors. POIs can be scanned now and it should fix a few issues. Get from github cloning master branch or from the releases page:

    https://github.com/Fenixin/Minecraft-Region-Fixer/releases/tag/v0.3.4

    Posted in: Server Support and Administration
  • 0

    posted a message on Minecraft Region Fixer.

    New version out. This new version is mostly thanks to contributors. POIs can be scanned now and it should fix a few issues. Get from github cloning master branch or from the releases page:

    https://github.com/Fenixin/Minecraft-Region-Fixer/releases/tag/v0.3.4

    Posted in: Minecraft Tools
  • 0

    posted a message on Minecraft Region Fixer.

    Hello!


    You are using a very old and outdated version of regionfixer. Please, download region fixer from the official github at:


    https://github.com/Fenixin/Minecraft-Region-Fixer/releases


    And read in how to install and run from:


    https://github.com/Fenixin/Minecraft-Region-Fixer/wiki/Installation


    Don't hesitate to ask if you have any problems with this new versino.


    Good luck!

    Posted in: Server Support and Administration
  • 0

    posted a message on Minecraft Region Fixer.
    Quote from TheMasterCaver»

    This file only stores the number of the last map created, so you can easily recreate it by copying the file from another world and editing it with NBTExplorer to set the "Data\map" tag to the number of the map data file with the highest number (e.g. if you see map_100.dat set it to 100. Higher values shouldn't cause issues but lower will cause newly created maps to overwrite old ones, so it is necessary for this file to exist with the correct count).


    Thank you for your answer. I completely forgot to answer BlueEnni's question. Also, I didn't know that, and it's a very useful information!

    Posted in: Minecraft Tools
  • 0

    posted a message on Minecraft Region Fixer.

    Thank you very much for your comment

    Quote from DAMCServer»

    Great tool but takes some modifying for certain W10 users. I'm using W10 64-bit with latest updates as of today.

    Initially on file scan it refused to detect my path to my world folder. To mitigate this I had toclone my world folder off my dedicated server and place in a temp storage on one of my SSDs:




    That is something new. I Do most of my coding, if not all, in a W10 machine. There must be something strange with your paths. I have a small collection of corrupted world and they are in a different hard drives than regionfixer is. Anyway, I'm glad it worked that way.


    Quote from DAMCServer»

    It would then detect and start its scan, only to be stopped around 30% on the region file scan due to:

    ------------------ Scanning region files -------------------
    214 of 353|################################                      |ETA:  0:01:28
    
    Ops! Something went really wrong and regionfixer crashed.
    
    
    Bug report:
    
    **********
    *** Exception while scanning:
    *** r.0.8.mca
    **********
    *** Printing the child's traceback:
    *** Exception:<class 'UnicodeDecodeError'>'utf-8' codec can't decode byte 0xed in position 3: invalid continuation byte
    **********
    *** File K:\HORCRUX\Minecraft-Region-Fixer-master\regionfixer_core\scan.py, line 809, in scan_region_file
    ***   entity_limit)**********
    *** File K:\HORCRUX\Minecraft-Region-Fixer-master\regionfixer_core\scan.py, line 908, in scan_chunk
    ***   chunk = region_file.get_chunk(*coords)**********
    *** File K:\HORCRUX\Minecraft-Region-Fixer-master\nbt\region.py, line 599, in get_chunk
    ***   return self.get_nbt(x, z)**********
    *** File K:\HORCRUX\Minecraft-Region-Fixer-master\nbt\region.py, line 578, in get_nbt
    ***   nbt = NBTFile(buffer=data)**********
    *** File K:\HORCRUX\Minecraft-Region-Fixer-master\nbt\nbt.py, line 628, in __init__
    ***   self.parse_file()**********
    *** File K:\HORCRUX\Minecraft-Region-Fixer-master\nbt\nbt.py, line 655, in parse_file
    ***   self._parse_buffer(self.file)**********
    *** File K:\HORCRUX\Minecraft-Region-Fixer-master\nbt\nbt.py, line 493, in _parse_buffer
    ***   tag._parse_buffer(buffer)**********
    *** File K:\HORCRUX\Minecraft-Region-Fixer-master\nbt\nbt.py, line 493, in _parse_buffer
    ***   tag._parse_buffer(buffer)**********
    *** File K:\HORCRUX\Minecraft-Region-Fixer-master\nbt\nbt.py, line 404, in _parse_buffer
    ***   self.tags.append(TAGLIST[self.tagID](buffer=buffer))**********
    *** File K:\HORCRUX\Minecraft-Region-Fixer-master\nbt\nbt.py, line 476, in __init__
    ***   self._parse_buffer(buffer)**********
    *** File K:\HORCRUX\Minecraft-Region-Fixer-master\nbt\nbt.py, line 493, in _parse_buffer
    ***   tag._parse_buffer(buffer)**********
    *** File K:\HORCRUX\Minecraft-Region-Fixer-master\nbt\nbt.py, line 404, in _parse_buffer
    ***   self.tags.append(TAGLIST[self.tagID](buffer=buffer))**********
    *** File K:\HORCRUX\Minecraft-Region-Fixer-master\nbt\nbt.py, line 476, in __init__
    ***   self._parse_buffer(buffer)**********
    *** File K:\HORCRUX\Minecraft-Region-Fixer-master\nbt\nbt.py, line 493, in _parse_buffer
    ***   tag._parse_buffer(buffer)**********
    *** File K:\HORCRUX\Minecraft-Region-Fixer-master\nbt\nbt.py, line 493, in _parse_buffer
    ***   tag._parse_buffer(buffer)**********
    *** File K:\HORCRUX\Minecraft-Region-Fixer-master\nbt\nbt.py, line 493, in _parse_buffer
    ***   tag._parse_buffer(buffer)**********
    *** File K:\HORCRUX\Minecraft-Region-Fixer-master\nbt\nbt.py, line 353, in _parse_buffer
    ***   self.value = read.decode("utf-8")
    **********





    After much digging and very long tldr, the encoding/decoding needs to be tweaked in the 'nbt.py' file from 'utf-8' to 'latin-1'. Don't ask me why, I just know it does for me. Lines 347-359 in 'nbt.py' should now look like this:


     # Parsers and Generators
     def _parse_buffer(self, buffer):
     length = TAG_Short(buffer=buffer)
     read = buffer.read(length.value)
     if len(read) != length.value:
     raise StructError()
     self.value = read.decode("latin-1")
    
     def _render_buffer(self, buffer):
     save_val = self.value.encode("latin-1")
     length = TAG_Short(len(save_val))
     length._render_buffer(buffer)
     buffer.write(save_val)

    Returning to the scan it now completes with no issues:

    ############################################################
    ################# Scan results for: world ##################
    ############################################################
    
    
    Unreadable player files:
    No problems found.
    
    Unreadable data files:
    No problems found.
    
    Chunk problems:
    ----------------------------------------------
    | Problem | Corrupted Wrong located Total |
    ----------------------------------------------
    | Count | 23 8146 122000 |
    ----------------------------------------------
    
    Region problems:
    No problems found.

    Thanks for the time for making this plug dev, good luck to others!




    This can be very useful. Could you provide a region file that thows this error? Do you mind If I open a issue with your comment for future reference? I have seen this problem before and I thought it was solved.

    Thank you for your comment.

    Posted in: Minecraft Tools
  • 0

    posted a message on Minecraft Region Fixer.

    A new release is out!


    Bugs fixed and new features. Region Fixer can now scan region poi files. See:

    https://github.com/Fenixin/Minecraft-Region-Fixer/releases/tag/v0.3.3

    Posted in: Server Support and Administration
  • 0

    posted a message on Minecraft Region Fixer.

    A new release is out!


    Bugs fixed and new features. Region Fixer can now scan region poi files. See:

    https://github.com/Fenixin/Minecraft-Region-Fixer/releases/tag/v0.3.3

    Posted in: Minecraft Tools
  • 0

    posted a message on Minecraft Region Fixer.

    Hello!


    Well, I'm sorry to say that you have to fix that chunk yourself.


    That chunk that you show me in the screenshot is not a corrupted chunk because it can be opened.


    That chunk might look wrong-located (I would is it out of place) but it's not wrong located in the regionfixer sense. For a chunk to be wrong located the coordinates from the chunk file and the region file should disagree. And in that case they don't disagree. So, you have to fix that with a world editor.


    Don't hesitate to ask if you need anything else.

    Posted in: Minecraft Tools
  • 0

    posted a message on Minecraft Region Fixer.

    Hello!


    Plase, make sure that you have python in your PATH, if not it will be impossible for windows to run the script. How have you installed python?

    Posted in: Server Support and Administration
  • 0

    posted a message on Minecraft Region Fixer.

    There is no such a list. Region fixer works with Anvil File format used by minecraf Java Edition.

    Posted in: Server Support and Administration
  • To post a comment, please .