Is it possible to compress files to. rar in OpenFL Windows, extract files from rar to a specific folder, and rename the extracted files
I plan to make a tool
.
To put the resource files of the directory into the ss directory in an aa.rar package, and then rename the file names in the package
.
For example, put aa.Png into the ss directory in aa.rar, and then change aa.Png to bb.Png
.
You can also extract specified files from aa.rar to a specified directory and rename them
.
Can OpenFL meet my requirements? Has anyone done a similar effect?
.
I don’t know about .rar but I do that kind of stuff with ZIP although I don’t use the .zip file extension
You can move and copy files, I think renaming might need to copy the original with a new name and then delete the original file
Remember you’re not limited to OpenFL’s api : you can use pretty much everything Haxe has, depending on target platform (no direct access to the file system on html5 target for example)
