SlawekNowy / vsif2vcd

Utility to decompile VCD files from scenes.image file.
MIT License
11 stars 4 forks source link

(improvement ) Scenes.image extraction without scenes in the map files #2

Closed SuperMario20 closed 2 years ago

SuperMario20 commented 4 years ago

I've noticed that games that don't have the scenes in the maps and are only in the code (TF2 etc.) will output some jumbled up vcd names when you decompile the scenes.image and error when rebuilt into scenes.image. Could you find a way in the future to get it working for games without scenes in the maps?

SlawekNowy commented 4 years ago

Already found a way. In all source games there's this thing called response system. It allows to play VCD based on criteria met.

More on this here.

Scripts related in this system are in scripts/talker in any source game.

Example: TF2 Scout's response script

Right now I'm porting this program to c++, so this needs to wait. Thanks for your concern tho.

Entrypoint for those scripts is always scripts/talker/response_rules.txt file.

SlawekNowy commented 4 years ago

There's not much in the code actually. And in fact I handle those already. it's in hardcoded_entries.h file.

SuperMario20 commented 4 years ago

thanks

SuperMario20 commented 3 years ago

How's it going so far?

SlawekNowy commented 3 years ago

Finished up scene dumping. Now it will correctly decompile via test program. Soon I'll get map parser logic implemented. Bulk of will be in my valve-bsp-parser fork. Once done, I will add that as a submodule and extract necessary information from it.

SuperMario20 commented 3 years ago

Cool!