Not only interesting, but very useful. Especially for pulling pictures and charts out of Office documents quickly or en masse.
@myoriginalname2 жыл бұрын
Epub files can also be renamed as zip then extracted. Or you can also just zip a bunch of pictures and save it as .CBZ (or CBR for RAR’ed files) and voila, you have a lossless container/wrapper for your image files that can be viewed with any comic viewer la Sumatra pdf.
@cronchcrunch2 жыл бұрын
Or if you are using a decent archiving program(like 7zip) you can just extract the data of any container, so no need to change file extensions.
@vylbird80142 жыл бұрын
The page ordering rules for cbz are a bit vague though, so you have to left-pad the page numbers with zeros to make sure you get a consistent ordering when viewing.
@tinetannies46372 жыл бұрын
Hey that's great info, I didn't know that! Thanks!
@lurkerrekrul2 жыл бұрын
@@vylbird8014 Numbered files that AREN'T left-padded with zeros are an abomination! :)
@lurkerrekrul9 ай бұрын
@c6amp It's the original picture given to users who didn't have a profile picture. When KZbin decided that everyone needed to have a picture and that it was going to give generic letter-based pictures to anyone who didn't upload their own, I took a screenshot of the default image and uploaded it as my profile picture. Call it my own little protest against KZbin imposing its will on the users. :) Since nobody else still has this image, it stands out when I'm looking through the comments.
@legocreator7682 жыл бұрын
PK3 and PK4 files (used by games like quake 3, star wars Jedi knight Jedi academy, doom 3 and etc) are also just zip files. Wish more games would use standard data compression instead of having to use a tool to manually unpack game archives with a script.
@Ohthatguy642 жыл бұрын
Pk3s are also used in srb2/modern doom source ports
@Diego-Garcia2 жыл бұрын
The reason why they don't do this it's simple: they just don't want you to do it!
@desoroxxx2 жыл бұрын
Sorry but you would actually not really like it
@TheArKabZol2 жыл бұрын
Beyond obfuscation like has been mentioned, I think another big factor might be performance. Zip is somewhat old and may not be exactly optimal in terms of how fast you can get the compressed data off of your drive and into memory.
@skelebro99992 жыл бұрын
I love how Joe uses AI generated images now instead of stock photos 😂
@ThioJoe2 жыл бұрын
I'll use a mix of both
@skelebro99992 жыл бұрын
@@ThioJoe That's good to know.
@Redstonedust-rc9nr2 жыл бұрын
Ok...
@KeeganWS2 жыл бұрын
I mean, it's basically no work. just a minute or two to make one that works and you're done! no copyright or anything to worry about
@ts______2 жыл бұрын
@@ThioJoe which AI generator do you use?
@ktheveg2 жыл бұрын
Jar files are zip folders that hold special code for the JRE to compile at runtime. The structure is defined by the developer of the specific application. The only standard thing about it is simply that it needs a main.class in the root. Other than that, it's up to the dev to build out the program's file structure.
@justcomments14432 жыл бұрын
I think you meant manifest file that hold the metadata info of the jar like the main class if any, main class is only needed if you want that to run if double click Edit Added some corrections Also jre is for running (java.exe ) Jdk for compiling (javac.exe)
@0x5DA2 жыл бұрын
i don't think the jre does any compiling at runtime, it just acts as a platform to run the bytecode generated by javac
@Blooest2 жыл бұрын
Yup. Minecraft's classes look like that because it was obfuscated to prevent people from just opening it up and stealing the code to make a ripoff.
@mrkitty7772 жыл бұрын
Comic book reader cbr files are also zip files.
@mrkitty7772 жыл бұрын
Any java decompiler can decompile the class files and apk files can be decompiled too.
@ora2j2512 жыл бұрын
For the exe files, i reckon driver installers are basically always archives extractables with 7-zip. Which is really usefull to get the INF and SYS files alone and not deal with the crappy installers of hardware vendors
@TulgaD52 жыл бұрын
Damn, that's a live pro tipp
@michealpersicko95312 жыл бұрын
YEs they are and if you can figure out which folder it needs to go on the C: drive you can just drag and drop it from the archiver program into the folder to install it.
@mfaizsyahmi2 жыл бұрын
EXE, DLL (and probably MSI) files shown in this video are NOT ZIP files. EXE/DLL are PE files, which stands for Portable Executable. It's the format Windows uses so that machine code, and data it uses, for a program is in one, portable, file. PE files typically has the .text section (the program's actual machine code) and the .rsrc section (other data the program needs). But the .rsrc section can include other files, including valid Zip files. This is what I think self-extracting exes are extracting, and what Archiver programs look for. Finding none, they'll show you the PE structures instead.
@darranrowe1742 жыл бұрын
@@mfaizsyahmi It is. Basically, when you are generating resources for an executable image, you do have the option of adding files to the resource section. So at build time you can use a resource script with a user defined resource file and add an archive to the resource section. Since this isn't useful for self extractors, since it would require you building the executable, it is also possible to edit the resources section. Windows has the UpdateResource function which facilitates this. A self extracting archive or an installer which has the files as part of the executable resources can either just enumerate the resources, or assume that a fixed resource ID will always be used.
@rsa59912 жыл бұрын
@@mfaizsyahmi You can just attach Zip data to the end of EXE, there is no need to add it to any section. In fact, adding a big Zip to a section may be unwanted, as sections are loaded in RAM. Most self-extracting archives don't add the archive to sections. Zip format is special, because it has a footer instead of header - archivers read it from the end of the file. That's why it can coexist with many header-based formats.
@JustSomeRandomIdiot2 жыл бұрын
It's actually a great way to design a file format though, I've done it myself with my own coding. It means you can easily edit the file with third party software, and use existing zip libraries to pack data in and out of the file, and you get compression on top of it. It's a smart way to work.
@mjdxp56882 жыл бұрын
I'd love to see you go over files such as .DEB (Debian packages) and AppImage/Flatpak/Snap files as well!
@randomname24372 жыл бұрын
And .rpm
@Lanausse2 жыл бұрын
Hello Again ._.
@edussantoz90342 жыл бұрын
@@salamiwallnut as the name sugests a tar.gz is a file compressed with tar and after that compressed with gunzip, just a way to make the file smaller. it has became so standard in linux, that it has became just one binary who does both.
@coppertones70932 жыл бұрын
wanted to comment that too, i ended up with one on a non-debian system recently
@Absolute_Zero72 жыл бұрын
@@salamiwallnut I think he's referring to Arch pacman packages. However you are correct in pointing out that that is just a generic archive format, and that Arch pacman packages are quite literally zipped tar archives with no special file extension of any kind. As such, it wouldn't really fit in a video like this.
@TheCopymark2 жыл бұрын
The reason you pack it in a zip file is because every file is compressed separately. This means you can have a metadata file inside the zip and just extract this (probably quite small) text file. With other compression formats you would have to decompress the whole (possibly very large) file first to check some small file within.
@grn12 жыл бұрын
Archives where you have to extract everything are called solid archives, most formats have the option to create solid or non-solid archives so it isn't a particular advantage for zip files. Zip is just built into Windows so devs* don't have to worry about including an archiver with their programs (which is a bit of a problem for slow internet). The advantage of solid archives is that they can be made smaller but how much smaller depends on a lot of factors and the risk of corruption are far worse (if the archive is corrupted at all then all of the files within will likely be lost). Source: I messed around with solid RAR archives back in the day trying to save space on my EHDD but ended up losing a bunch of data because the archive got corrupted so I started using non-solid archives exclusively and found there was very little difference in size. Just to make sure I was remembering everything correctly I double checked and found that 7zip (the format I switched to in more recent years) uses a bit of a hybrid approach where the archives can have multiple solid blocks the size of which can be set. 7-zip also allows for the creation of completely non-solid archives. Since I've switched to internal SSDs and a NAS with high quality NAS HDDs and have multiple backups in general I'm not as worried about corruption as I used to be. *There's an interesting story behind that and Microsoft's Embrace, Extend, and Extinguish policy of the time.
@tookitogo9 ай бұрын
Yeah, that’s in no way unique to Zip. If anything, I suspect that compression formats that require you to extract all the files at once are the exception, not the rule.
@Mark_Es2 жыл бұрын
Now I know why I can open .jar files with 7zip or winrar. It makes sense
@pyp22052 жыл бұрын
Yeah same, only with ISO files. Because archiver programs seem to associate files that don't appear to be archive files until you look for yourself. I already knew jar files were a form of archive files because it literally has archive in its name. And also from winrar associating jar files as an archive file.
@IceMetalPunk2 жыл бұрын
Many years ago (I won't say how many lest I age myself), an indie game I loved that had a level editor had the fan community asking the dev to support custom player skins in the created levels. I looked into how hard or easy that would be, and that's when I first discovered how incredibly useful it is to just package data, images, etc. into a ZIP file and change the extension to make it look fancier 😂 It's nice to know even the big companies do the same thing and it wasn't a dumb novice-dev idea of mine.
@Gunz12342 жыл бұрын
That (---) was really unnecessary qnd like no one cares how many years ago.
@mfaizsyahmi2 жыл бұрын
It's not to be fancy, it's to bundle all the different things needed to get things to work to come in a single file, arranged in a certain way.
@IceMetalPunk2 жыл бұрын
@@Gunz1234 Your entire reply was unnecessary 🤷♂
@IceMetalPunk2 жыл бұрын
@@mfaizsyahmi Oh, no, I meant changing the file extension makes it look fancier than just naming it with .zip 🙂
@Diego-Garcia2 жыл бұрын
@@IceMetalPunk Not exactly. Like Joe said in the video, changing the extension helps the OS (mainly Microsoft Windows) to open the file with a specific program (because Windows depends on the extension, not the file content). Then, how will Windows know if that .zip file belongs to Adobe Illustrator or Java Virtual Machine (Minecraft)? That's the point.
@TCHGOD2 жыл бұрын
Another example is Apple iPSW files, those are the firmware files for all of Apple’s firmwares. Those are secretly ZIP files as well.
@wclifton968gameplaystutorials2 жыл бұрын
You can also open executable files (EXE) in a file archiver using a program such as 7zip or GNOME Archive Manager and the EXE file includes the relevant files necessary for the file to work such as app icons, version info and some text files will be filled with text that is used in the program. I should also add that you don't need to change the file type in Windows, instead just open the folder path in 7zip and right-click on the file and click on "open inside" (does not appear on the Linux snap version of p7zip)... I may also add that most file types can be opened in any text editor to view the same information e.g. an SVG Vector file can be opened in Notepad or Kate text editor and you view the coordinates of the file information...
@mfaizsyahmi2 жыл бұрын
An important thing about EXE/DLL is that they're not ZIP files, they're PE files, totally different specs. But any archiver program worth their salt understands the PE format as well as a ZIP format.
@darranrowe1742 жыл бұрын
@@mfaizsyahmi What these archivers show is the section headers for almost everything, and the resource directory for the resource section.
@QuantumScratcher2 жыл бұрын
If you've ever used Scratch (the programming language), you might know that .SB3 and .SB2 files are also ZIPs. Extracting them actually has a use: checking the size of the project.json file inside (which is limited to 5MB). edit: correct error - .sb files aren't .zips
@cst12292 жыл бұрын
.sb files are not zips afaik, only sb2/3s.
@DeltaruneRalsei4 ай бұрын
wait .sb2 aswell? didn't know
@Sembazuru2 жыл бұрын
If you are into 3D printing, the 3mf format used by many slicers to store objects, print settings, etc are also zip files.
@vdvman12 жыл бұрын
Regarding opening the minecraft jar, the `assets` folder is in fact the exact same structure as a resource pack, and the `data` folder is the exact same structure as a datapack. We often recommend that people do exactly as shown in this video to find where they need to put files and what to put in them when they are making their own resource packs and datapacks! It's very handy
@vdvman12 жыл бұрын
I think in the video you are showing an older version of the game, in newer versions a majority of the folders shown in the video are nested inside the `data` and `assets` folders that I mentioned in my above comment
@FengLengshun2 жыл бұрын
As a Linux user, I've been so confused as to why .docx and other ms office xml formats have archive manager assigned as default or one of the programs to open it. I suppose it's because the format isn't native or foss to be properly incorporated that file magic can only recognize the .zip aspect of it.
@garethperks70322 жыл бұрын
Great niche topic to cover. Most of those do indeed have file headers that begin with PK (Phil Katz). We can see this by opening in a hex editor like HxD, or even Notepad++ (if it's not massive in size). Many Windows executables begin with MZ (Mark Zbikowski) and can also be extracted. Thankfully 7zip makes it quick and easy to check.
@iZePlayz2 жыл бұрын
Interesting. I just knew before about that APKs, ISOs, JARs and some EXEs are Zips. The rest was new for me
@BennehYT2 жыл бұрын
Same.
@mfaizsyahmi2 жыл бұрын
EXE, DLL (and probably MSI) files shown in this video are NOT ZIP files. EXE/DLL are PE files, which stands for Portable Executable. It's the format Windows uses so that machine code, and data it uses, for a program is in one, portable, file. If you think about it, they can't be zip files because then how would a zip program (meaning the program that zips/unzips zip files) run? How would windows even exist before zip files were invented?
@aurisbunni2 жыл бұрын
Ah yes, opening files with a file extractor. I always do this with Android APK files whenever I want to extract some fonts or *assets* files used in that app. I never knew you can also open Office files the same way, this is helpful.
@LeafpoolTheMedCat2 жыл бұрын
Apple platforms like iOS and macOS also hide folders like that. If you've ever installed anything on a Mac, you might know that the app comes in a .dmg file (similar to .iso) and then you're supposed to drag the [AppName].app file from there to your applications folder and run it by double clicking like an .exe. But it's not actually a file, as if you extract a DMG on Windows, the .app shows up as a folder. Inside, there is a directory called "Contents" and in it are a bunch of resource files alongside a "MacOS" directory that has the main executable.
@dj_chateau2 жыл бұрын
If you're using something like 7-Zip, you don't need to rename the file. Changing the extension simply tells the OS's built-in archiving software to decompress the file.
@LMacNeill2 жыл бұрын
Ok... I cannot tell you how many times I need an image from a Word document, because some genius client decided to send me a word document instead of the original PNG or JPG file. And, until now, there was no easy way for me to get the *ORIGINAL* image out of that Word document... Now I know how to do that!! This is incredible!!
@davidfrischknecht82612 жыл бұрын
BTW, JAR files are not just for servers. They can be run on client versions of Windows, macOS, and Linux, provided the correct version of the Java Runtime Environment is installed. Also, the only folder you're guaranteed to see in a JAR file is the META-INF folder.
@_SJ2 жыл бұрын
The "award winning photograph" is so funny 😂
@ThioJoe2 жыл бұрын
Lol yep
@raulc.2 жыл бұрын
I've been watching your videos for years. Most of the time, your videos are very interesting and entertaining. And most of the time I pretty much know the information that you are covering or I am aware of it. In this video, there is a first. I never knew that all of these files were actually zip or compressed files. Keep up the good work. I always enjoy your videos.
@_SJ2 жыл бұрын
You can teach me the whole day about computers and I'll never get bored.
@TrojanLube692 жыл бұрын
I miss him ever since when the triple the internet video was uploaded. Man those times 😞
@just.nobody2 жыл бұрын
@@TrojanLube69 I've got extra 64 gigs of RAM thanks to him.
@_SJ2 жыл бұрын
Legendary KZbinr
@TrojanLube692 жыл бұрын
@@just.nobody yeah, no way you can download that amount anymore 😭😩
@snqzspg2 жыл бұрын
Suggestion: Could you also explain (as in possibly a new video) .rar, .7z, .tar.gz, tar.xz and .tar.bz2 and how are they different from .zip? I think you are one of the few people who can do it well
@BrightBlueJim2 жыл бұрын
I can answer for the tar variants: tar once stood for "tape archive", and was a way to just pack a number of small files together to store on magnetic tape, back when Unix was king. These use no compression. The .gz, .xz, and .bz2 extensions are just different compression methods applied to a standard tar file, so unlike zip, the whole file up to and including the files you are looking to extract has to be run through the uncompressor first. Zip stores a list of the files and their positions in the zip file at the end of the zip file, and each file is compressed separately, often using different compression algorithms.
@towaii2 жыл бұрын
maybe someone has pointed this out already, but .ora, a layered image format like .psd, used by GIMP, Krita and some other open-source image editing software (MyPaint is the one I have on my raspberry pi, since it can't run Krita, and it uses .ora) is also just a .zip in disguise! a friend of mine took advantage of this fact to use it for sprites for a game she made. .kra is Krita's modified version of .ora and also can be opened with an archiver.
@snarkykat2 жыл бұрын
I never figured that all these files were just zip files. This sort of thing is exactly why I watch your videos
@mfaizsyahmi2 жыл бұрын
EXE, DLL (and probably MSI) files shown in this video are NOT ZIP files. EXE/DLL are PE files, which stands for Portable Executable. It's the format Windows uses so that machine code, and data it uses, for a program is in one, portable, file. If you think about it, they can't be zip files because then how would a zip program (meaning the program that zips/unzips zip files) run? How would windows even exist before zip files were invented?
@Macabri_2k102 жыл бұрын
archiving programs are agnostic to file endings you don't need to rename the files to open any of these, just right-click it and use the context menu to let the archiving program handle the file in a way you want....or open directly from the files menu within the archiving program, just select "all files" in the file opening dialog, so you can see them in the selection window.
@duck_corp2 жыл бұрын
Awesome educational video on something I had never thought of before. More stuff like this please!
@refactoringg2 жыл бұрын
Joe explaining the minecraft source is like learning French on a English class
@redcrafterlppa3032 жыл бұрын
6:07 this version of minecraft is pretty old. In newer versions all the image data is grouped in 1 top level assets folder, which has the same structure as a texture pack. It's basically the default texture pack.
@wojciechszmyt33602 жыл бұрын
About office files, I've known and used it for a long time :D I've been extracting raw images from ppt presentations for years - super useful
@kjur02 жыл бұрын
As a programmer i knew that some of the files are archives, like .jar .exe .ipa .apk .msi. Bit the .docx or .odt or any of the office files were mind blowing
@alextirrellRI2 жыл бұрын
On Macs, lot of files you wouldn't expect are actually package files, but really just folders with more stuff inside. I took a MainStage concert file as an example and renamed it to .zip and it just turned into a folder, letting me see the contents. Applications are package folders as well, which is why you could just open that .app iOS app.
@tookitogo9 ай бұрын
Honestly, packages are a brilliant concept that solves so many common problems. But since none of the other major OSes have any equivalent concept for bundling a folder into an opaque, pseudo-monolithic file, using a zip archive is a great workaround that basically achieves the same thing.
@fu1r42 жыл бұрын
Why change extension? Right click and select "Open with" and select WinZip, WinRAR, 7-Zip or what application you use for un/compressing files. Make sure "Always use this app to open" is unselected because you don't want to associate it with the wrong application.
@loknathshankar54232 жыл бұрын
Cool, didn't know office files were also structured as zip
@ahmedhamdy24792 жыл бұрын
Thank you very much. I've been searching for something like this for a long time.
@m2pt52 жыл бұрын
I despise the fact that Windows defaults to not showing file extensions, that's just ripe for exploiting people.
@dylan.t1802 жыл бұрын
Wow that’s super useful I was literally wondering how to do this especially extracting images from the word document definitely going to keep this in mind thanks
@mro23522 жыл бұрын
I’m a Java developer and being able to confirm that the proper files are stored in the jar is very useful. It is also useful to be able to decompile Java .class files specifically.
@Liggliluff Жыл бұрын
(1:00) You should definitely uncheck hide file extensions, for security reasons. This is because people send files such as "photo.jpg.exe" which then shows up as "photo.jpg". Most people will not care that the .jpg is visible and find it strange, they'll just register that as a photo and will try to open it by running it, and now they're running malicious software. But with visible file extensions, you'll see it being photo.jpg.exe and now you can see that it's not a photo easily, and should definitely not run it.
@im2sxc4yall2 жыл бұрын
ThioJoe, thank you for this youtube channel. I love this youtube channel. Thank you for making this youtube channel about computers and the windows operating system. I've used the Windows operating system for years. I've essentially grown up with Windows as pretty much 99.999% of the whole world also has since Windows is pretty much the most used operating system of the world (the other two popular operating systems: macOS and Linux). Anyways, thank you for this video! I never knew that and was interesting to learn that Word documents are actually just .ZIP files in disguise. The More You Know! 😍😍
@flightman28702 жыл бұрын
This is super cool, now I'm gonna look through every single file on my phone and computer and see what changes I can make to them
@ilike2burnthing2 жыл бұрын
For those executable (your favourite word) files, you'd likely get a lot more usable information, and often the actual installed files by using 7-Zip's 'Open archive > #:e' option - a parser mode which opens basically everything. Useful for creating portable programs, or if you just need a couple of the files but don't want to install the whole program.
@mickgibson3702 жыл бұрын
And Microsoft wants to us forget the Word doc that made everybody's computer 3 to 11 and Apples open to the world!
@guilhinha2 жыл бұрын
I only knew about .jar ones. This is damn cool!
@jackatk2 жыл бұрын
7:03 *The beam that it sucks in Lmao- great video, super interesting!
@jordansean182 жыл бұрын
I learned this a couple years ago and I was blown away 😂 told all my developer friends that it's all just zipper XML these days
@melekRebai2 жыл бұрын
I'm a web dev and i use this technique as well for exporting/importing data across apps
@dbackscott2 жыл бұрын
Not sure if this was already mentioned, but Google Earth and several mapping & GIS programs make use of “.KMZ” files, which are also zip archives.
@maxmouse32 жыл бұрын
I knew about a few of these but never thought that DOCX was also zip hahaha amazing
@abcrtzyn2 жыл бұрын
I’ve used this to take images out of PowerPoint. Very useful secret to know.
@pschroeter12 жыл бұрын
A few years ago I was doing this to Firefox extensions, so I could go into one of the files a bump up the the highest version number the extension was compatible with for extensions that were no longer being supported.
@leogama34222 жыл бұрын
Hahaha! Nice trick
@kkuukkoo22 жыл бұрын
Most of driver installation .exe files can be opened this way if you have problem installing driver incompatible with your version of windows. Extract, find .ini files, install manually, most of the times works.
@MorganSullivan2 жыл бұрын
If you want to discover if a file is a zip without changing the extension just open it with a plain text editor (like notepad). If the contents start with "PK" is a secret zip... This is a very quick test..
@ThioJoe2 жыл бұрын
Yep
@mfaizsyahmi2 жыл бұрын
Stands for Phil Katz, the creator of the zzip file spec. RIP Phil Katz, 1962-2000.
@MorganSullivan2 жыл бұрын
@@mfaizsyahmi In the ancient days of computing zip were PKzip.. I never knew why... RIP PK.. We are grateful!!
@kdee14282 жыл бұрын
Source Engine map files called Binary Space Partition or just ".bsp" files can be open with 7zip even though they are not zip files. It is very useful to see the content baked into the bsp files this way.
@zalyster2 жыл бұрын
.cbr and .cbz files used for comics are also just zip files of numbered jpegs (and sometimes a metadata xml file)!
@sodiboo2 жыл бұрын
5:30 yeah, that is the executable for sure. y'know, if you've ever unsure what a file is (missing extension, weird extension), oftentimes the `file` utility is useful. it should identify this as a Mach-O executable
@arijitdas75262 жыл бұрын
Adobe motion graphics template (.mogrt) is also another example.
@ThioJoe2 жыл бұрын
Interesting
@josir19942 жыл бұрын
A file is a bunch of information stored in a certain format, an archive is also a bunch of information stored in a certain format, perfectly reasonable to be interchangable.
@rfry2002 жыл бұрын
Fascinating, thank you so much. Very useful for converting file x to file y.
@indepth6mobile-official2 жыл бұрын
Several feature phone theme files are also archives. .nth for Nokia are just ZIP files, and .thm for Sony Ericsson are TAR files.
@pww42932 жыл бұрын
Office and LibreOffice file format are basically a collection of standardized XML files. XML files are sort of like HTML but with custom tags and structure. Due to XML files having so many repetitive keywords (like tags), ZIP-ing it make sense thus creating smaller file. Old Document format like 95-2003 Microsoft Office create a pure condensed binary document. Nobody outside Microsoft knows how to make that format precisely as Microsoft Office does, other apps have to reverse-engineer the binary format with mixed result (such as, inconsistent formatting). Even when Microsoft does actually open the specification, there is still "outside-of-specification" feature that are not documented properly. With XML based specification, at least someone can see a clear text tag and property of document even if there are actual "outside-of-specification" features implemented. Reverse-engineering it will be much easier. The only headache is that Microsoft will likely to continue doing "out-of-spec" thing with each new version of Office 365 that will make it hard for other office apps to read Office XML file properly with consistent format.
@tookitogo9 ай бұрын
The difficulty was never really with the binary format as such; it’d been reverse-engineered long before the XML versions, and MS even had documentation for the binary container format itself. The problem is that to open a document correctly, you have to faithfully recreate the entire document object model, every feature, _and every bug_ in the Microsoft programs. The object model of a MS Office document is the same whether it’s in a binary or XML container. For example, Excel spreadsheets can use one of two date epochs (1900 or 1904). The 1904 epoch originated in Excel for Mac (which predates Excel on PC!!), while the 1900 epoch originated on the PC in Lotus 1-2-3. For interoperability, Excel for Mac and Windows have both long supported both epochs. But because Lotus 1-2-3 had some bugs in its date handling code, Excel has to mimic those bugs because otherwise spreadsheets that originated on Lotus 1-2-3 would break. (Lotus was the existing market leader when Excel came out, so compatibility with it was paramount.) This means that Excel spreadsheets with the 1900 epoch behave subtly differently than 1904 ones, so any competing spreadsheet has to not only recognize the different epoch, but clone the differing behavior. (To this day, in Excel document properties, you can set the 1904 epoch, which is sometimes necessary to get certain date calculations to work properly.) Similarly, if you want to open a Word document and have the formatting match up precisely, it means you have to recreate every feature that’s represented in the Word object model, and implement it identically. This is the real reason alternative office suites still struggle with round-trip compatibility, especially with complex Word documents. They don’t support the same features as Word, and/or implement them differently, so the result is inaccurate. Reading the files is not the challenge.
@skull_is_dull2 жыл бұрын
.band and .logicx for Garage Band and Logic Pro respectively are like that too, but inside, while you are working on it, has temporary files with names that OneDrive doesn’t like so you keep getting a warning about it whenever working on one of those files on OneDrive.
@TheOverloaded12 жыл бұрын
I know with xlsx and a hex editor, you can remove the password protections. If you have an excel file that isn't xlsx, you can save it as xlsx and then strip out the password.
@Sugondeeze2 жыл бұрын
Hmmm... intresting. Time to use it for very normal things.
@Ceres-dp2 жыл бұрын
SUS?!
@j631772 жыл бұрын
Jar files are not Minecraft specific neither are they just for severs, the normal game on your local pc also uses them to store the game, and they are used for mods. They aren't just zip files but they behave like zip files, they are actually Executables for Java Programms/Installers where the class files are stored in a big archive to 1. Save Disk Space and 2. have less files laying around in an easy to access location also you don't even have to add the .zip extension, you can just extract the data using winzip, 7zip, winrar or any other decompression programm that supports them. but i still find your videos extremely good!
@Slackow2 жыл бұрын
Already knew about jars, didn't know about anything else, this is interesting. Browsing Minecraft's jar for resources is super useful actually, looking at their assets is a great way to learn how to make loot tables or texture packs etc. Or if you just want one of their in game textures.
@notthedroidsyourelookingfo40262 жыл бұрын
Really neat trick. Might use that for an application I'm working on, just so that it's easier for the OS to link the file type to the program. And I'm totally gonna try that out on other files, see what comes up.
@DerLung11 ай бұрын
jar just stands for Java ARchive btw It's just a collection of java bytecode files (.class) which are compiled .java files As far as I know, executing a .jar file (with java) just runs the Main class contained in the file
@Preinstallable2 жыл бұрын
.xpi files and .crx files can be opened in 7-zip, these types of files are firefox and chrome extension files respectively
@imnotbeluga0072 жыл бұрын
I like extracting APK files, as it is an easy way to get application files, I use it to extract primarily game SFX and music.
@69Solo2 жыл бұрын
Learned something new. Thanks! :)
@werlynakadera19449 ай бұрын
.pk3 files for GZDOOM are also very similar to .zip files. I don’t think they can be converted just by renaming them but they have a very similar structure and can both be opened in the SLADE3 editor for .wad and .pk3 files.
@NSRBladeRunner2 жыл бұрын
Comic book files like cbz, cbr and cb7 are basically this, just an archive full of pictures, mostly jpegs or pngs, but I've seen webp in some, and the only difference is whatever they are using ZIP, RAR or 7Z for compression.
@vamboo89182 жыл бұрын
That illustrator folder thing blows my mind
@msclrhd2 жыл бұрын
In the ePub file, the mimetype file is an uncompressed file containing the ePub mimetype. That file is the first file in the ZIP, so it is easy to check if a file is an ePub using magic or similar byte checking tools (i.e. if it is a zip and has the ePub mimetype at a given offset). Note also that the Open/Libre Office files have the same file; those will contain the mime type of those documents. The NCX file is the older ePub 2 table of content format. Newer ePub 3 documents should be specifying the ToC in a HTML file with associated attributes to tell the ePub reader that the HTML content is the ToC for the ePub. The OPF is the package file that has information such as the metadata, mapping between content IDs and file locations, and the order in which the HTML files are to be placed in the book (e.g. chapter 1, chapter 2, etc.). The ePub format is documented in several specification documents that you can read if you are interested in how they are structured.
@AmjadKhateeb2 жыл бұрын
another benefit of using zip files by programs is compression, which makes the file size smaller and easier for transfer. some of them add password protection.
@mk_rexx11 ай бұрын
I was kind of mindblowing when I first discovered them about document files but it makes sense when you realize the X in DOCX means XML. Modern office documents are basically similar to webpages which run from a folder of HTML, CSS, and script files. In fact, EPUB literally runs on HTML and CSS as seen in the video!
@waynecarberry8555 Жыл бұрын
i can't thank you enough,,am 72 and just when i was going to toss this out the window ,,i chanceon to your website.And what a difference you explain in simple (72 year old )language and when i did have questions you actually took the time to answer me .Thank you again
@MissingProYT69Ай бұрын
6:20 It's actually the game files, but usually it has an assets folder where the grass block for example would be. I don't know why your JAR didn't have it though.
@jcon67342 жыл бұрын
The some of the most popular file formats for digital comic books are .CRZ and .CBR. These are just Zip and Rar files with sequentially numbered jpeg images.
@vylbird80142 жыл бұрын
They aren't really standards so much as loose agreements. You even see some with .webp images in now, because it provides much better compression - though to the annoyance of some, because not all viewers support the new format.
@ultraali453 Жыл бұрын
I remember figuring this out many years ago, before I had internet. I was messing around with video game files to find the audio and video. I wanted to swap them as well. Wasn't really successful but I learned that winzip would open many of these files.
@josuelservin2 жыл бұрын
More than a decade ago I opened an iso file WinRAR by mistake and was surprised to find all the contents of the disk, since then I always try to do this first if I need to get some asset first instead of searching for an specific unpacker.
@pvandck9 ай бұрын
If you have an archiver like 7-Zip, you don't even need to change or add the file suffix ".zip". Just right click on the file and select the 7-Zip, Open Archive, Zip option. The archive will open in the a 7-Zip Manager window.
@tonya13072 жыл бұрын
I laughed so hard upon seeing this at 0:27! Thanks for the great gag, ThioJoe.
@kennystrawnmusic2 жыл бұрын
Re: 5:30 - Yes, the file called “minecraftpe” with no extension *is* the main executable in the case of the iOS app. It’s in the Mach-O format (just like on macOS) which never has an extension. Neither does ELF (the main Linux binary format) for that matter - only in Windows do executable files have any extension at all.
@XeZrunner2 жыл бұрын
Jobs wasn't joking when he said the iPhone runs OS X - with the transition to Apple Silicon on the Mac, they even allow running iOS apps on macOS. I would assume macOS and iOS share as much technology and APIs as possible, which does show, given how optimized they are.
@mattelder19712 жыл бұрын
@@XeZrunner And both are direct descendants of NeXTStep. The .app format (itself, just a folder, not even zipped), came from that platform, and some of the utilities in MacOS are (or started out as) direct ports of ones included on the NeXT computers.
@G0lden072 жыл бұрын
This is the most interesting thing I heard today.
@JustPyroYT2 жыл бұрын
Great Video as always! 👍
@Mikidy3032 жыл бұрын
Good stuff to know. Now I can explain to my users why zipping the file does not make it smaller.
@0rphaneye2 жыл бұрын
Very cool that you got official video from a 1980 timetraveler for the Microsoft portion
@freezinfire2 жыл бұрын
I knew this one actually, when i installed 7zip i used to open all the files out there in my pc.
@BsktImp2 жыл бұрын
What a coincidence! Only last week I needed to change a LibreOffice Impress file (like PowerPoint), which would have been time consuming using the UI. It was quicker to change the file extension to .zip, amend the extracted XML file and re-zip the files. Job done. Have done similar with Musescore music notation files too.
@rinollaig2 жыл бұрын
Those .class files can be decompiled if you so desire. Infact decompiling and code obfuscation (go away signs) could make a future video for you :)
@yt_brij2 жыл бұрын
How to decompile class files? 😶
@LittleLily_2 жыл бұрын
@@yt_brij Recaf is probably the best option. Intellij will also decompile a .class file if you open one with it.
@SpiritmanProductions Жыл бұрын
Adobe Captivate files are ZIPs, too.
@anthonym_88632 жыл бұрын
Firefox extension XPI files can also be extracted.
@IlliaZhdanov Жыл бұрын
yeah, you're actually right. There are several ui design file extensions including .nib, .storyboard, etc.