Author
|
Comment
|
Snaily
Messie
Posts: 815
(5/3/03 1:32 pm)
Reply
|
Keen 1 random maze generator
Download it here (~500k). Run it in a command prompt without arguments to see options. This is based on Andrews article in the CK Newsletter about the level file format. It might very well be extremely buggy, but hey, I finished it three minutes ago...
________
¨@_ |
Retodon8
Vortininja
Posts: 100
(5/3/03 1:38 pm)
Reply
|
Re: Keen 1 random maze generator
Under Windows 2000, it says:
"This program cannot be run in DOS mode."
I put it in an empty folder somewhere.
Retodon8
You live, you die, you are remembered, you are forgotten. |
Snaily
Messie
Posts: 816
(5/3/03 2:31 pm)
Reply
|
Re: Keen 1 random maze generator
Umm... it's not supposed to be ran in DOS mode, just in a DOS prompt - such as the one you get when you go Start>Run>cmd. And no, it doesn't have to be in a specific folder.
________
¨@_ |
Retodon8
Vortininja
Posts: 102
(5/3/03 2:43 pm)
Reply
|
Re: Keen 1 random maze generator
I thought maybe it had to be in the Keen 1 folder.
I ran the executable by double-clicking it, but it closed so fast, without generating a file, I couldn't read any messages.
I then did a "Windows + R" with "cmd" and typed keenmaze, and managed to read the message above, but no file generated.
So I wasn't running in DOS mode.
Retodon8
You live, you die, you are remembered, you are forgotten. |
Snaily
Messie
Posts: 817
(5/3/03 2:51 pm)
Reply
|
Re: Keen 1 random maze generator
OK, sorry. I accidentally uploaded it as ASCII. Give me a few minutes, then redownload.
________
¨@_ |
Xtraverse
Stranded Fish
Posts: 2104
(5/3/03 4:10 pm)
Reply
|
Re: Keen 1 random maze generator
It's been generating a maze for the last five minutes..how long should it take?
EDIT: Now it finished, but it took 15-20 minutes.
Edited by: Xtraverse at: 5/3/03 4:39:54 pm
|
Xtraverse
Stranded Fish
Posts: 2106
(5/3/03 5:03 pm)
Reply
|
Re: Keen 1 random maze generator
Oops, I guess I shouldn't have put 40 and 60 for the x and y :/
Well I remade one using 8 and 6, and I have to say, that's really cool. My suggestions: add points, background stuff, and enemies. Also, you should make it smarter in where it places the exit.
|
Snaily
Messie
Posts: 818
(5/3/03 5:36 pm)
Reply
|
Re: Keen 1 random maze generator
I know... I am not using the most efficient data structures nor algorithm. But you seldom want a THAT big maze, do you?
As for the point and such; I have thought about it, but I cant figure out a way to do it in a nice way...
________
¨@_ |
Yowza
Grunt
Posts: 21
(5/4/03 8:14 am)
Reply
|
Re: Keen 1 random maze generator
Nice
BTW, what exactly does the -s do?
|
Snaily
Messie
Posts: 819
(5/4/03 8:37 am)
Reply
|
Re: Keen 1 random maze generator
It seeds the randomizer. You'll get different mazes depending on what you put there, and you can also share the numbers with others...
________
¨@_ |
KeenRush
Garg
Posts: 3263
(5/4/03 12:25 pm)
Reply
|
Re: Keen 1 random maze generator
Hmmm, it runs and seems that it makes something but then there's nothing different.
Am I too stupid to use this, how and what I exactly need to type?
Greetings from Bloogton Tower! |
Snaily
Messie
Posts: 821
(5/4/03 8:17 pm)
Reply
|
Re: Keen 1 random maze generator
Open up your command prompt, change to th directory where you put keenmaze.exe and type
keenmaze.exe -oLEVEL01.CK1 -x10 -y10
Wait for the program to finish, and then put the generated level file in place of the original. Run Keen.
________
¨@_ |
KeenRush
Garg
Posts: 3270
(5/5/03 2:40 pm)
Reply
|
Re: Keen 1 random maze generator
Thanks..
Well, very nice prog! It would be nice to see future versions with candy and enemies.. Good job!
Greetings from Bloogton Tower! |
Snaily
Messie
Posts: 823
(5/5/03 8:37 pm)
Reply
|
Re: Keen 1 random maze generator
Actually, due to a bug it is possible, if you are (un)lucky, to meet some enemies in the levels. I don't clear memory before I dump it, so there could be some residue interpreted by Keen as enemies... Just so you know.
________
¨@_ |
Grelphy
Vortininja
Posts: 276
(5/5/03 8:59 pm)
Reply
|
Re: Keen 1 random maze generator
I have a question. It took me about 10 seconds to make a maze 10x10. It took much longer to make a level 50x50. (Actually, I didn't give it time to finish =P)
What gives?
(insignifigant suggestion for points-put some point items in each dead end.)
You and all those other mental wimps deserve to die!
-Mortimer Mcmire in Commander Keen 3
|
Snaily
Messie
Posts: 824
(5/6/03 7:43 pm)
Reply
|
Re: Keen 1 random maze generator
First of all, 50x50 is 25 times bigger than 10x10. Second, the type of algorithm I'm using isn't the most efficient (Depth-first search, see www.mazeworks.com/mazegen/maze_faq if you're interested) since it works with a lot of backtracking which is a bigger problem in larger mazes.
Points in dead ends sounds lika a good idea... but to implement it is kind of difficult...
________
¨@_ |
XkyRauh2001
Mortimer's Right Hand Man
Posts: 544
(5/6/03 9:02 pm)
Reply
|
gah!
point-valued item at the dead-ends in mazes is evil... pure evil. some people who play games try to collect each and every possible point in a level... and having to navigate a maze numerous times just to hunt down a few balloons/lollipops is EVIL!
but if that's how you want it, fine :-P
--Xky
|
Forge315
Grand Intellect
Posts: 1446
(5/6/03 11:36 pm)
Reply
|
.
Ditto to what Xky just said, spreading point items down long passages that zigzag and will take forever to navigate is annoying.
These days, I cheat in such games,
|
adurdin
Wormouth
Posts: 745
(5/7/03 10:07 am)
Reply
|
Re: .
I reckon the generated maze should have a bit more variety: have areas with walls of different thickness, or different coloured bricks. Add some more connections between passages (so it's not a 'pure' maze anymore).
|
Snaily
Messie
Posts: 825
(5/7/03 6:13 pm)
Reply
|
Re: .
I actually toyed with the idea of having certain "rooms" in a file and the build a maze out of these only filling in with this kind of maze when there's not enough space for other rooms. It would even be possible to read in rooms from standard Keen level files, meaning that you could make whatever room you want. But since school is killing me right now (11 hours away from home... yay) I haven't worked further on it.
________
¨@_ |
0 UNFLEEXABLE 0
Vorticon Elite
Posts: 620
(5/8/03 10:30 am)
Reply
|
Re: .
sounds cool snaily!
I'll try it tomorrow. I was doing a last minute scripture assignment. (took only 10 minutes! )
And I'm only on tonight (it's around 8:20pm now) and my parents have gone to the supermarket.
-- Pinch, Pinch... BLIND, Clamp! -- |
Grelphy
Vortininja
Posts: 281
(5/8/03 8:32 pm)
Reply
|
Re: .
Hey snaily, do you mind if I use a maze in my mod?
I happen to like mazes... and If you're not satisfied with boring runs to the dead ends, I'll add some baddies to make it interesting!
You and all those other mental wimps deserve to die!
-Mortimer Mcmire in Commander Keen 3
|
XkyRauh2001
Mortimer's Right Hand Man
Posts: 545
(5/8/03 9:54 pm)
Reply
|
*posting from work*
Grelphy, as long as it's not a 170x170 level full of maze, i should be okay with it... hehe. that Keen1 level that's maze-like (near the hidden city on the map) is about as large a maze as i will tolerate. btw, is this for your Keen1 mod? ;-)
--Xky *eagerly awaiting it*
|
Retodon8
Vortininja
Posts: 110
(5/8/03 10:16 pm)
Reply
|
Garg
I remember having bought the original Gravis Gamepad, and getting Keen 1 with it for free.
I tried it out, loved it, and had to finish it the same day, together with my little sister.
We both played the game, I think I probably played the most, but that red maze level was the only level I let my sister play all the way through.
For some reason I just couldn't make it through.
I think a killed my everytime or something... too long ago.
Ah, memories...
Retodon8
You live, you die, you are remembered, you are forgotten. |
Yowza
Grunt
Posts: 22
(5/9/03 7:36 am)
Reply
|
Re: Garg
That red maze level was always my absolute favourite. I usually tried to finish it the 'proper' way, instead of going to the hidden level.
|
Snaily
Messie
Posts: 828
(5/9/03 12:53 pm)
Reply
|
Re: Garg
Of course you can use a maze if you like.
________
¨@_ |
KeenRush
Garg
Posts: 3289
(5/9/03 2:16 pm)
Reply
|
The Red Maze
I like that level, for some reason it remains me of The Cube.
Greetings from Bloogton Tower! |
Retodon8
Vortininja
Posts: 115
(5/9/03 10:16 pm)
Reply
|
Re: The Red Maze
I saw The Cube much, much (much) later than I played Keen, and it vice versa, TC didn't remind of that Keen level either.
I can see what you mean though.
Edit: Removed a dumb question.
Retodon8
You live, you die, you are remembered, you are forgotten. Edited by: Retodon8 at: 5/9/03 10:30:52 pm
|