"Could not initialize texture from memory, invalid data" while looking for media. Jrassa build
-
I might be in the wrong place, I don't know if I should post this here or on Jrassa's EmulationStation Github issues page, but I will try here first.
First of all, Hi everyone, I'm Deivid. Hope you guys can help me. I will start this thread with my setup and config, and then I will tell the issue.
Setup:
I have a PC and a Local Server.
I'm trying to setting up EmulationStation on my PC.
My roms are on the Server.Config:
I have my EmulationStation folder at D:\EmulationStation and I keep everything here (except the roms).
My roms are at D:\EmulationStation.emulationstation\roms but the roms folder actually is a symlink to a network folder (that I keep at \ \MICROSERVER\roms)The issue:
While I can play my games with this config without issues, none of the media is being recognized.
I receive an error saying "Could not initialize texture from memory, invalid data"
But the strange thing is, on the log, I can see that the folder that EmulationStation tries to reach is wrong. It's showing up like this:Could not initialize texture from memory, invalid data! (file path: D:/Games/Emulators/EmulationStation/.emulationstation/UNC/MICROSERVER/roms/supergrafx/media/images/1941 - Counter Attack (Japan).png, data ptr: 0, reported size: 0)
Notice the /UNC/MICROSERVER in the middle?
I don't know why this is happening. EmulationStation can find the gamelist.xml on .emulationstation/roms/supergrafx just fine, but while parsing the contents on gamelist.xml, it tries to load the media content from this wrong location.
My setup (with more details):
I keep all the emulators on:
D:\EmulationStation\.emulationstation\systems\
My es_systems.cfg file loads the roms with this line (using retroarch as an example):
<command>.emulationstation\systems\retroarch\retroarch.exe -f -L .emulationstation\systems\retroarch\cores\<emulatorlib.dll> "%ROM_RAW%"</command>
The gamelists and media are kept inside on:
D:\EmulationStation\.emulationstation\roms\<system>\gamelist.xml D:\EmulationStation\.emulationstation\roms\media\<images|mix|videos>\<gamename>
My gamelist.xml loads the roms and media files looking at these paths:
<path>./1941 - Counter Attack (Japan).pce</path> <image>./media/images/1941 - Counter Attack (Japan).png</image> <thumbnail>./media/mix/1941 - Counter Attack (Japan).png</thumbnail> <video>./media/videos/1941 - Counter Attack (Japan).mp4</video>
Again, the rom loads onto the emulator just fine, the description loads too. Is just the media that isn't showing up.
This is clearly a bug. I can 'solve' if I map my Server 'roms' folder to a drive letter on my PC and then change the <path> line on es_systems.cfg, but it would be so much better if I could just keep everything as default. Change paths on es_systems.cfg, gamelist.xml, etc breaks the portability of my EmulationStation setup :(
Is there anything that I can do except mount a drive letter of the the network folder and change all my config files?
Is this the right place to post a bug report or should I go to Jrassa's github?
Thank you in advance :)
-
Ok, So I got this figured out.
The thing is, when boost library was removed two years ago, it removed the ability to navigate on UNC folders too.I thought that this was really strange since EmulationStation can still loads the gamelist.xml on my Server but couldn't load anything else, but, I found a pre 2.7.4 build (that still has boost library) and now everything works :)
Right now I'm running a really old 2.6.4 build. If anyone here has a 2.7.3 build saved, please share with me, I would really appreciate.
Thanks again
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.