Universal-Rom-Tools / Universal-XML-Scraper

Scraper de Rom
195 stars 46 forks source link

Add %System% Variable to put xml and images in the correct directories for retropie #38

Closed Shakz76 closed 7 years ago

Shakz76 commented 7 years ago

By my thinking It should be used as such. /opt/retropie/configs/all/emulationstation/gamelists/%System%/gamelist.xml and /opt/retropie/configs/all/emulationstation/downloaded_images/%System%/-image.png

Universal-Rom-Tools commented 7 years ago

I'm nearly ok, but I want to know 2 things :

The SMB path (from your windows PC through network) to the "gamelist.xml" directory and to the "downloaded_images" directory.

Thanks ;)

Universal-Rom-Tools commented 7 years ago

Think found it... This seems to be ok for

    <Target_XMLName>\\retropie\configs\all\emulationstation\gamelists\%System%\gamelist.xml</Target_XMLName>
    <Target_RomPath>/opt/retropie/configs/all/emulationstation/gamelists/%system%/</Target_RomPath>
    <Source_ImagePath>\\retropie\configs\all\emulationstation\downloaded_images\%System%\</Source_ImagePath>
    <Target_ImagePath>/opt/retropie/configs/all/emulationstation/downloaded_images/%system%/</Target_ImagePath>
Shakz76 commented 7 years ago

\\RETROPIE\configs\all\emulationstation\gamelists \\RETROPIE\configs\all\emulationstation\downloaded_images

Universal-Rom-Tools commented 7 years ago

Normally it's ok in the new UXS Version.

Can you test ?

Shakz76 commented 7 years ago

Not sure where its putting the pictures and gamelist...but I do not see them in the downloaded_images or gamelists dir

Shakz76 commented 7 years ago

In the RetroPie Mix.xml file change to this...

        <Target_XMLName>\\retropie\configs\all\emulationstation\gamelists\%System%\gamelist.xml</Target_XMLName>
        <Target_RomPath>/home/pi/RetroPie/roms/%system%/</Target_RomPath>
        <Source_ImagePath>\\retropie\configs\all\emulationstation\downloaded_images\%System%</Source_ImagePath>
        <Target_ImagePath>/home/pi/.emulationstation/downloaded_images/%system%/</Target_ImagePath>

I am still testing but I am going out of town and "might" not be able to log in...though I think I will in the mornings and wanted to get this code change to you. Plus I wont have a windows machine...only my linux laptop. I have not tried UXS in wine but I think it will work ;-)

Universal-Rom-Tools commented 7 years ago

Normally it's ok, this is the change I made :

<AutoConf>
    <Source_RootPath>\\retropie\roms</Source_RootPath>
<Target_XMLName>%Source_RootPath%\..\configs\all\emulationstation\gamelists\%System%\gamelist.xml</Target_XMLName>
    <Target_RomPath>/home/pi/RetroPie/roms/%system%/</Target_RomPath>
    <Source_ImagePath>%Source_RootPath%\..\configs\all\emulationstation\downloaded_images\%System%</Source_ImagePath>
    <Target_ImagePath>/home/pi/.emulationstation/downloaded_images/%system%/</Target_ImagePath>
</AutoConf>
Universal-Rom-Tools commented 7 years ago

I think it's OK now... I close the Issue