Login  •  Register


The time is now: Sun May 26, 2013 4:12 am

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 1 of 1 [ 11 posts ]
Print view Previous topic  |  Next topic
Author Message
PostPosted: Wed May 25, 2005 4:49 am 
Offline
Space Cadet

Joined: Wed May 25, 2005 4:43 am
Posts: 1
Location: California
when i type "C:\PearPC> ppc osx.config" cmd says,

"osx.config: invalid character ' ' (ff) in line 1
usage: ppc configfile"

ok, here's my config file:

ppc_start_resolution = "800x600x15"
redraw_interval_msec = 40
prom_bootmethod = "select"
prom_env_machargs = "-v"
prom_driver_graphic = "video.x"
memory_size=0x8000000
pci_ide0_master_installed = 1
pci_ide0_master_image = "macosx_3gb.img"
pci_ide0_master_type = "hd"
pci_ide0_slave_installed = 1
pci_ide0_slave_image = "MacOSX_CD1.iso"
pci_ide0_slave_type = "cdrom"
pci_3c90x_installed = 0
pci_3c90x_mac = "de:ad:ca:fe:12:34"
pci_rtl8139_installed = 0
pci_rtl8139_mac = "de:ad:ca:fe:12:35"
pci_usb_installed = 1
nvram_file = "nvram"

i don't know what's wrong with it. help would be great.


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Wed May 25, 2005 7:44 am 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 3128
Location: Sittard, The Netherlands
If this is realy the only text in your config file, you could try to copy it to an new file using notepad and save it under some name.
Then try to start pearpc with the new file.

Cat_7


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Thu May 26, 2005 6:09 pm 
Offline
Forum All-Star
User avatar

Joined: Thu Jul 22, 2004 9:02 am
Posts: 1053
Location: Israel
You seem to have a blank character (space) after each line in the config file, why? I believe this is the cause of your problem.


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Wed Jun 22, 2005 7:55 pm 
Offline
Student Driver
User avatar

Joined: Wed Jun 22, 2005 7:45 pm
Posts: 12
*bumps old thread*

Welcome the n00b!

I'm having a similar problem!

Code:
C:\PearPC> ppc osx.pearpc

or
Code:
C:\PearPC> ppc osx.config


Result:
Code:
osx.config: I/O error: No such file or directory
Ussage: ppc configfile


The only different is the either config or pearpc before the error.

I'm not sure what went wrong. I checked all my folders and my cmd codes to make sure I was typing the corrent thing. This is my config file, if it helps at all!:



Code:
## PearPC Configuration File

##
## Start Resolution
##
## (clients that use video.x can change the resolution at runtime,
##  so this would be used only for starting up)
##
##   format:  "(width)x(height)x(depth)"
##       or   "(width)x(height)x(depth)@(frequency)"
##
##   depth can only be 15 or 32
##
##   default: "800x600x15"
##

ppc_start_resolution = "800x600x15"

##
## Redraw interval (in ms)
## must be between 10 and 500
##
## If you set this higher, PearPC will spend less time doing redraws (and so run faster)
## but feel less responsive. You should adjust this to your computer speed and personal
## preference.
##

redraw_interval_msec = 40

##
## Key codes
##

key_toggle_mouse_grab = "F12"

key_toggle_full_screen = "Alt+Return"


##
## Loader
##

##
##   Boot method
##     this can be
##     1. "auto", prom will boot the first bootable partition found (default)
##     2. "select", prom will show you a list of bootable partitions
##     3. "force", prom will load and boot the local file prom_loadfile
##

prom_bootmethod = "auto"

## Example of how to use "force":

#prom_bootmethod = "select"
#prom_loadfile = "test/yaboot"
#prom_env_bootpath = "disk"

##
##   bootargs: don't change unless you know what you are doing
##   machargs: set to "-v" to get a verbose startup
##

#prom_env_bootargs = ""
prom_env_machargs = "-v"

##
##   This is needed if you want to boot Mac OS X
##
prom_driver_graphic = "video.x"

## This will adjust the position of the initial page table (don't change)

#page_table_pa = 104857600

##
## CPU Config
##
##   Processor Version Register
##   Defaults to 0x00088302
##   Only change if you know want you are doing
##

#cpu_pvr = 0x00088302


##
## Main memory (default 128 MiB)
## must be >= 64 MiB
##

#memory_size=0x8000000

##
## IO Devices
##

