All-Aircraft-Simulations
I'm getting a Java error on one of my Normandy maps.... - Printable Version

+- All-Aircraft-Simulations (https://allaircraftsimulations.com)
+-- Forum: IL2 MAP MODS Download & Discussion (https://allaircraftsimulations.com/forumdisplay.php?fid=269)
+--- Forum: OLD IL2 MAP MODS Discussion & WIP-MAP-MODS (https://allaircraftsimulations.com/forumdisplay.php?fid=307)
+--- Thread: I'm getting a Java error on one of my Normandy maps.... (/showthread.php?tid=62076)



I'm getting a Java error on one of my Normandy maps.... - Guest - 28.05.2009

Hi chaps
I was messing about with new textures on my Normandy map, following Troopers post earlier.
Now, this is an old error I've been getting for awhile in FMB, but i kinda forgot about it, besides, I have several working versions of the Normandy map. After seeing the error again today, i thought i'd post and see if one of the map boffins can help out.
In my all.ini, I have the following lines all relating to the Normandy map:
Normandy1 Normandy/load2.ini
Normandy2 Normandy/load.ini
Normandy3 Normandy/load1.ini
NormandyAutumn LALnormandy1/LAL_loadA.ini
LALnormandy43 LALnormandy1/LAL_load1.ini
LAL_Normandie-44 LALnormandy2/LAL_load2.ini
All these maps load in FMB, except for Normandy2. This gives the following error:
World land().LoadMap()error.java.lang.RuntimeException: Landscape 'Normandy/load.ini'loading error.
Also, I tried to use Troopers load.iini for this map, with the same result.
I've sorted out a few map issues by myself before, but this one is eluding me. I can't seem to find the problem. It should be with the load.ini? Here's what it looks like:
[MAP]
ColorMap = map_c1.tga
HeightMap = map_h1.tga
SmallMap = map_M.tga
TypeMap = map_T1.tga
FarMap = map_F1.tga
ReflMap = map_R.tga

[LIGHT]
LandLight = LandLight.mat
CloudShadows = CloudShadows.mat

[MAP2D]
ed1_m01.tga
ed1_m02.tga

[WORLDPOS]
CAMOUFLAGE = SUMMER
MONTH=7
DECLIN = 50
PRESSURE = 745
TEMPERATURE = 25

[CUBE]
Down = Cube_bott.tga
East = Cube_right.tga
North = Cube_front.tga
South = Cube_back.tga
Up = Cube_top.tga
West = Cube_left.tga

[static]
actors1.static
[text]
texts1.txt

[WOOD]
Wood0 = forest/summer/Wood0.tga
Wood1 = forest/summer/Wood1.tga
Wood2 = forest/summer/Wood2.tga
Wood3 = forest/summer/Wood3.tga
Wood4 = forest/summer/Wood4.tga
WoodMask2 = forest/summer/ForestMask.tga
WoodMask3 = forest/summer/ForestMask2.tga
WoodMiniMasks = forest/summer/MiniMask.tga
SideWood = forest/summer/ForestSide.tga

[APPENDIX]
HighClouds = Clouds256.tga
HighCloudsNoise = CloudsNoise.tga
// CloudsMap = CloudMap4x4km.tga
Moon = Moon\Moon0000.tga
ShadeNoise = land/Noise.tga
WaterNoise = water/WaterNoise.tga
WaterNoiseAnimStart = Water/Animated/WaterNoise00.tga
ForestNoise= forest/summer/ListForestNoise.tga
BeachFoam = water/Foam.tga
BeachSurf = water/BeachSurf.tga
BeachLand = water/RiverLand.tga

Tree0 = Trees\AlteredBush8a.tga
TreeLightMask = Trees\LightM256.tga

[WATER]
Water = water/Water.tga

[ROADS]
Rail = land/summer/Rail
Road = land/summer/Road
Highway = land/summer/Highway

[FIELDS]
LowLand0 = land/summer/bob_fields_1.tga,2
LowLand1 = land/summer/rom_fields_LowLand2.tga,-2
LowLand2 = land/summer/bob_fields_1.tga,-1
LowLand3 = land/summer/bob_fields_1.tga,-1
MidLand0 = land/summer/bob_fields_2.tga
MidLand1 =
MidLand2 =
MidLand3 =
Mount0 = land/summer/rom_mount0.tga
Mount1 =
Mount2 =
Mount3 =
Country0 = land/summer/bigcountry.tga
Country1 = land/summer/countries.tga
Country2 = land/summer/Dcountry.tga
Country3 =
City0 = land/summer/DownCity.tga
City1 = land/summer/MidCity.tga
City2 = land/summer/CenterCity.tga
City3 = land/summer/factory.tga
AirField0= land/summer/rom_air_fields_0.tga
AirField1=
AirField2=
AirField3=
Wood0 = forest/summer/forestGr.tga
Wood1 =
Wood2 = forest/summer/ForestFar.tga
Wood3 =
Water0 = water/water.tga
Water1 = water/water.tga
Water2 = water/CoastLine.tga
Water3 = water/Beach.tga
Its not critical, but if anyone thinks they can help out, I'd be grateful. 8)


- fly_zo - 28.05.2009

LowLand2 = land/summer/bob_fields_1.tga,-1
LowLand3 = land/summer/bob_fields_1.tga,-1


allowed values for texture resolutions are : -2 ; 1 ; 2 ; 4

also check if all listed texture files are present in their respected folders ( exact path and file name as listed in load.ini)

hope that'll help

Z


- Guest - 29.05.2009

Ok, thanks zo, that's one problem i didn't pick up. I'm going through all the textures one by one, and i've found a few that i seem to be missing.
I don't have most of the textures starting with 'rom_xxx', as well as those that use the Italy_DF/ folder. I don't have an Italy_DF folder in my Maps/_Tex folder.
Any ideas where I can find these, or with which map they came...??

8)
ps. I have the Italy_DF map, and that loads fine..??


- |ZUTI| - 29.05.2009

Once you're in FMB you can press Shift + Tab and you'll see where the error is.

If you already knew this, ignore my post Smile


- Guest - 29.05.2009

Thanks Zuti, i've resolved the issue of the map loading.
I'm still trying to find out where i can get the 'rom_xxx.tga's', i only have 1 such file in my _Tex folder, and several are referred to in various load.ini's.
As well as the Italy_DF folder that is supposed to be in my _Tex folder. Where would i get that?
8)


- fly_zo - 29.05.2009

bigbossmalone Wrote:Thanks Zuti, i've resolved the issue of the map loading.
I'm still trying to find out where i can get the 'rom_xxx.tga's', i only have 1 such file in my _Tex folder, and several are referred to in various load.ini's.
As well as the Italy_DF folder that is supposed to be in my _Tex folder. Where would i get that?
8)


