Entropy5/JMtoXaero

Version Problem

Bug38 opened this issue · 4 comments

Bug38 commented

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

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

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

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

Same question, although I'm using RegionConverter