Author Topic: KQIII: logic problem  (Read 3203 times)

0 Members and 1 Guest are viewing this topic.

Offline Jelle

KQIII: logic problem
« on: November 09, 2002, 03:24:03 PM »
Can somebody open logic 66 in KQIII? I can't, but I want to see the code...
Can somebody please post it here?
Thanks!

- Jelle


Politics is supposed to be the second-oldest profession. I have come to realize that it bears a very close resemblance to the first.

Offline Nick Sonneveld

Re:KQIII: logic problem
« Reply #1 on: November 09, 2002, 07:16:19 PM »
there are some logics the current disassembler can't open.  try the program "showlog" from brian's agi/sci site.  it's a bit rough (believe me, I tried compiling it for windows..  the dos version works ok though) but might help.

I've had trouble because it can't disassemble my switch statements generated by my compiler.

has anybody else encountered logics they can't disassemble?  Perhaps we should make a list here!  I know there's a couple in Gold Rush and Manhunter.

- Nick

Nick Sonneveld  |  AGI Dev  |  NAGI

Offline HWM

Re:KQIII: logic problem
« Reply #2 on: November 09, 2002, 09:21:51 PM »
Well, I don't know the exact reason, but some games which had problems earlier (with decoding logics), later on didn't... I don't know for sure why... Perhaps it has been fixed in the recent AGI Studio versions...

Anyway, the only game I've had problems with so far, is Man Hunter: New York... Specifically: LOGIC.105 and LOGIC.146...

EDIT: And, of course, SQ1's LOGIC.099 and LOGIC.100...

EDIT 2: Just what I'd expected... I re-loaded MHNY into AGIStudio (not modifing anything in both AGIStudio and the game files) and suddenly some other logics (that did decompile before) won't decompile... That's rather strange...
« Last Edit: November 09, 2002, 09:43:54 PM by HWM »

Offline Jelle

Re:KQIII: logic problem
« Reply #3 on: November 10, 2002, 08:46:34 AM »
KQI: No problems

KQII:
  • logic.015
  • logic.032 *
  • logic.071 *
  • logic.112 *
KQIII:
  • logic.004 *
  • logic.011 *
  • logic.026 *
  • logic.028 *
  • logic.048 *
  • logic.049 *
  • logic.065 *
  • logic.066
  • logic.078
KQIV:
Something's wrong with the version I have: can't preview A LOT of pictures, can't open LOTS of logics, and so on...

Goldrush:
  • logic.053 *
  • logic.060 *
  • logic.062 *
  • logic.064 *
  • logic.108 *
  • logic.245
  • logic.246
  • logic.247
  • logic.248
  • logic.249
  • logic.250
  • logic.251
  • logic.252
  • logic.253
  • logic.254
  • logic.255
SQI:
  • logic.010 *
  • logic.014 *
  • logic.030 *
  • logic.063 *
SQII:
  • logic.048 *
  • logic.060 *
  • logic.061 *
  • logic.064 *
  • logic.065 *
  • logic.070 *
  • logic.071 *
  • logic.074 *
  • logic.075 *
  • logic.080 *
  • logic.084 *
  • logic.085 *
  • logic.123 *
  • logic.141 *
PQI:
  • logic.001 *
  • logic.119 *
LSLI:
  • logic.011 *
  • logic.044 *

* = block of length 0 => these can't be opened in Peter Kelly's AGI Studio, but they CAN be opened in Nailhead's versions...
So don't mind the one with a * ! Mind the others! Specially the ones in Gold Rush!, 245-250...

HWM: I found no troubles opening logic.099 and logic.100 in SQI

About manhunter: I think a have a buggy version of both games (NY and SF), so I'm not going to check those games...


- Jellerror
« Last Edit: November 10, 2002, 09:46:52 AM by Jelle »
Politics is supposed to be the second-oldest profession. I have come to realize that it bears a very close resemblance to the first.

Offline HWM

Re:KQIII: logic problem
« Reply #4 on: November 10, 2002, 09:14:17 AM »
Alright, I checked some more...

- King's Quest 2 gives the same problems...
- King's Quest 3 also, but I have another (older) version that doesn't contain LOGIC.066...
- Goldrush doesn't give any problems at all (and it hasn't got logic 245-255)...

Your King's Quest 4 is probably the corrupted version that is floating around...

And SQ2 has LOTS... about 1/3 of the logics won't open... (invalid test command, block of length)

But as I said, it seems like some logics will decompile, while other times, they won't...

Offline Jelle

Re:KQIII: logic problem
« Reply #5 on: November 10, 2002, 09:18:00 AM »
Quote
But as I said, it seems like some logics will decompile, while other times, they won't...

Don't know if that is the problem, but you can't open logics or view pics when your game is still running...

Your Goldrush doesn't have logics 245-255? That's strange!


BTW: I checked PQ, look in my post above...
« Last Edit: November 10, 2002, 09:21:59 AM by Jelle »
Politics is supposed to be the second-oldest profession. I have come to realize that it bears a very close resemblance to the first.

Offline Jelle

Re:KQIII: logic problem
« Reply #6 on: November 10, 2002, 09:29:33 AM »
OK, I checked SQII... All I got was some "block of length 0"

I'm going to check the game now with the latest version of AGI Studio, who knows what will turn out...
Politics is supposed to be the second-oldest profession. I have come to realize that it bears a very close resemblance to the first.

Offline HWM

Re:KQIII: logic problem
« Reply #7 on: November 10, 2002, 09:31:59 AM »
Yeah, I know about that... It occured when I first checked ManHunter... I went through all logics, one by one... Then, I restarted AGIStudio and opened ManHunter, again, and suddenly some other logics that didn't decompile, just showed... Same with SQ2 (I said in my previous post 1/3 wouldn't decompile and now all of them work)...

But regarding Goldrush, I think there's only one version of it, however it was shipped for both 3.5" and 5.25" disks... I've got both, but neither have logic 245-255... Are they're actually being use at all..?

Offline Jelle

Re:KQIII: logic problem
« Reply #8 on: November 10, 2002, 09:37:50 AM »
Checked SQII and Goldrush with the latest version of AGI Studio:

SQII:
logic.141

Goldrush:
logics 245-254 <= I even haven't found a logic that calls them!
Politics is supposed to be the second-oldest profession. I have come to realize that it bears a very close resemblance to the first.

Offline StrangeQuark

Re:KQIII: logic problem
« Reply #9 on: November 10, 2002, 09:51:10 AM »
My Goldrush doesn't have those logics either.

Offline Nick Sonneveld

Re:KQIII: logic problem
« Reply #10 on: November 10, 2002, 10:34:27 PM »
wow.. I didn't realise the problem was so widespread.  I'm definately going to look into getting a working decompiler now.

- Nick
Nick Sonneveld  |  AGI Dev  |  NAGI

Offline Joel

Re:KQIII: logic problem
« Reply #11 on: November 12, 2002, 06:45:49 PM »


[attachment deleted by admin]


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.035 seconds with 17 queries.