Code Monkey home page Code Monkey logo

psximager's People

Contributors

cebix avatar edmeme avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

psximager's Issues

Can't build under Debian 11

this is the output when running "make":

make Making all in src make[1]: Entering directory '/media/thales/Data/Games/Emulation/PSX ISOS/Racing Lagoon/psximager-2.0/src' g++ -DPACKAGE_NAME=\"PSXImager\" -DPACKAGE_TARNAME=\"psximager\" -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_STRING=\"PSXImager\ 2.0\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"psximager\" -DVERSION=\"2.0\" -I. -g -O2 -MT psxbuild.o -MD -MP -MF .deps/psxbuild.Tpo -c -o psxbuild.o psxbuild.cpp psxbuild.cpp:34:10: fatal error: boost/algorithm/string/trim.hpp: No such file or directory 34 | #include <boost/algorithm/string/trim.hpp> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:402: psxbuild.o] Error 1 make[1]: Leaving directory '/media/thales/Data/Games/Emulation/PSX ISOS/Racing Lagoon/psximager-2.0/src' make: *** [Makefile:360: all-recursive] Error 1

Unable to build on Ubuntu 20.04

I'm attempting to build psximager on Ubuntu 20.04 but it's not working.

First I install the dependencies, which all meet the version requirements given in INSTALL:

$ sudo apt-get install libboost-all-dev libcdio-dev libiso9660-dev libvcdinfo-dev autoconf build-essential
$ ./bootstrap
$ ./configure

But configure fails:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for g++... no
checking for c++... c++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of c++... gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBCDIO... yes
checking for LIBISO9660... yes
checking for LIBVCDINFO... yes
checking for boostlib >= 1.50.0... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking whether the Boost::Filesystem library is available... yes
configure: error: Could not find a version of the library!

That last line it's stalling on is on line 4893 of configure. I can get it to configure with this:

./configure --with-boost-libdir=/usr/lib/x86_64-linux-gnu/

But then make fails:

Making all in src
make[1]: Entering directory '/home/tetracorp/psximager/psximager-2.0/src'
c++ -DPACKAGE_NAME=\"PSXImager\" -DPACKAGE_TARNAME=\"psximager\" -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_STRING=\"PSXImager\ 2.0\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"psximager\" -DVERSION=\"2.0\" -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_FILESYSTEM=/\*\*/ -DHAVE_BOOST_REGEX=/\*\*/ -DHAVE_BOOST_SYSTEM=/\*\*/ -I.       -g -O2 -MT psxrip.o -MD -MP -MF .deps/psxrip.Tpo -c -o psxrip.o psxrip.cpp
psxrip.cpp:110:25: error: no matching function for call to 'iso9660_fs_readdir'
        CdioList_t * entries = iso9660_fs_readdir(image, inputPath.c_str(), false);
                               ^~~~~~~~~~~~~~~~~~
/usr/include/cdio/iso9660.h:1060:14: note: candidate function not viable: requires 2 arguments, but 3 were provided
CdioList_t * iso9660_fs_readdir (CdIo_t *p_cdio, const char psz_path[]);
             ^
psxrip.cpp:230:2: error: no matching function for call to '_cdio_list_free'
        _cdio_list_free(entries, true);
        ^~~~~~~~~~~~~~~
/usr/include/cdio/ds.h:46:6: note: candidate function not viable: requires 3 arguments, but 2 were provided
void _cdio_list_free (CdioList_t *p_list, int free_data, CdioDataFree_t free_fn);
     ^
psxrip.cpp:300:25: error: no matching function for call to 'iso9660_fs_readdir'
        CdioList_t * entries = iso9660_fs_readdir(image, inputPath.c_str(), false);
                               ^~~~~~~~~~~~~~~~~~
/usr/include/cdio/iso9660.h:1060:14: note: candidate function not viable: requires 2 arguments, but 3 were provided
CdioList_t * iso9660_fs_readdir (CdIo_t *p_cdio, const char psz_path[]);
             ^
3 errors generated.
make[1]: *** [Makefile:402: psxrip.o] Error 1
make[1]: Leaving directory '/home/tetracorp/psximager/psximager-2.0/src'
make: *** [Makefile:358: all-recursive] Error 1

psxbuild.cpp does not compile

Using Ubuntu 14.04, gcc 4.8.2:

psxbuild.cpp: In function ‘int main(int, char**)’:
psxbuild.cpp:1096:26: error: request for member ‘len’ in ‘rootDirRecord.iso9660_dir_s::filename’, which is of non-class type ‘char [0]’
   rootDirRecord.filename.len = 1;

I commented that line (don't know the implication) to make it compile.

psxrip creates wrong characters in catalog

The original volume_id is "SCUS_94426", after using psxrip, it appears in the catalog as "SCUS-94426"

Output from executable is:

./psxrip CTR.cue
Analyzing image "CTR.cue"...
Volume ID = SCUS-94426
...

The volume ID comes from iso9660_get_volume_id, so I don't think this is fixable in a nice way.

Also, the copyright_file_id includes slashes (/), when running psxbuild I have:

./psxbuild ./output/.cat myCTR
Reading catalog file "./output/.cat"...
Reading filesystem from directory "./output/"...
Illegal character '/' in copyright_file_id "SCEAI/NDI/UIS"

Manually changing the copyright_file_id to "SCEAI_NDI_UIS" in the catalog fixes the issue.

Maybe it is possible to replace the bad characters afterwards?

Incompatible with Multi-Track/Multi-File Images

psxrip is incompatible with images that contain multiple tracks split across different files (example), which is common and in the specification for .cue files. Redump.org (a disc preservation group) specifies that all discs are dumped in this fashion and are the go-to source for verifying whether a disc image is good.

When attempting to rip an image with psxrip, it will search for a .bin file with the same name as the .cue file given rather than parsing the .cue and looking for the track. Additionally it will look for audio tracks in that same .bin file, rather than the separate ones.

EDIT: It seems to fail even when the tracks are combined into one .bin file, showing the error "No ISO 9660 filesystem on data track"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.