• DOS file splitting

    From paulie420@21:2/150 to All on Mon Jul 24 18:54:04 2023
    So I'm trying to copy over all of OftenHide's demo packs to a DOS machine... they are released as actual files, several of which are larger than 1.44mb.

    I'm having a tad trouble getting my Network Card [a Cogent Data eMaster Plus ATS ISA 727001-1] connected to mTCP as I can't find a suitable packet driver... already hunting for a 3Com network card as that would solve that issue quickly, but alas - I don't have FTP/network just yet on that machine.

    Anyone know of DOS [and/or current Linux/windows/macos counterparts] software that splits files; or .ZIPs?? I might of just answered my own question, as I know the .ARJ format allows for .A01, .A02, etc - maybe I'll look at ARJ. :P Lulz... think it thru, Paulie.

    At any rate - if anyone has other suggestions, they are welcomed. :P



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbS>>20ForBeers.com:1337 (21:2/150)
  • From paulie420@21:2/150 to paulie420 on Mon Jul 24 22:20:15 2023
    Anyone know of DOS [and/or current Linux/windows/macos counterparts] software that splits files; or .ZIPs?? I might of just answered my own question, as I know the .ARJ format allows for .A01, .A02, etc

    Just an FYI; that worked perfectly. A super simple arj command, whether on DOS, *nix, Windows or MacOS;

    arj a -r -v1440 filename.arj subdir/

    Cuts whatever yer compressing into filename.arj, a01, a02, etc.

    Then, you can create .img files if needed, for say a Gotek device, with;

    dd if=/dev/zero of=filename_arj.img bs=1440k count=1
    dd if=/dev/zero of=filename_a01.img bs=1440k count=1
    ...
    mkfs.msdos -F 12 filename_arj.img
    mkfs.msdos -F 12 filename_a01.img
    ...
    mkdir disk
    sudo mount -o loop filename_arj.img disk
    ...
    cp filename.arj disk
    ...
    sudo umount disk/

    And then you have .img files of the different .arj, .a01, etc to copy over to the DOS machine via floppy, OR Gotek .img.

    Meh...



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbS>>20ForBeers.com:1337 (21:2/150)
  • From claw@21:1/210 to paulie420 on Tue Jul 25 07:44:48 2023
    On 24 Jul 2023, paulie420 said the following...
    Anyone know of DOS [and/or current Linux/windows/macos counterparts] software that splits files; or .ZIPs?? I might of just answered my own question, as I know the .ARJ format allows for .A01, .A02, etc - maybe I'll look at ARJ. :P Lulz... think it thru, Paulie.

    pAULIE42o
    .........

    Well if I remember PKzip could do it. Don't remember all the commands for it but there is a way to tell it to split files but size and it will create all the zips you need

    |23|04Dr|16|12Claw
    |16|14Sysop |12Noverdu |14BBS |20|15Radio|10@|14HTTP://Noverdu.com:88
    |16|10 Standard ports for SSH/Telnet |04 WEB|14@|12HTTP://noverdu.com:808 |20|15Global Chat, Global Messaging and Games! |16|10Ditch the Unsocial Media

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Noverdu BBS (21:1/210)
  • From xqtr@21:1/111 to paulie420 on Tue Jul 25 19:09:07 2023
    Anyone know of DOS [and/or current Linux/windows/macos counterparts] softw that splits files; or .ZIPs?? I might of just answered my own question, as know the .ARJ format allows for .A01, .A02, etc - maybe I'll look at ARJ. Lulz... think it thru, Paulie.

    For what i remember from my DOS days :) you can use PKZIP with the span option, ARJ as you mentioned and dedicated split programs. One of them is Split for DOS.

    http://www.sharewarejunkies.com/8s3/splitdos.htm

    Whatever way you use, the important thing is to remember how you split the files, so you find the way to join them after. ARJ and PKZIP are a very good way to split/join, as you can figure the what you used, even from the file extension and also check the file/process, during split/join.

    On the other hand the DOS utilities you may find, just break the binary file into parts and you can rejoin them even with a simple copy command like:

    copy /b file1+file2+file3 file

    But you risk corrupting the file(s) as even a small mistake in the command syntax may broke/corrupt the file.

    .
    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A47 2020/11/23 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From Nightfox@21:1/137 to paulie420 on Tue Jul 25 19:56:17 2023
    Re: Re: DOS file splitting
    By: paulie420 to paulie420 on Mon Jul 24 2023 10:20 pm

    Anyone know of DOS [and/or current Linux/windows/macos counterparts]
    software that splits files; or .ZIPs?? I might of just answered my own
    question, as I know the .ARJ format allows for .A01, .A02, etc

    Just an FYI; that worked perfectly. A super simple arj command, whether on DOS, *nix, Windows or MacOS;

    pkzip itself can make split zips, though I think it might only work on floppy disks, as I think the filenames it used were all the same. As you mentioned, ARJ can create multiple archives. RAR can create multiple archives as well.

    Nightfox
    --- SBBSecho 3.20-Linux
    * Origin: Digital Distortion: digdist.synchro.net (21:1/137)
  • From Nightfox@21:1/137 to claw on Tue Jul 25 19:59:49 2023
    Re: Re: DOS file splitting
    By: claw to paulie420 on Tue Jul 25 2023 07:44 am

    Well if I remember PKzip could do it. Don't remember all the commands for it but there is a way to tell it to split files but size and it will create all the zips you need

    I remember pkzip being able to span across multiple floppies, but I think all the zip filenames would be the same on each floppy disk. I don't think zip could create separate named zip files on the same drive.

    Nightfox
    --- SBBSecho 3.20-Linux
    * Origin: Digital Distortion: digdist.synchro.net (21:1/137)
  • From paulie420@21:2/150 to xqtr on Tue Jul 25 19:04:55 2023
    For what i remember from my DOS days :) you can use PKZIP with the span option, ARJ as you mentioned and dedicated split programs. One of them
    is Split for DOS.
    http://www.sharewarejunkies.com/8s3/splitdos.htm

    Understood - ARJ worked great for me, and I'm kinda thinking this whole 'how to handle Gotek files' theme might make for a good OSS program. I've been wanted to write something, and got motivated by the simplicity of a recent OSS named Ripdrag - rust implements really easily and the above topic might be an easy-ish subject to tackle;

    creation of empty .img files in 360k, 720k, 1.20m, 1.44m size
    addition of files to an empty .img to create a Gotek-compatible .img
    splitting of large files/archives and them into .img's for a Gotek

    ... at any rate, thanks for the reply as always xqtr!



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbS>>20ForBeers.com:1337 (21:2/150)