Loathing crashes on colormap import

A forum for solving problems that might be encountered during installation, updating, or in game.
Post Reply
User avatar
eyceguy
Posts: 14
Joined: Fri Aug 09, 2013 10:33 pm
Location: Eugene, Oregon

Loathing crashes on colormap import

Post by eyceguy »

Hello again all! I've been trying to dabble in loathing/fear a bit just and have run into this error.
As the title says Loathing crashes when I make a new map and try to import a colormap.

First here are the programs I am using
Loathing 1.8
GIMP 2.8.10

I am saving the image as a 8-bit indexed bmp with 240 indicies. I have also tried 245 and 256 (which I know would cause graphical errors, but I tried it anyhow).

Somehow I feel this error is limited to GIMP because I tried exporting the cmap from gimble and then successfully imported it into a new map. So has anyone had good luck with using GIMP to make color maps?

btw here is the mythlog when loathing crashes

Code: Select all

2014-04-11 00:23:21  loathing running under WinNT ------------------------------------------------------------
\magma\myth2\tools\Myth 2\bitmaps.c, line #733: assert: span_header->span_count>=0
\magma\myth2\tools\Myth 2\bitmaps.c, line #736: vassert: bitmap @05D18748 span @05D26984 #-7711 not in [#0,#27] - span_header->pixel_count>=0 && span_header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #736: vassert: bitmap @05D18748 span @05D1D2EE #15178 not in [#0,#27] - span_header->pixel_count>=0 && span_header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #733: assert: span_header->span_count>=0
\magma\myth2\tools\Myth 2\bitmaps.c, line #736: vassert: bitmap @05D18748 span @05D26A3C #-4115 not in [#0,#27] - span_header->pixel_count>=0 && span_header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #736: vassert: bitmap @05D18748 span @05D219EA #32 not in [#0,#27] - span_header->pixel_count>=0 && span_header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #736: vassert: bitmap @05D18748 span @05D2C626 #31559 not in [#0,#27] - span_header->pixel_count>=0 && span_header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #733: assert: span_header->span_count>=0
\magma\myth2\tools\Myth 2\bitmaps.c, line #736: vassert: bitmap @05D18748 span @05D341D2 #-11389 not in [#0,#27] - span_header->pixel_count>=0 && span_header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #733: assert: span_header->span_count>=0
\magma\myth2\tools\Myth 2\bitmaps.c, line #736: vassert: bitmap @05D18748 span @05D23CAA #26122 not in [#0,#27] - span_header->pixel_count>=0 && span_header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #733: assert: span_header->span_count>=0
\magma\myth2\tools\Myth 2\bitmaps.c, line #736: vassert: bitmap @05D18748 span @05D257BC #-4627 not in [#0,#27] - span_header->pixel_count>=0 && span_header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #736: vassert: bitmap @05D18748 span @05D1FD6C #2586 not in [#0,#27] - span_header->pixel_count>=0 && span_header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #733: assert: span_header->span_count>=0
\magma\myth2\tools\Myth 2\bitmaps.c, line #736: vassert: bitmap @05D18748 span @05D26FF2 #-9767 not in [#0,#27] - span_header->pixel_count>=0 && span_header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #736: vassert: bitmap @05D18748 span @05D1F58C #27723 not in [#0,#27] - span_header->pixel_count>=0 && span_header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #736: vassert: bitmap @05D18748 span @05D3FBB0 #-19770 not in [#0,#27] - span_header->pixel_count>=0 && span_header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #166: assert: header->span_count>=0
\magma\myth2\tools\Myth 2\bitmaps.c, line #167: assert: header->pixel_count>=0 && header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #167: assert: header->pixel_count>=0 && header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #166: assert: header->span_count>=0
\magma\myth2\tools\Myth 2\bitmaps.c, line #167: assert: header->pixel_count>=0 && header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #167: assert: header->pixel_count>=0 && header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #167: assert: header->pixel_count>=0 && header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #166: assert: header->span_count>=0
\magma\myth2\tools\Myth 2\bitmaps.c, line #167: assert: header->pixel_count>=0 && header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #167: assert: header->pixel_count>=0 && header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #166: assert: header->span_count>=0
\magma\myth2\tools\Myth 2\bitmaps.c, line #167: assert: header->pixel_count>=0 && header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #166: assert: header->span_count>=0
\magma\myth2\tools\Myth 2\bitmaps.c, line #167: assert: header->pixel_count>=0 && header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #166: assert: header->span_count>=0
\magma\myth2\tools\Myth 2\bitmaps.c, line #167: assert: header->pixel_count>=0 && header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #167: assert: header->pixel_count>=0 && header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #167: assert: header->pixel_count>=0 && header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #167: assert: header->pixel_count>=0 && header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #167: assert: header->pixel_count>=0 && header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #166: assert: header->span_count>=0
\magma\myth2\tools\Myth 2\bitmaps.c, line #167: assert: header->pixel_count>=0 && header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #167: assert: header->pixel_count>=0 && header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #167: assert: header->pixel_count>=0 && header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #167: assert: header->pixel_count>=0 && header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #167: assert: header->pixel_count>=0 && header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #167: assert: header->pixel_count>=0 && header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #167: assert: header->pixel_count>=0 && header->pixel_count<=bitmap->width
\magma\myth2\tools\Myth 2\bitmaps.c, line #167: assert: header->pixel_count>=0 && header->pixel_count<=bitmap->width
Crashed!
User avatar
Pyro
Bug Finder Extraordinaire
Posts: 4751
Joined: Sun Mar 21, 2004 2:14 pm
Location: Texas

Re: Loathing crashes on colormap import

Post by Pyro »

Can you zip up and attach to your reply the image you are trying to import into Loathing for me to examine?
User avatar
eyceguy
Posts: 14
Joined: Fri Aug 09, 2013 10:33 pm
Location: Eugene, Oregon

Re: Loathing crashes on colormap import

Post by eyceguy »

One color map, indexed to 240 by GIMP.
Also, a side note. I installed GIMP 2.4.7 and had the same error.

Obviously not pretty, I drew this up on paper and scanned it in.... mostly to test an idea.

*edit*
*Removed link cause I deleted the file now that the issue is resolved*
Last edited by eyceguy on Sat Apr 12, 2014 12:47 am, edited 1 time in total.
User avatar
Melekor
Site Admin
Posts: 2449
Joined: Sat May 01, 2004 12:10 am
Contact:

Re: Loathing crashes on colormap import

Post by Melekor »

Your bitmap is RLE compressed; Loathing will only accept uncompressed files.
User avatar
Pyro
Bug Finder Extraordinaire
Posts: 4751
Joined: Sun Mar 21, 2004 2:14 pm
Location: Texas

Re: Loathing crashes on colormap import

Post by Pyro »

Loathing does not crash for me when I try to import it. It does however give me an error and won't allow me to use it claiming Loathing only uses 8 bit images. I installed Gimp 2.8.10 and managed to figure it out. When you export it as a BMP, check the box "Do not write color space information" in Compatibility Options. That let me import the map into Loathing.
User avatar
eyceguy
Posts: 14
Joined: Fri Aug 09, 2013 10:33 pm
Location: Eugene, Oregon

Re: Loathing crashes on colormap import

Post by eyceguy »

Melekor wrote:Your bitmap is RLE compressed; Loathing will only accept uncompressed files.
Odd, I've never had the RLE option checked.
Pyro wrote:When you export it as a BMP, check the box "Do not write color space information" in Compatibility Options.
I did as you said here, but now loathing gives me a new error in the log file and it still crashes

Code: Select all

2014-04-11 15:51:25  loathing running under WinNT ------------------------------------------------------------
\magma\myth2\tools\Myth 2\shapes.c, line #509: assert: header->blend_table
\magma\myth2\tools\Myth 2\shapes.c, line #1132: vassert: summoner: doesn't have a blend table - blend_table
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F78748
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F79754
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F7A6C6
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F7B792
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F7C67A
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F7D6AE
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F7E650
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F7F750
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F8067E
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F816EE
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F82680
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F837CC
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F84700
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F857BC
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F86732
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F8789E
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F887A0
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F89876
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F8A7D8
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F8B960
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F8C858
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F8D912
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F8E878
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F8F9E0
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F908CE
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F91966
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F92A16
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F93B20
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F94B18
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F95B5C
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F96ABE
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F97B68
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F989E4
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F999D0
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F9A8A4
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F9B936
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F9C74E
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F9D6E6
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F9E60A
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02F9F682
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FA0506
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FA1578
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FA2590
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FA36B6
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FA4746
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FA5792
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FA66B0
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FA77A6
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FA874C
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FA973C
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FAA5A4
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FAB696
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FAC58A
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FAD53E
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FAE3DC
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FAF4C0
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FB037A
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FB12D4
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FB228C
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FB3242
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FB418A
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FB50F0
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FB60E0
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FB701E
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FB7FFC
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FB9104
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FBA1DE
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FBB246
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FBC322
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FBD542
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FBE682
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FBF8B6
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FC09DA
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FC1D74
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FC2F0C
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FC4248
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FC541E
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FC66DA
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FC7834
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FC8AEE
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FC9C86
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FCAE2E
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FCBE86
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FCD042
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FCE0AE
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FCEF1C
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FD001E
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FD0F36
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FD1F46
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FD2CAA
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FD3D78
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FD4B30
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FD5ADC
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FD66DE
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FD76CA
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FD8314
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FD915A
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FD9C8E
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FDAB74
\magma\myth2\tools\Myth 2\bitmap_drawing.c, line #2025: vpause: couldn't mirror bitmap @02FDB6DE
\magma\myth2\tools\Loathing\blood_map.c, line #247: assert: bitmap->logical_bit_depth==PIXEL8_BITS
\magma\myth2\tools\Loathing\blood_map.c, line #247: assert: bitmap->logical_bit_depth==PIXEL8_BITS
\magma\myth2\tools\Loathing\blood_map.c, line #247: assert: bitmap->logical_bit_depth==PIXEL8_BITS
\magma\myth2\tools\Loathing\blood_map.c, line #247: assert: bitmap->logical_bit_depth==PIXEL8_BITS
\magma\myth2\tools\Loathing\blood_map.c, line #247: assert: bitmap->logical_bit_depth==PIXEL8_BITS
\magma\myth2\tools\Loathing\blood_map.c, line #247: assert: bitmap->logical_bit_depth==PIXEL8_BITS
\magma\myth2\tools\Loathing\blood_map.c, line #247: assert: bitmap->logical_bit_depth==PIXEL8_BITS
\magma\myth2\tools\Loathing\blood_map.c, line #247: assert: bitmap->logical_bit_depth==PIXEL8_BITS
\magma\myth2\tools\Loathing\blood_map.c, line #247: assert: bitmap->logical_bit_depth==PIXEL8_BITS
\magma\myth2\tools\Loathing\blood_map.c, line #247: assert: bitmap->logical_bit_depth==PIXEL8_BITS
\magma\myth2\tools\Loathing\blood_map.c, line #247: assert: bitmap->logical_bit_depth==PIXEL8_BITS
Crashed!
User avatar
Pyro
Bug Finder Extraordinaire
Posts: 4751
Joined: Sun Mar 21, 2004 2:14 pm
Location: Texas

