Josh Posted December 14, 2017 Share Posted December 14, 2017 If you want to recover an old project I can extract your encrypted game files with the following code: //Extract encrypted game files FileSystem::SetDir("extract"); auto package = Package::Load("data.zip"); for (auto i = 0; i < package->CountFiles(); ++i) { auto file = package->GetFileName(i); auto packagefile = package->contents[file]; file = packagefile->path; auto savepath = packagefile->name; if (FileSystem::ExtractExt(file) != "") { /*-----------------------*/ /* Magic stuff goes here */ /*-----------------------*/ if (stream) { FileSystem::CreateDir(FileSystem::ExtractDir(savepath), true); auto out = FileSystem::WriteFile(savepath); if (out) { while (!stream->EOF()) { out->WriteUChar(stream->ReadUChar()); } out->Release(); } stream->Release(); } } } delete package; Just send me a private message with a download link or a link to your game's Workshop page and I will send you back the extracted files. I will need to verify authorship of the game so it is easiest if it is published on our site under your account, or if your Leadwerks account has your Steam info linked. 2 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
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.