Show Posts

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.


Messages - pibuilder

Pages: [1] 2 3
1
So anyone know how to;

Re-Implement attract-mode ? so that I can hit say "TAB" and it will show attract-mode options again ? what line do I need to add to the config ?

ROATE the theme entirely so I can have a vertical setup / specifically just for MAME ?
(*I'll hand pluck modify my roms off the rom list .txt file)

CHANGE EXIT TEXT - (Instead of Exit-Attract mode, I want it to say "Shut Down Arcade".

2
This is running on an Raspberry Pi 3b+ on a dedicated cabinet with joysticks and buttons. A few more tweaks I'm looking to do, I purposely removed attract mode menu from being accessed by a random person accidentally or on purpose trying to get attractmode menu to come up. However I'd like to re-implement it (IF it's needed to make the below changes) so I can fix my issues below. If possibly hopefully most of this can be modified by tweaking / adding lines to the .cfg text file.

I initially built this image as a horizontal setup, I would love a simple way to switch it to completely exclusively only VERTICAL games if possible, & remove all of the horizontal games via software or hand pluck them out etc. Is that something that can be done with this config file ? Or do I need to start from scratch ?

Also to know where that long list of games / .txt document is placed within the raspberry pi would be helpful. The game list was a text document I was able to modify by hand in notepad++ I forgot where it's placed within the pi.

Also How do I get the "Exit Attractmode" to say something else ?... My own text "Shut down this game etc...." Is that also something else that's left out of this config file ? A while ago someone said it's something to do with the languages I couldn't for the life of me find where that was. Is this something that was implemented within a newer version of attract mode ? I know what's being used in the machine but I really don't need anyone else knowing that. Below is my config for attractmode within my rpi3b+

attract.cfg which is located : /opt/retropie/configs/all/attractmode


# Generated by Attract-Mode v2.4.0
#
display   Arcade
   layout               robospin
   romlist              Arcade
   in_cycle             yes
   in_menu              yes

display   Multiple Arcade Machine Emulator
   layout               Sample Animate
   romlist              Multiple Arcade Machine Emulator
   in_cycle             no
   in_menu              yes

display   Daphne
   layout               Basic
   romlist              Daphne
   in_cycle             no
   in_menu              yes

display   Nintendo 64
   layout               Basic
   romlist              Nintendo 64
   in_cycle             no
   in_menu              yes

display   Final Burn Alpha
   layout               Basic
   romlist              Final Burn Alpha
   in_cycle             no
   in_menu              yes

display   Atari 5200
   layout               Basic
   romlist              Atari 5200
   in_cycle             no
   in_menu              yes

display   Amstrad CPC
   layout               Basic
   romlist              Amstrad CPC
   in_cycle             no
   in_menu              yes

display   Nintendo Entertainment System
   layout               Basic
   romlist              Nintendo Entertainment System
   in_cycle             no
   in_menu              yes

display   Famicom Disk System
   layout               Basic
   romlist              Famicom Disk System
   in_cycle             no
   in_menu              yes

display   Game Boy
   layout               Basic
   romlist              Game Boy
   in_cycle             no
   in_menu              yes

display   Game Boy Color
   layout               Basic
   romlist              Game Boy Color
   in_cycle             no
   in_menu              yes

display   Sega Gamegear
   layout               Basic
   romlist              Sega Gamegear
   in_cycle             no
   in_menu              yes

display   Sega Master System
   layout               Basic
   romlist              Sega Master System
   in_cycle             no
   in_menu              yes

display   Sega Mega Drive
   layout               Basic
   romlist              Sega Mega Drive
   in_cycle             no
   in_menu              yes

display   Sega SG-1000
   layout               Basic
   romlist              Sega SG-1000
   in_cycle             no
   in_menu              yes

display   Mega CD
   layout               Basic
   romlist              Mega CD
   in_cycle             no
   in_menu              yes

display   Game Boy Advance
   layout               Basic
   romlist              Game Boy Advance
   in_cycle             no
   in_menu              yes

display   Atari Lynx
   layout               Basic
   romlist              Atari Lynx
   in_cycle             no
   in_menu              yes

display   PlayStation
   layout               Basic
   romlist              PlayStation
   in_cycle             no
   in_menu              yes

display   Sega 32X
   layout               Basic
   romlist              Sega 32X
   in_cycle             no
   in_menu              yes

display   Atari 7800 ProSystem
   layout               Basic
   romlist              Atari 7800 ProSystem
   in_cycle             no
   in_menu              yes

display   Super Nintendo
   layout               Basic
   romlist              Super Nintendo
   in_cycle             no
   in_menu              yes

display   Atari 2600
   layout               Basic
   romlist              Atari 2600
   in_cycle             no
   in_menu              yes

display   Vectrex
   layout               Basic
   romlist              Vectrex
   in_cycle             no
   in_menu              yes

display   RetroPie
   layout               Basic
   romlist              RetroPie
   in_cycle             no
   in_menu              yes

display   arcade
   layout               robospin
   romlist              Arcade
   in_cycle             no
   in_menu              yes
   filter               All
   filter               Favourites
      rule                 Favourite equals 1

display   Arcade
   layout               robospin
   romlist              Arcade
   in_cycle             no
   in_menu              yes
   filter               All
   filter               Favourites
      rule                 Favourite equals 1

display   Arcade
   layout               robospin
   romlist              Arcade
   in_cycle             no
   in_menu              yes
   filter               All
   filter               Favourites
      rule                 Favourite equals 1

display   Neo Geo
   layout               Basic
   romlist              Neo Geo
   in_cycle             yes
   in_menu              yes

sound
   sound_volume         100
   ambient_volume       100
   movie_volume         100

input_map
   left                 Joy0 Left
   right                Joy0 Right
   prev_letter          LControl+Up
   prev_letter          Joy0 Up+Joy0 Button0
   prev_letter          Left
   next_letter          LControl+Down
   next_letter          Joy0 Down+Joy0 Button0
   next_letter          Right
   up                   Up
   up                   Joy0 Up
   up                   Joy1 Up
   down                 Down
   down                 Joy0 Down
   down                 Joy1 Down
   select               Return
   select               LControl
   select               Joy0 Button0
   select               Joy0 Button9
   select               Joy1 Button9
   back                 Escape
   back                 Joy0 Button1
   default             back   exit
   default             up   prev_game
   default             down   next_game
   default             left   prev_display
   default             right   next_display

general
   language             en
   exit_command         sudo shutdown -P now
   default_font         FreeSans
   font_path            /usr/share/fonts/;$HOME/.fonts/
   screen_saver_timeout 0
   displays_menu_exit   yes
   hide_brackets        yes
   startup_mode         default
   confirm_favourites   yes
   confirm_exit         yes
   mouse_threshold      10
   joystick_threshold   75
   window_mode          fullscreen
   filter_wrap_mode     default
   track_usage          yes
   multiple_monitors    yes
   smooth_images        yes
   accelerate_selection yes
   selection_speed_ms   40
   scrape_snaps         no
   scrape_marquees      yes
   scrape_flyers        no
   scrape_wheels        no
   scrape_fanart        no
   scrape_videos        no
   scrape_overview      yes
   video_decoder       
   menu_prompt          Displays Menu
   menu_layout          nevato

saver_config
   param                basic_movie Yes
   param                blank_start_cmd
   param                blank_stop_cmd
   param                blank_time 120
   param                image_collage Yes
   param                movie_collage Yes
   param                overlay_art wheel
   param                preserve_ar No
   param                rgb_movie Yes
   param                sound Yes

layout_config   robospin
   param                enable_Lmarquee No
   param                enable_bg blue
   param                enable_bloom No
   param                enable_cab robo
   param                enable_colors yes
   param                enable_crt No
   param                enable_frame yes
   param                enable_list_type wheel
   param                enable_marquee Yes
   param                enable_mlogos Yes
   param                enable_pointer none
   param                enable_scanline light
   param                enable_slogos Yes
   param                enable_static yes
   param                orbit_art wheel
   param                transition_ms 35


plugin   History.dat
   enabled              no

3
This is one of literally the only things that bugs me within my Attract Mode build on my raspberry pi, I was told to look within the English language folder which I don't see that within any folder etc. I'm willing / considering upgrading if I need be to show that added line. I as well would much rather it say "Shut Down System". Again it's on a Raspberry Pi build...not windows, but sits inside a dedicated cabinet.

4
Did you try to edit it on the Pi itself by nano /opt/retropie/configs/all/retroarch.cfg ?

No I don't really like to edit / make any changes that way, I lack the Pi confidence... Again so far for the games I'm using it for I haven't ran into an issue however this for would be nice to clear that dumb screen. I know how to do it I just don't understand why it isn't saving the setting. I can get back into Emulation Station if it can be done that way, I think that's how I did it on my other "Attract Mode" many roms build I can't remember.

5
Only thing I see under /opt/retropie/configs/mame-libretro is;
 emulators.cfg & retroarch.cfg

within retroarch.cfg shows this:

# Settings made here will only override settings in the global retroarch.cfg if placed above the #include line

input_remapping_directory = "/opt/retropie/configs/mame-libretro/"

#include "/opt/retropie/configs/all/retroarch.cfg"

IF i go back to the path; /opt/retropie/configs/all it's not saving the setting for whatever reason, I agree with you somethings overriding it. the file currently shows;

cap32_autorun = "enabled"
cap32_Model = "6128"
cap32_Ram = "128"
fba-diagnostic-input = "Hold Start"
fuse_machine = "Spectrum 128K"
gambatte_gb_colorization = "custom"
mame2003-skip_disclaimer = "enabled"
mame2003-dcs-speedhack = "enabled"
mame2003-samples = "enabled"
mame2003-frameskip = "0"
mame2003-skip_warnings = "disabled"
mame2003-sample_rate = "48000"
mame2003-external_hiscore = "disabled"
mame2003-dialsharexy = "disabled"
mame2003-mouse_device = "mouse"
mame2003-crosshair_enabled = "enabled"
mame2003-rstick_to_btns = "enabled"
mame2003-tate_mode = "disabled"
mame2003-skip-rom-verify = "disabled"
mame2003-vector-resolution-multiplier = "1"
mame2003-vector-antialias = "disabled"
mame2003-vector-translucency = "enabled"
mame2003-vector-beam-width = "1"
mame2003-vector-flicker = "20"
mame2003-vector-intensity = "1.5"


which clearly needs to say "enabled" it keeps reverting back to disabled regardless of what I do.

6
I went to switch it back to galaga.zip which the game loaded however prior it had a NAG screen which I'm well familar with in terms of the emulations is not 100% video accurate etc, I know it's here:

/opt/retropie/configs/all/

The option is:

mame2003-skip_warnings = "enabled"

I did this and I'm still seeing the NAG screen very annoying.

My "retroarch-core-options.cfg" file shows this:

cap32_autorun = "enabled"
cap32_Model = "6128"
cap32_Ram = "128"
fba-diagnostic-input = "Hold Start"
fuse_machine = "Spectrum 128K"
gambatte_gb_colorization = "custom"
mame2003-skip_disclaimer = "enabled"
mame2003-dcs-speedhack = "enabled"
mame2003-samples = "enabled"
mame2003-frameskip = "0"
mame2003-skip_warnings = "enabled"
mame2003-sample_rate = "48000"
mame2003-external_hiscore = "disabled"
mame2003-dialsharexy = "disabled"
mame2003-mouse_device = "mouse"
mame2003-crosshair_enabled = "enabled"
mame2003-rstick_to_btns = "enabled"
mame2003-tate_mode = "disabled"
mame2003-skip-rom-verify = "disabled"
mame2003-vector-resolution-multiplier = "1"
mame2003-vector-antialias = "disabled"
mame2003-vector-translucency = "enabled"
mame2003-vector-beam-width = "1"
mame2003-vector-flicker = "20"
mame2003-vector-intensity = "1.5"

I tried changing the text / from disabled to enabled etc , It shows the changes using notepad++ or with modifying it with WinSCP. I turn the game back on to see the same stupid NAG screen! I drag and drop "retroarch-core-options.cfg" from my desk top to replace the file, relaunch the pi, same NAG screen still shows soooo annoying. Whatever I do I can't seem to prevent it from displaying.

I did however switch it to The Simpsons ala changing the autostart.sh to it's zip file name "simpsons.zip" and that loaded up fine because it doesn't have any known issues with the game. I'm just doing preventative maintenance so that in the future when I "write" the micro SD card over and over again I'm trying to avoid any issues I would run into. On my Attract-Mode build where I have tons of games It doesn't have the issue I don't know why it's not working on this single load image I created, luckily most of the .78 set doesn't have major issues with it.

7
I forgot what program I used back in the day but essentially it creates a list of the file names such as that of notepad / .txt file of everything that's in the folder aka just the ROM folder. This would be helpful because a .txt file takes up virtually no room. Also it's been a hot minute since I've used say Clrmame or one of those RomLister programs but that would REALLY be what I would want so say I have a little over 2,000 ROMs in the folder .zip files what ever & say "bublbobl.zip" it would create a .txt file that would say;

Bubble Bobble - bublbobl.zip
[insert game title here] - gamename.zip
[insert game title here] - gamename.zip
[insert game title here] - gamename.zip

I found this website extremely helpful with .zip names version changes etc... http://adb.arcadeitalia.net/default.php
but ideally I'd want to run said program to create a simple .txt file without having to cross reference the internet / a website I can just hit ctrl+F to find whatever game title which I need to name the corresponding .zip to have it as that single load ROM. The other reason why I'd like to create my own .txt file matching the game names to the .zip of the Rom is I removed most of the clones.


Also to note as opposed to plugging in the sd Card into a Pi, powering on the pi, using WinSCP to modify the autostart.sh.... In other words is it possible to view / and modify autostart.sh if I just use my PC / sd card adapter ?

8
1. It's safe. You can also use "sudo halt", "sudo shutdown", "sudo init 0" or any other method to power the system off safely. There are slight differences. I like "sudo poweroff" because it will also power off most linux devices (but not the Pi).

Good to know that's reassuring... thanks.

Quote
2. Pressing the "Esc" key in RetroArch should exit the emulator (and shutdown your Pi) by default. You shouldn't have to change anything for it to work.
Thankfully exactly just that... It worked, the ESC key shutdown the Pi (which is exactly what I wanted it to do...So thanks!) :-)

3.
Quote
You can also put the sd card in a PC and edit the file there, you won't have permission problems doing it this way but you must use a unix aware text editor such as Notepad ++ and not the builtin notepad or wordpad program. It would be a good idea to make a backup of the file before you modify it, just in case.

I did just that easiest method for me just loaded the sd card into my PC used notepad++ to edit the "cmdline.txt" file added logo.nologo quiet WORKS PERFECTLY !!

BIG Thanks to Favdeacon & progets as I now have exactly what I wanted a single load rom on the rpi3b+ with no garbage in the start and a clean safe shutdown in the end. My last to do should be rather simple I just need to add BIOS's for games that might need it in the future & SAMPLES for sound being I'm using .78 set of MAME. I plan on keeping all the set on the sd card  this way all I need to do is basically in place of say TMNT I just need to rename it to a different ROM file and in theory should work. Outside of that I'll just need to hit TAB in MAME to map the keys according to whatever game I build simply brilliant ! I would share my image but IF any one follows this thread its VERY easy to get this going. I noticed that even though I'm not using the full 32gig card the .img file retains the 32gig size for whatever reason other wise I'd share it without the ROMs... but If anyone reads through this thread is so simple to set this up. Again some PCB's (original hardware) is very unreliable, pricey, upkeep etc etc... this is such a great way to create a "dedicated" reliable single clean one ROM launch as if it were the original machine.

I didn't test it yet but the only one I might see having trouble with this is possibly Daphne / Dragon's Lair ? I've gotten it working on my ATTRACT MODE setup with my thousands of games build but a single launch with that might be more involved, I don't know. I own an original Cinematronics Dragon's Lair with a Laser Disc player, they will eventually have disc rot etc, this is really good way to preserve these games for future players. However I don't even want to think about what's involved with getting the score board to function with it etc ...

9

2. To have your system shutdown after you use your emulator "exit" button(s). Change your autostart.sh to this
Code: [Select]
#emulationstation #auto
/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ arcade '/home/pi/RetroPie/roms/arcade/tmnt.zip'
sudo poweroff


Thanks ! that worked perfectly however I'm testing this outside of a dedicated cabinet on my TV at the moment and on my ps4 controller I was able to "exit" the emulator which shut down the pi, i have a few concerns / questions...

1.) How safe is "sudo poweroff" within the autostart.sh in other words I want to ensure this prevents corrupting the micro SD card, as opposed to just unplugging the game / cutting power via a surge protector (which I know is a no-no).

2.) How do you change the "exit" keys as of now it's my Sony PlayStation 4 Dualshock controller which is "hotkey / ps button logo in the center, along with "options" button. In other words when I place this into a cabinet I'll be using an IPAC controller / keyboard encoder which I can essentially MAP / programs any keys to have it "EXIT" or in this case shut down the pi. I'm using MAME Libretro2003 / I believe it's in conjunction with RetroArch. In a perfect world I'd like to hit "ESC" on the keyboard to have it "exit / shutdown" the pi.

