1,501

http://forum.redump.org/post/62037/#p62037

I built it on WSL (Windows Subsystem for Linux) using ubuntu 18.04 LTS x64.

No makefile. If you want it, please make it yourself.

1,502

sarami wrote:

http://forum.redump.org/post/62037/#p62037

I built it on WSL (Windows Subsystem for Linux) using ubuntu 18.04 LTS x64.

No makefile. If you want it, please make it yourself.

How did you build it without a makefile?

1,503

see.
https://blogs.msdn.microsoft.com/vcblog … al-studio/

1,504 (edited by bparker 2018-08-12 05:31:48)

@sarami Here is my Makefile: https://ptpb.pw/50T7

1,505

And here is a backtrace of a segmentation fault I get every time I try to dump something: http://dpaste.com/0NAM1ZM

Seems that you are trying to call strncpy() to write into a NULL pointer.

1,506 (edited by bparker 2018-08-12 05:35:51)

Here is a clang static analyzer output where it found 10 issues in the code: http://0bl.net/scan-build-2018-08-12-003209-13342-1/

And if I build with ASAN enabled, it also crashes on startup with a heap buffer overflow error and a couple runtime errors:

http://dpaste.com/2FXXRFJ

1,507

Updated test branch and test build http://www.mediafire.com/file/eq80y20l9 … st.7z/file
*2018-08-12
- added: xboxswap, xgd2swap, xgd3swap command
- added: Reading param.sfo
- added: makefile for linux (Thanks bparker)
- improved: Reading sub-channel (create QGenSector from QNextSector - 1 and QPrevSector + 1)
- fixed: _splitpath for linux (added null checking)

How to use of xboxswap, xgd2swap, xgd3swap (Thanks F1ReB4LL)

### Dumping Guide for XBOX/XBOX360 (XGD2)/XBOX360 (XGD3) on genaral drive
 Prepare DVD-DL or create the DVD+R DL trap disc in advance.  

#### How to prepare
 You need a pressed DVD-DL disc with around 8.5GB data on it
 
 XBOX: Layerbreak larger than 1913776 and the exact size needed (in sectors) is (your_disc_layerbreak - 1913776) * 2 + 3820880

 XBOX360 (XGD2): Layerbreak larger than 1913760 and the exact size needed (in sectors) is (your_disc_layerbreak - 1913760) * 2 + 3825924

 XBOX360 (XGD3): Layerbreak larger than 2133520 and the exact size needed (in sectors) is (your_disc_layerbreak - 2133520) * 2 + 4267015

#### How to create
 XBOX: DVD (Length is 3820880 or larger, Layerbreak is 1913776 or larger)

 XBOX360 (XGD2): DVD (Length is 3825924 or larger, Layerbreak is 1913760 or larger)

 XBOX360 (XGD3): DVD (Length is 4267015 or larger, Layerbreak is 2133520 or larger)

