GooberMan wrote:HotWax: There's no need to keep map lumps separate...
Don't make me hit you.
randomlag wrote:I simply disagree.
We get that already. Your arguments have all been stated. Why can't you just drop it?
randomlag wrote:Everything stated is NEW and just as much work.
ZIP files have been around for a LONG time, are supported by all OS'es, and have an already well-established base of time-tested applications supporting them. How is that new?
Sphagne wrote:Why not just make a wad browser that can go inside the wads by a click or "Enter", justlike 7zip or NC that lets you enter zip files and threat them as directories and copy files into or from them.
Why not, instead of treating WADs as if they have a directory structure, which they don't, you use an already established format to give them a *real* directory structure?
Hirogen2 wrote:What if we just design a complete new file format (and an editor on top), which handles all these issues?
ZIP already supports the issues discussed and has already been invented.
wildweasel wrote:There is nothing wrong with the WAD format, only the editors that work with it.
I don't think anyone is saying there's something inherently wrong with the WAD format. As Randy points out, it did exactly what it was designed to do. But then, so did Doom. And yet, jumping, free-looking, built-in Dehacked support, colored lighting, underwater effects, ACS scripting support, slopes, and more have been added since. If Doom did what it was designed to do, then why the need for the new features? Maybe to add more functionality? Or make things easier for people? ZIP support would do both of those things.
randomlag wrote:If you wanted to expand the PWAD format -AND- still be compatible with old tools, it's pretty simple. What you do is create a directory subset with the PWAD. It will look like a giant LUMP to all the old tools, but to newer tools they could have ALL the things you mentioned above. Not unlike the way you stuck the fonts into one lump.
Why? The ZIP format has a REAL directory structure without having to do any kind of cheap hacking. Maintaining compatibility with old editors isn't an issue, as the WAD support will remain untouched. What you're doing here could theoretically break older tools, AND if you wanted to do more with it later, you'd always have the issue of backwards-compatibility hanging over your head, something that has already caused Randy headaches with Dehacked support. ZIP format support would leave WAD files alone, and yet add a more powerful and easier-to-use format for people who choose to use it.
randomlag wrote:..not a disastrous mess the will escape the installation capability of most users.
This is one thing that has been niggling in the back of my mind since this discussion started. Since ZIP is a popular format for distribution, people *may* get confused about whether they're supposed to extract the file, or just dump it in their ZDoom folder.
As I see it, there are two solutions:
1) Allow files containing a single WAD-format file to be used in ZDoom without modification. In other words, if Joe uses the WAD format, zips it up for distribution, and then Paul downloads it, Paul can just drop it in the ZDoom folder and use it even though it wasn't intended to be used like that. This has the advantage of saving Paul a little space, too.
2) Use a different extension, similar to the way Quake 3 uses PK3 files. When I download a Q3 map, sometimes they come in ZIPs and sometimes in PK3s. Even though both files are the exact same format (ZIP), I know simply by looking at the extension what I'm supposed to do with it.
I think the first method would be a more elegant solution, and would allow for compressing all of those old WAD files you've got hanging around. You could even ZIP multiple files you typically use together (TNTRECL.WAD and TNTRECL.BEX, for example) and load them as a single file. How's that for convenience, RL?
randomlag wrote:Anything that compresses has a much higher chance of failure.
Any file's chance of failure is directly related to the competance of the tool writing said file. While there are limited WAD-editting tools and most have at least a few bugs, the sheer number and popularity of ZIP tools ensures that they are better tested and that people have more options to use when creating them.
randomlag wrote:3. Since I'd normally be working with a directory structure outside the zip, damage to the file would only require me to re-pack.
You just admitted the problem. And you just showed there is no need for a zip since you are already working with a directory structure.
No he didn't. You're embodying the typical stereotypical lawyer who asks the question "How long have you been cheating on your wife?" and then claims the person admitted guilt if they answer it in kind. You said the file could be corrupt, he is saying if that should happen all he has to do is repack it. Don't put words in his mouth.
Your next sentence is even more clueless. He's already working with a directory structure so he doesn't need a ZIP? What kind of stupidity is that? The directory is GONE the moment the files are placed into WAD format.
randomlag wrote:You can't just up with an idea and refuse to consider the bad aspects or other methods that yield better solutions for the work put out. IOW, I don't mind change, but let's make it something that is an extension that fits the general philosopy and intent of PWADs.
PWADs are a container file, just like PIGs, DATs, REZs, PK3s, MPQs, FARs, WARs, and yes, ZIPs. They all serve the same purpose, to enclose multiple files into a single, larger file. ZIPs also have the added functionality of compression, and unlike some of the others above have a built-in directory structure. Why reinvent these features and expand the WAD format, possibly breaking backwards-compatibility in the process, when everything we need is already in the ZIP structure?
randomlag wrote:I am quite willing to think for a different perspective.
That's RL for you... so totally clueless about his own shortcomings.
randomlag wrote:Lots of things are easy to do. Mine suggestion is even easier. And there's very little to new to learn conceptually. All you need to provide is a set of functions that act as a common interface for WADs and extended WADs.
Ease is relative. Not everyone in the world thinks or works like you do. Also, you forgot to mention that in addition to writing a new interface to support both WADs and extended WADs, you'd have to actually *invent* the extended WAD format, while keeping in mind compatibility with outdated WAD editors.
randomlag wrote:Both you and Fredrik run on the premise that if you say something it must be true.
Coming from you, that's hilarious.
randomlag wrote:Remember, it's you that said DeePsea was just like DEU.
The line above is the only reason RL is still arguing. I knew there must be some reason he doesn't like Goober. Now I know why.
wildweasel wrote:ZIP support is not needed. There is no reason why we can't just write a really comprehensive tutorial to manipulate a WAD. In my eyes, this is the END of the discussion.
Good, then go away.
randomlag wrote:So? It's a force fit for the game and for editing. I'd much rather see an extended sub-directory. Think outside of the box, not just what can be forced into an existing box.
He IS thinking outside the box! He's talking about moving away from the outdated WAD format using an already-existing format that already handles what it is we need. You, on the other hand, are talking about trying to redecorate the old box while keeping its sides firmly in place so that other programs still recognize it.
wildweasel wrote:The only feature I can think that WAD lacks is compression. The way to fix that is to have ZDoom read from a ZIP file that contains the WAD inside of it, and then use the WADs in the ZIP in the game.
I thought the discussion was over.
wildweasel wrote:* Compression
Easily fixed by my solution!
So you want to support ZIP format, but not actually do anything with it? Good idea.
wildweasel wrote:* Long entry names
I can see that people would like to label their lumps more clearly, but that's not a good single reason to use ZIP over WAD...
Yeah, but it is 1 reason. The 2nd is compression. Keep going.
wildweasel wrote:* Directory Structure
Yes, THIS would work. OR we could implement some kind of marker system for every type of lump (M_START, SN_START, etc).
Or we could leave the WAD format alone so we don't break every editor on the planet, and use an already-existing format (ZIP) that already has everything we need. That's the 3rd reason.
wildweasel wrote:* Type identification of lumps
Hmm. No comment.
Good call. 4th reason.
wildweasel wrote:* Much wider support
Why? I'm fine with Wintex and XWE. If there's really some reason people would rather use WinZIP or PowerArchiver or something, they can go right ahead.
Wintex and XWE have no support outside Windows. 5th reason.
wildweasel wrote:* Easier to work with
This depends entirely on who's using it!
You didn't quote his entire line, because if you had, you'd look like a jackass responding with that. Now you're thinking like RL. 6th reason.
Well, that about wraps up your post, WW. Good points all, I'm sure.
GooberMan wrote:Seems you're still reading what you want instead of what's there...
Story of his life.
GooberMan wrote:Quake 3's .PK3 format are (wait for it) ZIPs...
I wonder why id chose to go with an already-established format rather than using the one that "works as intended." Clearly they haven't been listening to RL.
GooberMan wrote:It speaks volumes about your skills as a programmer and a designer if you really couldn't see any truth in the document I wrote.
His Peril-Sensitive Sunglasses won't let him.
GooberMan wrote:But why use examples from two years ago that have nothing to do with the discussion when I can use examples from this discussion to prove my point?
Because he *can't* use examples from this discussion that proves his point. He's at a disadvantage, and as is typical for him will latch onto anything, related or not, that he thinks he can win at.
Hirogen2 wrote:I do, in part. Having multiple lumps called "THINGS" is not really a wise thing. Directory stucture "map01/things" would be fine, but THAT requires long names, at least 16.
As I have stated many, many times, you could just slap the container WAD in the ZIP as a whole rather than having each individual lump as its own file in the ZIP. This would eliminate the duplicate-name problem.
Hirogen2 wrote:Hmm possibly. ZDoom already does in part: WAVE, OGG/MP3,etc (FMOD)
Wrong. When a song is played, either by MAPINFO, from the console, or from an ACS script, the lumpname is used. ZDoom attempts to open it and determine what kind of lump it is. If it can't, or it's not a valid type, you get an error. Otherwise it plays. Prior to that, ZDoom has no idea what the lump does because it doesn't check. Other types, such as flats, textures, etc, have to be loaded in at startup so ZDoom doesn't have the luxury of waiting until their called on and checking the type at that time. To alleviate the situation, fake directories using _START and _END tags are placed in the WAD files. You wouldn't even have to use directories if a simple extension was allowed that told ZDoom at a glance what type of file it was dealing with.
And the award for most quotes in a single post goes to HotWax...