Requeriments from the height in the map editor? (Full Version)

All Forums >> [New Releases from Matrix Games] >> Close Combat – The Bloody First >> Close Combat The Bloody First - Modding



Message


Nomada_Firefox -> Requeriments from the height in the map editor? (4/4/2020 7:59:24 AM)

I have a friend with problems with the map editor. When he loads the height map in the correct size, the map editor crashes. What requirements have these files in addition to the size?




SteveMcClaire -> RE: Requeriments from the height in the map editor? (4/5/2020 6:11:52 PM)

Internally it uses a DirectX call that should work with bmp, dds, jpg, png, or tga format. For best results I'd recommend the same format the game uses to save (32 bit BMP A8R8B8G8)





PipFromSlitherine -> RE: Requeriments from the height in the map editor? (4/5/2020 8:49:12 PM)

What is the error message, or is it a real crash?

Cheers

Pip




Nomada_Firefox -> RE: Requeriments from the height in the map editor? (4/6/2020 7:45:45 AM)


quote:

ORIGINAL: PipFromSlitherine

What is the error message, or is it a real crash?

Cheers

Pip


It is a crash to desktop, a real crash. I do not think that it be a problem from from bmp format. Is there logs from the map editor?




DAK_Legion -> RE: Requeriments from the height in the map editor? (4/6/2020 10:16:53 AM)

Hi everyone!
the problem is mine, first I read my texture correctly in the editor, you can see a few maps that I have in process, I perform the save of an empty height to know the correct size, I always put the same measurement for my 4096x4096 maps so the empty height is always 257x257, my height has previously been extracted with 5CC so I modify it with the correct size in Photoshop and save it in 32-bit .BMP but when loading it in the editor it explodes, no error message appears. When I reopen the editor I get a message that I attach ...
Thanks for your time.


[image]local://upfiles/30581/B32E3FC45E79475A9D1915DF82B69014.jpg[/image]




DesertFox67 -> RE: Requeriments from the height in the map editor? (4/6/2020 1:56:50 PM)

Mine doesn't crash. I can't get the height map to load. Keeps telling me wrong size and I have it configured to same size as dds map. Have about 80 maps from cc4 I can work on. So I have chose some flat areas for now.




PipFromSlitherine -> RE: Requeriments from the height in the map editor? (4/6/2020 3:11:48 PM)

The height map needs to be (256 * mapWidth) + 1 by (256 * mapHeight) + 1 (where mapWidth and Height can be 1 or 2). A BMP should work fine, so that is very odd - perhaps check it is not compressed in case that causes issues with the DX loading code. Our debug logging system is down for maintenance at the moment and so there is a delay in my getting the logs, so if you wish to post an error log to the forum that will likely speed up fixing the issue.

Cheers

Pip




SchnelleMeyer -> RE: Requeriments from the height in the map editor? (4/6/2020 3:43:34 PM)

I tried with a heightmap bmp that the editor itself made and it still crashes on trying to load it back in.




PipFromSlitherine -> RE: Requeriments from the height in the map editor? (4/6/2020 8:20:57 PM)

I can't repeat any of the issues you guys are having, but I will keep looking. Thanks!

Cheers

Pip




SchnelleMeyer -> RE: Requeriments from the height in the map editor? (4/7/2020 6:34:51 PM)

Strange Pip, I cant load any type of HM in the editor without it exiting immediately. - It also quits on saving a HM. The hm is saved, but the editor exits.




Nomada_Firefox -> RE: Requeriments from the height in the map editor? (4/7/2020 7:34:13 PM)

I can load them but I did not understand the explanation from Pip.[8|]




PipFromSlitherine -> RE: Requeriments from the height in the map editor? (4/7/2020 7:51:55 PM)

I will keep looking guys. None of the editor crash logs I am getting have any stack trace, which makes it less helpful. If any of your error logs have the string "starting debugger" in them, that would be very helpful. Not sure why it is working for some but not others.

Cheers

Pip




PipFromSlitherine -> RE: Requeriments from the height in the map editor? (4/7/2020 8:16:36 PM)

If you are having issues, please try out this debug EXE and let me have the error logs if you see a crash. If you don't see a crash, but don't get the results you expect, then please post the logs as well as it will tell me where it is failing.

https://www.dropbox.com/s/6jvijkxcxh3259d/CC_TBF_Editor_debug0001.zip?dl=0

Cheers

Pip




SchnelleMeyer -> RE: Requeriments from the height in the map editor? (4/7/2020 9:22:01 PM)

Error log on trying to load a HM that was produced from the editor.
20200407_231748
VER:100 : 10001
PLATFORM: WINDOWS
LANG:
WinVer:10.0.18362.329
0: NVIDIA GeForce GTX 1080
Memory Load:11% TotalPhys:32690 FreePhys:29028
CPU String: GenuineIntel
Stepping ID = 10
Model = 14
Family = 6
Extended model = 9
CLFLUSH cache line size = 64
APIC Physical ID = 6
CPU Brand String: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
Cache Size = 256K
$$Editor$$
Found DirectX Version Number: 4.09.00.0904
Creating Device.....
MonkeyInitStart
MonkeyInitStart Is Windowed
MIS: Found DD
MIS: IsHW
MIS: SetCoop
MIS: Done Init 3D Device
MIS: Tex Enum
MIS: SDRS
MIS: Init Decal Render
** EDITOR **
TS: Start
TS: IAPSent
TS: UILoaded
Couldn't initialise sound driver - sound card already in use
INITIAL LOAD 3445
TS: CC Engine Loaded
TS: BattleObj
TS: Managers
TS: BFBB
TS: LT
TS: InitDLUI
TS: Messages
TS: Ended
Starting map:
Memory Load:12% TotalPhys:32690 FreePhys:28449
VOLUME TEXTURE: DATA/LIGHTING/normandy_DAY_CLUT.DDS
WARNING: * Game state has NULL parent campaign. *
Memory Load:13% TotalPhys:32690 FreePhys:28431
Memory Load:13% TotalPhys:32690 FreePhys:28389
Playing as: 0
WARNING: LoadS4FMesh:: Bad index data in walkable_area in file DATA/BATTLE/MODELS/Ital 1stry Bldg 03.s4f
EdLoadHeightFromTexture::Start
RESET
Starting map:
Memory Load:12% TotalPhys:32690 FreePhys:28533
WARNING: * Game state has NULL parent campaign. *
Memory Load:12% TotalPhys:32690 FreePhys:28508
Memory Load:12% TotalPhys:32690 FreePhys:28488
Playing as: 0
EdLoadHeightFromTexture::Start
M: 0,0
M: 1,0
M: 0,1
M: 1,1




SchnelleMeyer -> RE: Requeriments from the height in the map editor? (4/7/2020 9:26:56 PM)

Error log from Editor exit on trying to save a HM.

20200407_232306
VER:100 : 10001
PLATFORM: WINDOWS
LANG:
WinVer:10.0.18362.329
0: NVIDIA GeForce GTX 1080
Memory Load:11% TotalPhys:32690 FreePhys:29032
CPU String: GenuineIntel
Stepping ID = 10
Model = 14
Family = 6
Extended model = 9
CLFLUSH cache line size = 64
APIC Physical ID = 2
CPU Brand String: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
Cache Size = 256K
$$Editor$$
Found DirectX Version Number: 4.09.00.0904
PLATFORM: WINDOWS
Creating Device.....
MonkeyInitStart
MonkeyInitStart Is Windowed
MIS: Found DD
MIS: IsHW
MIS: SetCoop
MIS: Done Init 3D Device
MIS: Tex Enum
MIS: SDRS
MIS: Init Decal Render
** EDITOR **
TS: Start
TS: IAPSent
TS: UILoaded
Couldn't initialise sound driver - sound card already in use
INITIAL LOAD 1812
TS: CC Engine Loaded
TS: BattleObj
TS: Managers
TS: BFBB
TS: LT
TS: InitDLUI
TS: Messages
TS: Ended
Starting map:
Memory Load:12% TotalPhys:32690 FreePhys:28606
VOLUME TEXTURE: DATA/LIGHTING/normandy_DAY_CLUT.DDS
WARNING: * Game state has NULL parent campaign. *
Memory Load:12% TotalPhys:32690 FreePhys:28587
Memory Load:12% TotalPhys:32690 FreePhys:28561
Playing as: 0
WARNING: LoadS4FMesh:: Bad index data in walkable_area in file DATA/BATTLE/MODELS/Ital 1stry Bldg 03.s4f
RESET
Starting map: C:\Program Files (x86)\Slitherine\Close Combat The Bloody First\Campaigns\MAIN\DATA\MAPS\Djebelkeddab.ccm
Memory Load:12% TotalPhys:32690 FreePhys:28553
WARNING: * Game state has NULL parent campaign. *
Memory Load:12% TotalPhys:32690 FreePhys:28543
Memory Load:12% TotalPhys:32690 FreePhys:28486
Playing as: 0