1. Create image file of the above DVD using dumping tool (e.g. isobuster)
2. Run [ImgBurn](http://www.imgburn.com/)
3. Setting LayerBreak manually (L0 sector num is about a half size of DVD length)  
   e.g. If DVD length is 3900304, L0 sector num is about 1950160
4. Before burn the image file, you need to confirm the size is correct  
   e.g. (1950160 - 1913776) * 2 + 3820880 = 3893648 => 3893648 is smaller than 3900304, so the DVD+R DL this image is burnt can dump a XBOX disc
5. Burn image file to DVD+R DL

#### Dump the disc
1. Insert the DVD-DL or DVD+R DL trap disc to a general DVD drive.
2. Run below. (stop spinning disc)  
   DiscImageCreator.exe stop [DriveLetter]
3. Use a pin to press the escape eject button, so the tray will eject (or remove
   the drive cover).
4. Insert the XBOX disc and run below. (close the drive tray)  
   DiscImageCreator.exe close [DriveLetter]  
   (or gently push the tray back or put the drive cover back on).
5. Run below.  
   e.g. Dead or Alive 3 http://redump.org/disc/27157/  
   DiscImageCreator.exe xboxswap [DriveLetter] foo.iso 292756 467910 686060 830074 999794 1212958 1579164 1719138 2010470 2372562 2527492 2682830 2915560 3065604 3219138 3455656  

   e.g. Blue Dragon http://redump.org/disc/27088/  
   DiscImageCreator.exe xgd2swap [DriveLetter] foo.iso 3825631 108976 3719856  

   e.g. Battlefield 3 (Disc 1) (Multiplayer/Co-Op) http://redump.org/disc/35131/  
   DiscImageCreator.exe xgd3swap [DriveLetter] foo.iso 4267015 12544 4246304  

bparker wrote:

And if I build with ASAN enabled

I've not fixed yet.

1,508

Hey sarami

Hashes would be much faster if you run them inline as you rip the disc image. It's already sequential so you can be updating the digest as you read the disc, instead of later when you generate your XML files. This is a savings that adds up very quickly if you are dumping lots of games sequentially.

1,509

Updated test branch and test build http://www.mediafire.com/file/eq80y20l9 … st.7z/file
*2018-08-12

DiscImageCreator.exe xboxswap [DriveLetter] foo.iso 292756 467910 686060 830074 999794 1212958 1579164 1719138 2010470 2372562 2527492 2682830 2915560 3065604 3219138 3455656

This command gets an immediate Windows Appcrash in this version. The previous private version works fine with the same command.

1,510

Sorry, fixed it.

1,511

https://mega.nz/#!evZyEKxK!LDCJHiZ7w0Xa … -_2HfJpbVw -- another example of incorrect subs fixing affecting cue (sectors 183021, 183022, 183023).

1,512

I always say.

Attention
1. Before you report a bug, could you try the latest test version http://www.mediafire.com/file/eq80y20l9 … r_test.7z.

1,513

Well, the dump isn't mine, just forwarding the links from the Dumps section to you smile

The real problem is the 24th track itself is incorrect and no C2 errors were detected. How could that happen?

1,514

Hey sarami, what happened to the /r command? Using the latest test version you posted, it says "Unknown Option: [/r]"

I'm trying to dump a disc with Tages.

1,515 (edited by andoryuu3 2018-08-21 23:32:46)

sarami wrote:

>andoryuu3
Only Halo2? or all xbox disc you have? or all DVD you have?

And please read 1st post. http://forum.redump.org/post/37654/#p37654

Attention
1. Before you report a bug, could you try the latest test version http://www.mediafire.com/file/eq80y20l9 … r_test.7z.
Nevertheless a bug exists, could you upload all created file except bin, iso, img and scm.

Hi, sorry for the late response as I've been a little bit busy. Seems to only be Halo 2 so far. MotoGP 2 ripped fine when I tested it just a bit ago.

Here are the files you requested (I used DIC version 20180730-151133):
http://www.mediafire.com/file/ouabbpk6x … P2.7z/file

EDIT: Drive used was a Kreon flashed Toshiba-Samsung SH-D163A (SATA; connected over USB 3.0)

1,516

andoryuu3 wrote:

Seems to only be Halo 2 so far

Is the error message displayed in a command-line screen?

sarami wrote:
andoryuu3 wrote:

Seems to only be Halo 2 so far

Is the error message displayed in a command-line screen?

At the time of ripping, I did not see any errors in the command line output.

1,518

added: XGD3 dumping on kreon drive. http://www.mediafire.com/file/eq80y20l9 … st.7z/file
----

ajshell1 wrote:

what happened to the /r command?

Not be supported /r on the cd command.

andoryuu3 wrote:

At the time of ripping, I did not see any errors in the command line output.

Unfortunately, I can't understand why your halo2 can't be dumped because mainError.txt is empty and no-error in the command line.

1,519 (edited by Jackal 2018-08-24 11:19:05)

@sarami, there's a problem with older SecuROM discs, where the dump has more than 1 error.

https://www66.zippyshare.com/v/qxHDGc8d/file.html

The drive used here is a PX-760A.. When dumped with IsoBuster, the dump is correct, but the DIC dump has 48 errors.. Also, the SecuROM data is incomplete because of missing ranges. Here is the full data: http://redump.org/disc/54716/

You mentioned some problems with the PX-4824TA with SecuROM discs, but I think this problem occurs on all drives?

1,520

fixed: Do not reread in SecuROM/Libcrypt sectors range http://www.mediafire.com/file/eq80y20l9 … st.7z/file

1,521 (edited by antimatter 2018-08-25 18:25:50)

, Having problems dumping a coverdisc with DIC.

Dumped with DIC test branch from 20180515.
DIC finds

Detected intentional subchannel in LBA -1 => SecuROM Type 4 (a.k.a. NEW)

after completing, subIntention.txt only has 1 line

MSF: 00:01:74 Q-Data: 410100 00:00:00 00 00:01:74 0121

tested bin file for protection & errors:
ArayScanner2023, BurnOut1.03, ProtectionID v6.9.0 find no protection.
edccchk-v1.26-win32 finds 0 errors.

SecuROM should have 1 error? correct?

Dumped with CloneCD and bin, cue match DIC's so dump is fine but sub's incorrect?

Just tried latest test DIC,

D:\ReDump_PC\game>DiscImageCreator.exe cd K: "game.bin" 2 /sf /c2 10 /d8 /ns /s 2
AppVersion
        x86, AnsiBuild, 20180825 95905
/sf val is omitted. set [60]
/c2 val2 is omitted. set [0]
CurrentDirectory
        D:\ReDump_PC\game
WorkingPath
         Argument: game.bin
         FullPath: D:\ReDump_PC\game\game.bin
            Drive: D:
        Directory: \ReDump_PC\game\
         Filename: game
        Extension: .bin
StartTime: 2018/08/25(Sat) 08:37:30
Set the drive speed: 0KB/sec
This drive supports [OpCode: 0xd8, SubCode: 0]
This drive supports [OpCode: 0xd8, SubCode: 1]
This drive supports [OpCode: 0xd8, SubCode: 2]
This drive supports [OpCode: 0xd8, SubCode: 8]
Checking reading lead-out -> OK
Checking SubQ adr (Track)  1/ 1
Checking SubRtoW (Track)  1/ 1
Reading DirectoryRecord   90/  90
Checking EXE  865
[INFO] Protection can't be detected. /sf, /ss is ignored.
Set OpCode: 0xd8, SubCode: 8(Raw)
LBA[-00001, 0xffffffff]: Q[410100000000000001740121]
Detected intentional subchannel in LBA -1 => SecuROM Type 4 (a.k.a. NEW)
Checking SubQ ctl (Track)  1/ 1
Creating .scm (LBA)    537/311480

and SecuROM again detected but now dumping freezes at creating scm at 537 & stays there.

Edit: forgot to upload logs: https://www.sendspace.com/file/dqpjhb

1,522

Refixed: rereading about SecuROM/Libcrypt http://www.mediafire.com/file/eq80y20l9 … st.7z/file

1,523 (edited by antimatter 2018-08-26 18:46:54)

Redumped with latest test DIC. Dump completed and hashes match older DIC & CloneCD.

Question: DIC reads the disc as having SecuROM with 1 line in the subIntention.txt but no other program finds any protection. Is DIC reading a false positive on the SecuROM protection?

Logs: https://www.sendspace.com/file/xv2hzb

1,524

changed: how to detect SecuROM Type 4 (11 errors version) http://www.mediafire.com/file/eq80y20l9 … st.7z/file

Worked. Dumped with no false detection of SecuROM.