SpellholdStudios / BP-BGT-Worldmap

This mod replaces the ingame worldmap with a large, new worldmap. It is used especially for the Megamodification (BGT, TDD, SOS, CtB, TS, DSotSC, NTotSC, SoBH, Drizzt Saga...) or partial installations of the Megamodification. It also includes a full set of coloured map icons. The mod offers the choice between two different worldmap sizes: large and huge. Either of these two worldmaps can be used for BG1, BG2 and ToB. Alternatively, a smaller, specially prepared worldmap can be used for ToB.
15 stars 5 forks source link

Cannot install latest version from master brach #55

Closed abalabokhin closed 1 year ago

abalabokhin commented 1 year ago

I tried to install the latest version of the mod from master branch and it failed with the error:

ERROR: [bp-bgt-worldmap/language/a7tileconv_WORLDMAP_LARGE/WORLDMAP_LARGE.mos] has size 63121524: TOO BIG FOR WEIDU (max 16777211)
ERROR: error loading [bp-bgt-worldmap/language/a7tileconv_WORLDMAP_LARGE/WORLDMAP_LARGE.mos]

I used one of the previous commits, e.g. state after commit 0ceaf8a256911ca496 works fine for me.

Roberciiik commented 1 year ago

Could you post WeiDU.log? What WeiDU version are you using?

abalabokhin commented 1 year ago

The version is 24900. I will post weidu log later when I am back home, but it is not very informative.

I was installing Russian language if it matters. I also should probably mention that I am installing the mod using windows weidu and wine under linux. I can try with native linux weidu but I double it will make the difference (the installations with wine worked well so far).

Roberciiik commented 1 year ago

Ok, so this error message is only showing up when installing using 32-bit WeiDU executable. You could try to install the mod using 64-bit WeiDU version and/or 64-bit Wine application.

You can also try to set line 359 in lib/a7_tools.tpa to : COPY_LARGE ~%mbc_file%~ ~%output_path%~ to copy large files instead of loading and coping small files. If this works, I will submit a ticket to the tileconv tool repo.

abalabokhin commented 1 year ago

You were right both times: it was 32 bit version of weidu and copy_large does work. I am closing the issue.