We need a windows 8 64 bit version! Now when you try to use it, it says "not compatible with a 64 bit version of windows" It worked fine with the 64 bit windows 7...
Ouh... I'm afraid I don't have a windows 8 to test at all and I don't have an idea what's going on, but I will try to update py2exe before updating the exe for the new version and hope that this will fix the problem. When is the new version coming? I hope soon...
This version makes possible to scan a single region file and it has an interactive mode that let's you store the results of the scan in memory and choose what to do with the world.
The Meaning of Life, the Universe, and Everything.
Location:
Westland, MI. USA.
Join Date:
8/9/2010
Posts:
49
Minecraft:
CoZmicShReddeR
Xbox:
CoZmicShReddeR
PSN:
CoZmicShReddeR
Member Details
Hey Fenixin nice job on this! I just had stumbled across your Region fixer must say looks and works quite well! I was looking for an update to the Clusterfixer and found yours was recommended!
Hey Fenixin nice job on this! I just had stumbled across your Region fixer must say looks and works quite well! I was looking for an update to the Clusterfixer and found yours was recommended!
I happened to come across it looking for ways to have a region regenerated. With adding and deleting mods you can never be too sure that things are working correctly. I added forestry, then found that it wasn't for me. After taking it out, my world was glitchy. I wound up reloading a prior save and continuing form there. Anyway, I used Region Fixer to examine the world and it found everything in order. I'll keep Fixer close, with the backups I make it should have a greater chance on repairing any damaged areas going forward.
btw, would you consider adding an option to be able to delete selected known good regions? Not sure how a selected region can be determined outside of looking on a map view or if the debug screen will tell you when you're walking it?
Traceback (most recent call last):
File "C:\Users\MA13XTVALFW6\Desktop\ALL FILE\Minecraft-Region-Fixer-master\reg
ion-fixer.py", line 373, in <module>
main()
File "C:\Users\MA13XTVALFW6\Desktop\ALL FILE\Minecraft-Region-Fixer-master\reg
ion-fixer.py", line 229, in main
scan_all_mca_files(w, options)
File "C:\Users\MA13XTVALFW6\Desktop\ALL FILE\Minecraft-Region-Fixer-master\sca
n.py", line 273, in scan_all_mca_files
for region_problems in result.get():
File "C:\Python27\lib\multiprocessing\pool.py", line 528, in get
raise self._value
struct.error: unpack requires a string argument of length 4
using pyc
--edit
Traceback (most recent call last):
File "region-fixer.py", line 373, in <module>
File "region-fixer.py", line 229, in main
File "scan.pyc", line 272, in scan_all_mca_files
File "multiprocessing\pool.pyc", line 491, in get
struct.error: unpack requires a string argument of length 4
I happened to come across it looking for ways to have a region regenerated. With adding and deleting mods you can never be too sure that things are working correctly. I added forestry, then found that it wasn't for me. After taking it out, my world was glitchy. I wound up reloading a prior save and continuing form there. Anyway, I used Region Fixer to examine the world and it found everything in order. I'll keep Fixer close, with the backups I make it should have a greater chance on repairing any damaged areas going forward.
btw, would you consider adding an option to be able to delete selected known good regions? Not sure how a selected region can be determined outside of looking on a map view or if the debug screen will tell you when you're walking it?
Hello!
I think it's not clear what does Region-Fixer does, so here it is a small explanation:
Region-Fixer fixes and detects problems at region file level. Region files are like small hard drives, inside there are stored chunk files with a header, and here is where region fixer can help a lot. If a Mod leaves non-vanilla blocks ids in a chunk and Minecraft goes crazy trying to understand what's going on, Region-Fixer won't notice!
Region-Fixer works pretty well when an there's a blackout, or the server hangs badly. That can make the region-files to not save properly in the hard drive and region-fixer can make then readable again.
And also it look up the number of entities stored in a chunk. Because if there are too many they can hang a server.
About the option to delete known good region files... I don't think I'll add it, there are very good tools to do that (MCedit) and I don't see a beautiful way to implement that in region-fixer. I mean, if you know the name of the file to delete you can write delete it yourself in a command line using "del c:\world\region\r.1.2.mca" windows or "rm /world/region/r.3.1.mca" in gnu/linux.
Traceback (most recent call last):
File "C:\Users\MA13XTVALFW6\Desktop\ALL FILE\Minecraft-Region-Fixer-master\reg
ion-fixer.py", line 373, in <module>
main()
File "C:\Users\MA13XTVALFW6\Desktop\ALL FILE\Minecraft-Region-Fixer-master\reg
ion-fixer.py", line 229, in main
scan_all_mca_files(w, options)
File "C:\Users\MA13XTVALFW6\Desktop\ALL FILE\Minecraft-Region-Fixer-master\sca
n.py", line 273, in scan_all_mca_files
for region_problems in result.get():
File "C:\Python27\lib\multiprocessing\pool.py", line 528, in get
raise self._value
struct.error: unpack requires a string argument of length 4
using pyc
--edit
Traceback (most recent call last):
File "region-fixer.py", line 373, in <module>
File "region-fixer.py", line 229, in main
File "scan.pyc", line 272, in scan_all_mca_files
File "multiprocessing\pool.pyc", line 491, in get
struct.error: unpack requires a string argument of length 4
using exe
please reply quickly
Hey, sorry, I hadn't my computer with me this weekend. That look like a strange multiprocessing problem. Could you please try to use the option "-p 1"?
Does it happen always or only while scanning a region file? If so, could you please send me that region file?
Thanks for the rundown. Good to know about the non-vanilla block ids.
I should probably add some info about that in the first post... there is a FAQ in the wiki, in github, that says stuff like that, but I guess it's too far. I'll improve the info in the first post next week or so (busy at the moment), so it's easier/faster to see what does this program do.
"Level.dat is corrupted with the following error: Unrecognized tag type"
Also, "No regions found in the "region" directory."
This is a world file from my Forge (+Essentials) server, with a ton (120+) of mods, all updated about a week ago.
"All player files are readable. No region files to scan."
I did have to encapsulate my world path in quotes, as suggested earlier to someone else. Thanks for any help.
Windows 7 x64, 4GB dedicated, latest java64, localhost server.
The level.dat error points to a non-standard level.dat format (or non-vanilla). And if you tell me that have like 120+ mods I'd bet that one mod has changed the level.dat format. I can give it a look and confirm it if you send me the level.dat. Region Fixer is mainly maintained for vanilla minecraft, there are too many mods to track them all!
The second error "No regions found in the "region" directory." means that Region-Fixer is searching for region files (*.mca files) in the path "region" inside your world directory and there's no region files in there! You probably have a mod that is storing all the region files in another directory. Note that you still can scan the region files, just pass to region-fixer a list with all the region files using a command with wildcards, example (I'm guessing you are a windows user, correct me if not):
This will scan all the region in that directory and will report any problems found BUT in this mode you can't use the backup and replace options (but you CAN use the delete options).
Thanks for the bug report. The pastebin error doesn't have the last lines of the error, and these lines are the ones that say what is all about. Could you please repost it with these final lines?
Although these lines are missing I think the problem here is that you don't have permission to write in the shared memory and the shared memory is in /dev/shm . Do you know how to change permissions? If so try this link, it will probably tell you enough. If not, ask here or google.
But it would be better to see the whole traceback.
Ok, now the traceback is complete. The problem is still in the shared memory though. It looks like you don't have even mounted the /dev/shm directory. Could you check that /dev/shm exists in your system? If it doesn't exist you can mount it adding the next line to /etc/fstab:
none /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0
Two link that give info about this are this and this one (this last one is the link I posted before).
Please, tell me if that works for you or need any help.
EDIT: after adding that line to fstab you need either reboot or run "mount -a"
How do i specify it when using .exe? I just see the cmd appear and it says no worlds specified.
Hello!
You are double clicking in the .exe file, aren't you? You can't do that... well, you actually can, but you aren't going to get results. This is a command line application. To run it you have to open a cmd window (you can do that by writing cmd in start menu search), change your directory to the one region fixer is and, once in region-fixer's directory, run something like:
region-fixer.exe c:\directory\to\your\world
This is the basic command, it will scan the world and report problems. To learn more things that you can do with region-fixer, please, try to read the README.rst file and try running:
region-fixer.exe --help
Also you can post here as you have done already. I'm just curious, I wan't to improve the user-friendliness of region-fixer:
Have you tried to read the README file and the help in the github page? Is not helpful? If you haven't even tried, why?
Saying that "that doesn't work" doesn't really help, I can't know what's going on and I can't help you. Could you please post the error message? Could you please tell me in which directory did you run that?
I'm trying to run this but i dont know linux at all.
I copied the files to the bukkit root as it didn't say where to put them and i ran it with the following command i found on your readme.
$ python region-fixer.py --interactive /SurvivalWorld
I get this...
- Second decompress it in any folder. For example you could decompress it in:
/home/minecraft/region-fixer
or whatever fits your needs
- Then change the directory to the one that contains the source code of region-fixer. Please, note that the zip file is going to create another folder.
- Finally use that command you showed here with the suitable world folder, for example:
Perfect the program now runs, i must have downloaded some html forwarding files, but they have the right names so it threw me.
I have the option to delete the mislocated chunks so thats goo di'll do it tomorrow.
The fix option requires backups but i dont know what kind or where it thinks they might be located.
I have backups but mine are zips in the bukkit root. thanks for help hopefully it will fix my wrongly located chunks
I'm glad it worked!
In order to use the backups option you have to specify where are they. And the backups must be minecraft world folders no zips or anythings else.
C:\Games\Minecraft Stuff\Minecraft-Region-Fixer-v0.0.6>region-fixer.exe --delete
-wrong-located C:\Games\mcserver\world\
Welcome to Region Fixer!
Scanning directory...
Warning: No region files found in the "region" directory!
Info: No nether dimension in the world directory.
There are 0 region files and 11 player files in the world directory.
#################### Scanning level.dat ####################
[WARNING!]: 'level.dat' is corrupted with the following error/s:
Unrecognised tag type
################## Scanning player files ###################
All player files are readable.
################## Scanning region files ###################
No region files to scan!
This is the error I get, I also get the same when using --delete -entities
I am using FTB server with Direwolf20 ModPack
OS Windows 7 x64
I have tried to manualy delete this using MCEdit but it wont go away.
I know there are a few corrupted chuncks and we have put a ton of H into this server
so please help me.
I know this prob has to do with region fixer not recognizing the level or the region files.
I tried what you posted earlier with telling it where to go and got this out of it.
Ouh... I'm afraid I don't have a windows 8 to test at all and I don't have an idea what's going on, but I will try to update py2exe before updating the exe for the new version and hope that this will fix the problem. When is the new version coming? I hope soon...
This version makes possible to scan a single region file and it has an interactive mode that let's you store the results of the scan in memory and choose what to do with the world.
Thanks a lot for your feedback!
I happened to come across it looking for ways to have a region regenerated. With adding and deleting mods you can never be too sure that things are working correctly. I added forestry, then found that it wasn't for me. After taking it out, my world was glitchy. I wound up reloading a prior save and continuing form there. Anyway, I used Region Fixer to examine the world and it found everything in order. I'll keep Fixer close, with the backups I make it should have a greater chance on repairing any damaged areas going forward.
btw, would you consider adding an option to be able to delete selected known good regions? Not sure how a selected region can be determined outside of looking on a map view or if the debug screen will tell you when you're walking it?
File "C:\Users\MA13XTVALFW6\Desktop\ALL FILE\Minecraft-Region-Fixer-master\reg
ion-fixer.py", line 373, in <module>
main()
File "C:\Users\MA13XTVALFW6\Desktop\ALL FILE\Minecraft-Region-Fixer-master\reg
ion-fixer.py", line 229, in main
scan_all_mca_files(w, options)
File "C:\Users\MA13XTVALFW6\Desktop\ALL FILE\Minecraft-Region-Fixer-master\sca
n.py", line 273, in scan_all_mca_files
for region_problems in result.get():
File "C:\Python27\lib\multiprocessing\pool.py", line 528, in get
raise self._value
struct.error: unpack requires a string argument of length 4
using pyc
--edit
Traceback (most recent call last):
File "region-fixer.py", line 373, in <module>
File "region-fixer.py", line 229, in main
File "scan.pyc", line 272, in scan_all_mca_files
File "multiprocessing\pool.pyc", line 491, in get
struct.error: unpack requires a string argument of length 4
using exe
please reply quickly
Hello!
I think it's not clear what does Region-Fixer does, so here it is a small explanation:
Region-Fixer fixes and detects problems at region file level. Region files are like small hard drives, inside there are stored chunk files with a header, and here is where region fixer can help a lot. If a Mod leaves non-vanilla blocks ids in a chunk and Minecraft goes crazy trying to understand what's going on, Region-Fixer won't notice!
Region-Fixer works pretty well when an there's a blackout, or the server hangs badly. That can make the region-files to not save properly in the hard drive and region-fixer can make then readable again.
And also it look up the number of entities stored in a chunk. Because if there are too many they can hang a server.
About the option to delete known good region files... I don't think I'll add it, there are very good tools to do that (MCedit) and I don't see a beautiful way to implement that in region-fixer. I mean, if you know the name of the file to delete you can write delete it yourself in a command line using "del c:\world\region\r.1.2.mca" windows or "rm /world/region/r.3.1.mca" in gnu/linux.
Hey, sorry, I hadn't my computer with me this weekend. That look like a strange multiprocessing problem. Could you please try to use the option "-p 1"?
Does it happen always or only while scanning a region file? If so, could you please send me that region file?
Is that a Windows 7 64 bits?
I'll try to reproduce that on my win7 box soon.
I should probably add some info about that in the first post... there is a FAQ in the wiki, in github, that says stuff like that, but I guess it's too far. I'll improve the info in the first post next week or so (busy at the moment), so it's easier/faster to see what does this program do.
"Level.dat is corrupted with the following error: Unrecognized tag type"
Also, "No regions found in the "region" directory."
This is a world file from my Forge (+Essentials) server, with a ton (120+) of mods, all updated about a week ago.
"All player files are readable. No region files to scan."
I did have to encapsulate my world path in quotes, as suggested earlier to someone else. Thanks for any help.
Windows 7 x64, 4GB dedicated, latest java64, localhost server.
The level.dat error points to a non-standard level.dat format (or non-vanilla). And if you tell me that have like 120+ mods I'd bet that one mod has changed the level.dat format. I can give it a look and confirm it if you send me the level.dat. Region Fixer is mainly maintained for vanilla minecraft, there are too many mods to track them all!
The second error "No regions found in the "region" directory." means that Region-Fixer is searching for region files (*.mca files) in the path "region" inside your world directory and there's no region files in there! You probably have a mod that is storing all the region files in another directory. Note that you still can scan the region files, just pass to region-fixer a list with all the region files using a command with wildcards, example (I'm guessing you are a windows user, correct me if not):
This will scan all the region in that directory and will report any problems found BUT in this mode you can't use the backup and replace options (but you CAN use the delete options).
You can add a few places to scan, for example:
Hello!
Thanks for the bug report. The pastebin error doesn't have the last lines of the error, and these lines are the ones that say what is all about. Could you please repost it with these final lines?
Although these lines are missing I think the problem here is that you don't have permission to write in the shared memory and the shared memory is in /dev/shm . Do you know how to change permissions? If so try this link, it will probably tell you enough. If not, ask here or google.
But it would be better to see the whole traceback.
Ok, now the traceback is complete. The problem is still in the shared memory though. It looks like you don't have even mounted the /dev/shm directory. Could you check that /dev/shm exists in your system? If it doesn't exist you can mount it adding the next line to /etc/fstab:
Two link that give info about this are this and this one (this last one is the link I posted before).
Please, tell me if that works for you or need any help.
EDIT: after adding that line to fstab you need either reboot or run "mount -a"
I'm glad! Thanks for the feedback!
Hello!
You are double clicking in the .exe file, aren't you? You can't do that... well, you actually can, but you aren't going to get results. This is a command line application. To run it you have to open a cmd window (you can do that by writing cmd in start menu search), change your directory to the one region fixer is and, once in region-fixer's directory, run something like:
This is the basic command, it will scan the world and report problems. To learn more things that you can do with region-fixer, please, try to read the README.rst file and try running:
Also you can post here as you have done already. I'm just curious, I wan't to improve the user-friendliness of region-fixer:
Have you tried to read the README file and the help in the github page? Is not helpful? If you haven't even tried, why?
Saying that "that doesn't work" doesn't really help, I can't know what's going on and I can't help you. Could you please post the error message? Could you please tell me in which directory did you run that?
Hello!
It seems to me that you haven't downloaded it properly. As the error says region-fixer.py is a html file!
Some simple howto download and use region-fixer:
- First download the source code from github. Here is a direct link to the download:
https://github.com/F...hive/master.zip
- Second decompress it in any folder. For example you could decompress it in:
or whatever fits your needs
- Then change the directory to the one that contains the source code of region-fixer. Please, note that the zip file is going to create another folder.
- Finally use that command you showed here with the suitable world folder, for example:
Note the interactive mode could seem complicated at first, but I think is more useful than the normal mode.
Don't hesitate to ask if you need any more help.
I'm glad it worked!
In order to use the backups option you have to specify where are they. And the backups must be minecraft world folders no zips or anythings else.
A fast example on how to use the backup options:
Good luck!
-wrong-located C:\Games\mcserver\world\
Welcome to Region Fixer!
Scanning directory...
Warning: No region files found in the "region" directory!
Info: No nether dimension in the world directory.
There are 0 region files and 11 player files in the world directory.
#################### Scanning level.dat ####################
[WARNING!]: 'level.dat' is corrupted with the following error/s:
Unrecognised tag type
################## Scanning player files ###################
All player files are readable.
################## Scanning region files ###################
No region files to scan!
C:\Games\Minecraft Stuff\Minecraft-Region-Fixer-v0.0.6>
This is the error I get, I also get the same when using --delete -entities
I am using FTB server with Direwolf20 ModPack
OS Windows 7 x64
I have tried to manualy delete this using MCEdit but it wont go away.
I know there are a few corrupted chuncks and we have put a ton of H into this server
so please help me.
I know this prob has to do with region fixer not recognizing the level or the region files.
I tried what you posted earlier with telling it where to go and got this out of it.
C:\Games\Minecraft Stuff\Minecraft-Region-Fixer-v0.0.6>region-fixer.exe --delete
-entities C:\Games\MCServer\world\region *.mca
Usage: region-fixer [options] <world-path>
region-fixer: error: Only one world dirctory needed!
C:\Games\Minecraft Stuff\Minecraft-Region-Fixer-v0.0.6>
I got det level file backedup so I can send it to you if you want / need it
Uploaded here:
http://www.fileswap.com/dl/4zuVkXcywo/