3.) I didn't get rid of the 4 raspberry pi logo's yet nor the load up text which I'd still like to do. & I'm confused about that because of a permission denied lock-out.

10
So I'm using winSCP and I'm able to modify other things however if I touch the cmdline.txt file I can't make any changes. Won't even let me delete the file....

Permission denied error:


When trying to type in what you said into the terminal
Quote
sudo echo " logo.nologo quiet" >> /boot/cmdline.txt
I actually copied / pasted it in PuTTy... I got this error:

11
My pleasure. :) And thanks for the step-by-step description, it may help others doing the same. As for your remaining questions:

The Retropie Docs describe how to disable the boot text here: https://retropie.org.uk/docs/FAQ/#how-do-i-hide-the-boot-text


prior to branching off and signing up to another site you've been extremely helpful and hopefully you can aid me on these last few things...OK I went to the link you recommended [https://retropie.org.uk/docs/FAQ/#how-do-i-hide-the-boot-text], perhaps I'm doing something wrong or not typing it in the proper spot but: When I exit a game it takes me to the pi's "terminal text". Within the link you provided it says to type in just to start out
Quote
logo.nologo: turns off raspberry(s) at boot

However when I try that first I'm getting this error within the terminal text (says command not found):

12

Having said all that, I really recommend that you work from scratch with the official Retropie image instead of your custom made one, as you can't be sure in what ways it differs from the official one, which could create problems if you apply a modification that's meant for the official image.

