cebix / psximager Goto Github PK
View Code? Open in Web Editor NEWTools for dumping and mastering PlayStation 1 ("PSX") CD-ROM images
License: GNU General Public License v2.0
Tools for dumping and mastering PlayStation 1 ("PSX") CD-ROM images
License: GNU General Public License v2.0
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
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
The webpage seems down and the linux version of the binaries doesn't seem to be downloadable anywhere else.
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.
I know you said at one point in time that you don't work with Windows, but I'm hoping that someone reading this is able to fix my problem with attempting to compile a windows build.
http://paste.debian.net/1089119/
My MSYS2/MinGW-w64 configuration is up to date as of this writing.
Hello, I'd like to ask could you publish a compiled exe of psxbuild, which could run on windows?
I don't know how to compile it right now anyway.
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?
Builds thanks to this fork && branch:
https://github.com/edmeme/psximager/tree/patch-libcdio-2.0.0-1
Still some issues with that version as psxrip isn't running quite right.
Help, please?
Hello, could publish a compiled psxbuild which could run on Linux?
I need this program to build psx images.
Thanks.
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"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.