Mounting GMA files into Source engine's filesystem

Grab your favourite IDE and tinker with the innards of game engines

Mounting GMA files into Source engine's filesystem

Postby SM Sith Lord on Fri Sep 15, 2017 2:42 pm

I have a GMod-style Source engine mod that mounts assets from other games. It works great with all games of the same engine branch EXCEPT for GMod, because GMod addons are packed into GMA files.

Is it possible to mount GMA files into the Source engine file system as if they were a regular folder/VPK?

I'm using the git for GMAD as a guide for how GMA files work:
https://github.com/garrynewman/gmad/blo ... onReader.h

It seems like reading files from the GMA would be possible, but I'm unsure how (or if it's even possible) to combine that with the Source engine file system so that the assets can be normally used in-game.

Does anybody have some insight they could offer me on this subject before I delve in?

Thanks.
SM Sith Lord
Been Here A While
Been Here A While
 
Joined: Sat Nov 25, 2006 4:25 pm
Location: Los Angles, CA

Return to Programming

Who is online

Users browsing this forum: No registered users

cron