Skip to content
forked from sahlberg/pop-fe2

Python scrip[t to create PS2Classics for PS3 on Linux

Notifications You must be signed in to change notification settings

masible/pop-fe2

 
 

Repository files navigation

pop-fe2 is a python utility to create PS2Classic PKGs on Linux

WIP

For now it will only create PS2Classics for games where we have
all the assets defined in gamedb.py.
Please add icon0/pic0/pic1/snd0 links to any entries that are
uncommented in gamedb.py.

TODO:
add VMC support


Usage
=====

To greate game.pkg from the iso stored in /path/to/game.iso :

$ ./pop-fe2.py --ps3-pkg=game.pkg /path/to/game.iso

You can also have pop-fe2 automatically use the game title from the database
as the name of the generated PKG by using the keyword 'title'

$ ./pop-fe2.py --ps3-pkg=title /path/to/game.iso

Or you can have it use the gameid as the name of the PKG using 'gameid'

$ ./pop-fe2.py --ps3-pkg=gameid /path/to/game.iso

By default pop-fe2 will create the PKG in the current directory.
You can also specify an alternative directory where the PKG should be created in
using --output-directory

$ ./pop-fe2.py --ps3-pkg=gameid --output-directory=/path/to/my/pkgs/ /path/to/game.iso


Batch processing is possible with some simple shellscripting.
For example to scan /path/to/my/isos for all ISO files and then generate a PKG
for each one of them, using the detected name of the game as the PKG filename
and writing them all to /path/to/my/pkgs  you can use something like:

$ find /path/to/my/isos | egrep ".iso$" | while read ISO; do ./pop-fe2.py --ps3-pkg=title --output-directory=/path/to/my/pkgs ${ISO}; done


Installation
============


$ sudo dnf install python-is-python3
$ sudo dnf install pip3
$ sudo dnf install python3-devel
$ sudo dnf install libsndfile-devel
$ sudo dnf install ffmpeg
$ sudo dnf install git
$ pip3 install pycdlib  (or pip3 install pycdio)
$ pip3 install pytubefix
$ cd ps2classic/ps2classic-ps2classic/
$ make
$ cd ../..

$ git clone https://github.com/dcherednik/atracdenc.git
$ cd atracdenc/src/
$ cmake .
$ make
$ cd ../..

$ git clone http://github.com/sahlberg/PSL1GHT
$ cd PSL1GHT/tools/ps3py
$ git checkout origin/use-python3
$ make
$ cd ../../..

$ git clone https://github.com/Sorvigolova/make_npdata.git
$ cd make_npdata/Linux/
$ make
$ cd ../..

About

Python scrip[t to create PS2Classics for PS3 on Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 80.1%
  • C 19.8%
  • Makefile 0.1%