Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
generate .cue files? or another method?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
MADcow
l33t
l33t


Joined: 23 Jan 2003
Posts: 742
Location: RIT (Henrietta, New York, United States)

PostPosted: Sun Nov 30, 2003 6:42 pm    Post subject: generate .cue files? or another method? Reply with quote

i have a bunch of cd's sitting on my harddisk... only one problem: they are in .bin/.cue format, and the .cue's seem to have gone missing.
my ultimate goal is to mount them somewhere on my filesystem (either using -o loop, or using cdemu)...
and no, they aren't (s)vcd's, so i can't just play them with mplayer...
any ideas on how i can mount/burn them without the .cue's, or generate .cue's for them?
thanks :D
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Mon Dec 01, 2003 7:50 am    Post subject: Reply with quote

if they have only one track, then you could try something like this:
Code:
FILE "the-name-of-your-bin-file.bin" BINARY
  TRACK 01 MODE1/2352
    INDEX 01 00:00:00


cheers

SteveB
Back to top
View user's profile Send private message
Dinini
Apprentice
Apprentice


Joined: 11 Jun 2003
Posts: 236

PostPosted: Mon Dec 01, 2003 11:56 am    Post subject: Reply with quote

http://users.andara.com/~doiron/bin2iso/ may be of help, I believe there's an example of reconstructing the cue from a bin file using bin2iso.
Back to top
View user's profile Send private message
Basti_litho
Apprentice
Apprentice


Joined: 13 Aug 2002
Posts: 179

PostPosted: Mon Dec 01, 2003 12:10 pm    Post subject: Reply with quote

its easy:

1.
get the mpg file from bin:
vcdxrip -b video.bin

2.
create cue file:
vcdimager -t CD-FORMAT avseq1.mpg
_________________
Aktives Mitglied bei:

Folding@Home
http://folding.stanford.edu/

Team: Germany (Nr. 3)
Back to top
View user's profile Send private message
MADcow
l33t
l33t


Joined: 23 Jan 2003
Posts: 742
Location: RIT (Henrietta, New York, United States)

PostPosted: Mon Dec 01, 2003 11:37 pm    Post subject: Reply with quote

thanks for the help guys. i was able to secure the .cue's...
one other problem though; i'm using cdemu to mount them, which worked fine, until i got home today...
when i try to mount them now, the entire computer freezes. so bad that the cursor in my VT stops blinking; it just disappears.
i'm doing this:
Code:
modprobe cdemu
cdemu 0 FILE.cue
mount -o ro /dev/cdemu/0 /mnt/cdrom/
<FREEZE>

:cry:

Basti_litho: it's NOT a vcd. but thanks

EDIT: this might help debug that freeze:
Code:
(18:49:42·tux@Helix)
[~]$ uname -a 
Linux Helix 2.4.20-gentoo-r7 #3 SMP Fri Oct 10 14:50:22 EDT 2003 i686 AMD Athlon(tm) MP 2600+ AuthenticAMD GNU/Linux


EDIT AGAIN: your know what? screw cdemu, i'm converting them with bin2iso now, and i'll mount it as loop, or burn it.
thanks again, everyone.
Back to top
View user's profile Send private message
MADcow
l33t
l33t


Joined: 23 Jan 2003
Posts: 742
Location: RIT (Henrietta, New York, United States)

PostPosted: Tue Dec 02, 2003 12:28 am    Post subject: Reply with quote

someone's god hates me.
the first cd went fine. it converted from bin to iso just fine. then mounted fine with mount -o loop. it works.

the other two though:
Code:
$ bin2iso cd2.cue

Dec  1 2003, 19:14:06
bin2iso V1.9b - Converts RAW format (.bin) files to ISO/WAV format
               Bob Doiron, ICQ#280251                     

Check for updates at http://users.andara.com/~doiron

Segmentation fault

X_X

EDIT: it was the %$#@ing number of $#@%ing spaces in the indentation of the .cue files.
wow.
that's sad.
umm.. thanks again. i'll stop talking to myself now.
Back to top
View user's profile Send private message
Jazz
Guru
Guru


Joined: 16 Nov 2003
Posts: 543
Location: Melbourne, Australia

PostPosted: Tue Dec 02, 2003 1:36 am    Post subject: Reply with quote

AHH !! was just waiting for a topic like this to come up !!

Well.. its clear on hotto mount images having bin,cue,iso exts !! BUTTT !!

How do i mount images made by apps like Nero (.nrg) and CloneCD (.ccd) ???? any bright ideas ? cuz it'll take much more than just ideas !

ALSO !! there goes the mounting part of pre-existing images... now HOW DO I MAKE ISO IMAGES out of a cd in Linux ?????

i just wanna make iso images ! plain iso..

ALSO, while copying MOVIE cd's tomy hdd... i always get a io error ! no matter what i cannot copy the avseq01.dat file....

Though i can copy all the other files on the cd !! (they are useless though)...

Also, if i have only the .dat file on the cd.. ie it is written in plain data format.. then i can very well copy it.. but not when its burned as a vcd !

WHATS HAPPENING GUYS ??? is there any kinda protection put up in linux ??

and the worst part is i culdnt find out any Clonecd kinda apps for linux ! not even something remotely close !

Please help me !! as this makes me boot into windows very frequently. which i absolutely dont like !!

Bye,
Jassi
Back to top
View user's profile Send private message
Dinini
Apprentice
Apprentice


Joined: 11 Jun 2003
Posts: 236

PostPosted: Tue Dec 02, 2003 10:37 am    Post subject: Reply with quote

MADcow wrote:
umm.. thanks again. i'll stop talking to myself now.

Glad you've got it working. You're not talking to yourself, you're talking to the next person who has the problem and tries to find a solution to the problem searching the forum.

BTW: Did fixing the indents work for just bin2iso or cdemu as well?
Back to top
View user's profile Send private message
dub.wav
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2003
Posts: 149
Location: Norway

PostPosted: Tue Dec 02, 2003 12:13 pm    Post subject: Reply with quote

jassi wrote:

ALSO !! there goes the mounting part of pre-existing images... now HOW DO I MAKE ISO IMAGES out of a cd in Linux ?????

i just wanna make iso images ! plain iso..

Code:
cat /dev/cdrom > image.iso
dd if=/dev/cdrom of=image.iso

Your pick :)
Back to top
View user's profile Send private message
Dinini
Apprentice
Apprentice


Joined: 11 Jun 2003
Posts: 236

PostPosted: Tue Dec 02, 2003 12:26 pm    Post subject: Reply with quote

Most utilites are based around the use of iso, so it's usually safest when you have an iso to play with. (This may have changed, please let me know if native support is now available)

need to use .bin/.cue emerge bin2iso or bchunk
need to use .nrg emerge nrg2iso
need to use .ccd/.img/.sub sorry may need to use windows clonecd... don't know of a port.

jassi wrote:
HOW DO I MAKE ISO IMAGES out of a cd in Linux ?????

Assuming you are starting with an iso966 cd:
dd if=<input device path> of=<output file path>
for example:
dd if=/dev/cdrom of=cd.iso
this is a raw copy

some options for utilities that might help (should all be in portage) if you need to burn images:
cdrdao (CLI with optional gui)
cdrtools (CLI includes cdrecord and mkisofs)
cdbakeoven, k3b (KDE)
gtoaster, xcdroast (Gnome)

I know of no copy protection built into linux, but the cd/dvd could be burned with copy protection (intentional unreadable areas) that may frustrate copying without specialized tools.

Did what I hoped was a quick search and got sidetracked looking at new toys. But please take a look at
http://www.tldp.org/HOWTO/CD-Writing-HOWTO.html
http://reviewed.homelinux.org/en/howtocdwrite.html

If you get really stuck, supposedly isobuster works under linux using wine and patched winaspi.dll. $30 shareware so I hesitate to recommend it. nero also works with the patched winaspi.dll.
Back to top
View user's profile Send private message
Jazz
Guru
Guru


Joined: 16 Nov 2003
Posts: 543
Location: Melbourne, Australia

PostPosted: Tue Dec 02, 2003 6:51 pm    Post subject: Reply with quote

HEY.. thanks guys !

i finally understood why i culdnt copy my movie cd's.. cuz they were burnt in mode 2.. they were multimode cd's ! hmm..

so i guess the dd if,of method wont work here..

but i have a doubt.. if i copy it using the cdrdao --readcd thingy.. then will it be made into a standard iso format ?? i know its gonna be in RAW but. then how do i mount it in linux ? is raw mode iso mounting possible ? is there any tool like cdemu that makes this thing possible ?


another thing that i'd like to point out is that if ur image is in the clonecd format. then there is an option to completely ignore the .sub and .ccd files and instead use a .cue file as .cue makes the .img format similar to .iso !

if thats not working still.. u can always use the isobuster in wine.. it works fine, i've been using it my self !

Well.. i really think there is a serious need of a utility like daemin tools in linux that can handle emulation of all image formats in linux !! also if its not natively suopported in linux !

Linux supports ALMOST all the fs'es out there so why cant it handle the cdfs'es ?? eh...

anyways, as i get more cool solutions i'll keep this thread updated !

Bye,
Jassi
Back to top
View user's profile Send private message
abarrett79
n00b
n00b


Joined: 19 Oct 2003
Posts: 9

PostPosted: Tue Dec 02, 2003 8:59 pm    Post subject: Reply with quote

fireburner has a version for linux that will read and convert ccd
now you dont need windows at all! ditch that bloated pos and put something useful there! :P
Back to top
View user's profile Send private message
MADcow
l33t
l33t


Joined: 23 Jan 2003
Posts: 742
Location: RIT (Henrietta, New York, United States)

PostPosted: Tue Dec 02, 2003 9:14 pm    Post subject: Reply with quote

jassi: mkisofs is included in the package CDR tools. i just use that.
Back to top
View user's profile Send private message
Jazz
Guru
Guru


Joined: 16 Nov 2003
Posts: 543
Location: Melbourne, Australia

PostPosted: Tue Dec 02, 2003 10:15 pm    Post subject: Reply with quote

Hi..

i've used mkisofs too.. but only while making multibootable cd's and stuff..

www.911cd.net/forums (A very good place to be if interested in making bootable cd's)

I'm a silver member there 8) 8)

Cud u please tell me for what purpose do u use mkisofs Madcow ?? like is it while making images ? or doin something to them after that..

abarett.. fireburner might be good.. but look at isobuster !! i mean almost all the cd fs format is there.. u can do almost anything ... i just culdnt get it to recognize my cdrom !! i hope u get what i mean !

Like it can open my images on my hdd.. but it cant read directly from my cdrom mounted at /mnt/cdrom how do i do that ? that cud solve many things as then i wuldnt have to make images.. :twisted:

Anyways.. let the ideas coming guys !

Bye,
Jassi
Back to top
View user's profile Send private message
MADcow
l33t
l33t


Joined: 23 Jan 2003
Posts: 742
Location: RIT (Henrietta, New York, United States)

PostPosted: Tue Dec 02, 2003 10:24 pm    Post subject: Reply with quote

i use mkisofs to take a collection of files and make them into iso9660 format
Back to top
View user's profile Send private message
maxmc
Guru
Guru


Joined: 14 Oct 2002
Posts: 480
Location: Linköping, Sweden

PostPosted: Tue Dec 02, 2003 10:25 pm    Post subject: Reply with quote

what we need is a daemon-tools (Sorry couldn't find official homepage) for linux.

That would eliminate the need for winex cd protection schemes aswell.
Back to top
View user's profile Send private message
Jazz
Guru
Guru


Joined: 16 Nov 2003
Posts: 543
Location: Melbourne, Australia

PostPosted: Wed Dec 03, 2003 2:49 am    Post subject: Reply with quote

Yea.. absolutely correct !

there is no app of the daemon-tools caliber for linux !! it supports almost all the cd formats out there... is there even no way that we can emulate this in Wine ?? using some hacked libraries or anything ? if wine can do Nero.. then why not daemon-tools ??

Is there any project gonna be based on this app for linux ??

Hmm... i got a pdi2iso converter.. get it here :- http://forum.doom9.org/showthread.php?threadid=46206

maybe it'll help somebody..

Bye,
Jassi

EDIT :- Guys u must see this.. images in linux dont work very well in windows... http://www.daemon-tools.cc/portal/viewtopic.php?t=1237&highlight=linux
Back to top
View user's profile Send private message
Jazz
Guru
Guru


Joined: 16 Nov 2003
Posts: 543
Location: Melbourne, Australia

PostPosted: Thu Dec 04, 2003 2:47 pm    Post subject: Reply with quote

BUMP !!

Does new wine do anything abt this ?? cuz on the daemon tools forum, i read somewhere that maybe wine can support it !

Bye,
Jassi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum