Tuesday, 20 November 2012

Script source

Using the source code from the xbox game disc allows you to compile the scripts and generate the .bin files then rebuild those into the .bat files.
Unfortunately the .bat files that shipped with the PC version are from a later version of the source code.
Luckily most of the files are unchanged and out of 5,382 files only 156 were changed.
I've been working through these and so far have worked out the source changes to 19 of them but that still leaves 137!
I think completing these and making a patch to convert old source files to new ones will be a better option than trying to get the decompiler finished as without the comments and variable names the source is very hard to read and understand.

Some of the files have a lot of changes though which are going to take a while to complete but I've written some tools to show the analysis which is helping some.

Tuesday, 30 October 2012

Version 1.5 available

New features for 1.5 for all versions of the game by changing scripts only.

Options to unlock all difficulty levels and all cinematics after you next start a new game.
Give all weapons at the start of every level.
Double the amount of time given for each stage of the escape sequence.

DCoTEpatch 1.5 download page

Wednesday, 24 October 2012

Integration with eclipse IDE

Took the time out to integrate the tools into an eclipse IDE which makes working with script changes much easier with automatic compiling on save and rebuilding the .bat files on a manual build.

Shown below is the timings settings for the tunnel escape sequence that I'm looking at now.
I'm using the Emonic plug-in for basic syntax highlighting as the scripts are similar to c#.

Here is the SucCompiler builder I'm using to compile changes on save.

And the SucBatch builder I use on manual build to rebuild the .bat files ready for testing.

Sunday, 21 October 2012

Features for DCoTEPatch 1.5

New features for 1.5 will be for all versions of the game by changing scripts only.

Here's what is planned:
Changes to end of game where you can't run fast enough.
Give all weapons at start of level.
Unlock all difficulties.
Unlock all content.
Hopefully ability to skip some of the cut scenes that are causing crashes.
Possibly FOV changes.

Tuesday, 16 October 2012

Version 1.4 fixing the broken!

Realised I broke the setttings loading and saving on the player screen in 1.3.1 so uploaded 1.4 which fixes the problem.

DCoTEpatch 1.4 download page.

Monday, 15 October 2012

DCoTE tools

These are the first details of the tool chain for getting new script content into the game Call of Cthulhu: Dark Corners of the Earth.