Page 146 of 354
Re: DiscImageCreator
Posted: Wed Jul 11, 2018 2:19 am
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
Re: DiscImageCreator
Posted: Wed Jul 11, 2018 9:37 am
by ajshell1
Oh my fucking god! I love you sarami!
Time to test this baby out!
Re: DiscImageCreator
Posted: Wed Jul 11, 2018 10:00 am
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.
Re: DiscImageCreator
Posted: Wed Jul 11, 2018 11:27 am
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.
Re: DiscImageCreator
Posted: Wed Jul 11, 2018 10:01 pm
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.
Re: DiscImageCreator
Posted: Sat Jul 14, 2018 11:23 am
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".
Re: DiscImageCreator
Posted: Sun Jul 15, 2018 1:53 pm
by FatArnold
It's on Linux now? Thank you so much <3
Re: DiscImageCreator
Posted: Sun Jul 15, 2018 7:27 pm
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
Re: DiscImageCreator
Posted: Mon Jul 16, 2018 4:14 am
by sarami
Re: DiscImageCreator
Posted: Mon Jul 16, 2018 10:51 am
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.