Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › How to add new emulator and make it default? › Reply To: How to add new emulator and make it default?
06/21/2015 at 01:36
#100312
herbfargus
Member
I’m having the same problem here too- it seems to be an issue with emulationstation as it runs just fine from the command line. This is the runcommand error log I’m getting (i get the same error log if I don’t use runcommand as well):
unreal_speccy_portable: ../../devices/memory.cpp:84: void eRom::LoadRom(int, const char*): Assertion f failed.
/opt/retropie/supplementary/runcommand/runcommand.sh: line 684: 29913 Aborted /opt/retropie/emulators/usp/unreal_speccy_portable "/home/pi/RetroPie/roms/zxspectrum/Lunar Jetman (1983)(Ultimate).z80"
And just in case you’re interested, this is the script I pieced together (its not very good but it at least installs it. I placed it in /home/pi/RetroPie-Setup/scriptmodules/emulators
and just ran it from the experimental menu in the setup script)
#!/usr/bin/env bash
# This file is part of RetroPie.
#
# (c) Copyright 2012-2015 Florian Müller ()
#
# See the LICENSE.md file at the top-level directory of this distribution and
# at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
#
rp_module_id="usp"
rp_module_desc="zxspectrum emulator unreal speccy portable"
rp_module_menus="4+"
function sources_usp() {
wget https://bitbucket.org/djdron/unrealspeccyp/downloads/unreal-speccy-portable_0.0.64_rpi.zip
unzip unreal-speccy-portable_0.0.64_rpi.zip
rm unreal-speccy-portable_0.0.64_rpi.zip
}
function build_usp() {
make clean
md_ret_require="$md_build"
}
function install_usp() {
md_ret_files=(
'usp_0.0.64/unreal_speccy_portable'
'usp_0.0.64/res'
'usp_0.0.64/readme.txt'
)
}
function configure_usp() {
mkRomDir "zxspectrum"
addSystem 0 "$md_id" "zxspectrum" "$md_inst/unreal_speccy_portable %ROM%"
}