Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-scrape_all is prepending system path to gamelist.xml paths #241

Open
Samutz opened this issue Dec 7, 2018 · 0 comments
Open

-scrape_all is prepending system path to gamelist.xml paths #241

Samutz opened this issue Dec 7, 2018 · 0 comments

Comments

@Samutz
Copy link

Samutz commented Dec 7, 2018

Using Scraper v1.4.6 for Windows amd64 and jrassa's Win32 build of EmulationStation

I have my es_systems.cfg setup like...

<system>
	<name>nes</name>
	<path>.\games\nes</path>
	...

The games folder being in my ES main directory. I also have scraper.exe in my ES main dir.
When I run it with -scrape_all, it correctly detects my games and starts filling out the gameslist.xml files, but it's prepending the system path to the game path and image path. Such as...

<game id="337" source="theGamesDB.net">
	<path>.\games\nes/Batman - The Video Game (USA).nes</path>
	<image>.\games\nes/images/Batman - The Video Game (USA)-image.jpg</image>
	...

Then in ES, selecting the system shows a folder called GAMES, and then a folder within it called NES, and then the games are listed there. But they can't launch because the file path is wrong and the images don't display. If I remove the prepended paths in gameslist.xml by hand they work correctly in ES.

In my systems file, I also tried <path>games\nes</path> but got the same result.

When I try <path>~\games\nes</path> or the absolute path, <path>E:\EmulationStation\games\nes</path>, the gamelist paths end up looking like <path>./E:\EmulationStation\games\nes/Batman - The Video Game (USA).nes</path> and then ES won't even show the system.

Using <path>%HOMEPATH%\games\nes</path> (supposedly an ES var for Windows) results in the error GetFileAttributesEx %HOMEPATH%: The system cannot find the file specified.

I've also tried setting -rom_path to "" or "." but don't see a difference. I suppose -scrape_all ignores it.

I can change to the nes dir and run scraper.exe without -scrape_all and it works fine, but I didn't want to have to scrape one system at a time because this my initial "scraping everything I can" session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant