-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when opening newer saves #2
Comments
Unfortunately the Linux server uses a different format, so saves created with it won't work with this tool. |
Sorry for slow reply, I have no idea why but Github doesn't notify me this issue. I have only tested the code for save file of version 1.7.4 from an android simulator. As JarlPenguin has mentioned, the server save file might be different from single player save files. If I have time, I will take a look into it to see if it is the case. |
i have a save file from 1.7.4 on ios and when i try to open the file in it i get this `from gameSave import GameSave
idk if its a problem with the version of the app or im just to dumb to figure out how to work this |
I suspect it's related to 32-bit and 64-bit LMDB format, but not quite sure as I have not worked on this for 4 years. You may try to install 32-bit and 64-bit python and install lmdb in each of them and try open the path again to see which one works. If none of them works, then it might be iOS files having different format? I can't tell for sure. |
if this helps here is the save file i am trying to work with |
The 1.7.4 doesn't have any of the files mentioned in some of the script I can only find it with 2 folders world_db and map the world_db has the files data.mdb and lock.mdb |
I finally got some time to work on this issue. I tested the repo on the same save file that works before when I was developing this and got the same It's hard to set up a new python environment, especially a 32-bit one, when you already have a ton of them. So, I updated the repository and added a Dockerfile so that you can use python interactive shell in docker container to load, modify, save, etc. Please refer to README for more info. But I have to warn that even though the repo is passing all tests and seems to export without a bug in When I have more time, I will take a look into the linux server save file. Currently the blockheads wiki seems to be not responsive and thus I have no idea how to get that server. |
Here: https://majicdave.com/share/blockheads_server171.tar.gz I had to run patchelf on it to have it working on modern linux distributions. |
I was busy recently, but according to preliminary tests the updated code that I have already commited and pushed should be able to load copied save folder from the server (when I load symlinked folder it seems to crash?). But I still can't replicate the error you met at first. I also can't verify if the modified world data would be loadable by the server. The test world also has no user data as I still have no blockhead installed on any device. I plan to look into it when I got more time, most probably after spring semester. Thanks for providing server, this should greatly help development as I don't have to drag & replace files in simulators manually, and the save files are stored in 64-bit meaning the development won't be stumbled by docker containers! |
Thanks for all the incredible research. I tried this project on a newly generated map from the recently released Linux server of Blockheads and I got the following error:
I assume that the protocol must have changed. If I print the string that's causing the issue, I get
OWEN
.Found the linux server here: https://theblockheadswiki.com/wiki/Server#Linux_Server
The text was updated successfully, but these errors were encountered: