Portál AbcLinuxu, 30. dubna 2025 22:15
Ide o poznámkový zápis, ktorý som presťahoval na moju stránku. Ak niekto hľadá jednoduchý návod ako skonvertovať nrg image na iso nájde ho tu:
Ako skonvertovať nero nrg na iso
Tiskni
Sdílej:
Na gentoo-wiki je návod na připojení nrg a předpokládám, že ten offset dělá něco podobného:
Hint 3: You can use nrg2iso to convert Nero's .nrg files to ISO (It's in portage). Or you can mount a .nrg file with:
mount -o loop,offset=307200 image.nrg /wheretomount
A také je tam, že mdf lze připojit úplně jednoduše:
Hint 2: You can use mdf2iso to convert MDF/MDS files to ISO (It's in portage). Or you can mount a .mdf file with:
mount image.mdf /wheretomount -o loop=/dev/loop0
-rw-r--r-- 1 cx cx 6532 2007-01-04 12:06 sql.pyc
A kde je podle tebe ten MB falešných dat?
* app-cdr/ccd2iso Latest version available: 0.2-r2 Latest version installed: [ Not Installed ] Size of files: 175 kB Homepage: http://sourceforge.net/projects/ccd2iso/ Description: Converts CloneCD images (popular under Windows) to ISOs License: GPL-2 * app-cdr/mdf2iso Latest version available: 0.3.0-r1 Latest version installed: [ Not Installed ] Size of files: 95 kB Homepage: http://mdf2iso.berlios.de/ Description: Alcohol 120% bin image to ISO image file converter License: GPL-2 * app-cdr/nrg2iso Latest version available: 0.4-r1 Latest version installed: [ Not Installed ] Size of files: 8 kB Homepage: http://gregory.kokanosky.free.fr/v4/linux/nrg2iso.en.html Description: Converts Nero nrg CD-images to iso License: GPL-2
IMG2ISO
mě ještě nezklamal.. Raw formáty se používají 3, a dají se celkem snadno rozpoznat podle prvních 16 bajtů.
#include <stdio.h> #include <string.h> #include <stdlib.h> /* Mode 1 2352: Sync 12, Address 3, Mode 1, Data 2048, ECC 288 Mode 2 2352: Sync 12, Address 3, Mode 1, Subheader 8, Data 2048, ECC 280 Mode 2 2336: Subheader 8, Data 2048, ECC 280 */ int main (int ac, char **av) { FILE *src, *dst; static char buf[2352], HEADER[12] = { 0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0 }; int hdr, size, i; // otevri soubory if (ac < 2) fprintf (stderr, "%s: image.bin [image.iso]\n", av[0]), exit (1); src = strcmp (av[1], "-") ? fopen (av[1], "rb") : stdin; if (!src) perror ("fopen"), exit (1); dst = (ac > 2) ? fopen (av[2], "wb") : stdout; if (!dst) perror ("fopen"), exit (1); // prvni sektor if (fread (buf, 1, 16, src) != 16) perror ("fread"), exit (1); if (memcmp (buf, HEADER, 12)) hdr = 8, size = 2336, fprintf (stderr, "Mode2/2336\n"); else switch (buf[15]) { case 1: hdr = 16, size = 2352, fprintf (stderr, "Mode1/2352\n"); break; case 2: hdr = 24, size = 2352, fprintf (stderr, "Mode2/2352\n"); break; default: fprintf (stderr, "error: Unsupported track mode\n"), exit (1); } if (fread (buf + 16, 1, size - 16, src) != size - 16) perror ("fread"), exit (1); // zbytek fajlu do { if (fwrite (buf + hdr, 1, 2048, dst) != 2048) perror ("fwrite"), exit (1); } while ((i = fread (buf, 1, size, src)) == size); if (i < 0) perror ("fread"), exit (1); if (i) fprintf (stderr, "error: unaligned %d bytes\n", i), exit (1); // finito fclose (src), fclose (dst); exit (0); }
dd
je trosku viac dostupne zvacsa A vobec preco instalovat nieco, co vlastne nepotrebujem?Mně to neříkej, nevšiml sis nápisů "Not Installed"?
Mně to neříkej, nevšiml sis nápisů "Not Installed"?
<flame> Nevsimol, ja ked tusim, ze ide o gentoo, tak necitam a utekam </flame> Za ziadnych okolnosti nebrat vazne!!
ccd2iso
a šlo to.
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.