Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PAT file support #132

Open
Pinsplash opened this issue Jul 7, 2021 · 1 comment
Open

PAT file support #132

Pinsplash opened this issue Jul 7, 2021 · 1 comment
Assignees

Comments

@Pinsplash
Copy link

Today I stumbled upon something obscure in hl2_pak_dir.vpk. In this VPK's "maps" folder, there are ".pat" files with names matching Half-Life 2 BSPs. These files are plaintext and are capable of adding new entities into maps some time during the game loading it. You can see these entities ingame with commands like ent_text, but since they aren't in the BSP, they aren't there in decompiles. Looking through a single file, it seems like they used this mainly for achievement logic. BSPSource should try to read from a map's associated pat file if possible.

@ata4
Copy link
Owner

ata4 commented Jul 13, 2021

Interesting... so those are like .lmp files but just for entities. Yeah, BSPSource should definitely support those.

@ata4 ata4 self-assigned this Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants