I have just created my second basic mod today which involved changing sailable.bmp, coastlines.bmp and travel_nodes.bmp in order to make the Bering straights sailable and the Sea of Labrador. when i try to load up the mod it displays an error box saying:
"ERROR : 'Abort : 'Error reading bitmap'
..\..\contrib\systemIV\lib\resource\bitmap.cpp
line number 238'"
it then says there has been a runtime error and that the program has requested the runtime to end it in an unusual way. I gues, from my tiny programming knowledge, that it has returned something other than 0 to the main function.
I dont know where this source file is stored and i dont know if its my fault in what i did to the images, i did add 7 extra nodes to the travel_nodes.bmp. also another mod i made earlier, changing the territory of europe, works perfectly so i think its my fault with the images. I just want to know if there's an obvious trap i might of fallen into, or if i need to tweak something to make this work.
Thnx v. much for ur help
Yan
---------------------------------
"You will be baked, and then there will be cake" - GlaDOS
ERROR : 'Abort : 'Error reading bitmap'
Moderator: Defcon moderators
- frenchfrog
- level5

- Posts: 2572
- Joined: Sun Sep 22, 2002 7:11 pm
- Location: Quebec
I tried saving it with paint but that didn't help; i tried isolating the problem by leaving only sailable.bmp in there and taking out travel_nodes.bmp as a friend had done this successfully; i tried changing the name of the folder but it gave a "write-protect error", this same error also prevented me from deleting any files within the folder. The same error still appears about line 238 of bitmap.cpp. perhaps if i could find that file i could understand which part is causing the error. if any1 knows where it is pls tell.
----------------------
"I would have invited your friend companion cube, but he couldn't come because you MURDERED him" - GlaDOS
----------------------
"I would have invited your friend companion cube, but he couldn't come because you MURDERED him" - GlaDOS
- NeoThermic
- Introversion Staff

- Posts: 6256
- Joined: Sat Mar 02, 2002 10:55 am
- Location: ::1
- Contact:
You won't find that file because the source to Defcon is not included with Defcon for obvious reasons
Anyway, All that is happening here is that you're passing a bitmap with an invalid bit depth. The game will accept 4bit, 8bit and 24bit bitmaps. If you're sure that the bitmap is one of those bit depths, then make sure it's not somehow damaged.
NeoThermic
Anyway, All that is happening here is that you're passing a bitmap with an invalid bit depth. The game will accept 4bit, 8bit and 24bit bitmaps. If you're sure that the bitmap is one of those bit depths, then make sure it's not somehow damaged.
NeoThermic
Thnx
Yeah, i figured i probs wudn't find the file coz its part of the source code, and i'll check the bitmap depth, thanks for that neothermic.
- NeoThermic
- Introversion Staff

- Posts: 6256
- Joined: Sat Mar 02, 2002 10:55 am
- Location: ::1
- Contact:
Who is online
Users browsing this forum: No registered users and 1 guest


