PearPC for Windows Setup Guide (with the new 0.5.0 release)

[ARCHIVED] About PearPC, a mostly obsolete PPC Mac emulator for Windows and Linux to run MacOS X 10.1 up to 10.4. Using QEMU is now recommended.

Moderators: Cat_7, Ronald P. Regensburg

User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Post by ClockWise »

Hurrah!

I wish we knew which of those changes solved the problem. I suppose we will never know.

Cat_7 suggested that the problem was with your blank 6 GB disk image. You are now using the one from this site. Were you using something different originally?
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Post by ClockWise »

This guide now includes a note about the online config file generator. I've been recommending it so much in the forum that I thought it was about time the guide had a reference to it.
Galane
Tinkerer
Posts: 58
Joined: Mon Sep 07, 2009 3:03 am

Post by Galane »

Latest Redscorp release on XP SP3.

The only way I was able to get Tiger installed from CD images was after the first CD was done and PearPC quit, I manually edited the config file to add the second IDE controller and mounted CD's 2, 3 and 4.

The install completed successfully.

Now the big problem is there's no way I've been able to find to make the thing either change CD images while running or use the PCs real CD-ROM. With an IDE port enabled but no image name in the config for it, it won't boot.

If I only have IDE enabled for the hard drive image and have native CD-ROM access enabled, it won't boot, not even with a Mac formatted disc in the drive.

If I enable either network option, it won't boot.

Without being able to either change CD images or access the real CD/DVD drive and without network access, PearPC is pretty much useless.

If I drag the mounted CD images to the trash, they unmount then a few seconds later re-mount.

There needs to be a GUI or configuration file creator that will work with the other IDE ports. The online config file generator creates a network section that the Redscorp release will not boot with, even when set to disabled. I had to copy and paste from a file made by the Redscorp modified version of the GUI.

Here's the config I used, with modified network and IDE sections.

# This PearPC config file has been generated by a script located on http://guillaumejamet.eu

# Wed, 24 Nov 2010 06:07:48 GMT
# Config reference : http://wiki.pearpc.net/index.php?title= ... ation_File
# More info about PearPc, forums and community : http://pearpc.net

# __________________________________________________________________________ Boot parameters
prom_env_machargs = ""
prom_env_bootargs = ""
prom_bootmethod = "auto"

# __________________________________________________________________________ Hotkeys
key_compose_dialog = "F11"
key_change_cd_0 = "F10"
key_toggle_mouse_grab = "F12"
key_toggle_full_screen = "Alt+Return"

# __________________________________________________________________________ Video
prom_driver_graphic = "video.x"
ppc_start_full_screen = 0
redraw_interval_msec = 40
ppc_start_resolution = "800x600x15@60"

# __________________________________________________________________________ Disks
pci_ide0_master_installed = 1
pci_ide0_master_type = "hd"
pci_ide0_master_image = "macosx_6gb.img"
pci_ide0_slave_installed = 1
pci_ide0_slave_type = "cdrom"
pci_ide0_slave_image = ""
pci_ide2_master_installed = 1
pci_ide2_master_type = "cdrom"
pci_ide2_master_image = ""
pci_ide2_slave_installed = 1
pci_ide2_slave_type = "cdrom"
pci_ide2_slave_image = ""

# __________________________________________________________________________ Network
pci_rtl8139_installed = 0
pci_rtl8139_mac = "de:ad:ca:fe:12:35"
pci_rtl8139_type = "tap"
pci_rtl8139_interface = ""
pci_3c90x_installed = 0
pci_3c90x_mac = "de:ad:ca:fe:12:35"
pci_3c90x_type = "tap"
pci_3c90x_interface = ""

# __________________________________________________________________________ CPU
cpu_pvr = 0x00088302

# __________________________________________________________________________ Memory
nvram_file = "nvram"
page_table_pa = 104857600
memory_size = 0x8000000

# __________________________________________________________________________ USB
pci_usb_installed = 1
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Post by Cat_7 »

Hi,

Those redscorp code changes are not documented well.
For current networking options, please read here:
http://www.pearpc.net/viewtopic.php?f=1 ... =30#p47546

For more info on disks and partitions, use these parameters in the config file:
prom_env_bootargs = "-v"
prom_bootmethod = "select"

And have you tried setting a cd rom to e.g. "E:\"
and "nativecdrom", like this:
pci_ide0_slave_installed = 1
pci_ide0_slave_type = "nativecdrom"
pci_ide0_slave_image = "E:\"

Best,
Cat_7
Galane
Tinkerer
Posts: 58
Joined: Mon Sep 07, 2009 3:03 am

Post by Galane »

Tried that with NATIVECDROM and after the loading bar gets to the end it just sits there. It does the same thing when I try to mount the Apple3Com3C90x-7-sw-pkg.iso image with the IDE set to CDROM

I have been able to get it to mount other image files.

What'd be nice is if it would use the same network setup as Basilisk II and Sheep Shaver. Simple and it works.
emendelson
Forum All-Star
Posts: 1706
Joined: Tue Oct 14, 2008 12:12 am

