7z/pk7 dragndrop

Moderator: GZDoom Developers

User avatar
DaMan
Posts: 727
Joined: Fri Jan 01, 2010 7:14 am

7z/pk7 dragndrop

Post by DaMan »

Found out why I could never get 7zip to work when Randy mentioned dragndrop only supports a few extensions.
User avatar
Ceeb
Posts: 5125
Joined: Wed Jun 11, 2008 4:07 pm
Location: Castle Wut

Re: 7z/pk7 dragndrop

Post by Ceeb »

.7z files work fine when I run them through ZDL.

What the hell is a PK7? :|
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: 7z/pk7 dragndrop

Post by Gez »

7z file with a .pk? extension. There's no real reason to call it pk7, since zips are not especially associated with the number 3 (should have been pkz then I guess), but well. Some people thought a distinction should be made between a zipped pk3 and a 7zipped pk3, and the easiest way was to change the number.

As for why it works fine through ZDL, it's because the frontend automatically uses the -file parameter; whereas drag-n-drop doesn't.

zdoom -file whatever.7z works.
zdoom whatever.7z doesn't.
User avatar
DaMan
Posts: 727
Joined: Fri Jan 01, 2010 7:14 am

Re: 7z/pk7 dragndrop

Post by DaMan »

I got pk7 from the wiki. We got a decade or 3 until id tech 7 shows up so we can safely claim it.
User avatar
Enjay
 
 
Posts: 27123
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: 7z/pk7 dragndrop

Post by Enjay »

I still think it should have been PKZ. :P

Aside from anything else, Zdoom PK3s are not the same as idtech ones because of the different internal directory structure.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: 7z/pk7 dragndrop

Post by Graf Zahl »

What can you do? Everybody uses that extension...
User avatar
Ryan Cordell
Posts: 4349
Joined: Sun Feb 06, 2005 6:39 am
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia (Modern GZDoom)
Location: Capital of Explodistan

Re: 7z/pk7 dragndrop

Post by Ryan Cordell »

ZDoom's PK3's? Everybody?

Make that most. :P
Blzut3
 
 
Posts: 3211
Joined: Wed Nov 24, 2004 12:59 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

Re: 7z/pk7 dragndrop

Post by Blzut3 »

Gez wrote:zips are not especially associated with the number 3
Sure they are. Take a look at the first three bytes of a zip file. It should read "P K 0x03". :p
Spoiler: Here I did it for you
Can't really do that for a 7z archive since the header starts with "7z". So the only logical "don't extract this" extensions I can think of are PK7 or SZ.
User avatar
Nash
 
 
Posts: 17501
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: 7z/pk7 dragndrop

Post by Nash »

Maybe the community should agree on a "don't extract this" extension, and make it a standard.

Enjay's PKZ sounds nice!
User avatar
DaMan
Posts: 727
Joined: Fri Jan 01, 2010 7:14 am

Re: 7z/pk7 dragndrop

Post by DaMan »

Whatever you choose can you make it quick. I asked for PK7 support in WADSEEKER/GetWad so Skulltag can use it.
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Re: 7z/pk7 dragndrop

Post by Xaser »

Nash: Anything but .zip is fine, really. I'm adamant on advocating the .pk3 extension just because it's the only other alternative. The thing is, who's going to adopt the standard? Shall we have another meeting of the UDMF council? :P

.PKZ sounds fine to me, though I'd find it really odd if some use it and others don't. But that's life, I suppose.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: 7z/pk7 dragndrop

Post by wildweasel »

DaMan wrote:Whatever you choose can you make it quick.
This is a great way to ensure that a change takes longer to occur.
User avatar
DavidPH
Posts: 382
Joined: Fri Aug 28, 2009 1:46 pm

Re: 7z/pk7 dragndrop

Post by DavidPH »

Maybe .zwad or .wadz. Or a name that is based on compress(ed) rather than zip(ped) like .cwad.

Of course, as a Linux user, I'm confident that this whole file extension thing is just a phase that will, in time, pass. I mean, they're really more of a suggestion to the user (pesky users), after all. This whole discussion in a way is an admission that file extensions are just the arbitrary series of characters people sometimes put at the end of a filename. So why not just discard them as the meaningless fodder they are? Why not treat all filenames as equals? I say we throw off the chains of oppression by extensions and- er...

More on topic: I agree that the .7z extensions should probably be acknowledged by ZDoom. But not .pk7 because it's silly and non-standard.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: 7z/pk7 dragndrop

Post by Gez »

DavidPH wrote:Or a name that is based on compress(ed) rather than zip(ped) like .cwad.
They're not compressed wads. Well, sure, they can be, but the recommended organization is entirely different, so pkwhatever, for "PacKage", is just fine.
DavidPH wrote:Of course, as a Linux user, I'm confident that this whole file extension thing is just a phase that will, in time, pass. I mean, they're really more of a suggestion to the user (pesky users), after all. This whole discussion in a way is an admission that file extensions are just the arbitrary series of characters people sometimes put at the end of a filename. So why not just discard them as the meaningless fodder they are? Why not treat all filenames as equals? I say we throw off the chains of oppression by extensions and- er...
I can't agree with that because they are very handy. Sure, you could have the operating system instead scan every file of every folder and apply recognition algorithms to identify their type; but it's eleventy jillionteen-five times more fasterer to rely on the extension. And it allows to have files of similar format with a different extension, that will be treated differently as you want. For example, ZDoom's savegames are actually PNG files.
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: 7z/pk7 dragndrop

Post by NeuralStunner »

DavidPH wrote:Maybe .zwad or .wadz.
look i has wadz an u dont!!1 lulz :P

Aside from Gez being right, (they aren't just compressed wads,) it would be better as something like WAZ. Some Win32 users do still use 8.3, (dunno why, but it is still an option in XP,) and many extensions have a 3-length variation, like HTM for HTML. (The pre-extension part is already handled by the ~1, etc. scheme.)
Nash wrote:Enjay's PKZ sounds nice!
I've already been using it. :)
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”