this post was submitted on 02 Jun 2024
737 points (98.3% liked)

Memes

45719 readers
1315 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Zagorath@aussie.zone 6 points 5 months ago (2 children)

I still to this day don't know how it worked, but I remember back when I would pirate games and often there would be like 20 different compressed archives, but somehow you only need to decompress one of them and the game would install. Was like magic.

[–] amelore@slrpnk.net 11 points 5 months ago (1 children)

Multipart archives still exist. They're now used for file sharing websites that have a maximum file size. Before that they were for unreliable p2p networks, so you didn't lose the parts you'd already downloaded when your peer goes offline. Originally it was to fit something big on multiple cd-roms or floppies.

Opening somthing.rar also reads the data in somthing.r01 through somthing.r15 etc

[–] Zagorath@aussie.zone 2 points 5 months ago (1 children)

Opening somthing.rar also reads the data in somthing.r01 through somthing.r15 etc

Oh so it's just kinda a part of the rar specification then? How did that work on CDs or floppies, if presumably you'd have had to swap out to insert the next part?

[–] amelore@slrpnk.net 3 points 5 months ago* (last edited 5 months ago) (1 children)

Yes, it asks for the next part if it's not in the same folder with the same name, doesn't really make a difference what it's stored on. Multipart zip and tar also exist.

[–] Zagorath@aussie.zone 1 points 5 months ago (1 children)

So the first file acts as a sort of index? From the earlier comment I thought it was autodetecting the presence of the numbered files and expanding what it found.

[–] amelore@slrpnk.net 2 points 5 months ago

It's going to have some metadata to that effect yes, like a file index or number of parts or total extracted file size. I don't know the details, I've used them I haven't read the spec. rar is Rarlab's proprietary format so there might not even be a public spec.
They're normally all the same size except for the last part, so it's not that file 1 is just an index.

[–] ICastFist@programming.dev 2 points 5 months ago

Most compression programs offer a way to separate your thing in multiple parts, I know 7zip and Peazip do.

I've recently had to properly rename the latter part of a multipart zip because the source I got it from probably just renamed the parts it stole from elsewhere, which broke the whole "extract part 1, everything else comes along!"