2018-01-28, 19:14
I also tested to import games with the emby xml file.
Here is the required parser xml:
To get this working in RCB you will need to do the following:
- save the above xml in a file named "_parserConfig_Emby.xml"
Easiest way will be to edit config.xml manually. Here ist the part of the config that worked for me:
Replace the romPath and mediaPath elements with your folder structure and file names.
At the end of the file add the following element to the scrapers section:
Replace parseInstruction and source attributes with your folder names.
If you are not familiar with editing xml files I can give you instructions how to edit everything via RCBs dialogs. But this has to wait until tomorrow
Here is the required parser xml:
Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<parserConfig>
<GameGrammar type="xml" root=".">
<Game>LocalTitle</Game>
<Platform>GameSystem</Platform>
<Genre>Genres/Genre</Genre>
<ReleaseYear>ProductionYear</ReleaseYear>
<Developer>Studios/Studio</Developer>
<Description>Overview</Description>
<Players>Players</Players>
<Rating>rating</Rating>
<Perspective>perspective</Perspective>
</GameGrammar>
</parserConfig>
To get this working in RCB you will need to do the following:
- save the above xml in a file named "_parserConfig_Emby.xml"
Easiest way will be to edit config.xml manually. Here ist the part of the config that worked for me:
Code:
<RomCollection id="1" name="Nintendo 64">
<gameclient />
<emulatorCmd>C:\Users\xxx\AppData\Roaming\RetroArch\retroarch.exe</emulatorCmd>
<emulatorParams>"%rom%" -f -D -c "C:\Users\xxx\AppData\Roaming\RetroArch\retroarch.cfg" -L "C:\Users\xxx\AppData\Roaming\RetroArch\cores\mupen64plus_libretro.dll"</emulatorParams>
<preCmd />
<postCmd />
<saveStatePath />
<saveStateParams />
<useBuiltinEmulator>False</useBuiltinEmulator>
<useEmuSolo>False</useEmuSolo>
<usePopen>False</usePopen>
<ignoreOnScan>False</ignoreOnScan>
<allowUpdate>True</allowUpdate>
<autoplayVideoMain>True</autoplayVideoMain>
<autoplayVideoInfo>True</autoplayVideoInfo>
<useFoldernameAsGamename>True</useFoldernameAsGamename>
<maxFolderDepth>99</maxFolderDepth>
<doNotExtractZipFiles>False</doNotExtractZipFiles>
<makeLocalCopy>False</makeLocalCopy>
<diskPrefix>_Disk.*</diskPrefix>
<romPath>D:\Games\Testsets\Scraper Tests\Emby\N64\*.z64</romPath>
<romPath>D:\Games\Testsets\Scraper Tests\Emby\N64\*.n64</romPath>
<mediaPath type="boxfront">D:\Games\Testsets\Scraper Tests\Emby\N64\%GAME%\poster.png</mediaPath>
<mediaPath type="screenshot">D:\Games\Testsets\Scraper Tests\Emby\N64\%GAME%\screenshot.png</mediaPath>
<mediaPath type="fanart">D:\Games\Testsets\Scraper Tests\Emby\N64\%GAME%\fanart.png</mediaPath>
<mediaPath type="boxback">D:\Games\Testsets\Scraper Tests\Emby\N64\%GAME%\back.jpg</mediaPath>
<imagePlacingMain>gameinfobig</imagePlacingMain>
<imagePlacingInfo>gameinfosmall</imagePlacingInfo>
<scraper name="Nintendo 64" replaceKeyString="" replaceValueString="" />
</RomCollection>
Replace the romPath and mediaPath elements with your folder structure and file names.
At the end of the file add the following element to the scrapers section:
Code:
<Site descFilePerGame="True" name="Nintendo 64" searchGameByCRC="False" useFilenameAsCRC="False" useFoldernameAsCRC="False">
<Scraper encoding="iso-8859-1" parseInstruction="D:\Games\Testsets\Scraper Tests\Emby\N64\_parserConfig_Emby.xml" returnUrl="False" source="D:\Games\Testsets\Scraper Tests\Emby\N64\%GAME%\game.xml" />
</Site>
Replace parseInstruction and source attributes with your folder names.
If you are not familiar with editing xml files I can give you instructions how to edit everything via RCBs dialogs. But this has to wait until tomorrow