Archived

This topic is now archived and is closed to further replies.

reading library files

This topic is 5981 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

question... i know we can use wgtlib to create library files of graphic files... i was thinking of doing this so that users can''t change any textures i use in a game. so how do we load individual files out a library made with wgtlib?

Share this post


Link to post
Share on other sites
Yes you can put textures in a wgtlib archive.

If you call PRLIB_OpenLibrary any textures and .PRO files will be loaded from the archive, until you call PRLIB_CloseLibrary.
See the Library Interface in the technical reference for all of the library functions.

The character system is an example of this. All of the data for a character is stored in a single archive file (meshes, textures, sounds, animation data, etc).

Share this post


Link to post
Share on other sites