SchnelleMeyer -> RE: Requeriments from the height in the map editor? (4/7/2020 9:29:27 PM)

Another one from trying to load HM from stock maps.

20200407_232729
VER:100 : 10001
PLATFORM: WINDOWS
LANG:
WinVer:10.0.18362.329
0: NVIDIA GeForce GTX 1080
Memory Load:11% TotalPhys:32690 FreePhys:28973
CPU String: GenuineIntel
Stepping ID = 10
Model = 14
Family = 6
Extended model = 9
CLFLUSH cache line size = 64
APIC Physical ID = 2
CPU Brand String: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
Cache Size = 256K
$$Editor$$
Found DirectX Version Number: 4.09.00.0904
PLATFORM: WINDOWS
Creating Device.....
MonkeyInitStart
MonkeyInitStart Is Windowed
MIS: Found DD
MIS: IsHW
MIS: SetCoop
MIS: Done Init 3D Device
MIS: Tex Enum
MIS: SDRS
MIS: Init Decal Render
** EDITOR **
TS: Start
TS: IAPSent
TS: UILoaded
Couldn't initialise sound driver - sound card already in use
INITIAL LOAD 1725
TS: CC Engine Loaded
TS: BattleObj
TS: Managers
TS: BFBB
TS: LT
TS: InitDLUI
TS: Messages
TS: Ended
Starting map:
Memory Load:12% TotalPhys:32690 FreePhys:28573
VOLUME TEXTURE: DATA/LIGHTING/normandy_DAY_CLUT.DDS
WARNING: * Game state has NULL parent campaign. *
Memory Load:12% TotalPhys:32690 FreePhys:28558
Memory Load:12% TotalPhys:32690 FreePhys:28523
Playing as: 0
RESET
Starting map:
Memory Load:12% TotalPhys:32690 FreePhys:28471
WARNING: * Game state has NULL parent campaign. *
Memory Load:12% TotalPhys:32690 FreePhys:28455
Memory Load:13% TotalPhys:32690 FreePhys:28429
Playing as: 0
EdLoadHeightFromTexture::Start
M: 0,0
M: 1,0




PipFromSlitherine -> RE: Requeriments from the height in the map editor? (4/7/2020 9:42:50 PM)

Thanks. I will review. I will also add debugging to the saving to try and help find this issue.

Cheers

Pip




PipFromSlitherine -> RE: Requeriments from the height in the map editor? (4/7/2020 9:57:45 PM)

Can you please give this version a try for me. Thanks!

https://www.dropbox.com/s/lz1wwllemwohsvj/CC_TBF_Editor_debug0002.zip?dl=0

Cheers

Pip




SchnelleMeyer -> RE: Requeriments from the height in the map editor? (4/7/2020 10:22:16 PM)

Thanks PIP! - With this version it loads and saves correctly as far as I can tell.




PipFromSlitherine -> RE: Requeriments from the height in the map editor? (4/8/2020 3:25:20 PM)

Thanks a lot. It was an object which got changed and was being released incorrectly, but for some reason wasn't causing any issues on our machines. Thanks for you help. The debug EXE is fine to use until a new drop can be done.

Cheers

Pip




SchnelleMeyer -> RE: Requeriments from the height in the map editor? (4/8/2020 5:04:41 PM)

Great job correcting this issue so quickly[&o] Looking forward to play with the editor now.




Nomada_Firefox -> RE: Requeriments from the height in the map editor? (4/9/2020 7:54:57 AM)

Great news. It proofs how the problems must be shared if you want a fix.;)




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.640625