austech360 Posted November 14, 2011 Share Posted November 14, 2011 I need help with zipping resources. I am the scripter of an RP server. and as you may know, in roleplay servers. there are MILLIONS of files. and hundreds of resources. How do I zip the contents of the folders. without having the path. So. zip.zip contents of resource instead, what I get is. zip.zip folder contents of resource. Anyone know how to do this on windows or linux? Link to comment
12p Posted November 14, 2011 Share Posted November 14, 2011 (edited) Enter your folder, select all files, use Add to file..., then select the option ZIP, and press OK.(This only applies if you have WinRAR) Or... Edited November 14, 2011 by Guest Link to comment
Aibo Posted November 14, 2011 Share Posted November 14, 2011 Windows should be able to zip files by itself: select all the files/folders IN your resource folder, right click > Send to > Compressed (zipped) folder Link to comment
12p Posted November 14, 2011 Share Posted November 14, 2011 ...do what what Aibo said Link to comment
austech360 Posted November 15, 2011 Author Share Posted November 15, 2011 I cant just do something like zip -R */* or something? Link to comment
50p Posted November 15, 2011 Share Posted November 15, 2011 Windows should be able to zip files by itself: select all the files/folders IN your resource folder, right click > Send to > Compressed (zipped) folder It will zip the files that you don't want to zip. For instance, you may have images in a folder with photoshop document which you don't have to zip, it will just make the .zip larger. Currently, I'm working on that feature in MTASE but I can't say when it'll come out since I want to fix as many bugs as possible before I release it. So, I don't want to suggest to wait for the new MTASE release. Link to comment
Aibo Posted November 15, 2011 Share Posted November 15, 2011 Windows should be able to zip files by itself: select all the files/folders IN your resource folder, right click > Send to > Compressed (zipped) folder It will zip the files that you don't want to zip. For instance, you may have images in a folder with photoshop document which you don't have to zip, it will just make the .zip larger. Currently, I'm working on that feature in MTASE but I can't say when it'll come out since I want to fix as many bugs as possible before I release it. So, I don't want to suggest to wait for the new MTASE release. well, dont keep unrelated/unneeded files in resource folder. Link to comment
50p Posted November 16, 2011 Share Posted November 16, 2011 Well, .psd files are better to be kept in the same folder as the images created from them for easy access. This is what I usually do. I might actually make a little tool to .zip the resources before I release the new MTASE. EDIT: I created a little tool for zipping resources. Here it is: viewtopic.php?f=108&t=37236 I hope it works (because it works for me) and it is what you're after. Enjoy Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now