Re: PearPC for Windows Setup Guide (with the new 0.5.0 relea

Post by emendelson »

PearPC.net seems to have disappeared. There's a link to it in the setup guide - for how to set up networking. Is it possible to get that information directly into the setup guide? Thanks!

EDIT: Maybe this is enough:

http://web.archive.org/web/200806041648 ... s_XP/Vista
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Re: PearPC for Windows Setup Guide (with the new 0.5.0 relea

Post by ClockWise »

I'll add that guide to our own wiki. Let me know if you find anything else in the PearPC.net archive that should be copied over. Really sad that no one was around to renew the domain of that site. The forum had a wealth of information and tips (not to mention history).
emendelson wrote:PearPC.net seems to have disappeared. There's a link to it in the setup guide - for how to set up networking. Is it possible to get that information directly into the setup guide? Thanks!

EDIT: Maybe this is enough:

http://web.archive.org/web/200806041648 ... s_XP/Vista
emendelson
Forum All-Star
Posts: 1706
Joined: Tue Oct 14, 2008 12:12 am

Re: PearPC for Windows Setup Guide (with the new 0.5.0 relea

Post by emendelson »

I haven't tried PearPC yet at all; am hoping that adespoton can provide further tips for his Wine-based solution (I'm not clear on whether you need to start with a Windows install first, for example). Will then see what else might be needed for the guide.
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: PearPC for Windows Setup Guide (with the new 0.5.0 relea

Post by adespoton »

I just realized something... if someone can figure out what IP address pearpc.net used to be at, the server's probably still up....
tracker40444
Space Cadet
Posts: 1
Joined: Thu Mar 03, 2016 12:54 am

Re: PearPC for Windows Setup Guide (with the new 0.5.0 relea

Post by tracker40444 »

The link to the PearPC VirtualBox Gui is no longer valid. Is there anywhere else that it can be downloaded?
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Re: PearPC for Windows Setup Guide (with the new 0.5.0 relea

Post by ClockWise »

I'll try to upload one locally in the next day or two. Check back in this topic (or on the wiki).
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Re: PearPC for Windows Setup Guide (with the new 0.5.0 relea

Post by ClockWise »

Sorry about the delay. I will upload a copy from my HD tomorrow, but I think this is a working link:

https://drive.google.com/file/d/0B-Y9cN ... 2847717017
RobK88
Space Cadet
Posts: 2
Joined: Sun Sep 02, 2018 7:21 pm

Re: PearPC for Windows Setup Guide (with the new 0.5.0 relea

Post by RobK88 »

You can no longer download the PearPC VirtualBox GUI from the developer's website -- http://www.kxlan.co.uk/Jamie/

If you click the link on the website, you will get "500- Internal Server Error".

But you can still download it from the WayBack Machine website.

See
https://web.archive.org/web/20171230205 ... %202.0.exe

The administrator of Emaculation.com may want to consider mirroring this file before it disappears from the internet since it the the tool recommended by Emaculation.com when setting up PearPC.

RobK88
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Re: PearPC for Windows Setup Guide (with the new 0.5.0 relea

Post by ClockWise »

The wiki now points to the archived version. Thanks!
User avatar
CorporalPig22
Inquisitive Elf
Posts: 39
Joined: Sun Jun 10, 2018 1:37 am

Re: PearPC for Windows Setup Guide (with the new 0.5.0 relea

Post by CorporalPig22 »

For some reason the VirtualBox GUI is identified as a virus, even though it really isn't, but I'm pretty sure there's isn't any malicious code. Either Windows perceives it as malware or....well....should I run it anyway, or should I test it in a virtual machine first?
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: PearPC for Windows Setup Guide (with the new 0.5.0 relea

Post by adespoton »

What's the SHA256/SHA1/MD5 checksum of the file you're seeing identified as a virus? What's the virus name? What's the AV product scanning it (Windows Defender)?

If you can provide me with that info, I can tell you whether there's an issue or not. It's most likely just due to a heuristic FP, like with the Basilisk II GUI, but I'll need to know more first.
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Re: PearPC for Windows Setup Guide (with the new 0.5.0 relea

Post by ClockWise »

I think that virus scanners pick up the compressed disk image as an "archive bomb" because it expands into something quite large.
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: PearPC for Windows Setup Guide (with the new 0.5.0 relea

Post by adespoton »

That'd make sense; it'd be the zipped disk images that'd do it.
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Re: PearPC for Windows Setup Guide (with the new 0.5.0 relea

Post by ClockWise »

Whenever I get around to updating the PearPC guide for real I'll try to strip that out. As I recall, the image provided in the GUI doesn't actually work with the emulator and (for whatever reason) the disk image download provided separately doesn't get flagged as a virus.
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: PearPC for Windows Setup Guide (with the new 0.5.0 relea

Post by adespoton »

Some AV engines only flag if it's got both an executable AND rapidly expanding files in it. So if it's just got large files, they'll ignore it.
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Re: PearPC for Windows Setup Guide (with the new 0.5.0 relea

Post by ClockWise »

Good to know. It sounds like stripping the file from the GUI and hosting it locally is the way to go!
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Re: PearPC for Windows Setup Guide (with the new 0.5.0 relea

Post by ClockWise »

I rewrote the guide this week.

Will revise based on suggestions posted here, of course.

Link is the same: https://www.emaculation.com/doku.php/pearpc_setup
User avatar
mabam
Master Emulator
Posts: 497
Joined: Wed Apr 10, 2013 9:32 am

Re: PearPC for Windows Setup Guide (with the new 0.5.0 relea

Post by mabam »

I can't judge the guide itself as I've never used PearPC. But you might want to put the content of the configuration file into a code block and mention that the text needs to be unformatted or something.

Good to see things get updated, thanks for your efforts!
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Re: PearPC for Windows Setup Guide (with the new 0.5.0 relea

Post by ClockWise »

A very good point. The wiki has code block tags. I totally forgot that for some reason. Will revise.
Locked