you don't need those ... they are default game textures so they get loaded from SFS files ( rom_XX... and Italy_DF folder )

extracted map files ( SFS ... 4.09b1m):

[Image: SFS-maps.jpg]

reg
Z


- Guest - 29.05.2009

aaah, that explains that, then. thanks, mate.
oh, hold on - i'm also getting a load error on your normandy winter map. this is the line in the all.ini:
fly_Z_Normandy_winter normandy/fly_Z_normW_load.ini
but i seem to have lost the actual 'fly_z_normw_load.ini', as its not in the normandy folder. any chance you could post that load of yours for me, mate?
@ps: i'm intrigued with those 'cloud_horizon_poor/hazy/etc. tga's in your screenshot. Where'd you find those, zo? :?:


- fly_zo - 29.05.2009

bigbossmalone Wrote:aaah, that explains that, then. thanks, mate.
oh, hold on - i'm also getting a load error on your normandy winter map. this is the line in the all.ini:
fly_Z_Normandy_winter normandy/fly_Z_normW_load.ini
but i seem to have lost the actual 'fly_z_normw_load.ini', as its not in the normandy folder. any chance you could post that load of yours for me, mate?
@ps: i'm intrigued with those 'cloud_horizon_poor/hazy/etc. tga's in your screenshot. Where'd you find those, zo? :?:


