Page 147 of 354
Re: DiscImageCreator
Posted: Wed Jul 18, 2018 9:26 pm
by sarami
Re: DiscImageCreator
Posted: Thu Jul 19, 2018 10:15 am
by h0lylag
Progress! The program can now initiate the dump process. However there are a few issues. When I tried to do a dvd dump of a PS2 game the dump began, but it took forever and the file was only 2KB afterwards? Then I tried doing a Xbox and Xbox 360 game, both seemed to go normally except that when the dump was finished they did not complete the hash check. After manually checking the hashes of the two Xbox games, they both did not match the redump checksums. I've included what logs I have available. This was on Debian 9.
ps2:
https://transfer.sh/x0nmr/DesertStorm.tar.gz
xbox:
https://transfer.sh/uCzEB/Halo_2.tar.gz
360:
https://transfer.sh/bSOMf/GoW.tar.gz
Re: DiscImageCreator
Posted: Thu Jul 19, 2018 8:27 pm
by sarami
Fixed ss sector ranges of xbox/xbox360.
I confirmed cd command and it seems working.
h0lylag wrote:when the dump was finished they did not complete the hash check.
Windows build uses xmllite but there isn't it in linux, so it hasn't been supported yet.
EDIT
added: EccEdc_linux.out
Re: DiscImageCreator
Posted: Sat Jul 21, 2018 4:19 pm
by h0lylag
Ok. I tested the version before your edit and the last one and get the same results.
- CD dumps are looking good. I tested a few PS1 games and a Xbox CD.
- I've tried a couple different PS2 games for DVD dumps and its not quite working. I get segmentation fault error most times trying to start it. Sometimes it will start but the dumped file is way too small, or once it gave me a 46GB file.
Code: Select all
user@debian:~/DesertStorm$ sudo ~/DIC/DiscImageCreator_linux.out dvd /dev/sr0 DesertStorm.iso 16
AppVersion
x86, AnsiBuild, 20180720 185823
CurrentDirectory
/home/user/DesertStorm
WorkingPath
Argument: DesertStorm.iso
FullPath: /home/user/DesertStorm/DesertStorm
Drive:
Directory: /home/user/DesertStorm/
Filename: DesertStorm
Extension:
StartTime: 2018/07/21(Sat) 14:06:05
Creating iso(LBA) 1/ 1
Segmentation fault
user@debian:~/DesertStorm$
- For Xbox games, its the same as before. They seem to get dumped to completion without issue but the hashes don't match. Its reproducing the same incorrect file and hashes each time though.
- Another bug when dumping Xbox games is that the SS.bin file will get dumped into the directory above where you specified. So like there in this picture, I specified that the dump should be started in the Halo_2 folder, but the bin file is residing next to it. It looks like one slash got messed up in the code.
https://i.imgur.com/2V9fKMT.png
- Lastly a general bug I found. If you put a path in the command for the output file, it creates that full path in the current folder. It doesn't save the file in the existing system. For example if you run this:
Code: Select all
cd ~/DIC
sudo ./DiscImageCreator_linux.out xbox /dev/sr1 /mnt/storage/dumps/Halo_2/Halo_2.iso
It doesn't save the file in
It creates
Code: Select all
/home/user/DIC/mnt/storage/dumps/Halo_2/
because ~/DIC was the current working directory when the command was executed.
Thanks for all the work on making a Linux version!
Re: DiscImageCreator
Posted: Sat Jul 21, 2018 6:11 pm
by ajshell1
sarami, I'm concerned about the speed at which DIC calculates the hash values after dumping.
I ran the windows version of rhash to calculate the crc32, md5, and sha1 value of a .bin file as soon as I saw that DIC had finished calculating the hash of the .img file. (using the command "rhash -C -M -H filename.bin"
On my super-low end CPU of my dumping machine, rhash took 36 seconds to calculate the hash values.
DIC took 3 minutes and 16 seconds.
Granted, this won't be an issue any more once DIC for Linux is mature enough, because my Linux PC is pretty beefy. However, this still might be something work on in the future.
Thanks again for working on the Linux port by the way, you have my eternal gratitude for that!
Re: DiscImageCreator
Posted: Sat Jul 21, 2018 6:13 pm
by bparker
Hi @sarami, could you push your current code with the linux support to github so I can take a look at some of the issues? Thanks!
Re: DiscImageCreator
Posted: Sat Jul 21, 2018 8:09 pm
by sarami
Some updated. (added css authentication, scsi status)
----
h0lylag wrote:PS2 games for DVD dumps
Invalid disc structure is outputted.
Code: Select all
========== DiscStructure ==========
FormatCode: 00, Sendable: No, Readable: No, FormatLength: 0
Skiped because length is 0
FormatCode: 2a, Sendable: No, Readable: No, FormatLength: 7959
Unknown: 2a
FormatCode: f3, Sendable: No, Readable: Yes, FormatLength: 10531
Unknown: f3
:
:
How about other DVD except PS2? and how about other PS2 DVD?
h0lylag wrote:SS.bin file will get dumped into the directory above where you specified.
Fixed.
h0lylag wrote:Lastly a general bug I found.
What do you hope about this case?
Code: Select all
sudo ./DiscImageCreator_linux.out xbox Halo_2.iso
/Halo_2.iso or /home/user/DIC/Halo_2.iso ?
Code: Select all
sudo ./DiscImageCreator_linux.out xbox /Halo_2.iso
/Halo_2.iso or /home/user/DIC/Halo_2.iso ?
Code: Select all
sudo ./DiscImageCreator_linux.out xbox Halo_2/Halo_2.iso
/Halo_2/Halo_2.iso or /home/user/DIC/Halo_2/Halo_2.iso ?
Code: Select all
sudo ./DiscImageCreator_linux.out xbox /Halo_2/Halo_2.iso
/Halo_2/Halo_2.iso or /home/user/DIC/Halo_2/Halo_2.iso ?
----
ajshell1 wrote:the windows version of rhash
Perhaps, I think the algo of rhash is faster than that of RFC 1321, 1952, 3174.
bparker wrote:some of the issues
What issues in detail?
Re: DiscImageCreator
Posted: Sat Jul 21, 2018 9:43 pm
by h0lylag
sarami wrote:How about other DVD except PS2? and how about other PS2 DVD?
I'm going to try some more PS2 games. All of a sudden my windows install is not working now so I have to reinstall to cross check the ps2 games with windows.
I tried a regular DVD Movie and that appears to work correctly. No segmentation faults and stuff. But I don't have anything to compare it against.
sarami wrote:What do you hope about this case?
Code: Select all
sudo ./DiscImageCreator_linux.out xbox Halo_2.iso
/home/user/DIC/Halo_2.iso
Code: Select all
sudo ./DiscImageCreator_linux.out xbox /Halo_2.iso
/Halo_2.iso
Code: Select all
sudo ./DiscImageCreator_linux.out xbox Halo_2/Halo_2.iso
/home/user/DIC/Halo_2/Halo_2.iso
Code: Select all
sudo ./DiscImageCreator_linux.out xbox /Halo_2/Halo_2.iso
/Halo_2/Halo_2.iso
Re: DiscImageCreator
Posted: Sun Jul 22, 2018 4:47 am
by sarami
h0lylag wrote:Lastly a general bug I found.
Uploaded.
Re: DiscImageCreator
Posted: Sun Jul 22, 2018 5:55 am
by ajshell1
What's up with the Dreamcast dumping command in Discimagecreator?
I've dumped the game disc four times so far, and this is what I found in the _EdcEcc.txt file:
Dump 1:
[ERROR] Number of sector(s) where user data doesn't match the expected ECC/EDC: 2
Sector: 59634, 59652,
[ERROR] Number of sector(s) where sync(0x00 - 0x0c) is invalid: 1
Sector: 59635,
Total errors: 3
Total warnings: 0
Dump 2:
[ERROR] Number of sector(s) where user data doesn't match the expected ECC/EDC: 2
Sector: 124301, 124321,
[ERROR] Number of sector(s) where sync(0x00 - 0x0c) is invalid: 1
Sector: 124302,
Total errors: 3
Total warnings: 0
Dump 3:
[ERROR] Number of sector(s) where user data doesn't match the expected ECC/EDC: 1
Sector: 59615,
[ERROR] Number of sector(s) where sync(0x00 - 0x0c) is invalid: 1
Sector: 59616,
Total errors: 2
Total warnings: 0
Dump 4:
[ERROR] Number of sector(s) where user data doesn't match the expected ECC/EDC: 1
Sector: 59616,
[ERROR] Number of sector(s) where sync(0x00 - 0x0c) is invalid: 1
Sector: 59617,
Total errors: 2
Total warnings: 0
Also, this is what my GDI output file looks like:
5
1 0 4 2352 "Grandia II (USA) (Dump 3) (Track 1).bin" 0
2 [fix] 0 2352 "Grandia II (USA) (Dump 3) (Track 2).bin" 0
3 45000 4 2352 "Grandia II (USA) (Dump 3) (Track 3).bin" 0
4 49871 0 2352 "Grandia II (USA) (Dump 3) (Track 4).bin" 0
5 50397 4 2352 "Grandia II (USA) (Dump 3) (Track 5).bin" 0
I don't think that "[fix]" is supposed to be there.
What's going on?
EDIT: I'm using a TS-H352C, which AFAIK doesn't have C2 support. (using the most up-to-date non-Kreon firmware.