1,451

Re: DiscImageCreator

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.

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

1,452

Re: DiscImageCreator

Oh my fucking god! I love you sarami!

Time to test this baby out!

1,453 (edited by ajshell1 2018-07-11 16:10:48)

Re: DiscImageCreator

I seem to be getting a different error:

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

[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.

1,454

Re: DiscImageCreator

lsblk

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.

    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.

1,455

Re: DiscImageCreator

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.

1,456

Re: DiscImageCreator

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".

Re: DiscImageCreator

It's on Linux now? Thank you so much <3

1,458 (edited by h0lylag Yesterday 16:52:21)

Re: DiscImageCreator

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.

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

1,459

Re: DiscImageCreator

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

[F:StorageQueryProperty]

Skipped this func.

1,460

Re: DiscImageCreator

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.