Initially I tried adding the / & the .zip with what I left out to my modded / custom .img and still couldn't get things going (the single ROM load / launch no menu etc).

With that being said I'm doing a FRESH build on my rpi3b+ as you suggested. So far:

-I downloaded & installed 4.4 retro pi...
-Emulation station up and running, I have wifi setup & working, [added the ROM(s) to the proper folder]
-Despite the fact that I only want ONE single rom I loaded most of .78 MAME set so hopefully once I get this going I can just modify the line of text to correspond to the ONE rom I want to launch.
-TESTED game launch using regular emulation station, game(s) load fine.
-my autostart.sh only currently shows the following without me modifying it:
Quote
emulationstation #auto

Next I added in what you said to do and my autostart.sh file now looks like this:
Quote
#emulationstation #auto
/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ arcade '/home/pi/RetroPie/roms/arcade/tmnt.zip'

WORKS ! Loads right to TMNT ! thanks !

Now my focus is to:
-HIDE bootup text / raspberry logo's. (Minor as machines would be turned on prior to people / the masses seeing it but still want to Hide that stuff anyways with the exception of my own custom splash.
-Major thing is I need a SAFE SHUTDOWN single press with a hidden inside cabinet micro switch to leave the ROM and shut it down rather than launching it back to any menu, I literally want it to SHUTDOWN from that single ROM.  It can be "ESC" or anything on the IPAC so the keystroke doesn't matter i.e. it could be "shift", F8" Whatever... but when hitting it I need it to safely shut the pi down to prevent corruption of the sd card.


