Raised This Month: $32 Target: $400
 8% 

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 , 20: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 offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 10-22-2021 , 11: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 & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 10-22-2021 at 11:38.
Dragokas is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-22-2021 , 11: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 11:44.
Bacardi is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-22-2021 , 11: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 offline
Reply



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 19:56.


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