Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
reicast emu.cfg does not save a command line
#1
Hello, I'm having trouble editing a line from Reicast's emu.cfg, with this command line being:

Dreamcast.Cable = 3

I want to just put "0" instead of "3" and save, this option is to fix some graphics bugs that some games may show, but when I start Reicast, I see that this option is never saved and always returns the original configuration .
Reply
#2
rm -rf /home/pi/.config/reicast/emu.cfg
sudo ./retropie_packages.sh reicast configure
sudo nano /opt/retropie/configs/dreamcast/emu.cfg
Reply
#3
error in sudo: ./retropie_packages.sh: command not found
Reply
#4
sudo ~/RetroPie-Setup/retropie_packages.sh reicast configure
Reply
#5
I've done all the steps and the command line is not overwritten in emu.cfg when reicast starts
Reply
#6
You will probably have to tweak /opt/retropie/emulators/reicast/bin/reicast.sh to get your parameters working. We might improve the script for the upcoming update, but it wont be now. I gave it a try from SSH, and parameters seem to have been accepted


Code:
aoss /opt/retropie/emulators/reicast/bin/reicast -config config:homedir=/home/pi -config audio:backend=oss
-config audio:disable=0 -config config:image="/home/pi/RetroPie/roms/dreamcast/sa.cdi" -config config:Dreamcast.Cable=3

ARM VFP-Run Fast (NFP) enabled !                                                                            
vmem reserve: base: 965C0000, aram: b65c0000, vram: 9A5C0000, ram: A25C0000                                
Resetting mem                                                                                                
Mem alloc successful!Virtual cfg config:homedir=/home/pi                                                    
libwebsockets test server - (C) Copyright 2010-2013 Andy Green <andy@warmcat.com> - licensed under LGPL2.1  
Initial logging level 7                                                                                    
Virtual cfg audio:backend=oss                                                                                
Library version: 1.3 c11b847                                                                                
IPV6 not compiled in                                                                                        
Virtual cfg audio:disable=0                                                                                  
libev support not compiled in                                                                              
Virtual cfg config:image=/home/pi/RetroPie/roms/dreamcast/sa.cdi  
Virtual cfg config:Dreamcast.Cable=3                                                                        
                                                                                                           
Created SDL Window (1280x720) and GL Context successfully                                                  
Loaded /home/pi/.reicast/data/dc_boot.bin as bootrom                                                        
Loaded /home/pi/.reicast/data/dc_nvmem.bin as nvram      
Reply
#7
Which command line do I need to edit inside reicast.sh?
Reply
#8
in the last section, the one starting with params. You can add extra flags to that line i believe
Reply
#9
I do not know how to do the programming for this script
Reply
#10
sudo nano /opt/retropie/emulators/reicast/bin/reicast.sh

last section should be:

Code:
params=(-config config:homedir=$HOME -config x11:fullscreen=1 -config config:Dreamcast.Cable=3)
getAutoConf reicast_input && params+=($(mapInput))
[[ -n "$AUDIO" ]] && params+=(-config audio:backend=$AUDIO -config audio:disable=0)
[[ -n "$ROM" ]] && params+=(-config config:image="$ROM")
if [[ "$AUDIO" == "oss" ]]; then
  aoss "$rootdir/emulators/reicast/bin/reicast" "${params[@]}" >/dev/null
else
  "$rootdir/emulators/reicast/bin/reicast" "${params[@]}" >/dev/null
fi
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  reicast trigger and joystick config naik 5 237 07-14-2018, 04:47 PM
Last Post: naik
  Reicast use VMU ? rtokuda 1 210 04-25-2018, 11:30 AM
Last Post: alexkidd
  Configure Control for Reicast rtokuda 4 968 01-04-2018, 07:32 PM
Last Post: rtokuda

Forum Jump:


Users browsing this thread: 1 Guest(s)