13
My biggest concern is turn on the Rpi3B+ & having it load directly into the MAME game with NO MENU, almost as if it was an original PCB is what I'm looking to essentially accomplish.

That can be also done quite easily with Retropie.
  • Boot Retropie once into Emulation Station and set up your controller(s).
  • Put your ROM file in the directory /home/pi/RetroPie/roms/arcade.
  • Edit the config file /opt/retropie/configs/all/autostart.sh, put a "#" before emulationstation #auto so that it reads #emulationstation #auto. This will disable the start of Emulation Station at boot time.
  • Add this line after #emulationstation #auto with the name of your ROM file instead of NAMEOFYOURROMFILE:
Code: [Select]
/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ arcade '/home/pi/RetroPie/roms/arcade/NAMEOFYOURROMFILE'

Retropie should boot directly into this game then. If you ever want to boot into Emulation Station again, just remove the "#" that you put before its starting line in the autostart.sh and put a "#" before the added line instead to stop it from starting the game. The "#" marks a line as a comment that should not be executed.

Can you or someone please post this pre-built image file without any roms of course possibly including Gridlee a legal rom as an example the problem is I already have a pre-built image with loads of games and the memory card is super maxed out with video snaps , marquee images or nonsense which I don't want any of that. Hopefully someone has a clean pre-built image they can share compatible with the rpi3b+.

