• Runcommand

    2
    1 Votes
    2 Posts
    794 Views
    mituM

    @lupin said in Runcommand:

    So will I be need to add many "IF <emulator> = " lines to one script

    Yes, if you need different actions for each emulator.

  • 0 Votes
    8 Posts
    3k Views
    papinistP

    I have a similar problem trying to shrink my image with pishrink.

    pi@pi-VirtualBox /media/sf_SD__images $ sudo ./pishrink.sh 64gb_Papberry_arcade.img
    [sudo] password for pi:
    tune2fs: Attempt to read block from filesystem resulted in short read while trying to open /dev/loop0
    Couldn't find valid filesystem superblock.
    tune2fs: Attempt to read block from filesystem resulted in short read while trying to open /dev/loop0
    Couldn't find valid filesystem superblock.
    mount: /dev/loop0 is write-protected, mounting read-only
    mount: /dev/loop0: can't read superblock
    md5sum: /tmp/tmp.JImqrA1mnE/etc/rc.local: No such file or directory
    ./pishrink.sh: line 63: [: !=: unary operator expected
    umount: /tmp/tmp.JImqrA1mnE: not mounted
    e2fsck 1.42.13 (17-May-2015)
    e2fsck: Operation not permitted while trying to open /dev/loop0
    You must have r/w access to the filesystem or be root
    resize2fs 1.42.13 (17-May-2015)
    resize2fs: Operation not permitted while trying to open /dev/loop0
    ./pishrink.sh: line 136: [[: Couldn'tfindvalidfilesystemsuperblock.: syntax error: invalid arithmetic operator (error token is "'tfindvalidfilesystemsuperblock.")
    expr: syntax error
    expr: syntax error
    expr: syntax error
    resize2fs 1.42.13 (17-May-2015)
    resize2fs: Operation not permitted while trying to open /dev/loop0
    Couldn't find valid filesystem superblock.
    ERROR: resize2fs failed...
    mount: /dev/loop0 is write-protected, mounting read-only
    mount: /dev/loop0: can't read superblock
    mv: cannot stat '/tmp/tmp.JImqrA1mnE/etc/rc.local.bak': No such file or directory
    umount: /tmp/tmp.JImqrA1mnE: not mounted

    @mitu running the command you said, this is the output:

    pi@pi-VirtualBox /media/sf_SD__images $ parted -m 64gb_Papberry_arcade.img unit B print
    WARNING: You are not superuser. Watch out for permissions.
    BYT;
    /media/sf_SD__images/64gb_Papberry_arcade.img:64021856256B:file:512:512:msdos::;
    1:4194304B:63963135B:59768832B:fat16::boot, lba;
    2:63963136B:63864569855B:63800606720B:ext4::;

    (I don't know how to use the forum editor to make this code looks like yours, with black background)

  • Noninteractive installation/upgrades?

    9
    0 Votes
    9 Posts
    3k Views
    F

    @buzz thank you very much for the help! Quick question --

    It seemed like the RetroPie setup script runs apt-get update and apt-get -y dist-upgrade before calling post_update and update_packages. Do I have that right? If so, should the order of the commands be?:

    # do not run this often as it will put strain on our server - weekly should be enough cd ~/RetroPie-Setup/ git pull sudo __nodialog=1 ./retropie_packages.sh raspbiantools apt_upgrade sudo __nodialog=1 ./retropie_packages.sh setup post_update sudo __nodialog=1 ./retropie_packages.sh setup update_packages

    Also, is there anything special about the raspbiantools apt_upgrade function(s) vs. just running?:

    sudo apt-get update sudo apt-get -y dist-upgrade

    Just trying to figure out what is best before calling this "done". Thanks again!

  • 0 Votes
    2 Posts
    755 Views
    SuperFromNDS

    @supercatfooz Update: I just found an HDF file that seems to work fine, making the two .dim files I have obsolete. I'd still like to know if multi-disk mounting is possible for the future, though! (plus it'll help whoever else happens to have this problem)

  • 0 Votes
    4 Posts
    1k Views
    simonsterS

    I know this isn't an answer and doesn't advance you anywhere but I needed to ask, what advantage do you get from having noobs on the card? I thought the point of noobs was a lightweight first time installation tool. Given Retropie is already installed in the image, I'm not sure what you gain from converting it.

  • No boot on Retropie.

    6
    0 Votes
    6 Posts
    1k Views
    simonsterS

    Can you explain step by step, as I'm sure you must be missing something?

    I use win32diskimager and so I would

    Download the file from http://retropie.org.uk/download
    Use 7-zip to extract the .IMG file from the .gz file
    Insert my SDCard, check I can see a drive on it. If not use diskmgmt.msc to check the card, delete old partitions and create a single fat32 partition.
    Once I can read a drive in explorer then
    Open Win32diskimager, select the file and the SD card drive letter to write to. Click write.

    I'm probably over paranoid with regard to drive letter and partition checking. However, the reason I check the drive letter is that I have in the past accidentally imaged to a usb stick or portable hard drive by accident, doh! I once lost over 800gb of files including old pictures and videos as I wrote a Raspbian image to my external hard drive, not a pleasant experience .

    Si

  • More than 2 ps3 controllers

    1
    0 Votes
    1 Posts
    522 Views
    No one has replied
  • 0 Votes
    12 Posts
    3k Views
    mituM

    @vahnxdean Login via SSH or get to a command prompt by closing Emulationstation. Open the File Manager (mc) and browse the /home/pi/RetroPie/roms folder, which will contain your ROMs and save states - under each system (nes, snes, etcc).
    Copy/move the saves (they have the .stateX extension, where X is a number) to a folder inside /home/pi/ - let's say /home/pi/saves.
    Configure the save states folder to be /home/pi/saves. This way the save folder will be on the SD card, but your ROMs will still stay on the USB HDD.
    The reason you're not seeing the ROMs from the SD card is that Windows doesn't know how to read the Linux partition on it, and you're only looking at the /boot partition, which only contains the bare minimum to start the RPI system (kernel files and device tree files).

  • 0 Votes
    4 Posts
    1k Views
    J

    Nevermind. I was able to test even though I'm away from it and I have an idea of how it works.

    Thanks for the help.

  • control volume with controller?

    4
    0 Votes
    4 Posts
    2k Views
    chipsnblipC

    i added the following lines to my controller autoconfig file:

    (/opt/retropie/configs/all/retroarch/autoconfig/<controller>.cfg)

    input_volume_up_btn = "h0up" input_volume_down_btn = "h0down"

    then <hotkey>+Up/Down on the D-pad becomes volume control for all libretro emulators. not sure about kodi though.

  • Retropie 4.3 with Gert VGA 666 blank screen in emulators

    2
    0 Votes
    2 Posts
    2k Views
    E

    I have very little experience with VGA 666 (in fact, I tried for first time today... ^_^U) but I have no problems with any emulator. I can give you some advices, maybe it works with you, if you still have problems.

    Set dpi_mode in hexadecimal format, in your case 0x10 as it's listed in this table, just in case:
    dpi_mode=0x10

    Set framebuffer to your desiere resolution:
    framebuffer_width=1024
    framebuffer_height=768
    Comment any HDMI config line:
    #hdmi_force_hotplug=1
    #hdmi_group=1
    #hdmi_mode=1
    #hdmi_drive=2

    Kept this lines commented:
    #dtparam=i2c_arm=on
    #dtparam=i2s=on
    #dtparam=spi=on
    Or if you want, uncomment turning off everything:
    dtparam=i2c_arm=off
    dtparam=i2s=off
    dtparam=spi=off

    Try some other VGA modes, like 75hz (0x12) or 800x600 (0x09, 0x0B).
    Be sure emulators are not using special scaling resolutions than may be incompatible.

    Last one, universal solution to any computer problems: install retropié again and try with default retropié configuration.

  • Issues with PowerBlock Installation

    1
    0 Votes
    1 Posts
    670 Views
    No one has replied
  • USB speakers and 3.5 jack ? incompatible ?

    5
    0 Votes
    5 Posts
    979 Views
    madmodder123M

    @alucard_xs
    Try these in your /boot/config.txt file:

    # Uncomment to help remove white noise (if needed) disable_audio_dither=1 # Uncomment to completely remove white noise over 3.5mm connection audio_pwm_mode=2
  • retropie-mount apparently not working

    3
    0 Votes
    3 Posts
    2k Views
    V

    thanks, it took a while but now is done :)

  • 0 Votes
    1 Posts
    727 Views
    No one has replied
  • 0 Votes
    11 Posts
    5k Views
    mituM

    @moltke44 What version of Win 10 are you using ? Pro/Home/Ent/Education ?

  • EmulationStation Consuming 65% CPU on Idle

    6
    0 Votes
    6 Posts
    1k Views
    ClydeC

    @drake999 said in EmulationStation Consuming 65% CPU on Idle:

    I'm finding that the EmulationStation process is consistently consuming about 65% of the CPU resources while idle on a stationary menu screen.

    With or without videos? If the latter, did you enable the OMX player in Other Settings of ES' Main Menu?

  • 0 Votes
    4 Posts
    3k Views
  • Coin player2 in FB-alpha emulator

    1
    0 Votes
    1 Posts
    677 Views
    No one has replied
  • 0 Votes
    5 Posts
    988 Views
    D

    @herb_fargus I have omitted the analog trigger buttons for the time being. They will likely not be used in my final build as I will be focusing on only 8 and 16 bit generation systems anyway. After this I was planning on doing a fresh RetroPie build for my Pi3 based stationary consoles. This will likely be something I have to revisit so please let me know if you are aware of any potential solutions. Thanks for the help. I appreciate it.

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.