Prince Of Persia 2 The Shadow And The Flame

About Mini vMac and all other 68k emulators, including SoftMac, Executor, and MESS.

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
robertmo
Student Driver
Posts: 19
Joined: Fri Nov 25, 2005 8:24 am

Prince Of Persia 2 The Shadow And The Flame

Post by robertmo »

Prince Of Persia 2 The Shadow And The Flame works nicely in Mini vMac 3.5.8 when you use a slightly modified resolution. I have enclosed a build I compiled on Vogons forum.
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Re: Prince Of Persia 2 The Shadow And The Flame

Post by ClockWise »

Attachments are disabled here. You'll have to post a link. :)
robertmo
Student Driver
Posts: 19
Joined: Fri Nov 25, 2005 8:24 am

Re: Prince Of Persia 2 The Shadow And The Flame

Post by robertmo »

User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Prince Of Persia 2 The Shadow And The Flame

Post by adespoton »

Ah; 644x480. Personally, I use 1280x720, and find that this works for all software that doesn't require the lower Plus resolution.
robertmo
Student Driver
Posts: 19
Joined: Fri Nov 25, 2005 8:24 am

Re: Prince Of Persia 2 The Shadow And The Flame

Post by robertmo »

Cause of some bug in Mini vMac, Prince Of Persia 2 has messed up graphics in introduction and some cutscenes when played using normal resolutions.

Hence I have hacked Mini vMac this way so that all cutscenes are being displayed properly.

Game uses 510x384 but doesn't look properly in 512x384, but looks ok in 516x384.
robertmo
Student Driver
Posts: 19
Joined: Fri Nov 25, 2005 8:24 am

Re: Prince Of Persia 2 The Shadow And The Flame

Post by robertmo »

I have tested Prince Of Persia 2 with lots and lots of horizontal resolutions and it looks only the following ones are breaking cutscenes:

320x
512x
640x
800x
1600x

All other resolutions work OK.
Why is Mini vMac treating above resolutions in a special way?
User avatar
gryphel
Nice Guy
Posts: 106
Joined: Sat Nov 17, 2007 6:46 pm

Re: Prince Of Persia 2 The Shadow And The Flame

Post by gryphel »

robertmo wrote:Why is Mini vMac treating above resolutions in a special way?
Mini vMac doesn't. It seems more likely the game has special cases for the most common screen resolutions. (Perhaps it has optimized code for those cases, that might go more directly to the graphics hardware.)

According to a comment on a certain Macintosh abandonware site, the game works in Mini vMac with 512x384 resolution and 256 colors. The intro at least does seem to work with the options "-t mc64 -m II -hres 512 -vres 384" (using System 7.1), and it doesn't at the default resolution.
robertmo
Student Driver
Posts: 19
Joined: Fri Nov 25, 2005 8:24 am

Re: Prince Of Persia 2 The Shadow And The Flame

Post by robertmo »

I have also tested Prince Of Persia 2 demo version and it looks only one horizontal resolution is making screen distortions in intro/cutscenes:

512x

All other resolutions (including 320x, 640x, 800x and 1600x) look correctly.

It is easy to test as it is the first screen of intro that is distorted (the one with credits "Broderbund software presents").

I use System 7.5.5
robertmo
Student Driver
Posts: 19
Joined: Fri Nov 25, 2005 8:24 am

Re: Prince Of Persia 2 The Shadow And The Flame

Post by robertmo »

I have noticed that cause of some reason Prince of Persia 2 demo has got two right most vertical lines removed making intro doesn't look nice. That was somewhat changed in full version where it is removing two vertical lines from the middle of the screen (line 17 and 18 from the right) so that it is less visible.

Nevertheless cause of some reason both versions have horizontal resolution lowered from 512 to 510 lines.

http://www.vogons.org/viewtopic.php?f=10&t=58362
I enclosed the picture on vogons forum in the above link.
robertmo
Student Driver
Posts: 19
Joined: Fri Nov 25, 2005 8:24 am

Re: Prince Of Persia 2 The Shadow And The Flame

Post by robertmo »

I have tested Prince Of Persia 2 demo version in SoftMac and it has 640x resolution with distorted screen while other resolutions (including 512x) work ok.

This would mean it is not a game problem but the emulator problem.
robertmo
Student Driver
Posts: 19
Joined: Fri Nov 25, 2005 8:24 am

Re: Prince Of Persia 2 The Shadow And The Flame

Post by robertmo »

just in case, i am getting this during compilation:
1>ADBEMDEV.c
1>d:\2\minivmac-3.5.8-wx86\src\ADBSHARE.h(89): warning C4456: declaration of 'p' hides previous local declaration
1>d:\2\minivmac-3.5.8-wx86\src\ADBSHARE.h(55): note: see declaration of 'p'
robertmo
Student Driver
Posts: 19
Joined: Fri Nov 25, 2005 8:24 am

Re: Prince Of Persia 2 The Shadow And The Flame

Post by robertmo »

I have also tested Prince Of Persia 2 demo version in BasiliskII and SheepShaver and it has 640x resolution with distorted screen while other resolutions (including 512x) work ok.
robertmo
Student Driver
Posts: 19
Joined: Fri Nov 25, 2005 8:24 am

Re: Prince Of Persia 2 The Shadow And The Flame

Post by robertmo »

It looks I have found the solution:

I have checked minivmac v3.2.3 and v3.4.1 and they behave same way as v3.5.8 with 512x and 640x horizontal resolutions.

But what is important:
Even though your building program says horizontal resolutions are allowed every 32 pixeles
v3.5.8 actually allows it every 4 pixels
while
v3.2.3 allows every 16 pixels

But if I use not allowed horizontal resolution in v3.2.3 (for example 513x) the screen of the operating system is distorted almost the same way it is distorted in the game.

Could you make minivmac allow horizontal resolutions every single pixel?
robertmo
Student Driver
Posts: 19
Joined: Fri Nov 25, 2005 8:24 am

Re: Prince Of Persia 2 The Shadow And The Flame

Post by robertmo »

BasiliskII and Sheepshaver allow it every pixel
robertmo
Student Driver
Posts: 19
Joined: Fri Nov 25, 2005 8:24 am

Re: Prince Of Persia 2 The Shadow And The Flame

Post by robertmo »

I have also tested Prince Of Persia 2 demo version in Fusion and it has 640x, 800x, 1024x, 1152x and 1280x horizontal resolutions with distorted screen, while 512x looks ok.

I have also tested Prince Of Persia 2 full version in Fusion and it has 1024x, 1152x and 1280x horizontal resolutions with distorted screen, while 512x, 640x and 800x look ok.
Last edited by robertmo on Sun Feb 25, 2018 8:27 pm, edited 1 time in total.
robertmo
Student Driver
Posts: 19
Joined: Fri Nov 25, 2005 8:24 am

Re: Prince Of Persia 2 The Shadow And The Flame

Post by robertmo »

I have managed to run Fusion in 512x horizontal resolution, so I updated my previous message.
robertmo
Student Driver
Posts: 19
Joined: Fri Nov 25, 2005 8:24 am

Re: Prince Of Persia 2 The Shadow And The Flame

Post by robertmo »

case solved :)
you just have to delete the .opt file :)
fixes both full and demo in all resolutions :)
Post Reply