Re: Loathing crashes on colormap import

Post by Pyro »

What OS are you on and are you sure you uploaded the same file? I was able to import it after I saved it with that option I mentioned.

Are you trying this with an empty local? Maybe some other tags in there are causing some issue. Rename your local if it isn't empty just to see if it changes anything.
User avatar
eyceguy
Posts: 14
Joined: Fri Aug 09, 2013 10:33 pm
Location: Eugene, Oregon

Re: Loathing crashes on colormap import

Post by eyceguy »

Emptying the local folder did it! Thanks for the help!
User avatar
Melekor
Site Admin
Posts: 2449
Joined: Sat May 01, 2004 12:10 am
Contact:

Re: Loathing crashes on colormap import

Post by Melekor »

I wonder if google drive is compressing your bitmap on upload, because there's no way loathing will import that file as it is after downloading.
User avatar
Pyro
Bug Finder Extraordinaire
Posts: 4751
Joined: Sun Mar 21, 2004 2:14 pm
Location: Texas

Re: Loathing crashes on colormap import

Post by Pyro »

Well it wasn't importing. What I'm curious about is what was in his old local folder that made Loathing crash. Maybe he was opening an existing map and trying to replace the color map rather than import it to a new mesh.
User avatar
Melekor
Site Admin
Posts: 2449
Joined: Sat May 01, 2004 12:10 am
Contact:

Re: Loathing crashes on colormap import

Post by Melekor »

He says it worked (i.e., imported) now after emptying the local, but the file he posted should not import at all. It doesn't quite add up.
User avatar
eyceguy
Posts: 14
Joined: Fri Aug 09, 2013 10:33 pm
Location: Eugene, Oregon

Re: Loathing crashes on colormap import

Post by eyceguy »

I should clarify (and probably bring to light another issue).
Upon deleting the local folder *and* checking the Dont Write Color Space it did work.

but I came across another issue which is provided similar problems.
the map name
When I created a new map, if I called it 'summonersmyth' it would crash upon importing the cmap (with or without colorspace option selected)
BUT
if I instead created a new map and called it 'summoners myth' it would work (again with the dont write color space option from above)
User avatar
Pyro
Bug Finder Extraordinaire
Posts: 4751
Joined: Sun Mar 21, 2004 2:14 pm
Location: Texas

Re: Loathing crashes on colormap import

Post by Pyro »

I can reproduce that issue. Interesting find. It turns out to be a collection tag conflict. Due to how Myth and the tools create the tag ID of a collection it can cause this issue.

Myth has a "summoner" collection for The Summoner unit. The tag ID is "summ". When you created a new mesh tag, it creates a matching collection tag with the same name and ID. So "summonersmyth" or any variation of "summ..." that has no space in the name will create the "summ" ID. So when you tried to import a color map, it conflicted with the collection tag already using that ID. These conflicts usually aren't an issue for most tag types as the tool will alter the ID to prevent conflicts. Loathing's way of making collection tags however is different as its based on matching mesh and collection tags.

I guess this error never got noticed due to the typical naming scheme of mesh tags containing numbers in front. That made them less likely to conflict with a default tag. If the map is a single player map and you want it to be playable without having to hold Shift to load it up, add 01 in front. There are other numbers if you prefer the text to be a different color: 101, 201, 301, etc. Even if your map is just one, adding a number couldn't hurt.
Post Reply