Giter Site home page Giter Site logo

Comments (6)

Lameguy64 avatar Lameguy64 commented on July 29, 2024 2

I've just committed a quick fix that strips the path of the .bin file in the cue sheet that doesn't need that stupid filesystem library. I haven't been able to test it properly because msys64 seems to be broken as mkpsxiso throws a segfault when it starts to build the disc image (not related to my changes, crashes during the directory tree building process) and was unable to debug it with gdb as it fails to open source files and locks up on breakpoints, but the changes should work.

from mkpsxiso.

ABelliqueux avatar ABelliqueux commented on July 29, 2024

I've come up with a fix but it means switching to c++17 in order to have access to <filesystem> :

FWIW, the relevant code was here :

https://github.com/Lameguy64/mkpsxiso/blob/master/src/main.cpp#L306-L307

fprintf( cuefp, "FILE \"%s\" BINARY\n",
global::ImageName.c_str() );

ABelliqueux@869091d
ABelliqueux@1232e9d

Should I PR those changes ?

EDIT: PR links are dead

from mkpsxiso.

SeaLiteral avatar SeaLiteral commented on July 29, 2024

Building from the target directory seems possible but took me a couple of tries:

  1. If I go into the build directory and run mkpsxiso -y -q ../iso.xml, it exits with the error ERROR: Unable to create cue sheet.
  2. If I then replace the paths to the generated files, it says it can't find system.cnf (probably because it's looking for it in the build directory).
  3. Finally, I removed all references to build/ in the XML file and added ../ to all paths that referred to source files. Then it seems to work as intended.

from mkpsxiso.

64ghost avatar 64ghost commented on July 29, 2024

This problem fixed in the fork https://github.com/brill2k/mkpsxiso

from mkpsxiso.

ABelliqueux avatar ABelliqueux commented on July 29, 2024

@Lameguy64 I can confirm it works after building the last commit on Linux. Cheers!

from mkpsxiso.

SeaLiteral avatar SeaLiteral commented on July 29, 2024

I can confirm it works after building the last commit on Linux. Cheers!

So can I. So I guess I could close this issue now, since the only issue from this that remains would be if you try to put the bin and cue files in different directories, which I don't see why people would want to do (other than to make it work differently in different emulators). Thanks!

from mkpsxiso.

Related Issues (20)

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.