Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Map_c toolbox fails at huge maps ?  (Read 3376 times)

0 Members and 1 Guest are viewing this topic.

Uzin

  • Modder
  • member
  • Offline Offline
  • Posts: 2816
  • On lifetime holidays
Map_c toolbox fails at huge maps ?
« on: August 06, 2016, 11:43:42 AM »

The problem I met at Yugoslavia map:
while map_c toolbox ver.1.10 works fine with former Mymap_c.ga (199 921 kB), creatng map_c.tga (29 409 kB) and map_c.tga_table (781 kB), the unlocked game (aka MapMaker) runs well.
After adding some more rivers to Mymap_c.tga,  still having size of 199 921 kB, toolbox creates map_c.tga of the size 31 137 kB (and map_c.tga_table of 781 kB), but when the unlocked game is tried to run with these new files, the game crashes and exits Il2.
Can anybody help, please ?
I have WinXP, 4GB RAM, Il-2 ver.4.10 working in excellent mode.
Logged

Zoran395

  • Mapper
  • member
  • Offline Offline
  • Posts: 355
Re: Map_c toolbox fails at huge maps ?
« Reply #1 on: August 06, 2016, 04:55:20 PM »

Hi Uzin,

I know ed_m01 has a programmed maximum size limit but I do not if 30000 kB is the magic number for compressed map_c.

What does the log say? If does not say anything meaningful you may also be at your machine limit.

If you post your files over here, I can try on my computer.
Logged

Uzin

  • Modder
  • member
  • Offline Offline
  • Posts: 2816
  • On lifetime holidays
Re: Map_c toolbox fails at huge maps ?
« Reply #2 on: August 06, 2016, 09:45:06 PM »

Hi Uzin,

I know ed_m01 has a programmed maximum size limit but I do not if 30000 kB is the magic number for compressed map_c.
What does the log say? If does not say anything meaningful you may also be at your machine limit.
If you post your files over here, I can try on my computer.

Thank you, Zoran. Here are files, Mymp_c_21.tga works OK, while Mymp_c_22.tga fails.

https://www.mediafire.com/download/z80fak8byd4yt58/Zoran.7z

Meanwhile I shall try to lower the rive net density.
Logged

Zoran395

  • Mapper
  • member
  • Offline Offline
  • Posts: 355
Re: Map_c toolbox fails at huge maps ?
« Reply #3 on: August 07, 2016, 06:59:40 AM »

I fabricated a fake map_h, map_f and map_t to go with your files: both versions load fine on my machine in FMB+.
I had no problem with  Mymp_c_22.tga.
So there is no "wall" at 30 MB for compressed map_c.

I have put on my Yandex Disk the compressed I used Mymp_c_22.tga/Mymp_c_22.tga.table, https://yadi.sk/d/i7Vyl2HJtzEkF.
Maybe mine are ok and yours are not (it could be how the files are created on your computer).

If you would like more testing, it would be better if I had the whole of your map files (no need for textures). You can send me a personal message if you want with the link.

Logged

Uzin

  • Modder
  • member
  • Offline Offline
  • Posts: 2816
  • On lifetime holidays
Re: Map_c toolbox fails at huge maps ?
« Reply #4 on: August 07, 2016, 09:36:39 AM »

Thank you very much, Zoran, for your help.
It looks like the problem aproaches the solution, lol.
I tried your files Mymp_c_22.tga/Mymp_c_22.tga.table in my MapMaker Il2 version 4.10, at Excellent  landscape settings, and the map does not open.
But when I put your files into the game version of Il2  ver,1.10 SASmodact 3,06, at Perfect lanscape settiongs, the map opens OK.
Then I tried to do the same with my files Mymp_c_22.tga/Mymp_c_22.tga.table, and voila: map opens! The selector is set to 512 MB RAM.
So the reason is in landscape settings.
For the map see PM.

EDIT:
Your PM is blocked.
Logged

Zoran395

  • Mapper
  • member
  • Offline Offline
  • Posts: 355
Re: Map_c toolbox fails at huge maps ?
« Reply #5 on: August 08, 2016, 04:41:51 AM »

Sorry Uzin, PM unlocked now!
I am glad you got it to work.
You probably saw it but just in case: https://www.sas1946.com/main/index.php/topic,51121.msg559006.html#msg559006. Same question about "Perfect" versus "Excellent".
Logged

Uzin

  • Modder
  • member
  • Offline Offline
  • Posts: 2816
  • On lifetime holidays
Re: Map_c toolbox fails at huge maps ?
« Reply #6 on: August 08, 2016, 05:57:43 AM »

Sorry Uzin, PM unlocked now!
I am glad you got it to work.
You probably saw it but just in case: https://www.sas1946.com/main/index.php/topic,51121.msg559006.html#msg559006. Same question about "Perfect" versus "Excellent".

