Raised This Month: $95 Target: $400
 23% 

[batch] Particle list extractor


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 04-09-2019 , 09:15   [batch] Particle list extractor
Reply With Quote #1

Purpose:
Intended for retrieving list of particle effect names from any .pcf file.
Required:
dmxconvert.exe (valve tool), you can find it in SDK, or Authoring tools of some games.
How to use

- (optionally) if you have no *.pcf files, and you want to extract default game *.pcf,
firstly, you need to find (extract) them. Example for Left 4 dead:
- Download and run GCFScape: http://nemesis.thewavelength.net/?p=26
- open \steamapps\common\Left 4 Dead\left4dead\pak01_dir.vpk file in GFScape
- Right click on "particles" folder => Extract => e.g., to \steamapps\common\Left 4 Dead\left4dead\particles folder
- Download and unpack attached archive
- Right click on convert_pcf.cmd => Edit =>
- Set correct full path to folder, where dmxconvert.exe is located:
Code:
set "binpath=D:\Steam2\steamapps\common\Left 4 Dead 2\bin"
- Set correct full path to folder, where you placed *.pcf files:
Code:
set "pcfpath=D:\Steam2\steamapps\common\Left 4 Dead\left4dead\particles"
Save.
- Run (double click) convert_pcf.cmd
Result:
Spoiler


For reference:
[OB] Full Particle List
Attached Files
File Type: zip PCF_Extractor.zip (7.6 KB, 43 views)
__________________
Expert of CMD/VBS/VB6. Malware analyst.
[My plugins] [My tools] [GitHub] [Articles]

Last edited by Dragokas; 04-09-2019 at 09:23.
Dragokas is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 12-09-2019 , 12:50   Re: [batch] Particle list extractor
Reply With Quote #2

Here is a plugin 'particles tester', you can use with above generated txt file.
Command sm_passific - to open menu with particle list.

Limitation: game cannot precache all particles at once, so you need remove some from the list to be able to test last particles in that list.
Attached Files
File Type: zip particle_tester.zip (21.9 KB, 15 views)
__________________
Expert of CMD/VBS/VB6. Malware analyst.
[My plugins] [My tools] [GitHub] [Articles]

Last edited by Dragokas; 12-09-2019 at 12:50.
Dragokas is offline
kadet.89
Veteran Member
Join Date: Nov 2012
Location: The term is used to iden
Old 12-11-2019 , 08:48   Re: [batch] Particle list extractor
Reply With Quote #3

There is a built-in particle editor in Source 2007+ games (as an alternative option): https://developer.valvesoftware.com/...article_Editor
kadet.89 is offline
Send a message via Skype™ to kadet.89
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 12-11-2019 , 13:05   Re: [batch] Particle list extractor
Reply With Quote #4

Build-in particle Editor is sucks, because e.g. for L4D it show many such things that when applied in a real game they looks differently or contains missing texture or cannot be precached.
That's why I wrote runtime version of particle tester to ensure you will not be deceived by valve tool.
__________________
Expert of CMD/VBS/VB6. Malware analyst.
[My plugins] [My tools] [GitHub] [Articles]

Last edited by Dragokas; 12-11-2019 at 13:06.
Dragokas is offline
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 14:20.


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