OMG Help! Can't open my PK3 file!

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
slayer87
Posts: 13
Joined: Wed Dec 22, 2021 8:52 pm
Graphics Processor: nVidia (Modern GZDoom)

OMG Help! Can't open my PK3 file!

Post by slayer87 »

I apologize if this isn't the correct forum.

I was working on my project (it was recently saved) and my PC froze and restart. I literally updated my Nvidia drivers today and immediately after I started having this problem. (but that's another problem)

Now I can't open my file in Slade or as a resource in Ultimate Doom Builder. An error box says the following:

"Unsupported or invalid archive format"

I've been working on this file for days now. Is there anything I can do? I'm so so frustrated.

Too big for attachment, here on my google drive
PK3 File - https://drive.google.com/file/d/1KvCFCc ... sp=sharing
PK3 file "bak" file - https://drive.google.com/file/d/1cno_1G ... sp=sharing
User avatar
Logan MTM
Posts: 678
Joined: Mon Jan 16, 2006 8:53 pm
Location: Rio de Janeiro - Brazil

Re: OMG Help! Can't open my PK3 file!

Post by Logan MTM »

Do you have any older .bak?
slayer87
Posts: 13
Joined: Wed Dec 22, 2021 8:52 pm
Graphics Processor: nVidia (Modern GZDoom)

Re: OMG Help! Can't open my PK3 file!

Post by slayer87 »

no i do not
User avatar
Logan MTM
Posts: 678
Joined: Mon Jan 16, 2006 8:53 pm
Location: Rio de Janeiro - Brazil

Re: OMG Help! Can't open my PK3 file!

Post by Logan MTM »

So, i recommend starting over from scratch. Or call a forensic analyst.
User avatar
Sarah
Posts: 551
Joined: Wed Sep 06, 2006 12:36 pm
Preferred Pronouns: She/Her
Operating System Version (Optional): Debian 11 (bullseye), Windows 10
Location: Middle of Nowheresville Il.
Contact:

Re: OMG Help! Can't open my PK3 file!

Post by Sarah »

I poked at both files. Windows compression tools and 7Zip refused to give me any results. I don't have a hex editor installed but it probably wouldn't give me anything anyway. My suggestion is to try one of the tools listed on this page. You might not get everything but worth a shot.
User avatar
Kappes Buur
 
 
Posts: 4120
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: OMG Help! Can't open my PK3 file!

Post by Kappes Buur »

Bad news.
Both files contain nothing but 00s.
Spoiler:
whereas one should see some data, such as
Spoiler:
starting with PWAD.


Unfortunately that means to either start from scratch
or do a search of your harddrive for an older saved version of the pwad.
Last edited by Kappes Buur on Sun Jan 09, 2022 11:38 am, edited 2 times in total.
User avatar
Enjay
 
 
Posts: 26534
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: OMG Help! Can't open my PK3 file!

Post by Enjay »

Yup. :(

User avatar
Jekyll Grim Payne
 
 
Posts: 1073
Joined: Mon Jul 21, 2008 4:08 am
Preferred Pronouns: He/Him
Graphics Processor: nVidia (Modern GZDoom)
Contact:

Re: OMG Help! Can't open my PK3 file!

Post by Jekyll Grim Payne »

You could try restoring an earlier version of this file using "Previous versions" dialog if your OS creates restore points/backups.

Other than that, your file may be gone, sorry about that. It's highly recommended to *not* use PK3s during development and to not rely on SLADE's backup system. For proper version control, using folders and controlling them via GitHub is recommended.
slayer87
Posts: 13
Joined: Wed Dec 22, 2021 8:52 pm
Graphics Processor: nVidia (Modern GZDoom)

Re: OMG Help! Can't open my PK3 file!

Post by slayer87 »

Well, thank you for the input from everyone.

I am, admittedly, a noob, when it comes to version control. Perhaps I'll look in to that.

I'm working a rather sizable project that I've been updating on YouTube, so I think some form of version control would be wise.

Thank you.
User avatar
Logan MTM
Posts: 678
Joined: Mon Jan 16, 2006 8:53 pm
Location: Rio de Janeiro - Brazil

Re: OMG Help! Can't open my PK3 file!

Post by Logan MTM »

I recommend doing manual backup every time you start working on something, especially Doom stuffs.
You lost "days", I lost years of work and I feel your pain. :(
User avatar
Jekyll Grim Payne
 
 
Posts: 1073
Joined: Mon Jul 21, 2008 4:08 am
Preferred Pronouns: He/Him
Graphics Processor: nVidia (Modern GZDoom)
Contact:

Re: OMG Help! Can't open my PK3 file!

Post by Jekyll Grim Payne »

slayer87 wrote: I am, admittedly, a noob, when it comes to version control. Perhaps I'll look in to that.
GitHub is actually very easy to set up nowadays. It has a convenient GUI, and it's free, even for private repositories. It's also very convenient to make releasese there. See their starter guide. As for how to use it, you can just turn the folder with the same structure as a PK3 into a repository, it'll be downloadable and runnable as is. For example, here are my repos.
User avatar
ramon.dexter
Posts: 1529
Joined: Tue Oct 20, 2015 12:50 pm
Graphics Processor: nVidia with Vulkan support
Location: Kozolupy, Bohemia

Re: OMG Help! Can't open my PK3 file!

Post by ramon.dexter »

Jekyll Grim Payne wrote:
slayer87 wrote: I am, admittedly, a noob, when it comes to version control. Perhaps I'll look in to that.
GitHub is actually very easy to set up nowadays. It has a convenient GUI, and it's free, even for private repositories. It's also very convenient to make releasese there. See their starter guide. As for how to use it, you can just turn the folder with the same structure as a PK3 into a repository, it'll be downloadable and runnable as is. For example, here are my repos.
Thank you for showing me how to use git. How come I didnt used it before...
Post Reply

Return to “Scripting”