Entropy5 / JMtoXaero

Convert Journeymap image data into Xaero format for Xaero's minecraft map mod
25 stars 6 forks source link

Version Problem #9

Open Bug38 opened 1 year ago

Bug38 commented 1 year ago

Hi,

I'm trying to merge some Xaero's map files from 2 accounts to share the collected data.

I tried your tool that does exactly what I want to do, but all I receive is an error about a version problem : image

I'm using Xaero's World Map 1.30.5 if that helps.

Does this tool support MC 1.20 ? Have you an idea to solve this problem ?

Thx !

Bug

Entropy5 commented 1 year ago

tool was made for 1.12.2, but since journeymap saves simple images, it can process a variety of versions, given that one makes sure the folder structure looks like 1.12 journeymap the following 'older version' xaero data would then be handled correctly by xaeros as if you just updated from 1.12 the merger is a bit more complicated, it has to both read and write xaeros format, and it expects the version from when we wrote it maybe xaero recently changed his format so much he had to update the world version, which would make the merger give up ill see if this is easy to fix or not

Bug38 commented 1 year ago

I dug a bit your code and the XaeroPlus one, and in there they use the correct version of xaero files, if it can help you to fix this : https://github.com/rfresh2/XaeroPlus/blob/6581c05ed7ef08c04aab921d00100daa342444d9/src/main/java/xaeroplus/mixin/client/MixinMapSaveLoad.java#LL438C43-L438C49

Entropy5 commented 1 year ago

yea, xaeroplus is continuously updated to xaeros changed to stay compatible this tool hasnt, and right now i dont have the time to update and debug this for a version i dont even use maybe you can give it a try so far people only really used this when they were converting their journeymap data to xaeros, and wanted to merge with the pregenerated data for 2b2t

LeonYew-SWPU commented 1 year ago

Same question, although I'm using RegionConverter