Comments (6)
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.
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.
Building from the target directory seems possible but took me a couple of tries:
- If I go into the build directory and run
mkpsxiso -y -q ../iso.xml
, it exits with the errorERROR: Unable to create cue sheet.
- 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). - 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.
This problem fixed in the fork https://github.com/brill2k/mkpsxiso
from mkpsxiso.
@Lameguy64 I can confirm it works after building the last commit on Linux. Cheers!
from mkpsxiso.
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)
- CD Audio/CUE sheet broken in 1.22 HOT 2
- Why not generating edc data for non data sectors of str? HOT 1
- last file syndrome HOT 2
- cant compile in ubuntu HOT 1
- Bug when calculating the folder size
- Invalid sectors generated when a license file isn't provided HOT 1
- dumpsxiso crashes when given an obviously invalid file
- -lba and -lbahead require a positional argument HOT 1
- Is the XML file supposed to generate alongside the extracted files? HOT 3
- Merging folders with the same name HOT 4
- dumpsxiso: Specifying a path to the directory via -s instead of path to XML doesn't throw a descriptive error
- Use XML project filename instead of hardcoded "mkpsxiso" for IMAGE_NAME and CUE_SHEET HOT 1
- -lba option outsputs incorrect LBA for DA files HOT 5
- [QUESTION] How to Specify Game ID? HOT 2
- Why are file names limited to 12 characters long?
- Recent version of mkpsxiso core dumps when creating certain ISOs HOT 4
- PSX-EXE LBA and Size HOT 2
- Regression (?) in v2 .bin generation HOT 3
- Cannot rebuild T kara hajimaru monogatari
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mkpsxiso.