DiscImageCreator

sarami
Posts: 1762
Joined: Mon Jun 08, 2026 1:27 am

Re: DiscImageCreator

Post by sarami »

Uploaded linux build. I built it on WSL (Windows Subsystem for Linux) using ubuntu 18.04 LTS x64.
http://www.mediafire.com/file/uw3e03kdk … t.tar/file
But it doesn't work. I don't know why now.

Code: Select all

AppVersion
        x86, AnsiBuild, 20180711 160517
CurrentDirectory
        /home/sarami/projects/DiscImageCreator_linux/bin/x64/Release
WorkingPath
         Argument: test.iso
         FullPath: /home/sarami/projects/DiscImageCreator_linux/bin/x64/Release/test.iso
            Drive:
        Directory: /home/sarami/projects/DiscImageCreator_linux/bin/x64/Release/
         Filename: test
        Extension: .iso
StartTime: 2018/07/11(Wed) 16:06:19
[F:TestUnitReady][L:44] GetLastError: 30, Read-only file system
EndTime: 2018/07/11(Wed) 16:06:19
mount place: /mnt/<single letter>
e.g. /mnt/f

usage: same as windows version
e.g. ./DiscImageCreator_linux.out dvd f test.iso 4
DiscImageCreator, UmdImageCreator, Conv2multiBin, bin2wav, PS3Auth (needs login), [url=http://www.mediafire.com/file/5cgoy11x6ahc7qh/%2523recompressTo7z_20150109.bat/file]recompressTo7z_20150109.bat[/url]
User avatar
ajshell1
Posts: 362
Joined: Mon Jun 08, 2026 1:28 am

Re: DiscImageCreator

Post by ajshell1 »

Oh my fucking god! I love you sarami!

Time to test this baby out!
User avatar
ajshell1
Posts: 362
Joined: Mon Jun 08, 2026 1:28 am

Re: DiscImageCreator

Post by ajshell1 »

I seem to be getting a different error:

After doing: sudo mount /dev/sr1 /mnt/d

Code: Select all

[aj@Canopus test]$ ./DiscImageCreator_linux.out cd d SC3K.bin 8 /c2 /d8 /sf /ns
AppVersion
        x86, AnsiBuild, 20180711 160517
/c2 val1 is omitted. set [4000]
/c2 val2 is omitted. set [0]
/sf val is omitted. set [60]
CurrentDirectory
        /home/aj/games/test
WorkingPath
         Argument: SC3K.bin
         FullPath: /home/aj/games/test/SC3K.bin
            Drive: 
        Directory: /home/aj/games/test/
         Filename: SC3K
        Extension: .bin
StartTime: 2018/07/11(Wed) 11:02:05
[F:TestUnitReady][L:44] GetLastError: 25, Inappropriate ioctl for device
I seem to be getting that error regardless of whether I have a disc mounted to that point or not.

Honestly, I'm not sure if you are going about it the right way. The way Windows and Linux handle mounting of drives is fundamentally different. I think it would be smarter to have us select the device name (e.g. /dev/sr0 or /dev/cdrom) rather than a mount point. I know that you might not like that since it'll make your programming experience harder and your code messier, but I think the way it is now is only going to lead to more problems. However, that's just my opinion.

I'm not sure what exactly you'll need for full Linux support in the future, but I'm willing to help you in any way that I can. Including financially.

Also, if you could run "lsblk" in WSL, that might help us out.
Last edited by ajshell1 on Wed Jul 11, 2018 10:10 am, edited 1 time in total.
sarami
Posts: 1762
Joined: Mon Jun 08, 2026 1:27 am

Re: DiscImageCreator

Post by sarami »

lsblk

Code: Select all

lsblk: failed to access sysfs directory: /sys/dev/block: No such file or directory
I think it would be smarter to have us select the device name (e.g. /dev/sr0 or /dev/cdrom) rather than a mount point.
Fixed as follows.

Code: Select all

    pDevice->hDevice = open("/dev/cdrom", O_RDONLY | O_NONBLOCK, 0777);
But, there isn't /dev/sr0 and /dev/cdrom in ubuntu of WSL, so I can't confirm it's working or not.
DiscImageCreator, UmdImageCreator, Conv2multiBin, bin2wav, PS3Auth (needs login), [url=http://www.mediafire.com/file/5cgoy11x6ahc7qh/%2523recompressTo7z_20150109.bat/file]recompressTo7z_20150109.bat[/url]
User avatar
ajshell1
Posts: 362
Joined: Mon Jun 08, 2026 1:28 am

Re: DiscImageCreator

Post by ajshell1 »

Well, I'll be your personal tester if you want. Just give me the latest compiled binaries, and I'll let you know if they work or if they don't.
User avatar
ajshell1
Posts: 362
Joined: Mon Jun 08, 2026 1:28 am

Re: DiscImageCreator

Post by ajshell1 »

By the way sarami, could you make the _disc.txt file specifically mention the layerbreak at some point?

Please make it say something like "Layerbreak: 1336160" somewhere in the output files.

This is a required field for DVD-9 submissions, so this should be "idiot proof".
FatArnold
Posts: 301
Joined: Mon Jun 08, 2026 1:27 am

Re: DiscImageCreator

Post by FatArnold »

It's on Linux now? Thank you so much <3
h0lylag
Posts: 38
Joined: Mon Jun 08, 2026 1:28 am

Re: DiscImageCreator

Post by h0lylag »

sarami wrote:But, there isn't /dev/sr0 and /dev/cdrom in ubuntu of WSL, so I can't confirm it's working or not
Hi Sarami,

I gave this a go and wasn't able to get it working. I can help with testing more if that is needed. Although I'm afraid I wouldn't be of much more help than that.

Code: Select all

h0lylag@debian:~/Desktop$ ./DiscImageCreator_linux.out xbox /dev/sr1 test.iso
AppVersion
    x86, AnsiBuild, 20180712 12823
CurrentDirectory
    /home/user/Desktop
WorkingPath
     Argument: test.iso
     FullPath: /home/h0lylag/Desktop/test.iso
        Drive:
    Directory: /home/h0lylag/Desktop/
     Filename: test
    Extension: .iso
StartTime: 2018/07/16(Mon) 00:30:32
[F:StorageQueryProperty][L:227] GetLastError: 22, Invalid argument
EndTime: 2018/07/16(Mon) 00:30:32
Last edited by h0lylag on Mon Jul 16, 2018 10:52 am, edited 1 time in total.
sarami
Posts: 1762
Joined: Mon Jun 08, 2026 1:27 am

Re: DiscImageCreator

Post by sarami »

http://www.mediafire.com/file/uw3e03kdk … t.tar/file

Code: Select all

[F:StorageQueryProperty]
Skipped this func.
DiscImageCreator, UmdImageCreator, Conv2multiBin, bin2wav, PS3Auth (needs login), [url=http://www.mediafire.com/file/5cgoy11x6ahc7qh/%2523recompressTo7z_20150109.bat/file]recompressTo7z_20150109.bat[/url]
h0lylag
Posts: 38
Joined: Mon Jun 08, 2026 1:28 am

Re: DiscImageCreator

Post by h0lylag »

Hello again, thank you for the update. I receive the same error still. The output is unchanged from my last comment so I will not include it again.
Post Reply