Mac PoP emulation

Discuss other PoP1 related things here.
User avatar
cosmictruffle
Efendi
Efendi
Posts: 12
Joined: September 19th, 2011, 2:29 am

Mac PoP emulation

Post by cosmictruffle »

Has it ever been done successfully? I've tried playing PoP for Mac both via Total Pack (Basilisk II), and through SheepShaver, and no matter which emulator I use, with various settings, the sound it always terribly butchered. I really want to be able to rip the music because the Mac version's soundtrack is superb, in my opinion. Playing the game would be great too, but I can live with just the music. So, does anyone know how to go about this?
User avatar
cosmictruffle
Efendi
Efendi
Posts: 12
Joined: September 19th, 2011, 2:29 am

Re: Mac PoP emulation

Post by cosmictruffle »

programmer wrote:I've done it succesfully with BasiliskII, but not using the Total Pack version. Unfortunately, I don't have the emulator with my config now, so I can't help you.

But yes. It can be done.
Ah, I assumed since it didn't work on Total Pack's Basilisk, it wouldn't work on the regular one. I shall have to try that, then!
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5743
Joined: April 9th, 2009, 10:58 pm

Re: Mac PoP emulation

Post by Norbert »

cosmictruffle wrote:Mac PoP emulation [...] Has it ever been done successfully?
In December 2011, I got everything to work.
Things were very easy once I had managed to create .hfs packages with uncompressed files.
Here are the download links:
- Prince of Persia 1 for Mac
- PoPMap, An old editor for Mac
- TPC (The Persia Cheater)
I'm not a Mac fan or expert, but I could use Basilisk II under GNU/Linux.
(For instructions how to set up Basilisk II, see the menu on the left here.)
_Zaphod_
Beylerbey
Beylerbey
Posts: 60
Joined: January 13th, 2006, 12:01 am
Location: USA

Re: Mac PoP emulation

Post by _Zaphod_ »

I've NEVER been able to make mac PoP work with good sound. ever.

Not even Apples own emulation on intel macs is immune to the sound issue.

The issue is there is no color mac emulator with enough low level support. you might be able to get it working in black and white in vmac i think.
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5743
Joined: April 9th, 2009, 10:58 pm

Re: Mac PoP emulation

Post by Norbert »

Simple recording where I'm starting/playing PoP1 for Mac under GNU/Linux:
http://www.speedyshare.com/yMW2x/BasiliskII-PoP1.mpg
(I use padsp, an OSS wrapper, to make the audio work with the Basilisk II version I've got installed.)
adam77
Scholar Scribe
Scholar Scribe
Posts: 4
Joined: September 9th, 2009, 7:02 am

Re: Mac PoP emulation

Post by adam77 »

Not sure where the issue is for anyone. I just found my old sheepshaver and basilisk packages and both work just fine.
David
The Prince of Persia
The Prince of Persia
Posts: 2846
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Mac PoP emulation

Post by David »

I tried PoP in BasiliskII (version 0.8.0.142).
PoP1: the music skips certain parts, always the same parts.
PoP2: the music is slow.
adam77 wrote: I just found my old sheepshaver and basilisk packages
Which version are you using? Also, what settings?
_Zaphod_ wrote: you might be able to get it working in black and white in vmac i think.
I tried that with an old Mac OS I have, I got an error saying "Prince of Persia requires at least System 4.1.".
Then I tried the same disk image that I use in BasiliskII, then I got a "sad Mac" error (code 0F000C).
Finally I found a disk image of MacDraw that has System 4.1, and PoP starts, but it immediately crashes with error "ID = 12".

Some have better luck though: http://www.iknowthe.net/classicmac/pop.html
zodcra
Scholar Scribe
Scholar Scribe
Posts: 2
Joined: January 8th, 2015, 12:24 am

Re: Mac PoP emulation

Post by zodcra »

Hey guys, need some help here.

Installed Basilisk II with OS 7.5.3 on Mac OS X 10.8. Got the HFS images from Norbert on this post (thanks btw!).
Now I launch the game and no keys are working. Is there a manual remap for them? Tried every key for Start (Default was Enter) and could not get the game to start.
David
The Prince of Persia
The Prince of Persia
Posts: 2846
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Mac PoP emulation

Post by David »

zodcra wrote:Tried every key for Start (Default was Enter) and could not get the game to start.
You can start a new game from the menu (click anywhere to show the menu): File->New Game, or with Command-N (Command is mapped to Alt).
cosmictruffle wrote: I really want to be able to rip the music because the Mac version's soundtrack is superb, in my opinion. Playing the game would be great too, but I can live with just the music.
There is a program that plays music from the Mac version: viewtopic.php?p=10717#p10717
zodcra
Scholar Scribe
Scholar Scribe
Posts: 2
Joined: January 8th, 2015, 12:24 am

Re: Mac PoP emulation

Post by zodcra »

Thanks David! Can't believe I didn't try that before.
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5743
Joined: April 9th, 2009, 10:58 pm

Re: Mac PoP emulation

Post by Norbert »

For Linux, this document has detailed instructions:
2016-09-23_PoP_for_Mac_on_Linux.pdf
(ODT source)

[Edit: Newer PDF here.]
Falcury
Calif
Calif
Posts: 565
Joined: June 25th, 2009, 10:01 pm

Re: Mac PoP emulation

Post by Falcury »

Arriving from this thread...
David wrote: May 5th, 2018, 7:18 pmNow, if only someone could figure out why does the music skip when running PoP1 in BasiliskII... :)
A few days ago I got PoP1 and PoP2 working on Mini vMac (emulating a Mac II in 256 color mode).
It does not suffer from the slow sound issue! :)

