Quote:
Originally Posted by Pierre-Marie Baty
the game directory for CZ is "czero", hence the maps' official directory is "../condition zero/czero/maps".
|
Yes, but here is still the problem.
I am reading / modifying / writing the bsp file in a mm dll. If it is a non-cz map then it is "probably" in the ../condition zero/
cstrike/maps folder. But it doesn't HAVE to be. Someone could install a custom map in the ../condition zero/
czero/maps or ../condition zero/
cstrike/maps folder. How can I know? I need the complete physical path to open / modify / write out he bsp.
I guess I could check for it in both places and the keep track of where it is.
Not a big deal since it is one of two places, but I thought there would be a cleaner way....
Tx.