16
Feature Requests / Suggestions / Re: Control.conf per layout.xml
« on: March 08, 2021, 10:32:23 PM »
I'd like this too.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
set (CMAKE_CXX_STANDARD 11)
and it still doesn't work. But wouldn't the process fail and tell me it's missing when checking for dependencies before compiling? To be clear the video plays with sound, but without image.brew install cmake mercurial gst-plugins-bad gst-plugins-good sdl2_mixer sdl2_image sdl2_ttf sqlite dos2unix
Is the code given in one of the links, probably missing some then?[ 98%] Building C object CMakeFiles/retrofe.dir/Users/firewater/retrofe/RetroFE/ThirdParty/sqlite3/sqlite3.c.o
error: invalid argument '-std=c++0x' not allowed with 'C'
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall -ggdb")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -ggdb")
set(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall -ggdb")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -ggdb -std=c++11")
set(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++11")
python Scripts/Package.py --os=mac --build=full
cmake --build RetroFE/Build
Scanning dependencies of target retrofe
[ 2%] Building CXX object CMakeFiles/retrofe.dir/Collection/CollectionInfo.cpp.o
[ 4%] Building CXX object CMakeFiles/retrofe.dir/Collection/CollectionInfoBuilder.cpp.o
[ 6%] Building CXX object CMakeFiles/retrofe.dir/Collection/Item.cpp.o
[ 8%] Building CXX object CMakeFiles/retrofe.dir/Collection/MenuParser.cpp.o
/Users/firewater/retrofe/RetroFE/Source/Collection/MenuParser.cpp:100:55: error: expected expression
std::sort(menuItems.begin(), menuItems.end(), [](Item *a, Item *b) {return Utils::toLower(a->fullTitle) <= Utils::toLower(b->fullTitle);});
^
1 error generated.
make[2]: *** [CMakeFiles/retrofe.dir/Collection/MenuParser.cpp.o] Error 1
make[1]: *** [CMakeFiles/retrofe.dir/all] Error 2
make: *** [all] Error 2
cd retrofe
cmake RetroFE/Source -BRetroFE/Build -DVERSION_MAJOR=0 -DVERSION_MINOR=0 -DVERSION_BUILD=0
-- Checking for one of the modules 'sdl2'
CMake Error at /usr/local/Cellar/cmake/3.17.1/share/cmake/Modules/FindPkgConfig.cmake:711 (message):
None of the required 'sdl2' found
Call Stack (most recent call first):
CMakeLists.txt:50 (pkg_search_module)
-- Checking for one of the modules 'SDL2_image'
CMake Error at /usr/local/Cellar/cmake/3.17.1/share/cmake/Modules/FindPkgConfig.cmake:711 (message):
None of the required 'SDL2_image' found
Call Stack (most recent call first):
CMakeLists.txt:51 (pkg_search_module)
-- Checking for one of the modules 'SDL2_mixer'
CMake Error at /usr/local/Cellar/cmake/3.17.1/share/cmake/Modules/FindPkgConfig.cmake:711 (message):
None of the required 'SDL2_mixer' found
Call Stack (most recent call first):
CMakeLists.txt:52 (pkg_search_module)
-- Checking for one of the modules 'SDL2_ttf'
CMake Error at /usr/local/Cellar/cmake/3.17.1/share/cmake/Modules/FindPkgConfig.cmake:711 (message):
None of the required 'SDL2_ttf' found
Call Stack (most recent call first):
CMakeLists.txt:53 (pkg_search_module)
-- Checking for one of the modules 'zlib'
CMake Error at /usr/local/Cellar/cmake/3.17.1/share/cmake/Modules/FindPkgConfig.cmake:711 (message):
None of the required 'zlib' found
Call Stack (most recent call first):
CMakeLists.txt:54 (pkg_search_module)
CMake Error at /usr/local/Cellar/cmake/3.17.1/share/cmake/Modules/FindPkgConfig.cmake:515 (message):
pkg-config tool not found
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.17.1/share/cmake/Modules/FindPkgConfig.cmake:647 (_pkg_check_modules_internal)
CMakeLists.txt:55 (pkg_check_modules)
CMake Error at /usr/local/Cellar/cmake/3.17.1/share/cmake/Modules/FindPkgConfig.cmake:515 (message):
pkg-config tool not found
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.17.1/share/cmake/Modules/FindPkgConfig.cmake:647 (_pkg_check_modules_internal)
CMakeLists.txt:56 (pkg_check_modules)
brew install g++
brew install zlib1g-dev
brew install gstreamer1.0-libav
brew install libsdl2-2.0
brew install libglib2.0-0
brew install libglib2.0-dev
brew install libsdl2-dev
brew install libsdl2-mixer-2.0
brew install libsdl2-image-2.0
brew install libsdl2-ttf-2.0
brew install libsdl2-mixer-dev
brew install libsdl2-image-dev
brew install libsdl2-ttf-dev
brew install libgstreamer1.0-dev
brew install libgstreamer-plugins-base1.0-dev
brew install libgstreamer-plugins-good1.0-dev
<reloadableImage type="screenshot_1" x="370" y="780" xOrigin="center" yOrigin="center" height="200" layer="4">
It works for all collections beacuse the collection name always matches a folder in "metadata", but this one doesn't. So I want to load "metadata/Super Nintendo/medium_artwork/fanart" images for a collection called"Super Nintendo Alternative".media.medium_artwork = M:/Media/Games/Metadata/Super Nintendo/medium_artwork
media.<filetype> = M:/Media/Games/Metadata/Super Nintendo/medium_artwork
meda.medium_artwork = M:/Media/Games/Metadata/Super Nintendo/medium_artwork
meda.<filetype> = M:/Media/Games/Metadata/Super Nintendo/medium_artwork
all without success.
arguments = "M:/Media/Games/System/PlayStation/Tekken/Tekken.chd" -L "cores/mednafen_psx_libretro.dll"
This will work for both the PlayStation collection, and the game. The cons is that you will end up having to create dozens of launchers (one for each game), which can get messy.arguments = "%ITEM_DIRECTORY%\%ITEM_NAME%\%ITEM_NAME%.chd" -L "cores\mednafen_psx_libretro.dll"
This will work for only the merged collection. If you were to open the game from the collections it's from, it won't.arguments = "%ITEM_DIRECTORY%\%ITEM_NAME%\%ITEM_NAME%.chd" -L "cores\mednafen_psx_libretro.dll"
This way you have a separate command for your normal PlayStation collection and the merged one (so the game will work on both), without having to create per-game launchers.arguments = "%ITEM_DIRECTORY%\%ITEM_NAME%\%ITEM_NAME%.chd" -L "cores\mednafen_psx_libretro.dll"
[2019-01-26 01:57:59] [INFO] [Launcher] Checking to see if "M:/Media/Games/System\PlayStation\Tekken\Tekken.chd" exists [Yes]
[2019-01-26 01:57:59] [INFO] [Launcher] Attempting to launch: "C:\Program Files\RetroArch\retroarch.exe" "M:/Media/Games/System\PlayStation\Tekken\\Tekken\Tekken.chd" -L "cores\mednafen_psx_libretro.dll"
[2019-01-26 01:57:59] [INFO] [Launcher] from within folder: C:\Program Files\RetroArch
It does not load, as the directory is wrong.[2019-01-26 02:10:22] [WARNING] [Launcher] Checking to see if "M:/Media/Games/System\PlayStation\Tekken.chd" exists [No]
[2019-01-26 02:10:22] [WARNING] [Launcher] Checking to see if "M:/Media/Games/System\PlayStation\Tekken.m3u" exists [No]
[2019-01-26 02:10:22] [WARNING] [Launcher] Could not find any files with the name "Tekken" in folder "M:/Media/Games/System\PlayStation\
[2019-01-26 02:10:22] [INFO] [Launcher] Attempting to launch: "C:\Program Files\RetroArch\retroarch.exe" "M:/Media/Games/System\PlayStation\\Tekken\Tekken.chd" -L "cores\mednafen_psx_libretro.dll"
It loads the game. Also notice how the "checking to see" lines have different results, even though it's the same argument used for both collections.