VOGONS


First post, by razz

User metadata

Hi!
I tried to run "Der Clue!" - ftp://download:neo@www2.neo.at/Classics/TheClue/DerClou.zip - with dosbox.
The Problem is that installation crashes with a runtime error.
official install instructions are:
# Unzip the files to any directory. Copy the content of the directories Disk1 and Disk2 to two disks.
# Install The Clue! from disk.
I haven't simulated a Disk-Drive with DoxBox (dont know command 😳 )
I just tried installion form C: to C: and from D: (as CD-Rom) to C: (result crash)
if anyone can help i would be pleased 😉

Reply 2 of 9, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Hi razz,

I tried to get Der Cluo to work with DOSBox, but no matter what I do, it always complains about an unsuitable memory configuration ("Ungeeignete Speicherkonfiguration!").

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 4 of 9, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Use a hex-editor and change the following bytes
from address 0x1bed0 to 0x1bed3 of theclou.exe:
0x85 to 0xbb
0xc0 to 0x00
0x74 to 0xe0
0x11 to 0x90

Or use the attached executable.

Didn't play it too long, but starts fine. ONLY use
the modified .exe file inside dosbox.

wd

Attachments

  • Filename
    DerClou.rar
    File size
    91.04 KiB
    Downloads
    464 downloads
    File license
    Fair use/fair dealing exception

Reply 5 of 9, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Nice work, wd 😀

Could you tell me exactly what the patch do? I tried to disassemble the code around the patch, but I can not tell what it is doing except that you replace a (memory?) test with a register load(?) and an No-Op:

Original:

	0000:0001BFC1 8B EC                  MOV     BP,SP
0000:0001BFC3 83 EC 04 SUB SP,+04
0000:0001BFC6 B8 00 10 MOV AX,1000
0000:0001BFC9 8B 56 06 MOV DX,[BP+06]
0000:0001BFCC FF 1E 96 35 CALL FAR [3596]

0000:0001BFD0 85 C0 TEST AX,AX
0000:0001BFD2 74 11 JZ (+11) ;0000:0001BFE5

0000:0001BFD4 +0000C12A 89 5E FE MOV [BP-02],BX
0000:0001BFD7 +0000C12D C4 5E 08 LES BX,[BP+08]
0000:0001BFDA +0000C130 8B 46 FE MOV AX,[BP-02]
0000:0001BFDD +0000C133 26 89 07 MOV ES:[BX],AX
0000:0001BFE0 +0000C136 B8 FF FF MOV AX,FFFF
0000:0001BFE3 +0000C139 EB 1E JMP (+1E) ;0000:0001C003
0000:0001BFE5 +0000C13B 81 E3 FF 00 AND BX,00FF
0000:0001BFE9 +0000C13F 89 5E FE MOV [BP-02],BX
0000:0001BFEC +0000C142 89 56 FC MOV [BP-04],DX

0000:0001BFEF +0000C145 C4 5E 0C LES BX,[BP+0C]
0000:0001BFF2 +0000C148 8B 46 FC MOV AX,[BP-04]
0000:0001BFF5 +0000C14B 26 89 07 MOV ES:[BX],AX
0000:0001BFF8 +0000C14E C4 5E 08 LES BX,[BP+08]
0000:0001BFFB +0000C151 8B 46 FE MOV AX,[BP-02]
0000:0001BFFE +0000C154 26 89 07 MOV ES:[BX],AX
0000:0001C001 +0000C157 33 C0 XOR AX,AX
0000:0001C003 +0000C159 C9 LEAVE
0000:0001C004 +0000C15A CB RETF

Patched:

 	0000:0001BFD0 +0000C126 BB 00 E0     MOV     BX,E000
0000:0001BFD3 +0000C129 90 NOP

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 6 of 9, by MiniMax

User metadata
Rank Moderator
Rank
Moderator
wd wrote:

Didn't play it too long, but starts fine.

wd - 2 more questions.

1) How did you install it? Using the game's installer, or did you manually unpack & copy the files?

2) Which version of DOSBox did you use?

When I tried to run the installer with DOSBox 0.63, I always get an "Runtime error 205 at 0000:0DD7" as it is about the unpack/copy the files to C:\DerClou.

If I use DOSBox 0.61, everything is fine.

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 7 of 9, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

e000 is the segment (that one should be read/write inside dosbox
and unused i think), so they'll get e000 as their UMB and are
happy with it...

I just extracted the files, the installer has a zero when loading
the fpu regs for a division, but didn't try 0.61 yet, thanks for
the hint.

wd

Reply 8 of 9, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

A follow-up thread about how to patch binary files from inside DOSBox:

Patching binary files from inside DOSBox

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 9 of 9, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

The runtime error in the installer is a bug in localDrive::FindFirst.
As the installer searches x:\lha.exe with all attributes set, dosbox
assumes that they are searching for the volume label. Maybe the
conditions there have to be refined to provide correct results here.

So installing will only work with earlier versions (dosbox 0.61) or
by extracting all the files by hand.

wd