YouuSbiii Posted March 8, 2015 Posted March 8, 2015 Hi ! First of all, thx for all the work everybody put in Hyperspin it's so great ... Hope I post in the right section ! I have a little question. I have a romset which have a little problem, all roms are in folder in each 7z file. Example : A rom named "blablablabla (USA).7z" contain a folder named blablablabla and this folder have the blablablabla.bla file I have around 3000 files with the same problem. Is there a known way to speed the thing up or will I have to make the thing one by one ? Thx
rfancella Posted March 8, 2015 Posted March 8, 2015 Hi !First of all, thx for all the work everybody put in Hyperspin it's so great ... Hope I post in the right section ! I have a little question. I have a romset which have a little problem, all roms are in folder in each 7z file. Example : A rom named "blablablabla (USA).7z" contain a folder named blablablabla and this folder have the blablablabla.bla file I have around 3000 files with the same problem. Is there a known way to speed the thing up or will I have to make the thing one by one ? Thx Hello and welcome to the forum! I ran across that with one of the systems I setup. I got around it by doing this: File Name: Game Name.7z Inside it was a folder called "Game Name". Inside that folder was "Game Name.rom". So, with WinRAR, if I extract the file as is, it creates the directory with the rom inside it. That's all good. I highlighted all the files, right-clicked and selected Extract Here. Now, be sure they are all in individual folders like this: \Game Name1\Game Name1.rom \Game Name2\Game Name2.rom etc... If this is correct, move or delete all the original Game Name.7z files so you only have the individual directories. I then wrote a batch file to change directory into each. 7z the contents of each directory name "Game Name". Then move the 7z file up one directory. @echo off set zip="C:\HyperSpin\HyperLaunch\Module Extensions\7z.exe" for /D %%f in (*) do ( cd %%f echo %%f dir %zip% a "%%f.7z" *.* move "%%f.7z" .. cd .. ) WARN - Batch files can be dangerous if you are not 100% correct with them. Create a file called "zipandmove.cmd" and past the above into it. You have to edit the second line to point to the correct path. Save it and put it in the directory with all the extracted directories. Run the batch file and you should now have "Game Name.7z" for each rom with no directories. If this is correct, delete all the directories so you just have the 7z files. I hope I understood your question and explained it ok. If this is un-clear, let me know and i'll do some screen shots. Thanks, Ron Code Monkey and all around Command Line geek!If you like what someone has said or done for you, be sure and 'Thank' them. And if they changed your life, send them a Beer!
YouuSbiii Posted March 8, 2015 Author Posted March 8, 2015 I will try your method on one example and I will apply it to everything if it works well Thx !
YouuSbiii Posted March 8, 2015 Author Posted March 8, 2015 THX a lot, your script works like a charm ! I just need a lot of free space, but it's cool
rfancella Posted March 8, 2015 Posted March 8, 2015 THX a lot, your script works like a charm ! I just need a lot of free space, but it's cool Glad to have helped. Thanks, Ron Code Monkey and all around Command Line geek!If you like what someone has said or done for you, be sure and 'Thank' them. And if they changed your life, send them a Beer!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.