P00 to PRG?

History and Preservation Issues

Moderator: Moderators

Post Reply
User avatar
Mayhem
High Bidder
Posts: 3027
Joined: Mon May 24, 2004 7:03 am
Website: http://www.mayhem64.co.uk
Location: London

P00 to PRG?

Post by Mayhem »

I've got a bunch of program files in P00 format... now Vice will read them fine but I'd like to convert them into PRG if possible. Any easy way?
Lie with passion and be forever damned...
carlsson
Class of '6502
Posts: 5516
Joined: Wed Mar 10, 2004 1:41 am

Post by carlsson »

I think cbmconvert can handle them? The other option is to attach an empty D64 image to VICE, load a P00 file and within the emulator save it to the virtual floppy disk. From there you probably already know how to extract individual files, which will be in pure PRG format.
Anders Carlsson

Image Image Image Image Image
Boray
Musical Smurf
Posts: 4064
Joined: Mon May 03, 2004 10:47 am

Post by Boray »

In VICE under Peripheral settings, you can sett it to read P00 files, but write .PRG files (Mark "Read" but unmark "Write"). You can also set this differently for different devices 8,9 etc...
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
User avatar
nbla000
Salmon Run
Posts: 2582
Joined: Thu Oct 13, 2005 8:58 am
Location: Italy

Re: P00 to PRG?

Post by nbla000 »

Mayhem wrote:I've got a bunch of program files in P00 format... now Vice will read them fine but I'd like to convert them into PRG if possible. Any easy way?
I use Star Commander (the link doesn't work at the moment), you may send me the files, if you want.
Mega-Cart: the cartridge you plug in once and for all.
User avatar
Mayhem
High Bidder
Posts: 3027
Joined: Mon May 24, 2004 7:03 am
Website: http://www.mayhem64.co.uk
Location: London

Post by Mayhem »

I've used Star Commander for a long time... so what do I do with it to convert P00 to PRG? :)

I can try loading and saving in Vice, but it might not work with all the files I have...
Lie with passion and be forever damned...
User avatar
nbla000
Salmon Run
Posts: 2582
Joined: Thu Oct 13, 2005 8:58 am
Location: Italy

Post by nbla000 »

really easy,
Open a P00 file like a D64 file and you see PRG files inside then move PRG files where you want.
Mega-Cart: the cartridge you plug in once and for all.
User avatar
Mayhem
High Bidder
Posts: 3027
Joined: Mon May 24, 2004 7:03 am
Website: http://www.mayhem64.co.uk
Location: London

Post by Mayhem »

I might need a newer version StarCom then... I tried doing that originally and it wasn't having anything of it to let me look inside... told me the file image was invalid. But the P00s load and run fine in Vice though. Anything to do with the fact these are Vic20 P00 files...?
Lie with passion and be forever damned...
User avatar
Mayhem
High Bidder
Posts: 3027
Joined: Mon May 24, 2004 7:03 am
Website: http://www.mayhem64.co.uk
Location: London

Post by Mayhem »

I've got 64Copy and that seems to be doing the trick :)

Have to process them all properly now and see what new games lie within...
Lie with passion and be forever damned...
User avatar
nbla000
Salmon Run
Posts: 2582
Joined: Thu Oct 13, 2005 8:58 am
Location: Italy

Post by nbla000 »

64Copy looks like StarCommander, it's really similar but lacks communication to the 1541/71/81 floppy drives, is a derived work ?
Mega-Cart: the cartridge you plug in once and for all.
ruud
Vic 20 Devotee
Posts: 245
Joined: Wed Aug 04, 2004 11:26 pm

Re: P00 to PRG?

Post by ruud »

Mayhem wrote:I've got a bunch of program files in P00 format... now Vice will read them fine but I'd like to convert them into PRG if possible. Any easy way?
IIRC the P00 is nothing more then a PRG but with 26 extra bytes at the start with some info.

Code: Select all

    ___
   / __|__
  / /  |_/     Met vriendelijke groet, Ruud Baltissen
  \ \__|_\
   \___|       URL: www.baltissen.org

User avatar
Mayhem
High Bidder
Posts: 3027
Joined: Mon May 24, 2004 7:03 am
Website: http://www.mayhem64.co.uk
Location: London

Post by Mayhem »

Oh indeed they should be, I just wanted a more simple way than actually going into a hex editor and striping them out by hand ;)
Lie with passion and be forever damned...
bokvamme
Vic 20 Afficionado
Posts: 311
Joined: Tue Dec 26, 2006 11:22 am

Post by bokvamme »

If a P00 is a PRG with an extra 26 bytes at the start, It should be a simple task to write a program that remove those 26 bytes from all P00 files in a directory.
User avatar
Mayhem
High Bidder
Posts: 3027
Joined: Mon May 24, 2004 7:03 am
Website: http://www.mayhem64.co.uk
Location: London

Post by Mayhem »

Curiously enough it may not have applied to these, I'm not sure. The guy who does DirMaster was a bit curious why the conversion to PRG didn't work when I was attempting it, and so requested some of the P00 I was using. I'll wait to see what he says on the matter.
Lie with passion and be forever damned...
Post Reply