27 February 2010, 19:33 | #1 |
Registered User
Join Date: Jun 2008
Location: Netherlands
Posts: 122
|
Turrican 2 level viewer
A while ago I started poking around the Turrican 2 CDTV files, with this as the result:
Pre version 1.1 information: It's not complete. World 3 (the shoot-em-up levels) uses a slightly different level format. As for the sprite graphics, they are inside the level files, but appear to be loaded by chunks of code inside those same files. I suspect the same is done with effects like the waterfall animations, boss fights, the wind barrier in L1-1 and general enemy behaviour. Any insights into that would be very much appreciated, as I am not of much use with assembly. A zip with the required files (including the CDTV game files) and my notes in specs.txt; http://www.dvdflick.net/storage/turrican2spy_11.zip Sadly still mostly written in Visual Basic, so might need some additional components. Source code is included though. Enjoy. Edit: Move around by right-clicking on the map and moving the mouse. World + level at the top right, grid, zoom (2x size for easier viewing on hi-res displays), collision map rendering and object rendering at the top left as well. Edit2: Updated with link to and screenshots from version 1.1. Last edited by Exl; 03 April 2010 at 23:36. |
27 February 2010, 19:46 | #2 |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
Nice! Very cool...
|
27 February 2010, 19:51 | #3 |
Registered User
|
that look great!
|
27 February 2010, 19:55 | #4 |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,816
|
Excellent stuff EXL - I think I have edited the Waterfalls and the Copper Affect before - but searched and searched for enemy stuff with no luck.
I see youve mapped all the collision Wow. Edit:Hang on What are Objects? are mapped the Enemy postions? Amazing!! Last edited by Retro1234; 27 February 2010 at 20:02. |
27 February 2010, 21:08 | #5 |
Registered User
Join Date: Jun 2008
Location: Netherlands
Posts: 122
|
The objects were a fun bunch to figure out The level is divided into 32x32 subtiles blocks (where a tile is 32x32 pixels, and a subtile is an 8x8 pixel part of a tile). For each of these blocks it stores a list of items that are positioned inside that block, plus their location inside that block. This way the game only has to check a handful of objects to see if they enter the playing field and "activate" them. A nice little optimization trick.
The collision data is stored for each subtile in each tile in the tileset (not the level map itself). I've only seen solid, secret, destructible and damaging types so far. |
27 February 2010, 21:28 | #6 |
Competition Moderator
Join Date: Feb 2008
Location: Germany
Posts: 4,756
|
How likely is it this viewer might evolve into an editor someday?
|
27 February 2010, 23:54 | #7 |
cheeky scoundrel
Join Date: Nov 2004
Location: Spijkenisse/Netherlands
Age: 42
Posts: 6,977
|
biiiig respect for this. Really nice bit of reverse engineering!
|
28 February 2010, 13:41 | #8 |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,996
|
Wow! Like john I'm very interested to hear if that means there will be an editor one day
|
28 February 2010, 14:17 | #9 |
Registered User
Join Date: Jun 2008
Location: Netherlands
Posts: 122
|
No idea. I'd like to make one, but not all data is known yet, so writing new levels will be constricted to within the current map size and objet counts. But all is documented, so someone else might make one.
|
04 March 2010, 08:34 | #10 |
Moderator
|
cool...looks nice..
|
04 March 2010, 19:25 | #11 |
Remember: Shoot or die!
|
Hey, that looks cool! Good reason to register here. (Some of you might know me from the GAC. In this thread, I know Joe)
Sooo.... may I upload this nice little tool to http://bronko.turrican.eu ? Or at least link to this thread? An editor would be cool, which reminds me of another project, Joe here had... Maybe you two could revive it a bit, hm? |
04 March 2010, 19:28 | #12 | |
Registered User
Join Date: Jun 2008
Location: Netherlands
Posts: 122
|
Quote:
An editor seems unlikely though. There's code in the levels that manages all the objects' animation and behaviour, which is hard to relocate since you have to rewrite the addressing in it. That's beyond me I'm afraid. The best thing possible is a level editor that works within the level size and object count restrictions of the originals. That takes a lot of fun out of it IMO. |
|
04 March 2010, 19:32 | #13 |
Remember: Shoot or die!
|
Thanks!
Yes, a limited editor wouldn't be that much fun, that's right. There is already the T2002 engine, but having custom levels on the Amiga, would be great. |
03 April 2010, 23:39 | #14 |
Registered User
Join Date: Jun 2008
Location: Netherlands
Posts: 122
|
Updated the starting post with version 1.1. Quite a few changes, most notable the viewing of world 3, graphic representations of all the objects on the maps, as well as the ability to export level, tiles and all graphics used in the game. It should also run slightly faster. Sadly there was not much unused information I could find. The only odd occurences are unknown objects in L4-1 (my guess is barriers that had to be destroyed) and some electricity bolts ("zap" graphic name) that were amongst the L1-2 fish graphics.
That's about all I can extract from the game. Enjoy! |
04 April 2010, 13:57 | #15 |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,816
|
Ill check this out -more great work
|
04 April 2010, 15:51 | #16 |
Remember: Shoot or die!
|
Those "unkown" things are very interesting, as I know, what they are!
In Turrican II for the C64, those are the places, where there is an enemy, that is missing in the Amiga version! Everytime, you shoot that thing, it moves in your direction. When it explodes, it shoots two star-thingies at you... What makes them really nice is, that in the C64 version the power blocks are NOT invisible in this level, and just look like that enemy! A shame, they didn't implement it on the amiga... even more a shame, as it seems, everything was allready set up for it. *edit* Those zap's appear on the C64 version as well, in the water pools. But I remember seeing them on the Amiga, too. *edit2* Want to know more things, you are missing, when playing TurricanII on the Amiga? [ Show youtube player ] You can see the "Unkowns" in action in this video, too. Last edited by Bronko; 04 April 2010 at 15:58. |
04 April 2010, 17:12 | #17 | ||
Registered User
Join Date: Jun 2008
Location: Netherlands
Posts: 122
|
Quote:
Quote:
|
||
04 April 2010, 17:16 | #18 |
Remember: Shoot or die!
|
The zap's are just there, and you better don't touch them...
Oh, and you couldn't extract the lift locations in level 5-2 ? |
04 April 2010, 19:59 | #19 |
Zone Friend
Join Date: Jan 2006
Location: Kent
Age: 51
Posts: 1,081
|
This is perhaps the one game that deserves an editor the most.Turrican 2 revolves around it's fantastic atmosphere and being able to forge our own spaces would something very special
I'm suprised one hasn't already been done but hopefully this type of good work here will inspire one Most of my time spent playing Oids on the ST is while in the editor making my own maps and it's a very satisfying thing to do.Same to with Halo Forge mode but you can't craft single player experiences from that one |
04 April 2010, 22:25 | #20 | |
Registered User
Join Date: Jun 2008
Location: Netherlands
Posts: 122
|
Those are hardcoded in the level's code blocks. I'm not going there, there be dragons
Quote:
Last edited by Exl; 04 April 2010 at 22:38. |
|
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 crash when loading a level 2-UAE4Droid, AnUAE4ALL | VRil | support.Games | 0 | 27 June 2012 09:52 |
Chaos Engine level viewer | jotd | Retrogaming General Discussion | 127 | 17 August 2009 20:03 |
TURRICAN 3 Level selector | Old Fool | support.Games | 5 | 27 February 2009 21:16 |
Turrican 1 not loading the next level | Predabot | support.Games | 16 | 07 December 2008 22:55 |
What level of turrican 1 has the vertical scroller? | Ironclaw | support.Games | 6 | 27 March 2006 22:06 |
|
|