heh ... i have all my maps highly customized ( locally ... custom texture names + path) but here is that load ini from AAA map pack :

fly_Z_normW_load.ini

Code:
[MAP]
ColorMap  = map_c.tga
HeightMap = fly_Z_map_h.tga
SmallMap  = map_M.tga
TypeMap   = fly_Z_map_T.tga
FarMap    = map_F.tga
ReflMap   = map_R.tga

[LIGHT]
  LandLight = LandLight.mat
  CloudShadows = CloudShadows.mat

[MAP2D]
ed_m01.tga
ed_m02.tga

[WORLDPOS]
CAMOUFLAGE = SUMMER
MONTH=1
DECLIN = 50
PRESSURE    = 745
TEMPERATURE =  1

[CUBE]
Down  = Cube_bott.tga
East  = Cube_right.tga
North = Cube_front.tga
South = Cube_back.tga
Up    = Cube_top.tga
West  = Cube_left.tga

[static]
actors.static
[text]
texts.txt

[WOOD]
Wood0      = forest/winter/Wood.tga
Wood1      = forest/winter/Wood2.tga
Wood2      = forest/winter/Wood3.tga
Wood3      = forest/winter/Wood4.tga
Wood4      = forest/winter/Wood5.tga
WoodMask2  = forest/winter/WoodMask.tga
WoodMask3  = forest/winter/WoodMask2.tga
WoodMiniMasks = forest/winter/MiniMask.tga
SideWood   = forest/winter/WoodSide.tga

[APPENDIX]
  HighClouds  = Clouds256.tga
  HighCloudsNoise  = CloudsNoise.tga
//  CloudsMap  = CloudMap4x4km.tga
  Moon = Moon\Moon0000.tga
  ShadeNoise = land/SnowNoise2.tga
  WaterNoise = water/WaterNoise.tga
  WaterNoiseAnimStart = Water/Animated/WaterNoise00.tga
  ForestNoise= forest/summer/ListForestNoise.tga
  BeachFoam  = water/Foam.tga
  BeachSurf  = water/BeachSurf.tga
  BeachLand  = water/RiverLand.tga

  Tree0 = Trees\AlteredBush8a.tga
  TreeLightMask = Trees\LightM256.tga

[WATER]
Water    = water/Water.tga

[ROADS]
Rail     = land/summer/Rail
Road     = land/summer/Road
Highway  = land/summer/Highway

[FIELDS]
LowLand0 = land/winter/LowLand_1.tga,2
LowLand1 = land/winter/LowLand_2.tga
LowLand2 = land/winter/LowLand_2.tga
LowLand3 = land/winter/LowLand_1.tga,2
MidLand0 = land/winter/midland.tga
MidLand1 =
MidLand2 =
MidLand3 =
Mount0   = Italy_DF/land/summer/mount_top2.tga,2
Mount1   =
Mount2   =
Mount3   =
Country0 = land/winter/bigcountry.tga
Country1 = land/winter/LowLand_1.tga,2
Country2 = land/summer/Dcountry.tga
Country3 =
City0    = land/winter/DownCity.tga
City1    = land/winter/MidCity.tga
City2    = land/winter/CenterCity.tga
City3    = land/winter/factory.tga
AirField0= land/winter/airfieldGr.tga
AirField1=
AirField2=
AirField3=
Wood0    = forest/winter/forestGr.tga
Wood1    =
Wood2    = forest/winter/WoodFar.tga
Wood3    =
Water0   = water/water.tga
Water1   = water/water.tga
Water2   = land/winter/LowLand_2.tga
Water3   = water/fields_WaterIceTL.tga


reg
Z


- Guest - 29.05.2009

cheers, thanks mate.
i found the cloud_horizno_tga's - sfs'd from fb_maps10p...sorted. Big Grin 8)


- Baco1170 - 29.05.2009

So, aggain, how do I sue the textures in the ?Tex folder in the maps folder?