01 January 2009, 17:47 | #1 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,164
|
Chaos Engine level viewer
Hi,
You can download a very early version of Chaos Engine level viewer here: http://jotd.free.fr/chaos_engine/ This viewer uses ripped graphics but original game CD32 data (at least the ones I could figure out): - height/stairs/exits information - tile data - pickable items there is other info but not displayed/fully decoded yet. enjoy! |
01 January 2009, 17:53 | #2 |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,525
|
Great work jotd Really cool to view the whole levels
Guess the gamemaps for Chaos Engine are added soon Edit : There are some 'pink' spots on the later levels. I guess it's some transparency thing. First occurence is on level 2-2 at the exit. Can you replace this color with black when exporting the picture jotd? Last edited by TCD; 01 January 2009 at 18:07. |
01 January 2009, 18:24 | #3 | |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,164
|
Quote:
I think transparency is unneeded, I would have to remove it in the source images. I did not create the save function. Not sure that I can modify the levels in a way that they're very different from the original ones: most of the stuff seems code-driven. But that's a good start for a remake BTW I found a gold key that I never found before in level 2-2, thanks to the bonus display. The other secrets I already knew all. That's good for closure. I have tried to decode Gods levels this way, but no luck it seems packed/more complex. |
|
01 January 2009, 18:29 | #4 |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,525
|
Good to know HOL has got them already
It's really an eye opener for me, since there are a lot of bonus items I missed before Best of luck with your remake |
01 January 2009, 18:31 | #5 |
Registered User
Join Date: Jun 2008
Location: Netherlands
Posts: 122
|
I couldn't run it sadly (won't find javaw, despite having installed JRE6 and adding it's bin directory to the system PATH variable). I don't know if you've seen my post in the "Some disassmebled games" topic, but I posted a textfile there with the things I've figured out about Chaos Engine's level format so far. In addition to what you've described, I've figured out how the music transitions are stored, how the disappearing and appearing of parts in the level works, and how triggers and objects are stored.
That said a lot of the data in those tables remains a mystery to me. I eventually just got stuck and gave up on an editor\remake. I hope you will have more luck though! I've attached what I found out. |
01 January 2009, 19:00 | #6 | |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,164
|
Quote:
Too bad I did not see your textfile earlier!! I should have guessed that you had worked on the game. Here's my level info. I did not find as much as you. I did not find the appearing/disappearing stuff, music transitions, nor a lot of links between the tables. Player start location seems not included. As opposed to Superfrog, Cannon Fodder, and other "simple" tile-based games, there's code behind the levels, thus making the game more interesting because there's a behaviour. I'm not sure they developped some scripting language (well maybe it's the case) but it's really easier to code stuff directly, unlike Cadaver, where a scripting language was developped specially. So I think that modifying the level data won't do any good to create new levels with the original game engine (unlike Superfrog), but knowing all this data certainly helps to create a remake that's very faithful to the original level data. |
|
01 January 2009, 19:37 | #7 | |
Registered User
Join Date: Jun 2008
Location: Netherlands
Posts: 122
|
Does nothing (no "javaw is unreecognized command" either).
Quote:
|
|
01 January 2009, 22:00 | #8 | |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,164
|
Quote:
There are not necessarily a trigger around nodes. In more advanced levels, I see some trigger right where the node is, but on the first level I don't. Your editor looks good! Looks better than mine. My editor shows items graphically (coins, keys, etc...) but not all the trigger stuff. It also displays height info and transitions (but you've got that I'm sure). I'm not sure about the "monster location and animation" part. IMHO it's only an animation block. There's a lot of redundant stuff in the level data for speed sake (height masks ...). That's not helping either. Furtermore, I believe that the structures are not read only but read/write (once loaded in memory of course), hence a lot of zeroes to store information during the game. If we write a functional editor, it could be possible to "import" original game data, and then add missing stuff that could not be found or which is in the code. In Gods remake, I've written an association system which works 80% of the time: key opens door when pressing lever, monster appears when entering area, item appears when entering area if other item owned ... Saves a lot of coding. I see a lot of technical problems for a remake (I've got a good experience in remakes now ) - the RJP format has no replayer for windows. I've got 68k source but it writes into custom chips and it's not straightforward. Using 68k 2 C like with the ATN! stuff won't be that easy, specially if the player changes sampling freq (which is very likely). It would be cool if the modules could be converted in .mod format. Then I've got a working module player for SDL, which means that I can control the parts that are played. - the AI for the second computer player is not a piece of cake. I remind that the game release was delayed because of the AI. Well, maybe we could start with 1 player mode with all bonuses divided by 2 (money/powerups/health) so it's fair. - the AI/moves for the monsters won't be that easy to replicate, even if that's not the most difficult issue. - AGA GFX are a bitch to rip. I have written a tool to convert some AGA .BIN files to png, and then I recolor files by hand using screenshots. GFXRip is no use since bitplanes are not ordered properly, and the palette is weird (AGA shit): each monster must be recognized (I've done most of the recognition) and recolored (means that the game must be played with winuae and a lot of screenshots are required) => takes a lot of time. And it would not look very good in ECS 16 color mode. - ECS GFX are not that easy to rip either. - SFX must be ripped without the music on (WinUAE can disable channels). Let's hope that the sound system does not have a channel allocation mode... - The game is complex, a lot more complex than Gods. - Once we get the game working with original levels, some enhancements would need to be made or else it would not be worth remaking it: - a new set of 16 levels should be designed (take a lot of time!!) - gfx should be reworked partly by hand (scale2x is good but too automatic). - maybe some ECS tiles should be recolored to look better. |
|
02 January 2009, 08:41 | #9 |
Puttymoon inhabitant
|
I am sure that Chaos Regime team will love this
|
02 January 2009, 13:56 | #10 | ||||||||
Registered User
Join Date: Jun 2008
Location: Netherlands
Posts: 122
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Here's how far I got; http://www.dvdflick.net/storage/disarraydevice.zip The level viewer is in the chaosspy directory. |
||||||||
02 January 2009, 13:58 | #11 |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,773
|
Yes looks intresting JOTD and EXL yours also look intresting - I did have some problems though JOTD its probably my JAVA out of date ill try again.
HOL have done well getting MAP data. |
02 January 2009, 15:30 | #12 |
cheeky scoundrel
Join Date: Nov 2004
Location: Spijkenisse/Netherlands
Age: 42
Posts: 6,908
|
nice job JOTD. Glad to see you haven't forgotten Java When the time is there I'm certainly pitching in with the building of new levels.
|
02 January 2009, 18:20 | #13 | |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,773
|
Quote:
Just out of curiosity I had a look at A1CHAOS.CAS with a hex editor and was able to move a few tiles do the graphic tiles also contain collision data? @JOTD Do you have any tools to extract files from gods? |
|
02 January 2009, 22:37 | #14 | |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,164
|
Quote:
The first block is the tiles + height / transitions (stairs) data. So the game forbids that you change heights without a transition. So the answer is yes. I don't have any tool to extract files from Gods. I think they have used a packer but it's not RNC. I'll check the whdload slave. The levels were already ripped (with errors) on HOL. That's too bad because that would have saved me a lot of hassle entering all the bonus/item data by hand. Also I may have missed some stuff (but I doubt so). For the map data, I had used HOL png maps and I rebuilt the logic map data using image matching on each tile. For collisions, I just affected each tile a property (foreground/background/ladder) and could define local overrides for exceptions. I'm sure the original game did not do that, but that's a very efficient way of quick designing level (could apply to CE to some extent) because the image also defines the player environment. |
|
03 January 2009, 01:59 | #15 |
Into the Wonderful
Join Date: Mar 2002
Location: England
Age: 49
Posts: 2,335
|
Excellent work guys! CE is my favourite Amiga game by far and just the thought of a remake (and possibly custom levels) is enough to get me frothing at the mouth!
And to think, I still haven't got through the custom Gods levels yet! |
03 January 2009, 02:06 | #16 |
Registered User
Join Date: Aug 2006
Location: England
Posts: 218
|
Just to say excellent work on the viewer Exl and Jotd, a CE remake would be rather cool, would be even cooler if an ex-bitmap would see these posts and comment/hint..
As for the Gods data, from poking about in the old days they did provide early/unpacked? files for the ST-Format demo of the game (disk 21), those were even viewable in old raw gfx rippers and stuff, the files were renamed for the demo I guess to have a .CUT extention, denoting an edit from the original full versions of the data perhaps. But as for the full Gods game, the level files I think were the again split up into a MAP, DAT and PI1 file, the PI1 file contains the block gfx I think, perhaps a Degas Elite file? The MAP file I assume to be the tilemap, DAT for some datas. As for the format/packing, unknown, you can see the files listed inside the WHD disk.2, plus these files also exist in the PC version, but have a "P" at the front (e.g. PLEV1A.MAP), on inspection in a hex editor of the PC files, there is no RNC label, but all three files start with 0x00 0x06 in hex, so may be packed/other/custom. I have the ST demo files zipped if you want them, they may be more confusing than use though. Perhaps somebody with know-how of the WHD slave images could rip out the files, or perhaps they are rippable from memory in UAE anyways, if it's something people wanna look into, but with the excellent Gods remake out there's probably little need now really.. other than curiosity I guess :-) Q; |
03 January 2009, 02:34 | #17 |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,773
|
Thats intresting Qube and made me think there was a Amiga Format Gods demo and I think it used files. It seems a lot of Amiga games use RAW for the graphics I was just haveing a look at Chaos Engine and the graphics were Raw interlaced.
|
03 January 2009, 04:35 | #18 |
Zone Friend
Join Date: Dec 2005
Location: Australia
Age: 50
Posts: 2,616
|
Maybe its time to kick The Chaos Engine out of the voting system for the league because we now all know TOO MUCH information about it!
|
03 January 2009, 08:06 | #19 | |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,164
|
Quote:
You've got work to do finding all secret stuff of the custom Gods levels |
|
03 January 2009, 11:44 | #20 | |
Registered User
Join Date: Aug 2006
Location: England
Posts: 218
|
Quote:
As for the Ami CE demo, virtually all files are RNC'd, I'm guessing they can be unpacked etc for inspection. I guess the Bitmaps were more protective this time with their demo release.. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Turrican 2 level viewer | Exl | Amiga scene | 28 | 22 December 2013 05:32 |
Chaos Engine level codes | Kenan | support.Games | 3 | 20 June 2013 17:49 |
The Chaos Engine | Djay | request.Modules | 7 | 24 February 2010 23:14 |
The Chaos Engine, level 3/2: Fortesque Mansion/Confusion | fmcpma | support.Games | 6 | 12 September 2005 00:30 |
Chaos Engine vs Chaos Engine 2 | NytroX86 | Nostalgia & memories | 20 | 31 August 2005 11:25 |
|
|