johannes-fetz / joengine

Jo Engine is an open source 2D and 3D game engine for the Sega Saturn written in C under MIT license
http://jo-engine.org/
MIT License
204 stars 32 forks source link

ISO is 2048-Byte Sectors, Not 2352 #62

Open slinga-homebrew opened 3 years ago

slinga-homebrew commented 3 years ago

In jo_engine_makefile, MKISOFS_FLAGS contains the flag-sectype 2352 for ISOs . However this appears to not be working.

After compiling with ./compile.sh, the file command is reporting 2048-byte sectors:

game.iso: Sega Saturn disc image: "JO ENGINE                       " (          , V1.000) (2048-byte sectors)

Expected behavior is 2352-byte sectors. Could this be a Linux only issue?

slinga-homebrew commented 3 years ago

This appears to be the earlier issue: https://github.com/johannes-fetz/joengine/issues/52.

johannes-fetz commented 2 years ago

There is another option for sectype: "raw" : "This sets the sector type to raw audio sectors with 2352 bytes per sector." I'll try this

https://www.freebsd.org/cgi/man.cgi?query=mkisofs&sektion=8&format=html

johannes-fetz commented 2 years ago

"raw" is not supported on modern Linux plateforms, but I found another tool that can help us : bchunk https://www.unix.com/man-page/debian/1/bchunk/

@slinga-homebrew Can you test it with the game.bin and game.cue ?