https://www.mediafire.com/file/eq80y20l … st.7z/fileJackal wrote:scanning the .img instead of the .bin files, resulting in an incorrect error count for multisession discs.
- changed: do not check 11400 sectors of lead-in and lead-out
https://www.mediafire.com/file/eq80y20l … st.7z/fileJackal wrote:scanning the .img instead of the .bin files, resulting in an incorrect error count for multisession discs.
I can't recall if this was the same error that my drives threw, but I've had a couple of Xbox discs, in great condition by all appearances, that wouldn't read. I suspect there was some manufacturing error that might have resulted in some discs having a short life. I know that at least one of the discs worked when it was new, but it no longer does. I also noticed that, when I scanned the disc in my flatbed scanner, the scan had lots of tiny little black spots, as if maybe the reflective layer has oxidized in some spots?user7 wrote:Old and new DIC builds, I'm getting an error with a particular disc in good-enough condition. It's a later Xbox (OG) kiosk disc.
I've seen instances of chemical failure before on Xbox discs - not seeing any indicators here. I might send this to a friend to test on his 0800.scsi_wuzzy wrote:I can't recall if this was the same error that my drives threw, but I've had a couple of Xbox discs, in great condition by all appearances, that wouldn't read. I suspect there was some manufacturing error that might have resulted in some discs having a short life. I know that at least one of the discs worked when it was new, but it no longer does. I also noticed that, when I scanned the disc in my flatbed scanner, the scan had lots of tiny little black spots, as if maybe the reflective layer has oxidized in some spots?user7 wrote:Old and new DIC builds, I'm getting an error with a particular disc in good-enough condition. It's a later Xbox (OG) kiosk disc.
'bd' command supposes BDXL-R QL.user7 wrote:Also the feature to calculate enough free space is broken. I tried dumping a PS3 disc with 119GB free on my hard drive and I got an error.
user7 wrote:Old and new DIC builds, I'm getting an error with a particular disc in good-enough condition. It's a later Xbox (OG) kiosk disc.
Code: Select all
LBA[1913094, 0x1d3106]: [F:ReadXBOXDirectoryRecord][L:1192]
Opcode: 0xa8
ScsiStatus: 0x02 = CHECK_CONDITION
SenseData Key-Asc-Ascq: 03-02-00 = MEDIUM_ERROR - NO SEEK COMPLETEIs there an alternative command or I can't dump PS3 discs anymore?sarami wrote:'bd' command supposes BDXL-R QL.user7 wrote:Also the feature to calculate enough free space is broken. I tried dumping a PS3 disc with 119GB free on my hard drive and I got an error.
Code: Select all
if ((*pExecType == cd && ui64Avail.QuadPart > 3000000000) ||
(*pExecType == swap && ui64Avail.QuadPart > 3000000000) ||
(*pExecType == data && ui64Avail.QuadPart > 3000000000) ||
(*pExecType == audio && ui64Avail.QuadPart > 3000000000) ||
(*pExecType == gd && ui64Avail.QuadPart > 4000000000) ||
(*pExecType == dvd && ui64Avail.QuadPart > 9000000000) ||
(*pExecType == xbox && ui64Avail.QuadPart > 9000000000) ||
(*pExecType == xboxswap && ui64Avail.QuadPart > 9000000000) ||
(*pExecType == xgd2swap && ui64Avail.QuadPart > 9000000000) ||
(*pExecType == xgd3swap && ui64Avail.QuadPart > 9000000000) ||
(*pExecType == sacd && ui64Avail.QuadPart > 9000000000) ||
(*pExecType == bd && ui64Avail.QuadPart > 130000000000)
) {
OutputString("\t => There is enough disk space for dumping\n");Code: Select all
g++ -c -o calcHash.o calcHash.cpp -include _linux/defineForLinux.h -std=c++11 -O2 -Wall -Wextra -Wno-unknown-pragmas -Waggregate-return -Wcast-align -Wcast-qual -Wconditionally-supported -Wdisabled-optimization -Wdouble-promotion -Wfloat-equal -Wformat=2 -Wformat-signedness -Winit-self -Winline -Winvalid-pch -Wlogical-op -Wmissing-include-dirs -Wmultichar -Wnoexcept -Woverlength-strings -Wpacked -Wpointer-arith -Wredundant-decls -Wshadow -Wstack-protector -Wstrict-aliasing=2 -Wstrict-null-sentinel -Wswitch-default -Wswitch-enum -Wtrampolines -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Wunused-macros -I. -I_external -I_linux
In file included from <command-line>:
./_linux/defineForLinux.h:26:9: error: ‘_W64’ does not name a type
typedef _W64 int INT_PTR, * PINT_PTR;
^~~~
./_linux/defineForLinux.h:27:9: error: ‘_W64’ does not name a type
typedef _W64 unsigned int UINT_PTR, * PUINT_PTR;
^~~~
./_linux/defineForLinux.h:29:9: error: ‘_W64’ does not name a type
typedef _W64 long LONG_PTR, * PLONG_PTR;
^~~~
./_linux/defineForLinux.h:30:9: error: ‘_W64’ does not name a type
typedef _W64 unsigned long ULONG_PTR, * PULONG_PTR;
^~~~
./_linux/defineForLinux.h:40:9: error: ‘ULONG_PTR’ does not name a type; did you mean ‘ULONG_MAX’?
typedef ULONG_PTR DWORD_PTR, *PDWORD_PTR;
^~~~~~~~~
ULONG_MAX
make: *** [makefile:67: calcHash.o] Error 1Code: Select all
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/8/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Raspbian 8.3.0-6+rpi1' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=arm-linux-gnueabihf- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --disable-libquadmath-support --enable-plugin --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --disable-werror --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
gcc version 8.3.0 (Raspbian 8.3.0-6+rpi1) removed _W64Yurgen wrote:I get the following errors when attempting to build from source with GNU Make 4.2.1 on ARM, default settings. Am I missing deps? Or some environment variable?
Thanks for thew quick reply. I now get another compilation error when the makefile reaches sha1.cpp. Looks like more type errors:sarami wrote:removed _W64
https://github.com/saramibreak/DiscImageCreator
Code: Select all
g++ -c -o _external/sha1.o _external/sha1.cpp -include _linux/defineForLinux.h -std=c++11 -O2 -Wall -Wextra -Wno-unknown-pragmas -Waggregate-return -Wcast-align -Wcast-qual -Wconditionally-supported -Wdisabled-optimization -Wdouble-promotion -Wfloat-equal -Wformat=2 -Wformat-signedness -Winit-self -Winline -Winvalid-pch -Wlogical-op -Wmissing-include-dirs -Wmultichar -Wnoexcept -Woverlength-strings -Wpacked -Wpointer-arith -Wredundant-decls -Wshadow -Wstack-protector -Wstrict-aliasing=2 -Wstrict-null-sentinel -Wswitch-default -Wswitch-enum -Wtrampolines -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Wunused-macros -I. -I_external -I_linux
g++ -c -o _linux/defineForLinux.o _linux/defineForLinux.cpp -include _linux/defineForLinux.h -std=c++11 -O2 -Wall -Wextra -Wno-unknown-pragmas -Waggregate-return -Wcast-align -Wcast-qual -Wconditionally-supported -Wdisabled-optimization -Wdouble-promotion -Wfloat-equal -Wformat=2 -Wformat-signedness -Winit-self -Winline -Winvalid-pch -Wlogical-op -Wmissing-include-dirs -Wmultichar -Wnoexcept -Woverlength-strings -Wpacked -Wpointer-arith -Wredundant-decls -Wshadow -Wstack-protector -Wstrict-aliasing=2 -Wstrict-null-sentinel -Wswitch-default -Wswitch-enum -Wtrampolines -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Wunused-macros -I. -I_external -I_linux
_linux/defineForLinux.cpp: In function ‘void _splitpath(const char*, char*, char*, char*, char*)’:
_linux/defineForLinux.cpp:36:28: warning: cast from type ‘const char*’ to type ‘char*’ casts away qualifiers [-Wcast-qual]
char* CopyOfPath = (char*)Path;
^~~~
_linux/defineForLinux.cpp: At global scope:
_linux/defineForLinux.cpp:409:7: error: ambiguating new declaration of ‘off_t SetFilePointerEx(int, LARGE_INTEGER, void*, int)’
off_t SetFilePointerEx(int fd, LARGE_INTEGER pos, void* a, int origin)
^~~~~~~~~~~~~~~~
In file included from <command-line>:
./_linux/defineForLinux.h:2445:9: note: old declaration ‘off64_t SetFilePointerEx(int, LARGE_INTEGER, void*, int)’
off64_t SetFilePointerEx(int fd, LARGE_INTEGER pos, void* a, int origin);
^~~~~~~~~~~~~~~~
_linux/defineForLinux.cpp: In function ‘int GetDiskFreeSpaceEx(LPCSTR, PULARGE_INTEGER, PULARGE_INTEGER, PULARGE_INTEGER)’:
_linux/defineForLinux.cpp:447:3: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘__fsblkcnt64_t’ {aka ‘long long unsigned int’} [-Wformat=]
" Block Size: %lu\n"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
" Flagment Size: %lu\n"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
" All Block Num: %lu\n"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
" Free Block Num: %lu\n"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
" Available Block Num: %lu\n"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
" I Node Num: %lu\n"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
" Free I Node Num: %lu\n"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Available I Node Num: %lu\n"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
" File System ID: %lu\n"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
" Mount Flag: %lu\n"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
" Max Filename Length: %lu\n"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_linux/defineForLinux.cpp:459:5:
, buf.f_blocks, buf.f_bfree, buf.f_bavail
~~~~~~~~~~~~
_linux/defineForLinux.cpp:447:3: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘__fsblkcnt64_t’ {aka ‘long long unsigned int’} [-Wformat=]
_linux/defineForLinux.cpp:447:3: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘__fsblkcnt64_t’ {aka ‘long long unsigned int’} [-Wformat=]
_linux/defineForLinux.cpp:447:3: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘__fsfilcnt64_t’ {aka ‘long long unsigned int’} [-Wformat=]
_linux/defineForLinux.cpp:447:3: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘__fsfilcnt64_t’ {aka ‘long long unsigned int’} [-Wformat=]
_linux/defineForLinux.cpp:447:3: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 9 has type ‘__fsfilcnt64_t’ {aka ‘long long unsigned int’} [-Wformat=]
make: *** [makefile:67: _linux/defineForLinux.o] Error 1