EmulationStation icon indicating copy to clipboard operation
EmulationStation copied to clipboard

Using EmulationStation on Windows 10 with as path a samba server created on RPi3

Open ghost opened this issue 7 years ago • 5 comments
trafficstars

Hi everybody,

I have successfully setup my RPI3 with a samba server. I can see the server on Windows 10 ( \raspberrypi\public )

I tried to apply this config for example :

<!-- This is the EmulationStation Systems configuration file.
All systems must be contained within the <systemList> tag.-->

<systemList>
	<!-- Here's an example system to get you started. -->
	<system>

		<!-- A short name, used internally. Traditionally lower-case. -->
		<name>nes</name>

		<!-- A "pretty" name, displayed in menus and such. -->
		<fullname>Nintendo Entertainment System</fullname>

		<!-- The path to start searching for ROMs in. '~' will be expanded to $HOME on Linux or %HOMEPATH% on Windows. -->
		<path>\\raspberrypi\public\disk1\openlibrary\Nintendo_NES</path>

		<!-- A list of extensions to search for, delimited by any of the whitespace characters (", \r\n\t").
		You MUST include the period at the start of the extension! It's also case sensitive. -->
		<extension>.nes .NES .7z</extension>

		<!-- The shell command executed when a game is selected. A few special tags are replaced if found in a command:
		%ROM% is replaced by a bash-special-character-escaped absolute path to the ROM.
		%BASENAME% is replaced by the "base" name of the ROM.  For example, "/foo/bar.rom" would have a basename of "bar". Useful for MAME.
		%ROM_RAW% is the raw, unescaped path to the ROM. -->
		<command>retroarch -L ~/cores/libretro-fceumm.so %ROM%</command>

		<!-- The platform to use when scraping. You can see the full list of accepted platforms in src/PlatformIds.cpp.
		It's case sensitive, but everything is lowercase. This tag is optional.
		You can use multiple platforms too, delimited with any of the whitespace characters (", \r\n\t"), eg: "genesis, megadrive" -->
		<platform>nes</platform>

		<!-- The theme to load from the current theme set.  See THEMES.md for more information.
		This tag is optional. If not set, it will default to the value of <name>. -->
		<theme>nes</theme>
	</system>
</systemList>

But EmulationStation can't see the roms, but in cmd.exe we can access to the samba server.

Can we use a linux samba server like I would like to the the files on EmulationStation on Windows 10?

In a friendly manner, Jackobo

ghost avatar Mar 12 '18 20:03 ghost

Information : The same configuration works without issue on EmulationStation of Aloshi ( installed with https://emulationstation.org/downloads/releases/emulationstation_win32_latest.exe ) .

ghost avatar Mar 12 '18 20:03 ghost

New information : Works with Retropie EmulationStation 2.2.2.220 . The bug affects the Pre-release version

ghost avatar Mar 12 '18 20:03 ghost

@JackoboLeChocobo this is a side effect of a recent change swap out the filesystem library that ES previously used (Boost) for a more lightweight implementation to improve compile times.

I would recommend trying the 'Map network drive...' option in Windows to map the samba server to a drive (assign it a letter). Then you should be able to reference it with a path that probably will work.

jrassa avatar Apr 14 '18 02:04 jrassa

I will test that in the future release, I have created a fork that removes VLC depedency and restore the original joypad configuration of EmulationStation. I will apply my changes on the latest commit of your code and try it again.

ghost avatar Apr 17 '18 12:04 ghost

The fact that we MUST asign a letter for a samba share is a high regression for network support. I will still use on my side the library Boost.

ghost avatar Apr 17 '18 21:04 ghost