Fenixin/Minecraft-Region-Fixer

Anyway to fix unreadable level.dat file?

Opened this issue · 2 comments

When I run region fixer on my world the following happens:

C:\Users\Inktpleurer\Downloads\region-fixer> python regionfixer.py -p 4 --delete-corrupted C:\Users\Inktpleurer\Downloads\Server

Welcome to Region Fixer!
(v 0.3.6)

############################################################
Scanning world: ('C:\Users\Inktpleurer\Downloads', 'Server')
############################################################

World info:

  • 966 region/level files,
  • 4 POI files,
  • 13 entities files,
  • 19 player files,
  • and 6 data files.

-------------------- Checking level.dat --------------------
[WARNING!]: 'level.dat' is corrupted with the following error/s:
The data file cannot be read

---------------- Scanning UUID player files ----------------
19 of 19|########################################################|Time: 0:00:00

------------- Scanning old format player files -------------
Info: No files to scan.

---------- Scanning structures and map data files ----------
6 of 6|##########################################################|Time: 0:00:00

--------- Scanning region, POI and entities files ----------
983 of 983|######################################################|Time: 0:02:06

############################################################
Scan results for: ('C:\Users\Inktpleurer\Downloads', 'Server')
############################################################

Unreadable player files:
No problems found.

Unreadable data files:
No problems found.

Chunk problems:
No problems found.

Region problems:
No problems found.

No chunks to delete with status: Corrupted


Im using:

  • OS: Windows 11
  • Python version: 3.11

Is there any way for it to fix the unreadable file? Thank you in advance.

I'm having the same issue as well, which is important because I have a world I have worked on for so long and I don't want it corrupted. does anybody know how to fix this issue?

Can someone provide a File where this happened?