Question about making a batch file to run PearPC

[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

Locked
artaq
Space Cadet
Posts: 3
Joined: Sat May 15, 2004 5:51 pm

Question about making a batch file to run PearPC

Post by artaq »

I know this sounds bad, but I'm not 100% sure on how to create a batch file that will automate the startup process for PearPC. I've so far gotten it to boot up to the PearPC selection screen, where I can type in the partition number to boot, but I'd like to be able to set my OSX partition to "Force" so that no intervention is necessary. Any suggestions on how to do this? The example they have in the .cfg file is sorta hard to understand. Thanks!
luckyy
Student Driver
Posts: 11
Joined: Sun Dec 14, 2003 11:53 pm
Location: Vermont, USA
Contact:

Don't have to use a batch file

Post by luckyy »

You don't even really need a batch file to make it run from a shortcut.

Just create a shortcut of the ppc.exe binary (right-click, create shortcut).

Now edit the shortcut (right click, properties)

And now under "Target:", go to the end of the line, and put in your config file name, like so:

Image

Then, you should be able to use that shortcut, and it will load PearPC with the config file as a parameter.

As for automatically booting once pear is loaded, make sure that:

prom_bootmethod = "auto"

In your config file. Works for me, it automatically boots up.

Hope this helps.
Locked