Open RoyAwesome opened 9 years ago
This will allow for more fancy editors, as it will be able to load the flash textures
Maybe we ought to open a "master-vpk" (that we make up) - and have the others be a child to that, for easy navigation in the project view.
The two main vpk's inside s2dota really should appear as one in the project view, as they shouldn't really be split up in the first place, (game/dota/pak01
and game/dota_imported/pak01
)
Yeah. Can we find dota_english.txt in any of them? so we can replace the default heores "key" to their proper name? In the object browser that is.
dota_english isn't in a vpk, its located at game/dota_imported/resource/dota_english.txt
Does that mean we need to index the dota filesystem too?
It might be worth writing a 'Dota Filesystem' that can load multiple VPKs and read from the disk, placing everything in the Dota 2 folder in the Project view.
It might be worth moving the VPK reading stuff out of DotaData and creating a VPK Service to handle the VPK operations
Abstracting out the file system might be a good option, so we can simulate how the source(2) engine accesses files might be a good idea. Maybe with an option to force exclude addon though.
Worldsmith can only open one VPK at a time. Dota has multiple VPKs that it draws from and worldsmith should be able to open and index all of them