Location: JBPLAY \ Meteor 1 \ User Announcements \ Meteor 1 map format unraveled Back to Threads |
ParaSait
![]() Joined: 26 June 2007 Posts: 1478 |
29 July 2011 18:39 (UK time)
Yesterday evening and today I have been studying the Meteor 1 .map format a bit, and I wrote a little analysis that describes everything in it. This is important information in case someone would want to make any 3rd party editors for it, or similar things. It's alllmost complete. There is just 1 mysterious byte I haven't figured out so far; the one at $70E. But here it is: Meteor 1 map format unraveled (almost complete) - by ParaSait I might do this for other file formats in the game too, and maybe also do the same for Meteor 2 later on. ![]()
Edited: 31 July 2011 01:36 You need to login to create posts in this thread. |
Spy
![]() Joined: 05 October 2007 Posts: 1031 |
30 July 2011 01:44 (UK time)
Interesting.. I don't understand any of that.
You need to login to create posts in this thread. |
me_mantis
![]() Joined: 26 September 2003 Posts: 1152 |
30 July 2011 03:44 (UK time)
random map generator time or what? I kinda wish I knew how to code =) You need to login to create posts in this thread. |
ParaSait
![]() Joined: 26 June 2007 Posts: 1478 |
30 July 2011 16:09 (UK time)
Hah, that sounds like an awesome idea. ![]()
You need to login to create posts in this thread. |
me_mantis
![]() Joined: 26 September 2003 Posts: 1152 |
30 July 2011 19:38 (UK time)
it would be pretty fun for multiplayer - nobody would have any sort of knowledge of the map. You need to login to create posts in this thread. |
ParaSait
![]() Joined: 26 June 2007 Posts: 1478 |
30 July 2011 23:13 (UK time)
This evening, I made this... http://dl.dropbox.com/u/27586899/sdfsdafds.png As you see, possibly the start of something... big. ![]()
You need to login to create posts in this thread. |
Archie
![]() Joined: 13 March 2010 Posts: 72 |
30 July 2011 23:18 (UK time)
Awesome! ![]() You need to login to create posts in this thread. |
ParaSait
![]() Joined: 26 June 2007 Posts: 1478 |
31 July 2011 01:37 (UK time)
I've made an amendment to the analysis... it seems like I had something wrong about message triggers.
You need to login to create posts in this thread. |
James Bunting
Posts: 1308 |
02 August 2011 08:46 (UK time)
Impressive The way M1 saves strings is pretty poor being fixed length and all. Anyway, here is the writer code.
You need to login to create posts in this thread. |
James Bunting
Posts: 1308 |
02 August 2011 09:02 (UK time)
So to summarise Meteor 1 is written in straight C using MSVC6. The code is a big tangle held together with sticky tape but it worked quite well. I doubt Meteor 1's code could be worked with nowadays. I am already toying with the idea of a full M2 rewrite but have not really thought much about M1. Frankly I am quite excited about the idea of rewriting 1 & 2 before moving onto 3. The questions are: 1) Should M1 be rewritten at all? 2) Should it be done before M3? 3) Should it be called "Meteor 1 Gold" or simply superceed the current version? Ditto for M2. Also, I am always happy to release file specs for all games if anyone wanted to do anything. Generally speaking older games could have their source code released but working with it would require a pretty good knowledge of C++ and Allegro. James PS. Like the random map editor idea. This should be possible with M1 but it WILL do your head in. Would be amazing to see. You need to login to create posts in this thread. |
me_mantis
![]() Joined: 26 September 2003 Posts: 1152 |
02 August 2011 19:42 (UK time)
The random maps could be made up of randomly placed previously created 20x20 blocks of tiles, or you could create a maze sort or structure and then have a setup that stuck the appropriate tiles inside, outside, and on the edges. Then it'd assign start points, and randomly spawn weapons at certain distances from the start points. I probably don't have time to do it =) You need to login to create posts in this thread. |
ParaSait
![]() Joined: 26 June 2007 Posts: 1478 |
02 August 2011 21:23 (UK time)
I have various ideas in mind. Mazes, mazes of rooms, towns with houses, connected rooms, arena style levels,... Some time back I've also been toying around with an algorithm to generate somewhat natural looking caves (see attachments), it's not yet complete but that could also come in handy. @James: Thanks for the map editor/saver sources... it seems like I had it all pretty right, except the unit ai and angle. ![]() Also I think it'd be a good idea to do a Meteor 2 cleanup/rewrite, plus some bugfixes, improvements (collision detection, netcode), and maybe some new features (like more script commands would be great). Meteor 1, maybe not, for I think it's Meteor 2 that has most potential for mods and netplay and so on; the thing is just that it has some annoying flaws and multiplayer is not very playable at this point, and that's a bummer. Meteor 1 however is probably good as it is. Well, except the maps should be completely resaved I think, because when inspecting the map files I saw a bizarre, but somehow working mishmash of the current map format and older map formats (it took me a while to figure that out). Should it be done before M3? Well, perhaps that'd be best. I reckon you'll still have quite a lot of work on it, and it would be nice to see something new relatively soon, be it any updates of existing games or whatever. Release it as a "gold" version? Well, maybe it would be a good idea finish the beta stage of development first, lol.
Edited: 02 August 2011 21:39 You need to login to create posts in this thread. |
nyasudah![]()
Joined: 06 February 2005 Posts: 832 |
03 August 2011 06:49 (UK time)
ParaSait wrote: Sounds just like DoomRL ![]() @James I agree with ParaSait
Edited: 03 August 2011 06:50 You need to login to create posts in this thread. |
James Bunting
Posts: 1308 |
03 August 2011 09:36 (UK time)
M1 and M2 "Gold" or (whatever) would be complete rewrites as the old code for both M1 and M2 and not really workable. In effect this would be a total port from C to C++ for both games. Thinking about M1, the changes I can see are 32x32 pixel tiles to handle modern screen resoutions and upsizing/improving all other graphics. There would be be no real limits on the number of things due to proper memory allocation (std vectors) and new net code. Basically the new code will be very stable! You need to login to create posts in this thread. |
nyasudah![]()
Joined: 06 February 2005 Posts: 832 |
03 August 2011 14:02 (UK time)
new netcode is welcomed, the current one is barely working. it desyncs after a while for example which causes interesting results (like i remember parasait said on teh chat that he killed me again, but i was still moving and then just died seemingly randomly). reconnecting to server helps this a bit but it still goes out of sync. hopefully with the new code we can play smoothly over the internet
You need to login to create posts in this thread. |
ParaSait
![]() Joined: 26 June 2007 Posts: 1478 |
03 August 2011 14:44 (UK time)
Masuda wrote:Oh, for sure. DoomRL is a very inspiring game you know. ![]() James Bunting wrote:Sound great... I'd say, GFI! ![]() And yeah, netcode should be a very important (if not the most important) thing to improve. The Meteor games will be at least 5x the fun with properly working multiplayer I imagine.
You need to login to create posts in this thread. |
arezey
![]() Joined: 16 June 2005 Posts: 1599 |
07 August 2011 11:05 (UK time)
ParaSait wrote: Working in multiplayer in Meteor? what is this blasphemy?! ![]() You need to login to create posts in this thread. |
me_mantis
![]() Joined: 26 September 2003 Posts: 1152 |
08 August 2011 21:06 (UK time)
Meteor /2 is a super fun MP game, and with a little bit of additions to the MP code, it would probably be wildly popular. It's fully featured, fully customizable, and way better than so many games out there. The m1 lan code seems pretty stable though.. it's just missing "win" states. =) You need to login to create posts in this thread. |
|
Forums system (C) 1999-2023 by James Bunting.
Terms of Use