##
##   PCI IDE Config
##
##   Drive type will be set according to file extension:
##      .img: Harddisk (filesize must be multiple of 516096)
##      .iso: CD-Rom
##   Or you can override this by specifying the type via
##   pci_ide0_master_type / pci_ide0_slave_type

pci_ide0_master_installed = 1
pci_ide0_master_image = "c:\pearpc\6gb.img"
#pci_ide0_master_type = "hd"

pci_ide0_slave_installed = 1
pci_ide0_slave_image = "c:\pearpc\osx3.iso"
pci_ide0_slave_type = "cdrom"

##
##   Network
##
##   Choose one of the cards

pci_3c90x_installed = 0
pci_3c90x_mac = "de:ad:ca:fe:12:34"

pci_rtl8139_installed = 0
pci_rtl8139_mac = "de:ad:ca:fe:12:35"

##
##   USB
##
pci_usb_installed = 1

##
##   NVRAM
##
nvram_file = "nvram"


HelP! :( :P


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Wed Jun 22, 2005 10:29 pm 
Offline
Forum All-Star
User avatar

Joined: Thu Jul 22, 2004 9:02 am
Posts: 1053
Location: Israel
Banny wrote:
*bumps old thread*

Welcome the n00b!

I'm having a similar problem!

Welcome to Emaculation!

How is your config file called and where is it saved? Because it seems like either a wrong filename or a typo.


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Thu Jun 23, 2005 4:29 am 
Offline
Student Driver
User avatar

Joined: Wed Jun 22, 2005 7:45 pm
Posts: 12
PPC_Digger wrote:

How is your config file called and where is it saved? Because it seems like either a wrong filename or a typo.


Well, I posted my config file above. It is saved under "C:\PearPC" and it is named OSX.pearpc

Here is a screenshot of my filenames.

I tried this as I tohught prehaps that was the correct thing to do as my configure file is ppccfg:

Code:
"ppccfg " is not recognized as an internal or external command, operable program or batch file.



Any ideas of whats going wrong?


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Fri Jun 24, 2005 11:54 pm 
Offline
Student Driver
User avatar

Joined: Wed Jun 22, 2005 7:45 pm
Posts: 12
Also, while I've been waiting for a responce, I've been fiddling with a few things. Heres where I got recently:
Code:
C:\PearPC>ppc ppccfg.example
ppccfg.example: '"' expected in line 112
usage: ppc configfile

...so I quickly realised I was missing one of my " marks and that was all fine! :P

So I replace my " mark and tried again:

Code:
C:\PearPC>ppc ppccfg.example
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as published by
the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA

GenuineIntel
 CMOV MMX SSE SSE2
[Display/SDL]: Making new window 800 x 600
[CPU/MMU] new pagetable: sdr1 = 0x00300003
[CPU/MMU] new pagetable: sdr1 accepted
[Display/SDL]: changeRes got called
[Display/SDL]: SDL: Changing resolution to 800x600x15
[Display/SDL]: can use SWSURFACE
[Display/SDL]: can use HWACCEL
[CPU/MMU] number of pages: 2^15 pagetable_start: 0x00300000 size: 2^18
SDL: FATAL: can't switch mode?!

C:\PearPC>


Well, at least I'm getting somwhere. I don't understand the error though. What went wrong?


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Sun Jun 26, 2005 5:05 pm 
Offline
Forum All-Star
User avatar

Joined: Thu Jul 22, 2004 9:02 am
Posts: 1053
Location: Israel
Banny wrote:
Also, while I've been waiting for a responce, I've been fiddling with a few things. Heres where I got recently:
Code:
C:\PearPC>ppc ppccfg.example
ppccfg.example: '"' expected in line 112
usage: ppc configfile

...so I quickly realised I was missing one of my " marks and that was all fine! :P

So I replace my " mark and tried again:

Code:
C:\PearPC>ppc ppccfg.example
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as published by
the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA

GenuineIntel
 CMOV MMX SSE SSE2
[Display/SDL]: Making new window 800 x 600
[CPU/MMU] new pagetable: sdr1 = 0x00300003
[CPU/MMU] new pagetable: sdr1 accepted
[Display/SDL]: changeRes got called
[Display/SDL]: SDL: Changing resolution to 800x600x15
[Display/SDL]: can use SWSURFACE
[Display/SDL]: can use HWACCEL
[CPU/MMU] number of pages: 2^15 pagetable_start: 0x00300000 size: 2^18
SDL: FATAL: can't switch mode?!

C:\PearPC>


Well, at least I'm getting somwhere. I don't understand the error though. What went wrong?

I had this problem in the past. Try settings the display to 32-bit.
Replace
Code:
ppc_start_resolution = "800x600x15"

with
Code:
ppc_start_resolution = "800x600x32"

It helped me. Good luck.


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Sun Jun 26, 2005 5:07 pm 
Offline
Student Driver
User avatar

Joined: Wed Jun 22, 2005 7:45 pm
Posts: 12
That did it! Thanks!! :D


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Sat Jul 02, 2005 1:04 pm 
Offline
Student Driver
User avatar

Joined: Wed Jun 22, 2005 7:45 pm
Posts: 12
Hmm, my problem has returner. (I spent the past couple of days fixing up my .iso file as it didn't work)

Code:
GenuineIntel
 CMOV MMX SSE SSE2
[Display/SDL]: Making new window 800 x 600
[CPU/MMU] new pagetable: sdr1 = 0x06400003
[CPU/MMU] new pagetable: sdr1 accepted
[Display/SDL]: changeRes got called
[Display/SDL]: SDL: Changing resolution to 800x600x15
[Display/SDL]: can use SWSURFACE
[Display/SDL]: can use HWACCEL
SDL: FATAL: can't switch mode?!

C:\PearPC>


Code:
## PearPC Configuration File

##
## Start Resolution
##
## (clients that use video.x can change the resolution at runtime,
##  so this would be used only for starting up)
##
##   format:  "(width)x(height)x(depth)"
##       or   "(width)x(height)x(depth)@(frequency)"
##
##   depth can only be 15 or 32
##
##   default: "800x600x15"
##

ppc_start_resolution = "800x600x32"

##
## Redraw interval (in ms)
## must be between 10 and 500
##
## If you set this higher, PearPC will spend less time doing redraws (and so run faster)
## but feel less responsive. You should adjust this to your computer speed and personal
## preference.
##

redraw_interval_msec = 60

##
## Key codes
##

key_toggle_mouse_grab = "F12"

key_toggle_full_screen = "Alt+Return"


##
## Loader
##

##
##   Boot method
##     this can be
##     1. "auto", prom will boot the first bootable partition found (default)
##     2. "select", prom will show you a list of bootable partitions
##     3. "force", prom will load and boot the local file prom_loadfile
##

prom_bootmethod = "select"

## Example of how to use "force":

#prom_bootmethod = "force"
#prom_loadfile = "test/yaboot"
#prom_env_bootpath = "disk"

##
##   bootargs: don't change unless you know what you are doing
##   machargs: set to "-v" to get a verbose startup
##

prom_env_bootargs = ""
prom_env_machargs = "-v"

##
##   This is needed if you want to boot Mac OS X
##
prom_driver_graphic = "video.x"

## This will adjust the position of the initial page table (don't change)

page_table_pa = 104857600

##
## CPU Config
##
##   Processor Version Register
##   Defaults to 0x00088302
##   Only change if you know want you are doing
##

cpu_pvr = 0x00088302


##
## Main memory (default 128 MiB)
## must be >= 64 MiB
##

memory_size=0x8000000

##
## IO Devices
##

##
##   PCI IDE Config
##
##   Drive type will be set according to file extension:
##      .img: Harddisk (filesize must be multiple of 516096)
##      .iso: CD-Rom
##   Or you can override this by specifying the type via
##   pci_ide0_master_type / pci_ide0_slave_type

pci_ide0_master_installed = 1
pci_ide0_master_image = "c:\pearpc\6gb.img"
pci_ide0_master_type = "hd"

pci_ide0_slave_installed = 1
pci_ide0_slave_image = c:\pearpc\osx1.iso"
pci_ide0_slave_type = "cdrom"

##
##   Network
##
##   Choose one of the cards

pci_3c90x_installed = 0
pci_3c90x_mac = "de:ad:ca:fe:12:34"

pci_rtl8139_installed = 0
pci_rtl8139_mac = "de:ad:ca:fe:12:35"

##
##   USB
##
pci_usb_installed = 1

##
##   NVRAM
##
nvram_file = "nvram"


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Sun Jul 10, 2005 5:40 pm 
Offline
Forum All-Star
User avatar

Joined: Thu Jul 22, 2004 9:02 am
Posts: 1053
Location: Israel
Try deleting the "nvram" file in the PearPC folder.


Top
 Profile  
Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 1 of 1 [ 11 posts ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
 

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group