View Full Version : Dungeon Master II AGA
Does anyone here know why the doors in Dungeon Master II AGA don't open when you click on their buttons. I'm 99.9% positive it's an emulator problem with WinUAE. I'm using a .hdf version of the game. Has anyone even managed to get the darn doors to open up?? It's a real shame cos I'd love to play this great game again. :(
Ian
27 September 2001, 23:16
GODDAMNIT!!!
This game still has the same problem:mad
Does anyone have the time to try this out on their real AGA machine to see if it is an emulation problem or not:)
I have a feeling it's not, but I haven't got a real Amiga to check myself:)
RetroMan
27 September 2001, 23:41
Originally posted by Ian
Does anyone have the time to try this out on their real AGA machine to see if it is an emulation problem or not:)
Could ya upload it ? Canīt find my copy ..... Iīll never tried it since I got my A1200 not long ago ;)
Ian
27 September 2001, 23:48
Will do:)
Starting ........... NOW!!!
RetroMan
28 September 2001, 00:33
Originally posted by Ian
Will do:)
Starting ........... NOW!!!
Downloading ........... NOW !!! :D:D:D
Ian
28 September 2001, 00:35
It's all up there:)
Thanks for taking the time to have a look Retroman, it's much appreciated
Right I'll tell you what the problem is now, after selecting your characters you climb up the ladder into a room with 2 doors, a fireplace, a picture and a table.
Behind the table, which you have to shift out the way there is the picture. Behind that there are various items including a key, which goes into a lock near one of the doors, but neither of the doors opens in WinUAE no matter what you click on or press.
Hope you have some good news to report soon:D
Steve
28 September 2001, 12:09
Wow. I started this thread months ago. Great to see it's still going. Like you Ian I to am beginning to suspect that the problem lies with the game and not the emulator itself. Someone mentioned to me a few weeks ago that the version that is all over the internet is a dodgy crack (or original) version with copy protection that prevents you from opening the doors. I'm sure I remember my Amiga version being on more than six disks and it certainly didn't have this problem (it wasn't the original). I hope we're able to get this working as I'm getting a bit desperate for my next Dungeon Master fix!! :)
Maybe we need to start a new thread in the "Games images which need to be cracked" section of this message board?
RetroMan
29 September 2001, 12:43
Originally posted by Ian
Hope you have some good news to report soon:D
Well, I fired it up in WinUAE yesterday (cause my A1200 had some trouble :( ) and I noticed something weird .... as I first started the game, got the key and walked to the door, it opened !!! BUT ..... only the first time, after leaving the game and started again, it wonīt open anymore :( the problem is, I didnīt noticed, if I made something different the first time .... maybe I pressed a key or something, anyway, I hope to get my A1200 back in working condition today, so I will try on my real machine as well ..... more l8r .....
Steve
29 September 2001, 13:07
Originally posted by RetroMan
Well, I fired it up in WinUAE yesterday (cause my A1200 had some trouble :( ) and I noticed something weird .... as I first started the game, got the key and walked to the door, it opened !!! BUT ..... only the first time, after leaving the game and started again, it wonīt open anymore :( the problem is, I didnīt noticed, if I made something different the first time .... maybe I pressed a key or something, anyway, I hope to get my A1200 back in working condition today, so I will try on my real machine as well ..... more l8r .....
ooooh. I can't wait to hear if it works or not. That's very interesting that the door opened. I'm not sure we can read too much into it though. Does it put it on more onto the "Emulator Problem" or "Copy Protected Problem"?? It could be either. We'll find out soon enough I hope. Oh by the way there is 2 doors that you should be able to open. One with a key and one with a switch. Did you perhaps use a different configuration the first time when it worked. I really hope this is true.
RetroMan
29 September 2001, 13:39
Well, Iīm currently re-installing AmigaOS on my 1200er, right after that I will install DM 2 AGA and test it again ..... more from this later then, but for me it doesnīt seem to be an emulator problem, more a crack problem, but maybe Iīll find out, what I did the first time that I didnīt the other times I booted up .... hopefully :)
RetroMan
29 September 2001, 21:55
Hmm, sorry to disappoint you guys, but it IS a Emulation problem indeed ..... the game works without any problem on my A1200, all door will open and everything ....... but I still cannot believe that it worked ONCE in WinUAE ?!?!? Dunno why, I never could open the doors again, only the first time, I fired DM2 AGA up :(
Ian
29 September 2001, 22:28
One more for the "To-Do" list for Toni;)
Steve
29 September 2001, 22:34
Hmmm. Looks like we'll have to let try and let the UAE guys know about this really really strange problem. Although I did mention it on the UAE discussion board months ago and I heard nothing from the developers. Maybe they're not too interested in getting particular games working only in getting overall compatability better. This is really a great shame. I'd love to see this working on WinUAE. Oh well. What on earth could it be that isn't emulated? It's just so damn bizarre. Apart from this problem the game emulates perfectly. This has got to be one of the strangest things I've come across with regard to Amiga emulation. Thanks for clearing this little mystery up for us RetroMan it's greatly appreciated. Unfortunately my worst fears are realised and it is WinUAE. :( Does anyone with more "inside" technical knowledge of how WinUAE works have any possible theories on this situation? Can we motivate the developers into looking into this further??
RetroMan
30 September 2001, 00:36
Hey, no thx for that one please, I love testing :D:D:D anyway I made a last hopeless try and copied a save game from my A1200 to WinUAE with opened doors ;) but unfortunately the other doors in the game werenīt open either :( so..... guess we have to wait a bit :(
Ohhhh,btw ..... Iīm using WinUAE 0.8.17R1 anyone here tried the R2 on that game ???
Steve
30 September 2001, 00:44
Yes I've tried release 2 and it's exactly the same. In fact WinUAE has had exactly the same problem with DMII since version 0.8.8 which is the earliest version I have from 3 years ago!!! Unbelievable.....Believe it!! I don't think this bug will EVER be fixed unless someone lets the developers of WinUAE know exactly about the problem and get them to look into it. I've tried but with no success. Maybe what's needed is a petition? :)
RetroMan
30 September 2001, 00:59
Originally posted by steve_b
Maybe what's needed is a petition? :)
Iīll sign it :D
Toni Wilen
30 September 2001, 09:12
Ok, I'll take a look...
Could someone write small instructions for locating this stupid door or send me a saved game? (I am using HD-installed version of DM2)
Ian
30 September 2001, 10:33
Originally posted by Ian
It's all up there:)
Thanks for taking the time to have a look Toni, it's much appreciated
Right I'll tell you what the problem is now, after selecting your characters you climb up the ladder into a room with 2 doors, a fireplace, a picture and a table.
Behind the table, which you have to shift out the way there is the picture. Behind that there are various items including a key, which goes into a lock near one of the doors, but neither of the doors opens in WinUAE no matter what you click on or press.
Hope you have some good news to report soon:D
Here you go Toni, I already posted where and when it happens:)
Good luck:D
Toni Wilen
30 September 2001, 10:56
Here you go Toni, I already posted where and when it happens
Oops.. I'll try to read earlier messages better next time :)
Thanks for instructions.
Steve
30 September 2001, 12:09
Thanks very much Toni for taking the time to look into this really strange problem. Fingers crossed. :)
Toni Wilen
30 September 2001, 14:09
Could someone play DM2 on real Amiga and copy saves to WinUAE for testing if all or only the first door is stuck when running under emulator?
I'd guess all doors are stuck but I want to be sure.
Most logical reason would be bug in some very rare 68000 instruction that is only used in door code.
I hate these kind of "invisible bugs" :(
Ian
30 September 2001, 16:58
Originally posted by Toni Wilen
Oops.. I'll try to read earlier messages better next time :)
Hehe;)
Originally posted by RetroMan
Hmm, sorry to disappoint you guys, but it IS a Emulation problem indeed ..... the game works without any problem on my A1200, all door will open and everything ....... but I still cannot believe that it worked ONCE in WinUAE ?!?!? Dunno why, I never could open the doors again, only the first time, I fired DM2 AGA up :(
and
Originally posted by RetroMan
Hey, no thx for that one please, I love testing :D anyway I made a last hopeless try and copied a save game from my A1200 to WinUAE with opened doors ;) but unfortunately the other doors in the game werenīt open either :( so..... guess we have to wait a bit :(
RetroMan would it be possible for you to upload a save file from your real Amiga for Toni to test himself:)
Thanks for taking the time to look at this rather strange problem Toni:great
Toni Wilen
30 September 2001, 19:02
FIXED!
It really was bug in CPU emulation. 68020+ bit field instruction's Z and N flag handling was broken. Fix will be included in next UAE/WinUAE release.
Here is patch if someone wants to play with sources:
--- c:\d\WinUAE0817JIT\src\gencpu.c Sun Sep 2 23:15:38 2001
+++ gencpu.c Sun Sep 30 19:54:01 2001
@@ -1993,8 +1993,6 @@
printf ("\ttmp = (bf0 << (offset & 7)) | (bf1 >> (8 - (offset & 7)));\n");
}
printf ("\ttmp >>= (32 - width);\n");
- printf ("\tSET_NFLG_ALWAYS (tmp & (1 << (width-1)) ? 1 : 0);\n");
- printf ("\tSET_ZFLG (tmp == 0); SET_VFLG (0); SET_CFLG (0);\n");
switch (curi->mnemo) {
case i_BFTST:
break;
@@ -2025,6 +2023,8 @@
default:
break;
}
+ printf ("\tSET_NFLG_ALWAYS (tmp & (1 << (width-1)) ? 1 : 0);\n");
+ printf ("\tSET_ZFLG ((tmp & ((1 << width) - 1)) == 0); SET_VFLG (0); SET_CFLG (0);\n");
if (curi->mnemo == i_BFCHG
|| curi->mnemo == i_BFCLR
|| curi->mnemo == i_BFSET
RetroMan
30 September 2001, 22:03
@Toni
Well, I wonīt play with any source now :) but THAAAAAAANX for figuring out the error ...... canīt hardly wait for the next WinUAE release .......... GREAT WORK DUDE, keep up the good work :D
andreas
30 September 2001, 22:05
WOOOOW! Toni, you rule! :bounce
Twistin'Ghost
30 September 2001, 23:38
It's things like this that really put this forum into proper perspective. Not only is EAB great for camaraderie and finding those all too rare pieces of lost software + info on them, but it also helps shape future revisions on the emulators themselves.
All hail EAB!
Ian
30 September 2001, 23:41
Originally posted by andreas
WOOOOW! Toni, you rule! :bounce
x 10:great
Steve
01 October 2001, 11:43
:great :bounce :thumbs_up :spin :)
Toni that is completely awesome. You are a UAE god. Lol. 3 years I've been waiting for this bug to be fixed and finally it is. Thank you, thank you, thank you. You've inspired me to get more into the nitty gritty of UAE (the source). I'm going to try and learn as much as I can about the Amiga architecture so I can also help on WinUAE. I can't wait for the new release. Any idea when it's going to be ready?
Ps. THANKS TONI...
Steve
02 October 2001, 12:17
Originally posted by Toni Wilen
FIXED!
It really was bug in CPU emulation. 68020+ bit field instruction's Z and N flag handling was broken. Fix will be included in next UAE/WinUAE release.
Here is patch if someone wants to play with sources:
I told you I couldn't wait for the new release so I've gone and compiled it myself using the patch code you listed. It works like a charm Toni. Brilliant stuff. I was playing it for hours last night. :)
Twistin'Ghost
02 October 2001, 12:45
Hey, you should post the compiled binary!
Steve
02 October 2001, 13:12
However just be aware of a few things first. I've only managed to compile it in debug mode because I don't have the Microsoft SDK. This makes the exe file about 3.7MB in size. Also you need to have a special .dll file installed which is part of VisualC++6. :(
Sorry. Also because it is a debug version the sound is quite bad. I've posted it anyway.
Let me know what .dll files it asks for and I'll post them also.
Toni Wilen
02 October 2001, 14:17
Don't release debug versions. I am sure some user assumes it is official version and sends stupid bug reports to Brian King...
I can compile non-debug version later today if someone really want it.
Ian
02 October 2001, 14:21
That would be great Toni:great
But I'm quitte happy to wait for the next official release of WinUAE if you are busy with other stuff:)
Steve
02 October 2001, 14:53
Originally posted by Toni Wilen
Don't release debug versions. I am sure some user assumes it is official version and sends stupid bug reports to Brian King...
I can compile non-debug version later today if someone really want it.
Yeah I know. But I did put a message next to it warning that it is only a debug version and not to download it cos it most likely won't work. I should have updated the about screen actually. I'll get the Microsoft SDK and attempt a release build.
Toni, I've had a look at the about screen in the winuae.rc file. It has RichEdit boxes where the text is. How do you edit these RichEdit boxes so you can update the about?
Steve
02 October 2001, 15:12
I don't know how but I've managed to compile a release version of WinUAE. Maybe I already have the MSSDK. :) It's probably part of VC++ 6 enterprise edition which I have. Anywho it's compiled with 0 errors but 1994 warning. :D
Is this normal Toni? I'll upload it as soon as I find out how to edit the about screen in the WinUAE GUI (RichEdit). I'll write something like WinUAE 0.8.17, Release 2 (Dungeon Master II Fixed Edition)
Fix by Toni Wilen. :)
RCK (or any moderators) if you're reading this can you please remove the DEBUG version of WinUAE that I uploaded to the ADF-Zone. Thanks.
Amigaboy
02 October 2001, 15:17
RCK (or any moderators) if you're reading this can you please remove the WinUAE I uploaded to the ADF-Zone. Thanks.
hehe. We don't have that kind of power :D
Toni Wilen
02 October 2001, 15:21
I don't know how but I've managed to compile a release version of WinUAE. Maybe I already have the MSSDK
All versions of MSVC come with very old Platform SDK. You can download new version from Microsoft, it is only about 340 MB :)
But WinUAE should work with older SDK too. (Probably some new Windows-features are disabled if you use old SDK or something, I am not sure.. Only Brian King knows :)
with 0 errors but 1994 warning
This is normal...
Steve
02 October 2001, 15:26
Thanks for clearing that up Toni. :) So how do I edit the RichEdit boxes in the about menu. It's probably blindingly obvious but I can't seem to edit the information in the boxes. It has a link to IDC_RICHEDIT2 but I'm unable to find this either. :( Help Toni!! Lol.
Steve
02 October 2001, 16:37
Ok it was fairly easy to find in the end. I've updated the About section of the GUI so you know what version of WinUAE you are using. I've posted the new WinUAE DMII Edition into the ADF zone for everyone to enjoy. I'm at work at the moment and won't be able to test it till I get home. It should work perfectly though. Let me know if it works/doesn't work for you. Cheers. Have fun! :)
Steve
03 October 2001, 13:08
The new RELEASE version of WinUAE 0.8.17 that I compiled and uploaded to the ADF Zone works 100% perfectly with Dungeon Master II AGA. There's no dodgy sound and you don't need any extra .dll files. It works just great. I gave it a really tough 3 hour bug test last night and found a grand total of 0 problems. :)
Fred the Fop
03 October 2001, 14:10
Steve_b, you have pulled a "Sane" as I call it here, taking th e guts of WinUAE and making it better for everyone else. I know I speak for the vast majority here and thank you for doing this, and sharing it. Now the Atari St emu people can't brag about DM anymore, because the Amiga emu community now has DM AGA!!:) Wait:p..I'm an ex Atari St owner:laugh
Steve
03 October 2001, 14:38
...But it's not me you should be thanking, it's Toni. He's the one who fixed the bug I just added the patch and compiled it and tested it. :)
Please direct all thanks to Toni. He is the one who deserves it more than me. :)
Fred the Fop
03 October 2001, 15:02
Toni gets a Liberace. You get one too, for doing us the favor of bringing this to his attention:)
vBulletin® v3.7.0, Copyright ©2000-2013, Jelsoft Enterprises Ltd.