View Full Version : Decompile Aborted...why?
Right, I'm trying to decompile the SCRIPT.DAT file for Tomb Raider Chronicles. I'm placing my thread here because the software used will be familiar to those who use the Level Editor.
I'm currently using TR West to decompile my files. It asks for a language DAT file and the script file itself. The language file is decompiled without a problem. TR West doesn't give any error messages but when I check the newly created SCRIPT.TXT file I end up with this at the end of the file:
Invalid opcode = 0 @0x00000162
...thus getting an incomplete SCRIPT file, which I cannot edit and convert back to SCRIPT.DAT.
If you're wondering why I'm trying this, it's because I want to get the dozy cheat to work. Any help will be appreciated.
I don't know how this decompiling thing works exactly, but I do know that not all custom scripts can be decompiled for some odd reason.
Maybe that's the case with this script? :confused:
Is this a Dxtre3d question? Because you said something about TRC...:confused:
If you are just using the normal Tomb4 engine you can just enable TREP to get the DOZY cheat to work, but I'm not really sure what you are doing...
Download Scripter4. Its not in english but you will recognise the words. Goto options then goto [cant remember word] DOZY And tick it on. Google scripter 4 to find it.
Dox, thanks for the tip but Scripter 4 isn't installing for me, and I don't understand the error messages....
Ok, let me rephrase what I'm saying in a nutshell.
I'm trying to get the DOZY cheat for Tomb Raider 5.
So I'm trying to decompile the SCRIPT.DAT file, so I can modify it on notepad to set it to Flycheat = ENABLED. To decompile I'm using TR West.
TR West isn't decompiling the SCRIPT.DAT file properly. At the end it says "decompile aborted" and what I end up with is an incomplete script.txt file.
Maybe it aborted because you used a very high ResetHUB value :)
Try a lower one (not above 99)
I am only guessing ;)
I can't really change the ResetHUB value until I decompile it completely. The irony...:(
TRWest is an old program. I don't think it was ever updated to handle TRC. So it isn't recognizing some of the TRC upgrades to the script.
If you have access to a hex editor, you can add DOZY manually.
Look at the first byte in script.dat. If it is even, add 1. This should turn on DOZY (if it works in TRC).
Ok, I managed to do that. But from the instructions I've been given, DOZY doesn't work. How do I activate DOZY? Thanks :(
If the hex edit didn't work, there are two reasons.
1) They changed the script files with TRC and dozy is in a different place.
2) DOZY doesn't work in TRC.
Go to DXtre3d.com and in the downloads section is an already decompiled TRC script. It have dozy enabled and working..We have been using it for years.
It could simply be because I'm doing the instructions wrong.
What I'm doing is that I face north [I've tried with all directions] and then go to the inventory. Then I highlight the flares [they said highlight the torch, but I assumed it was the flare] and then press DOZY. Is that how you activate it?
It works just the same as trle...The only thing that could be wrong is if you are using a hacked .exe or dozy is not enabled in your script.
You just need to push keys dozy at same time. Find that script that Turbopascal made and compile using trle script.exe and should work fine.
Well, decompiling for TRLE and using DOZY worked. :D But using the Hex Editor for Chronicles doesn't work. So I'll try download that decompiled SCRIPT you gave me and try it out one more time. Thanks for the help so far.
vBulletin® v3.8.7, Copyright ©2000-2014, vBulletin Solutions, Inc.