Hello everyone, hi Greatstone and thanks for all the work you guys have put into keeping this game very alive
I'd like to get something straight - I've downloaded a couple CSBWin packages for both DM and CSB, and while data extraction is pretty straightforward with SCK & DM, I can't seem to be able to grab the main dungeon layout for CSB. Where can I find a proper dungeon.dat file for the main game of Chaos Strikes Back? I'm mainly looking for the dungeon definition right now (maps & items). The reason is, I'm currently having fun building a Unity3d game engine, and I'd very much like to use the same file format as CSBWin does for my level definition, I like the idea of bringing those legendary games up to speed with current technologies without altering the original gameplay & level design. More people need to taste the awesomeness
I'm so far in pre-pre-pre-alpha, walls, floors, roofs and stairs are generated straight from an SCK extraction of Dungeon Master's dungeon.dat file, and I can move around free-style from the hall of champions down to the dragon's lair (more or less, I haven't bothered actually going deeper than level 4-5, I expect the clockwise/turnback to be a showstopper anyway without actuators
). I wanted to test the engine with another source file - and naturally wanted to try out CSB but couldn't perform a clean conversion to xml with map definitions, etc. If there's anything I missed, please let me know
Edit: apparently my tiny french brain forgot about the prison & stuff. Still, I get a java exception when I try to sckextract mini.dat (dowloaded from the encyclopedia
over there).
Code: Select all
D:\sck>java -jar "D:\sck\sck.jar" extract mini.dat
INFO: Resource = mini.dat
INFO: Resource MD5 = 531EA104A2FBC2011EA73D11F274C57D
INFO: Detected format = DUNGEON
INFO: decoding header...
INFO: decoding maps definitions...
INFO: decoding 1st object on tiles...
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42815
at com.gse.lib.dm.data.DataDUNGEON.decode(DataDUNGEON.java:363)
at com.gse.lib.dm.data.DataAdapter.decode(DataAdapter.java:533)
at com.gse.lib.dm.MapItem.extractFromResource(MapItem.java:475)
at com.gse.lib.dm.MapFile.extractItemsFromResource(MapFile.java:622)
at com.gse.lib.dm.resource.MapableResource.readItemFromFile(MapableResou
rce.java:334)
at com.gse.lib.dm.resource.MapableResource.decodeFromNative(MapableResou
rce.java:103)
at com.gse.lib.dm.resource.MapableResource.extractFromNative(MapableReso
urce.java:170)
at sck.Extract.run(Extract.java:244)
at sck.Main.main(Main.java:200)
D:\sck>pause
Appuyez sur une touche pour continuer...
Anyway this is definitely not blocking to me at the moment so no need to be hasty. There's so much to be done elsewhere still
Thanks again for your tool.