Posted February 06, 2020

SweetieViaPony
New User
Registered: Oct 2012
From United States

stryx
New User
Registered: Jul 2011
From United States
Posted February 06, 2020


---
Found my way out of temple. Got two more movies to play, one while leaving, then one as I ran to the town. I didn't see the guy saluting.

I downloaded the 1.1 patch from the internet and applied it manually. And kept a back-up of the old 1.0 version of the game just in case.

Post edited February 09, 2020 by stryx

SweetieViaPony
New User
Registered: Oct 2012
From United States
Posted February 06, 2020
Okay, with you again. Thank you for leading me. I was wandering all over that temple until I realized I just had to turn around and walk straight... When I previously thought I beat the game, it was because a timer ended. The credits did roll, but I didn't realize that was the bad ending.
I've found the scroll now and replicated the bug with the kid. Seems to be that his audio files aren't loading. The error is somewhere in Code.2. I'll start digging into it later tonight.
I've found the scroll now and replicated the bug with the kid. Seems to be that his audio files aren't loading. The error is somewhere in Code.2. I'll start digging into it later tonight.

SweetieViaPony
New User
Registered: Oct 2012
From United States
Posted February 07, 2020
Best I have so far is a 1.1 version that is only missing one movie, the one with the little boy talking to you. By bypassing that cinema, I've been able to make the game go right from him running up to the party entering the portal. Something in Code.2 is making an invalid call, I believe to URCHSPK.DFA, which is the animation for him talking. I'm unable to make any sense out of much of the hex for Code.2, I believe it's compiled.

dtgreene
vaccines work she/her
Registered: Jan 2010
From United States
Posted February 07, 2020


rmeakins
Not so new user
Registered: Jun 2012
From New Zealand
Posted February 08, 2020
So close. I guess if it's compiled, there is no easy way to analyse the pre-patched version of code.2 and the post-patched version. It would be pretty cool if it was possible though. Kudos for the attempt :)

dtgreene
vaccines work she/her
Registered: Jan 2010
From United States
Posted February 08, 2020
Well, you could look for differences in the files, just like any other file. You could also disassemble the files and look for differences in the disassembly.

SweetieViaPony
New User
Registered: Oct 2012
From United States
Posted February 08, 2020
I did spend hours last night looking for differences, values that would create 71/6, calls to urchspk... no luck. Most of the files values are under a head called code that makes up 90% of the file and are almost completely different. If I could figure out how to decompile the things, yes, I think progress could be made.

rmeakins
Not so new user
Registered: Jun 2012
From New Zealand
Posted February 08, 2020


dtgreene
vaccines work she/her
Registered: Jan 2010
From United States
Posted February 08, 2020

As I said, you might need to brush up on your knowledge of x86 assembly language, as you'll be working with machine code. DOSBox's debugger will disassemble it for you, but converting it into a higher level language can't be easily done. Also, you might need to look at how DOS interrupts work, specifically how you call DOS from user programs.
(Also, what CPU mode is the game running in? It might help to figure this out.)

SweetieViaPony
New User
Registered: Oct 2012
From United States
Posted February 09, 2020
Debugs and Assembler are way above my knowledge level, I'm afraid. I've just learned what few tricks I've managed to teach myself over the years. I look at the files, switch them around, delete them, muck with their bytes, and see what happens.
Just thinking aloud here: There's one thing about the file structure I don't get. If you look at the CINE folder, you see every cinema has two files. DFA for video, ACT for audio. Except for four. WINCAP1-3 and URCHSPK. They only have DFA files. But we can see that URCHSPK and the WINCAPs do indeed have audio. It plays in version 1.0, and WINCAP also plays if we bypass URCHSPK in 1.1. So where is the audio being stored and why was the programmers convention for the audio changed for four of the five final videos of the game?
Just thinking aloud here: There's one thing about the file structure I don't get. If you look at the CINE folder, you see every cinema has two files. DFA for video, ACT for audio. Except for four. WINCAP1-3 and URCHSPK. They only have DFA files. But we can see that URCHSPK and the WINCAPs do indeed have audio. It plays in version 1.0, and WINCAP also plays if we bypass URCHSPK in 1.1. So where is the audio being stored and why was the programmers convention for the audio changed for four of the five final videos of the game?

rmeakins
Not so new user
Registered: Jun 2012
From New Zealand
Posted February 09, 2020

Just thinking aloud here: There's one thing about the file structure I don't get. If you look at the CINE folder, you see every cinema has two files. DFA for video, ACT for audio. Except for four. WINCAP1-3 and URCHSPK. They only have DFA files. But we can see that URCHSPK and the WINCAPs do indeed have audio. It plays in version 1.0, and WINCAP also plays if we bypass URCHSPK in 1.1. So where is the audio being stored and why was the programmers convention for the audio changed for four of the five final videos of the game?

rmeakins
Not so new user
Registered: Jun 2012
From New Zealand
Posted February 09, 2020
I tried the generic extraction tool and it found a bunch of midi files in RES5, but not much else.
I did find this however - looks like someone has done a lot of the advance work for the file format.
https://wiki.multimedia.cx/index.php/DFA
I did find this however - looks like someone has done a lot of the advance work for the file format.
https://wiki.multimedia.cx/index.php/DFA

KainXVIII
old-games.ru
Registered: Dec 2009
From Russian Federation
Posted February 11, 2021
Thank you, sir. I hope i fixed my arrow damage numbers with quick hex edit =)

KainXVIII
old-games.ru
Registered: Dec 2009
From Russian Federation
Posted February 12, 2021
Killed my first wolf with arrows only - so its working after all