Raised This Month: $110 Target: $400
 27% 

PowerShell script - Create empty folders


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-21-2021 , 21:04   PowerShell script - Create empty folders
Reply With Quote #1

I wanted to share one script.

Problem is, some SDK tools like HLMV.exe can't browse files inside VPK (Steam file). It's a bug and doesn't happen in every version.
To get it work -> need mimic file paths in your game folder.

So, you could extract all files from VPK into game folder.

But this script look files using vpk.exe dump list and create empty folders by that.

https://developer.valvesoftware.com/..._empty_folders

__________________
Do not Private Message @me
Bacardi is online now
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 10-22-2021 , 12:37   Re: PowerShell script - Create empty folders
Reply With Quote #2

lol, we created almost similar scripts at the same time ))
I just used bat-files and put my sample #1 and sample #2 in snippet section.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch)
[My plugins] [My tools] [GitHub] [Articles] [Donate]

Last edited by Dragokas; 10-22-2021 at 12:38.
Dragokas is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-22-2021 , 12:44   Re: PowerShell script - Create empty folders
Reply With Quote #3

hahah what the hell
Need to make lottery ticket

Last edited by Bacardi; 10-22-2021 at 12:44.
Bacardi is online now
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-22-2021 , 12:49   Re: PowerShell script - Create empty folders
Reply With Quote #4

I also made this, those L4D(2) Hammer editors have CPU thread count bug.

https://developer.valvesoftware.com/..._of_thread_ids
Bacardi is online now
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:34.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode