Create/Load From Files
Hi there , in all games thay got like (dat / mpq or some ohter format) files there all textures, data files are in. does someone know how this work and were i can find an tutorial for it or something like that ;]
for create/load from MPQ file and so on.
thx,
The simplest method is simply to rename your ZIP files (change extension). IIRC, this is all a DOOM .WAD file is.
I think the Doom WAD files were a custom format, but the later Quake ones might have been zips. The Thief: The Dark Project .CRF files are definitely just zips.
The original poster, and anyone else with similar requirements, may also enjoy PhysicsFS, which is under the same license as zlib (summarised as ''use anywhere, don''t claim the library is yours, and if you distribute an altered version it must be marked as such'').
[ MSVC Fixes | STL Docs | SDL | Game AI | Sockets | C++ Faq Lite | Boost
Asking Questions | Organising code files | My stuff | Tiny XML | STLPort]
The original poster, and anyone else with similar requirements, may also enjoy PhysicsFS, which is under the same license as zlib (summarised as ''use anywhere, don''t claim the library is yours, and if you distribute an altered version it must be marked as such'').
[ MSVC Fixes | STL Docs | SDL | Game AI | Sockets | C++ Faq Lite | Boost
Asking Questions | Organising code files | My stuff | Tiny XML | STLPort]
Also this article here on GameDev on how to make your own .PAK style files.
http://www.gamedev.net/reference/programming/features/pak/
http://www.gamedev.net/reference/programming/features/pak/
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement