• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved Generating minimap from otclient error

Solution
Im using 8.6 extended client
If you are using my 5.1 otclient_mapgen .exe ( https://github.com/gesior/otclient_mapgen/releases/download/v5.1/otclient_mapgen_v5.1_win-x64.zip ), it does not auto-detect 'extended sprites' .dat/.spr files for any protocol as OTCv8 does.
You got to edit modules/game_things/things.lua and under:
LUA:
local errorMessage = ''
add line:
LUA:
g_game.enableFeature(GameSpritesU32)
to enable that 9.60 feature (over 65k sprites) on 8.60 protocol.. and any other OTC custom features you use (ex. dat/spr editor "transparency" = GameSpritesAlphaChannel).
Im using 8.6 extended client
If you are using my 5.1 otclient_mapgen .exe ( https://github.com/gesior/otclient_mapgen/releases/download/v5.1/otclient_mapgen_v5.1_win-x64.zip ), it does not auto-detect 'extended sprites' .dat/.spr files for any protocol as OTCv8 does.
You got to edit modules/game_things/things.lua and under:
LUA:
local errorMessage = ''
add line:
LUA:
g_game.enableFeature(GameSpritesU32)
to enable that 9.60 feature (over 65k sprites) on 8.60 protocol.. and any other OTC custom features you use (ex. dat/spr editor "transparency" = GameSpritesAlphaChannel).
 
Solution
If you are using my 5.1 otclient_mapgen .exe ( https://github.com/gesior/otclient_mapgen/releases/download/v5.1/otclient_mapgen_v5.1_win-x64.zip ), it does not auto-detect 'extended sprites' .dat/.spr files for any protocol as OTCv8 does.
You got to edit modules/game_things/things.lua and under:
LUA:
local errorMessage = ''
add line:
LUA:
g_game.enableFeature(GameSpritesU32)
to enable that 9.60 feature (over 65k sprites) on 8.60 protocol.. and any other OTC custom features you use (ex. dat/spr editor "transparency" = GameSpritesAlphaChannel).
Thanks I used your mapgen client but I tried it with 1098 items.otb /spr/dat
It didn't matter much because the extended 8.6 uses 1098 spirits and dat.

1733766111951.webp
 
We had talked on Discord. All problems were related to running .exe on Linux with virtual machine (docker).
otclient_mapgen and PHP scripts generate 100k - 1000k files and "virtual" machine is pretty bad in handling XX+ files.

From my experience with docker: do not run Windows/Linux on Linux/Windows systems or Linux/Windows on Windows/Linux. Both configurations are pretty slow.
 
If you are using my 5.1 otclient_mapgen .exe ( https://github.com/gesior/otclient_mapgen/releases/download/v5.1/otclient_mapgen_v5.1_win-x64.zip ), it does not auto-detect 'extended sprites' .dat/.spr files for any protocol as OTCv8 does.
You got to edit modules/game_things/things.lua and under:
LUA:
local errorMessage = ''
add line:
LUA:
g_game.enableFeature(GameSpritesU32)
to enable that 9.60 feature (over 65k sprites) on 8.60 protocol.. and any other OTC custom features you use (ex. dat/spr editor "transparency" = GameSpritesAlphaChannel).
work in version 12.86??
 
work in version 12.86??
What OTClient do you use? Mehah?

My mapgen 5.1 works only up to 10.98, so you would need to convert 12+ assets to .spr and .dat 10.98 format and use 1098 as version in generator.
12.87 converted to .dat and .spr 10.98 you can find here:
and here is TFS 12.87 items.otb:
Here is instruction for my mapgen client (just 2 steps):
 
What OTClient do you use? Mehah?

My mapgen 5.1 works only up to 10.98, so you would need to convert 12+ assets to .spr and .dat 10.98 format and use 1098 as version in generator.
12.87 converted to .dat and .spr 10.98 you can find here:
and here is TFS 12.87 items.otb:
Here is instruction for my mapgen client (just 2 steps):
it worked, thanks!
 
Back
Top