There is a problem with PoP2 though... Mini vMac hijacks the control key for its own control mode, so you can't actually use the sword. Fortunately, I was eventually able to circumvent this by remapping the control key to something else in Mini vMac's source code, and recompiling.
David
The Prince of Persia
The Prince of Persia
Posts: 2846
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Mac PoP emulation

Post by David »

Falcury wrote: May 5th, 2018, 8:50 pm A few days ago I got PoP1 and PoP2 working on Mini vMac (emulating a Mac II in 256 color mode).
It does not suffer from the slow sound issue! :)
Really? How?? Please tell me!
I always got errors: viewtopic.php?p=15865#p15865
Exactly what versions/files did you use? (of Mini vMac, Mac System ROM, MacOS System disk, etc.)
Falcury
Calif
Calif
Posts: 565
Joined: June 25th, 2009, 10:01 pm

Re: Mac PoP emulation

Post by Falcury »

David wrote: May 12th, 2018, 12:14 pm Really? How?? Please tell me!
I always got errors: viewtopic.php?p=15865#p15865
Exactly what versions/files did you use? (of Mini vMac, Mac System ROM, MacOS System disk, etc.)
I'm redoing the steps, since there was a recent update that added the possibility to remap the key for control mode.
http://www.gryphel.com/index.html#news wrote:Latest News : May 6, 2018

Today’s Mini vMac Development source snapshot adds a new build system option “-km <src> <dst>”, for changing the mapping between keys on the real Keyboard and keys on the emulated Keyboard, or the Mini vMac Control Mode.
I started by downloading the latest compiled Mac II version of Mini vMac from this page:
http://www.gryphel.com/c/minivmac/dnld_mii.html

I downloaded all of the Old World ROMS from the Macintosh Repository:
https://www.macintoshrepository.org/703 ... s-68k-ppc-

I chose one of the 256k Mac II ROMs (most will probably work). (Rename to 'MacII.ROM')

I am currently using a boot disk with System 7.5.3 installed.
To make the emulator run faster I set the speed to either 32x or 'all out'.

I downloaded the latest 'alpha' source code from this page:
http://www.gryphel.com/c/minivmac/alpha.html
Direct link to the zip file: http://www.gryphel.com/d/minivmac/c/min ... 06.src.zip

Here are the build options that I entered:

Code: Select all

-t wx86
-m II
-hres 960 -vres 540
-depth 3
-sss 4
-drives 32
-sony-sum 1 -sony-tag 1
-iid 1
-km F1 CM -km Control Control
-speed 5
-ta 2
-em-cpu 2
-mnb 1
-kyt 3 -kyr 1
-chr 0
-e msv -ev 15000
-eol win
-d s
-log 1
-dis 1
Ouch, looks like this version has some serious issues. I cannot get past the startup screen, after that the application hangs. And the text rendering is garbled. Also, the control mode remapping feature does not seem to work. :(

Reverting to the previous alpha snapshot, from 29 April 2018.
Crap, this one has the bug as well...

Actually, it seems like I can't compile ANY version that works anymore. Even my previous build that used to work fine is now broken. :shock:
Maybe something got messed up in the last update to Windows, or Visual Studio. Damn.
I should try to see if GCC works.

Maybe the procedure above will still work for others, though, if it's just my system.

Anyway, the above steps *should* get you a working set-up.
Of course, you could tweak Mini vMac's build system options for your own preferences and build environment.
(For Dev-C++, you may be able to get it to compile by passing -e dvc in the build system)

I attached the x64 build that worked for me earlier.
It has 'control mode' remapped to Backslash.

By the way, there is still a slight issue with sound when playing Prince of Persia 2. The sound sometimes skips, especially if the emulator speed is high... This is a bit annoying, but fortunately much less so than the slow sound in Basilisk II.

Edit:
GCC seems to give a working build, but it's super slow to start up. What on earth is going on??
Attachments
minivmac_x64_backslash_is_control_mode.zip
(127.53 KiB) Downloaded 129 times
David
The Prince of Persia
The Prince of Persia
Posts: 2846
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Mac PoP emulation

Post by David »

Falcury wrote: May 12th, 2018, 5:02 pm I started by downloading the latest compiled Mac II version of Mini vMac from this page:
http://www.gryphel.com/c/minivmac/dnld_mii.html

I downloaded all of the Old World ROMS from the Macintosh Repository:
https://www.macintoshrepository.org/703 ... s-68k-ppc-

I chose one of the 256k Mac II ROMs (most will probably work). (Rename to 'MacII.ROM')

I am currently using a boot disk with System 7.5.3 installed.
Thank you, this works for me!
For the record, I chose this ROM: 1988-09 - 97221136 - Mac II FDHD & IIx & IIcx.ROM
And this boot disk: http://macintoshgarden.org/apps/macos-753-emulators
Post Reply