Copy games from XML list
-
@trekdrop How does the XML file looks like ?
-
@trekdrop If you can create a text file from XML containing a list of roms with their
.zip
extensions like this one, then you can use the commands outlined in this post.These commands can also be done on a desktop PC. If you are using a MAC, the
xargs
command is not available so you can the commands in this post. If using Windows, you can try the following in Powershell. -
So i made a txt, this is in the txt
1943.zip
agallet.zip
batrider.zip
batsugun.zip
boogwing.zip
dimahoo.zip
mosaicf2.zip
rdft2.zip
rfjet.zip
rohga.zip
starglad.zip
tekken2.zip -
@trekdrop If you only wish to copy 12 roms, then it's probably more straightforward to copy them manually, one by one. You will need to bear in mind of any parent roms you may require. Check the compatibility lists for the relevant emulator in the Docs for more info.
-
Let me know if you get batrider or tekken2 working reasonably well on a raspberry pi. I didnt have any luck.
-
@alturis lr-fbalpha for batrider.
According to the compatibility list, tekken2 works in lr-mame2010 on a Pi 3.
-
:D no its not 12 roms, just a few to show how to txt looks like
-
@dudleydes said in Copy games from XML list:
@alturis lr-fbalpha for batrider.
According to the compatibility list, tekken2 works in lr-mame2010 on a Pi 3.
Yeah, tekken technically works yes. At like a handful of frames per second.
Huh... I guess when I saw batrider I was looking in mame2010 which when I tried it was too slow. Thanks for the heads up works great now. -
@trekdrop So, create a script to copy the files from Mame zip folder to another one. Replace every line in the txt file with:
copy $BIG_MAME_FOLDER\1942.zip $NEW_FOLDER copy $BIG_MAME_FOLDER\agallet.zip $NEW_FOLDER ::etc
then save it as a
.cmd
file and then run it from the command line. Replace$BIG_MAME_FOLDER
and$NEW_FOLDER
with their real paths. -
@mitu said in Copy games from XML list:
copy $BIG_MAME_FOLDER\
Thanks so much! Only one problem, i have 696 zip files in the txt, i need to edit the txt file
-
@trekdrop Sure, what I meant you can use copy and replace to produce the cmd file, directly from the .txt. Create a copy of the .txt file and save it as a .cmd file, then you can use Notepad++ to
- Replace the end of line with the
$NEW_FOLDER
- Replace the start of the line with
copy $BIG_MAME_FOLDER\
.
- Replace the end of line with the
-
@trekdrop You can drop your text file in the same folder as 8000 MAME roms and run the following commands from a terminal:
cd /path/to/big-romset xargs -a roms-list.txt cp -t /home/pi/RetroPie/roms/arcade/
You will need to change the name of the folder containing your roms as well as the name of the text file. The
xargs
command will copy your roms to thearcade
folder so you will need to change this if thearcade
folder is not your preferred destination. -
@dudleydes said in Copy games from XML list:
cd /path/to/big-romset
xargs -a roms-list.txt cp -t /home/pi/RetroPie/roms/arcade/I did everything with no luck, i dont know what i am doing wrong.
cd /path/to/C:\mame
xargs -topmame.txt cp -t C:\topmameput the topmame.txt in the same folder with the roms an the bat file.
-
@trekdrop Try the following:
cd /path/to/big-romset cp `cat roms-list.txt` /home/pi/RetroPie/roms/arcade/
-
I feel really stupid..
where do i need to fill in the folder where the roms are? -
@trekdrop
In thecd
command.Are you trying to do this on a Windows PC? If so, try the method outlined in this post: https://retropie.org.uk/forum/topic/13769/fba-vs-mame/154
-
Yes i use Windows, i made a batch file from it and it doesn't work. And now i try to figure out how powershell works..
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.