Map sent to your PM.
I have very old rig  .

EDIT:
static.ini file : https://www.mediafire.com/download/e3ip65z39yrsh3h/static_Yug_WIP.7z
Logged

Zoran395

  • Mapper
  • member
  • Offline Offline
  • Posts: 355
Re: Map_c toolbox fails at huge maps ?
« Reply #7 on: August 09, 2016, 07:29:31 AM »

I did more testing with your map_t, ed_m01, map_h and used a big static.ini instead of yours (there were too many custom objects I did not have).

So with a static.ini of 28 kb : The map opens in FMB+ CUP WAW.
With the Karelia map static.ini (9 MB, double the size of yours) : The game crashes when trying to load the map in FMB+ with no tracing in the log file.

It means that I reached what my machine can do in FMB+ with your large map and a fat static.ini

FMB+ is much harder on a computer resources than FMB and each PC has its own limits.
Not much to do with the size of map_c which can be as big as... your machine can deal with!
Logged

Uzin

  • Modder
  • member
  • Offline Offline
  • Posts: 2816
  • On lifetime holidays
Re: Map_c toolbox fails at huge maps ?
« Reply #8 on: August 09, 2016, 11:06:08 AM »

Experimentally found:

1. MapMaker (aka unlocked FMB) is unstable at  Perfect landscape mode , so working in Excellent landscape mode is a must.
2. Even if Map_c toolbox 1.10 works well , MapMaker fails to work with map_c.tga so "small" as 30 113 kB.
3. Shrinking of map_c.tga is possible via increasing the portion of "White" in Mymap_c.tga, e.g. by narrowing the rivers and/or shortening their length.
Any proposals will be welcome.

EDIT:
Comparison of map_c.tga sizes of some default maps:

Map   map_c.tga(kB)
Kiev            22689
FinsGulf       15457
Bessarabia    8193
Singapore     7073
Balaton        5825
Lviv             4481
Stgrad         4033
Smolensk      3841
Kursk           2849
Crimea         2785
Berlin           2241
Norway        2145
Slovakia         801

Do not know why my Yugoslavia map has so large map_c.tga.
Logged

Zoran395

  • Mapper
  • member
  • Offline Offline
  • Posts: 355
Re: Map_c toolbox fails at huge maps ?
« Reply #9 on: August 10, 2016, 05:37:03 AM »

I think it is the size (in pixels, 15680x13056) of your file which makes it large.

When I first did the testing for you, I tried also to get a bigger version of my own map_c file, just to see if could get my PC to crash.
With a map_c (uncompressed) resolution of 6784x3712, It went from its normal 24 MB to a maximum of 49.8 MB, after adding lots and lots of rivers,lakes and other details. I could not get it bigger than 49.8 MB, no matter how much detail I added. This has probably to do with how many bits per pixels can be stored in the TGA file format (Experts may explain this a bit better).

The file, at 24 MB looks like this:

There is a lot of white in this one.

I like to show every little lakes but I have a limited number of rivers, just 8 in total (Narva, Luga, Neva, Volkhov, Svir, Oyat, Pasha and Burnaya rivers).
I do not like using rivers 80-100m wide, the smallest IL-2 can do, when they are not actually this wide in reality.

So maybe less rivers?

I tried this before, rivers done using objects, not using map_c:

I am still working on this idea but I am not VPMedia for texturing objects and I am also very limited with new objects creation.

To go back to your comparison of map_c, you can add to your collection:

Map   map_c.tga(kB)
Leningrad-Volkhov   3572

This puts me between Kursk and Smolensk... !
Logged

Uzin

  • Modder
  • member
  • Offline Offline
  • Posts: 2816
  • On lifetime holidays
Re: Map_c toolbox fails at huge maps ?
« Reply #10 on: August 10, 2016, 07:19:12 AM »

You are right, Zoran,
unlocked FMB (aka MapMaker) requires much more computer resources than pure Il2 game.
I proved it by successfully running the game version on both Perfect and Excellent landscape details with map_c.tga such as 31 329 kB.This is fine, we need not  have "light" and "heavy" map versions.
There are troubles only with a bit complicated, "per partes", creating the map.
Thank you for your assistance.

Btw, Poland 1939 map has map_c.tga 22 305 kB.
Logged

Zoran395

  • Mapper
  • member
  • Offline Offline
  • Posts: 355
Re: Map_c toolbox fails at huge maps ?
« Reply #11 on: August 11, 2016, 04:59:46 AM »

It is a pleasure to help and thanks to you I now know a lot more about .tga files and map_c sizes.
Logged
Pages: [1]   Go Up
 

Page created in 0.039 seconds with 25 queries.