Jump to content

Recommended Posts

Posted

Maybe I'm not clear what you're trying to do.  System::GetProperty gets command line arguments and has nothing to do with the data file by itself.  But if you're just trying to load your project's maps, models, textures, etc. then yes, you don't need to do anything extra.

Posted

it gets files std::string mapname = System::GetProperty("map", "Maps/start.map"); and this works when debugging and in the editor but if i build standalone it isn't loading any textures, sounds, maps, etc... i assume because its packed into a data.zip thats password encrypted and i'm getting it properly for the standalone executable to get the files. My friend told me you have to load the data with Package::Load() but im confused as there is no docs here for it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...