Hi, finally I found some time to continue with my big maps compilation struggle :)
I attach example sources of one incomplete map - its in stage of first map playtest with some basic texture
https://drive.google.com/drive/folders/ ... sp=sharing
There are two batch files at your disposal which I use for comfort re-binarization of whole map.
First
anyville.cmd for 24x32 map.
Code: Select all
n:\nota_dev_pack\tools\mapconv\MapConv.exe -i -l -c 0^
-x 240^
-n -14^
-o "n:\nota_dev_pack\000\SpringData\maps\anyville.sdd\maps\anyville001.smf"^
-t "n:\nota_dev_pack\000\courses\anyville\texture_full.bmp"^
-a "n:\nota_dev_pack\000\courses\anyville\height_full.png"^
-m "n:\nota_dev_pack\000\courses\anyville\metal.png"^
-z "n:\nota_dev_pack\tools\mapconv\nvdxt.exe -dxt1a -nmips 4 -Sinc -quality_highest -file"
pause
After running this code the application ends up with this output
Code: Select all
n:\nota_dev_pack\000\courses\anyville>n:\nota_dev_pack\tools\mapconv\MapConv.exe -i -l -c 0 -x 240 -n -14 -o "n:\nota_dev_pack\000\SpringData\maps\anyville.sdd\maps\anyville001.smf" -t "n:\nota_dev_pack\000\courses\anyville\texture_half.bmp" -a "n:\nota_dev_pack\000\courses\anyville\height_half.png" -m "n:\nota_dev_pack\000\courses\anyville\metal_half.png" -z "n:\nota_dev_pack\tools\mapconv\nvdxt.exe -dxt1a -nmips 4 -Sinc -quality_highest -file"
Mothers Mapconv version 2.4 updated by Beherith (mysterme at gmail dot com)
Loading texture
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
n:\nota_dev_pack\000\courses\anyville>pause
Press any key to continue . . .
If I just take subset of given map (north 24x24 part), using
anyvilleHalf.cmd
Code: Select all
n:\nota_dev_pack\tools\mapconv\MapConv.exe -i -l -c 0^
-x 240^
-n -14^
-o "n:\nota_dev_pack\000\SpringData\maps\anyville.sdd\maps\anyville001.smf"^
-t "n:\nota_dev_pack\000\courses\anyville\texture_half.bmp"^
-a "n:\nota_dev_pack\000\courses\anyville\height_half.png"^
-m "n:\nota_dev_pack\000\courses\anyville\metal_half.png"^
-z "n:\nota_dev_pack\tools\mapconv\nvdxt.exe -dxt1a -nmips 4 -Sinc -quality_highest -file"
pause
... and the map gets compiled in 80 % of the cases - producing proper smt file which I can test.
Observations - i tried the same setup on three computers (2 high-end gaming laptops of current days, 3rd game developer 3 years old PC):
- none of them is able to finish compilation of the 24x32 map, the newest laptop struggles also with 24x24, older laptop can do max 28x28 maps and the oldest PC can do 30x30 maps with 50 % probability - based on this I suspected some cache on any level of the execution beeing depleted, but I'm not expert on the low-level programming :)
- once you reach the texture size limit, results are unreliable (5 times runs ok, 6th run same error like the map would be "too" big), which turns me to idea there is some problem in the implementation which is not handling properly big data sources.
- because I succeed with smaller maps and fail with big ones, I think the problem is not directly in my "corrupted" source data, but still there can be something I can do better.
Btw to give you idea what i mean by high-end, here is the HW setup of the newest laptop I tried as the last one to compare the results (I used clean computer which was in default factory setup with empty drives, clean OS and no extra applications running on backround)
Schenker XMG APEX 15
Intel i5-8500
32GB RAM
nVidia GTX 1060 - 6GB
SSD 500GB
SSD 1TB
Windows 10 Pro