Currently my autostart.sh looks like this:
Quote
setterm -cursor off
stty -echo
clear
attract 2>&1 | grep -o $'\033\[2J'

After placing in the text as you recommended It still loads to my wheel / a menu within Attract Mode & DOES NOT launch the game directly. Can you or anyone else notice any mistakes within this autostart.sh:

Quote
setterm -cursor off
stty -echo
clear
attract 2>&1 | grep -o $'\033\[2J'
#emulationstation #auto
opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ arcade '/home/pi/RetroPie/roms/arcade/galaga'

14
At the end of the day I'm sure someone has an .img file they can share I DON'T want any ROMs included on it just so it's easy enough for me to add a specific 1x rom to the folder, edit a line of text in a config file. My biggest concern is turn on the Rpi3B+ & having it load directly into the MAME game with NO MENU, almost as if it was an original PCB is what I'm looking to essentially accomplish. 

15
Hello I'm Looking for a prebuilt compatible for a RPI3B+ IMG SINGLE ROM Load directly to one MAME game. I want one for a horizontal set up and one for a vertical setup not sure if that matters. Primarily my focus would be for a horizontal game.

As an example I want it to hide all of the Raspberry boot screens, I DO want it to display my custom Splash screen, Automatically launching ONE Single game / loading it NO MENUS.

Ideally It's an image where I can change / modify in the future that particular game with ease should I build different games with the same SINGLE ROM / direct load.

Pages: [1] 2 3