DUKE NUKEM II LEVEL EDITOR (and other stuff)

Discuss classic and favorite computer or console games here.
User avatar
K1n9_Duk3
Vorticon Elite
Posts: 539
Joined: Mon Aug 25, 2008 9:30
Location: Germany
Contact:

DUKE NUKEM II LEVEL EDITOR (and other stuff)

Post by K1n9_Duk3 » Sat Jan 29, 2011 18:15

Hi there. I've been working on a Level Viewers for Cosmo's Cosmic Adventure, Duke Nukem and Duke Nukem II, based on the information that can be found on the ModdingWiki pages.

Links:
K1n9_Duk3's Enormous Tool (a.k.a. Duke2Edit)

Level viewers for Duke1, Cosmo and other games

Original post:

I'm basically done with the major stuff, I just need to figure out the mapping from ActorTypes to the in-game sprites. Right now, it looks like this (E1L1):
Image
All the images are read from the Cosmo data files, except for the little squares with Hex-digits in them.
Last edited by K1n9_Duk3 on Sat Nov 05, 2016 22:19, edited 9 times in total.
Hail to the K1n9, baby!
http://k1n9duk3.shikadi.net

mortimer
Blistering Barnacles
Posts: 572
Joined: Sun Oct 18, 2009 13:19
Location: Marlinspike Hall

Post by mortimer » Sat Jan 29, 2011 18:31

Great, I loved this strange little game :)
Billions of blue blistering barnacles in a thousand thundering typhoons!

User avatar
tulip
Flower Pot
Posts: 2520
Joined: Thu Aug 21, 2008 12:50
Location: Hamburg, Germany
Contact:

Post by tulip » Sun Jan 30, 2011 1:39

oh man oh man, you're on a roll here.

Anyway that is a thing I'll definetly use.
Image You crack me up little buddy!

User avatar
Roobar
Vorticon Elite
Posts: 2932
Joined: Tue Jan 08, 2008 16:12

Post by Roobar » Sun Jan 30, 2011 8:11

Keen Cosmo mod? :p

User avatar
K1n9_Duk3
Vorticon Elite
Posts: 539
Joined: Mon Aug 25, 2008 9:30
Location: Germany
Contact:

Post by K1n9_Duk3 » Sun Jan 30, 2011 11:10

tulip wrote:oh man oh man, you're on a roll here.
Yes. And I didn't even post anything about my Duke Dukem 1 level viewer.
Hail to the K1n9, baby!
http://k1n9duk3.shikadi.net

User avatar
DHeadshot
Vorticon Elite
Posts: 1874
Joined: Fri Aug 14, 2009 10:21
Location: UK
Contact:

Post by DHeadshot » Sun Jan 30, 2011 13:04

Duke Dukem? :confused
Cereal Board!
Deltamatic wrote:Prepositions are things I end sentences with.
(Cereal wiki has sadly died)

Calvero
Vortininja
Posts: 87
Joined: Tue Jan 29, 2008 15:31

Post by Calvero » Sun Jan 30, 2011 13:54

There are already two Cosmo level editors for DOS available, but one for Windows or Linux would be nice.

maps

User avatar
K1n9_Duk3
Vorticon Elite
Posts: 539
Joined: Mon Aug 25, 2008 9:30
Location: Germany
Contact:

Post by K1n9_Duk3 » Sun Jan 30, 2011 19:49

DHeadshot wrote:Duke Dukem? :confused
You don't know him? He's Dangerous Nave's arch rival! just kidding
Hail to the K1n9, baby!
http://k1n9duk3.shikadi.net

User avatar
K1n9_Duk3
Vorticon Elite
Posts: 539
Joined: Mon Aug 25, 2008 9:30
Location: Germany
Contact:

Post by K1n9_Duk3 » Tue Feb 01, 2011 0:50

Sorry for double-posting (again). I've just uploaded a first version of the level viewer (see first post for the link). It's a Win32 program written in BlitzMax, so you should have no problems running it if you were able to run KEENGINE or the catacomb level viewer I uploaded earlier.

I'm not sure if i'll be adding some map editing capabilities later...
Hail to the K1n9, baby!
http://k1n9duk3.shikadi.net

User avatar
Levellass
S-Triazine
Posts: 5261
Joined: Tue Sep 23, 2008 6:40

Post by Levellass » Thu Feb 03, 2011 3:57

Looks excellent, will it handle Duke Dukem 2 levels as well?
What you really need, not what you think you ought to want.

User avatar
K1n9_Duk3
Vorticon Elite
Posts: 539
Joined: Mon Aug 25, 2008 9:30
Location: Germany
Contact:

Post by K1n9_Duk3 » Thu Feb 03, 2011 14:25

Levellass wrote:Looks excellent, will it handle Duke Dukem 2 levels as well?
This program will probably never handle those files, as I'm kepping everythis really simple. Handling multiple formats would require some GUI code to select which format you're going to load. But I'll probably create a Duke Nukem 2 level viewer at some point. I already looked at the format of the Nukem2 files and was able to extract most of the image data (backdrops, CZones ect.) and save it to PNG files. The layout of the map looks a bit complicated, but I'll try to write some code for it.

Over the last few days, I've been working on a Keen Galaxy level viewer that will export all differend map planes as PNG images to make the creation of maps for the keenwiki a bit easier. I already exported all levels from all three episodes of TUIT... :crazy
Hail to the K1n9, baby!
http://k1n9duk3.shikadi.net

User avatar
Levellass
S-Triazine
Posts: 5261
Joined: Tue Sep 23, 2008 6:40

Post by Levellass » Fri Feb 04, 2011 3:23

But surely they're not diferent formats are they? Aren't they based on the same kind of graphics and layout? Certainly I can't say there's been too much trouble for me deciding between different formats, there are usually tells.
What you really need, not what you think you ought to want.

User avatar
K1n9_Duk3
Vorticon Elite
Posts: 539
Joined: Mon Aug 25, 2008 9:30
Location: Germany
Contact:

Post by K1n9_Duk3 » Fri Feb 04, 2011 10:43

Levellass wrote:But surely they're not diferent formats are they?
Well, Cosmo only has one tileset consisting of 3 files (masked tiles, unmasked tiles and tileinfo) while the Duke2 CZones contain all that in a single file. And Consmo refers to music and backdrops by index, Duke2 stores strings in the level files.
Hail to the K1n9, baby!
http://k1n9duk3.shikadi.net

User avatar
K1n9_Duk3
Vorticon Elite
Posts: 539
Joined: Mon Aug 25, 2008 9:30
Location: Germany
Contact:

Post by K1n9_Duk3 » Sun Feb 20, 2011 18:40

I just wanted to inform anyone who's interested that I got a map viewer for Duke Nukem II done and will probably be releasing it some time next week.

Also, I figured out what the "unknown" data in Duke2 and Cosmo levels contains. So I know basically everything about the map format of these two games now.
Hail to the K1n9, baby!
http://k1n9duk3.shikadi.net

User avatar
Nospike
Keen Minecrafter
Posts: 1308
Joined: Tue Mar 30, 2010 13:56
Location: Carlsbad, Czech Republic

Post by Nospike » Sun Feb 20, 2011 18:55

Does that mean we can have level editors now?
It just might be done someday. The chance is always there.

Post Reply