Binary Data Managment: Extract/Release All?
The amount of binary data for my game keeps growing every day and it's becoming a bit of a chore setting up events to release and extract the data. I've thought about ways to automatize the process.
The easiest would probably be to:
1) Put together a list with the paths to all the binary data files
2) Included the list file in the binary data
3) Extract said file and load into a list on startup
4) Run loop and extract each element in the list
However, putting together this list could also get tiresome. I guess I could automize the compilation of this list as well, but I'd love to have the possibility to "Extract All" and "Release All" binary data. Are perhaps all files automatically released on ending the application?
Binary Data Managment: Extract/Release All?
Edit:
Think I finally got this sorted out. Assuming the object you're working with supports accessing the file from binary without extraction, the expression should look like:
"\subfolder\file.txt"
"\subfolder\subfolder2\file.ini"
That works for the List and File objects I used for my trials.
Binary Data Managment: Extract/Release All?
Just wanted to post again in case someone relies on this in the future. What I mentioned in my last post doesn't work after all. It was only working on my machine and not others. I ended up extracting the binary as per the standard method, then moving it from the bintemp location with the file object
Binary Data Managment: Extract/Release All?
Quote:
Originally Posted by
mobichan
The Windows runtime also seems to now bypass the Extract/release workflow, so maybe it should be removed or deprecated in F2.5 altogether?
Can you elaborate on this? I JUST implemented the extraction process into my program...does it not work consistently!?
Binary Data Managment: Extract/Release All?
Oh, ok. I misunderstood and thought you had said Windows wasn't allowing us to extract/release. Thanks for the clarification. I chose that route because I couldn't figure out how to call the files from binary without release. It's really hard and tedious to test that since you pretty much need a secondary machine for it.