| View previous topic :: View next topic |
| Author |
Message |
K1n9_Duk3 Vortininja

Joined: 25 Aug 2008 Posts: 277 Location: Germany
|
Posted: Wed Jan 12, 2011 23:45 Post subject: Map viewer for "Catacomb 2/The Catacomb" |
|
|
I was a little bored today, so I had a closer look at the level files from Catacomb 2 (aka The Catacomb) and came up with a small tool to view the levels (and find all those secret passages).
I couldn't find any information on this game and its level format on the ModdingWiki, but it turned out to be pretty easy.
If anyone is interested in this, just let me know. I might even end up extendig it to a level editor. _________________ Hail to the K1n9, baby! |
|
| Back to top |
|
 |
CKeen Vorticon Elite
Joined: 08 May 2009 Posts: 706 Location: Everywhere.
|
Posted: Thu Jan 13, 2011 0:09 Post subject: |
|
|
It isn't my favourite game, but this is certainly interesting. You should upload what you've done so far and see if there's already a level editor around, just in case. _________________
| Paramultart wrote: | | Scarlet wrote: |
Ckeen, that is just your opinion. |
You can't tell CKeen that. He is always right. |
|
|
| Back to top |
|
 |
Malvineous Shikadi Webmaster

Joined: 31 Oct 2007 Posts: 248 Location: Brisbane, Australia
|
Posted: Thu Jan 13, 2011 2:34 Post subject: |
|
|
Please update the ModdingWiki with your discoveries!  _________________ [ KeenWiki | ModdingWiki | Camoto ] |
|
| Back to top |
|
 |
K1n9_Duk3 Vortininja

Joined: 25 Aug 2008 Posts: 277 Location: Germany
|
Posted: Thu Jan 13, 2011 8:56 Post subject: |
|
|
Okay, this is what I've done so far:
Version 1.0
Version 2.0
All levels are 64x64 Tiles with each tile being 8x8 Pixels. The first four bytes (DWORD) in the level file is the uncompressed size (always 0x00001000) and the rest of the file are RLE-compressed byte values. The levels only use one plane.
Screenshot from v1.0 (Level1):
Edit: Version 2.0 can read both the EGACHARS.CA2 and CGACHARS.CA2, so it doesn't need the tiles pic I included in Version 1.0. It will look for the graphics files in the folder of the level file you are trying to view. EGA is the first choice. If it can't be read, the program tries to load the CGA file. _________________ Hail to the K1n9, baby! |
|
| Back to top |
|
 |
Levellass S-Triazine

Joined: 23 Sep 2008 Posts: 2681
|
Posted: Fri Jan 14, 2011 0:19 Post subject: |
|
|
Awesome. I had the graphics and level formats mostly covered, but this is brilliant! _________________ What you really need, not what you think you ought to want. |
|
| Back to top |
|
 |
K1n9_Duk3 Vortininja

Joined: 25 Aug 2008 Posts: 277 Location: Germany
|
Posted: Fri Jan 14, 2011 1:53 Post subject: |
|
|
I just finished my work on the *GAPICS file format. Now I can export all the graphics used by the game (CGA and EGA versions) to PNG files. _________________ Hail to the K1n9, baby! |
|
| Back to top |
|
 |
Calvero Vortininja
Joined: 29 Jan 2008 Posts: 55
|
Posted: Fri Jan 14, 2011 21:46 Post subject: |
|
|
| There are maps of Catacomb 1 & 2 are on VGMaps.com. |
|
| Back to top |
|
 |
K1n9_Duk3 Vortininja

Joined: 25 Aug 2008 Posts: 277 Location: Germany
|
Posted: Sat Jan 15, 2011 1:30 Post subject: |
|
|
Nice. Looks like Catacomb 2 is really just an extended version of the first game. And yes, I basically don't know anything about Catacomb 1 and it's data files. Haven't found that game anywhere. Yet.
By the way, I noticed a number of errors in the ModdingWiki pages dealing with the EGAPICS format (DDiCI Graphics). I'm willing to send anyone what I've found out, but I won't be adding stuff to the wiki, since I can't afford to spend that much time online. _________________ Hail to the K1n9, baby! |
|
| Back to top |
|
 |
Malvineous Shikadi Webmaster

Joined: 31 Oct 2007 Posts: 248 Location: Brisbane, Australia
|
Posted: Sat Jan 15, 2011 1:56 Post subject: |
|
|
If you have to, just put whatever you've found out on the discussion/talk page. We'll eventually go through and sort it out and update the articles accordingly.
Any information is better than nothing at all  _________________ [ KeenWiki | ModdingWiki | Camoto ] |
|
| Back to top |
|
 |
Levellass S-Triazine

Joined: 23 Sep 2008 Posts: 2681
|
Posted: Sat Jan 15, 2011 3:59 Post subject: |
|
|
I did DDiCI and yeah, it's... shall we say poorly done? I've been meaning to correct it, but never got around to it for similar reasons to you.
| Quote: | | I just finished my work on the *GAPICS file format. Now I can export all the graphics used by the game (CGA and EGA versions) to PNG files. |
*Doffs hat* Sir, you have my respect. _________________ What you really need, not what you think you ought to want. |
|
| Back to top |
|
 |
Calvero Vortininja
Joined: 29 Jan 2008 Posts: 55
|
Posted: Sat Jan 15, 2011 21:24 Post subject: |
|
|
| K1n9_Duk3 wrote: | | Nice. Looks like Catacomb 2 is really just an extended version of the first game. And yes, I basically don't know anything about Catacomb 1 and it's data files. Haven't found that game anywhere. Yet. |
Catacomb 1 is freeware and it's available on the Gamer's Edge Sampler disk, which also contains Dangerous Dave 1 and some hidden Keen 1 beta files.
There's also a different version of Catacomb 1 that has more messages appearing in the levels about its publisher Verbatim Corporation. I think the exe-file is identical in both versions, just the level-files are a bit different. |
|
| Back to top |
|
 |
K1n9_Duk3 Vortininja

Joined: 25 Aug 2008 Posts: 277 Location: Germany
|
Posted: Sun Jan 16, 2011 1:47 Post subject: |
|
|
Thanks for the info. I'll have a look at the files an see if there are any differences Other than the "missing" graphics files (I suppose they are included in the executable).
Edit: Looks like a level editor was supposed to be included in Catacomb 2 already...
(I ripped that image from the .EXE because I died right in front of the exit of the last level when I tried to play through the game.) _________________ Hail to the K1n9, baby! |
|
| Back to top |
|
 |
K1n9_Duk3 Vortininja

Joined: 25 Aug 2008 Posts: 277 Location: Germany
|
Posted: Wed Jan 19, 2011 13:02 Post subject: |
|
|
Okay, I think it's time to double-post (sorry )
I updated the viewer to Version 2.1! (alternate link)
New features:
- can read tile graphics from the CATACOMB.EXE (Catacomb 1) as long as you UNLZEXE it first
- you can now drag a level file onto the executable (or pass the filename as command-line parameter) to directly load a level
- pressing F1 calculates level statistics (number of potions, doors, keys, enemies etc.)
- pressing F2 let's the viewer mark all the places the player can reach from the start of the level while still being able to reach an exit
The last part is a pretty neat feature for a level editor, as you don't need to playtest that much. It will even tell you in which order you need to open the doors, so you don't get stuck. This is a great help for some levels in Catacomb 1. If there are multiple ways to get through the level (in terms of which doors to open or ignore), pressing F2 again will cycle through all of them. They're only calculated once, because the map can't be changed in this viewer.
Edit: Added an alternate link since fucling ohost is down again  _________________ Hail to the K1n9, baby! |
|
| Back to top |
|
 |
RoboBlue It's that one guy.

Joined: 23 Apr 2008 Posts: 855
|
Posted: Wed Jan 19, 2011 13:27 Post subject: |
|
|
I've never heard of catacomb, but I looked it up on youtube and found this: http://www.youtube.com/watch?v=jsqIW_xvdrk
That music, load screen, and menu seem very familiar... _________________
 |
|
| Back to top |
|
 |
K1n9_Duk3 Vortininja

Joined: 25 Aug 2008 Posts: 277 Location: Germany
|
Posted: Wed Jan 19, 2011 15:15 Post subject: |
|
|
Oh, you are showing me a video that I uploaded to YouTube. Nice!
Indeed, Catacomb 3-D is almost exacly the same, except that you have the 3D view and can rotate to any degree, not just north, east, south & west. But that has nothing to do with the Level viewer I wrote... _________________ Hail to the K1n9, baby! |
|
| Back to top |
|
 |
|