(2016-01-21, 22:19)Zpectre87 Wrote: Ok...
Here's what you need to run RA in RCB.
1) Executable is, of course, RetroArch.exe
2) Arguments... These are the command line parameters. Ideal settings:
-f: Launches game in fullscreen.
-L: Loads core. Path is either absolute or relative, so if cores are stored in a subfolder of the folder that contains the RA executable, say, "C:\RetroArch\cores", the path can be either "C:\RetroArch\cores" or just "\cores", but if cores are elsewhere the path must be absolute. Name of the core must be exact (example: nestopia_libretro.dll for NES).
-c: Loads configuration file. Everything that applies to the -L parameter, applies to the -c parameter too. Recommended to be a general config file (example: RetroArch.cfg)
--appendconfig: The real magic of RetroArch is allowing you to append special configs to a main one. You could use one for each console or each core, for example. These go after the main config and you can add as many as you want provided you separate them with a "," (comma) between them.
%ROM%: This is a wildcard used by the RCB scraper to automatically scrape and load all the ROMs it finds for a given platform. I don't remember if RCB requires you to put the %ROM% between quotes, though.
So... If you have the following setup:
1) RetroArch.exe installed in C:\RetroArch
2) Cores in C:\RetroArch\cores
3) You want to load the Nestopia core (nestopia_libretro.dll)
4) Main config file called RetroArch.cfg in C:\RetroArch
5) Secondary config called NES.cfg in C:\RetroArch\config
The command line to automatically load NES ROMs via RetroArch will be:
(path to RetroArch.exe) -f -L \cores\nestopia_libretro.dll -c RetroArch.cfg --appendconfig \config\NES.cfg (path to the NES ROM)
List of all RA parameters: https://github.com/libretro/RetroArch/wi...mmand-line
IIRC RCB will require only the parameters (-f and beyond) plus the "%ROM" at the end replacing the path to the ROM, because it already loads the executable when you point to the emulator you want (RetroArch.exe), and it needs the "%ROM" wild card for the scraper. This should work for each and every core provided you change things accordingly for each system. Good luck and report back.
Thanks for your advice. It didn't work. :-p Just teasing haha. It did set me on the right path. Thank you very much. This is how I was able to get it to work. "-f -L cores/nameofcore.dll "%ROM%"" The latest RCB and Retroarch 1.3 handles everything else. In case anyone else is running into the same issue, the parameters are also the same for savestate.
I only have 3 remaining issues:
1. About half the time I exit from the retroarch menu, Kodi does not go back to fullscreen. I THINK I have solved this by using the"\" in post launch cmd section which makes kodi fullscreen...in windows at least.
2. The view seems to randomly change back to the "Files" view. I am currently using the Revolve skin and would like for the following to happen. Enter RCB, be presented with a list of consoles, enter console, be presented with game list for that console. If anyone can point me to resources on how to do it, I would be very much obliged.
3. I would like to be able to exit retroarch and go back into kodi from the game, rather than going into the retroarch menu and quitting the game WITH THE CONTROLLER. I have a custom exit button setup with my tv remote and FLIRC to do this, but if I'm just lounging around with my sons playing games, I would like for us to be able to do it with the controller. My oldest and I recently built a nice retropie setup for my father for his birthday. I know with that I can press start+select to get back to the main menu. I'm guessing there is a similar way to do it in retroarch PC.....so this really isn't a RCB issue. Still...any help would be appreciated.
Lastly, I'm working on a pretty comprehensive HTPC setup. By my estimates I'm about 90% done. I would be happy to share what I have done to get it up and running. I currently have the windows 10 netflix app launch from Kodi AND working with my tv remote control. If anyone needs any help, feel free to hmu.