Author Topic: Pi3 image  (Read 2964 times)

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 796
  • Karma: +7/-0
    • View Profile
    • Towel 42
Re: Pi3 image
« Reply #90 on: July 15, 2017, 09:17:36 AM »
The script needs updating for sure, and the new RetroPie release should have 2.0.5 installed by default.

Sent from my SM-G920F using Tapatalk


progets

  • Newbie
  • *
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: Pi3 image
« Reply #91 on: July 15, 2017, 10:06:09 AM »
Just my 2 cents, the install.sh should be updated to include the newer SDL2 2.0.5 and also the original RetroFE dependencies (those work much better than a full gstreamer install). Once you have that I think most people can figure it out from there.

original RetroFE dependencies (I'm not certain all of these are needed)
Code: [Select]
sudo apt-get install g++ cmake libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libsdl2-dev gstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-plugins-good gstreamer1.0-libav zlib1g-dev libglib2.0-0 libglib2.0-dev sqlite3 gstreamer1.0-alsa gstreamer1.0-pulseaudio

P.S. I didn't see your post since it fell on a new page before I made this comment.

progets

  • Newbie
  • *
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: Pi3 image
« Reply #92 on: July 15, 2017, 10:21:36 AM »
The script needs updating for sure, and the new RetroPie release should have 2.0.5 installed by default.

Sent from my SM-G920F using Tapatalk

The RetroPie 4.2 image doesn't have SDL2 2.0.5. It may come if you update RetroPie to 4.2.10 but I'm using a scratch disk because I'm porting the binary to "my build" so I didn't update RetroPie before building RetroFE. If I have time maybe I'll try.

Update - You must be right about the latest RetroPie including SDL2 2.0.5 because it works on "my build" without additional dependencies and the control works after exiting a game. Again, great job!
« Last Edit: July 15, 2017, 10:50:31 AM by progets »

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 796
  • Karma: +7/-0
    • View Profile
    • Towel 42
Re: Pi3 image
« Reply #93 on: August 22, 2017, 09:23:38 AM »
I've had a few other things on my mind lately, but I plan to get back into this. What's your current status with regards to setting this up?

I understand that Raspbian Stretch has just come out, which might be a good way to get the latest MAME versions up and running as well. I want to have a look and see how well MAME can handle the consoles on the Pi3 (NES, SNES, etc.). I use MAME for almost everything pre-N64 on my PC.

MisterB

  • Newbie
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: Pi3 image
« Reply #94 on: August 22, 2017, 07:36:27 PM »
The latest version of my RetroFE install module for RetroPie is attached.  Copy this file to ~/RetroPie-Setup/scriptmodules/supplementary/

To install, run sudo ~/RetroPie-Setup/retropie_setup.sh , then go to Manage packages | Manage experimental packages | retrofe (should be near the end of the list).

Once installed, the full set of RetroFE configs is accessible via RetroPie's "config/all/retrofe" samba share for easy management.

This is a pretty substantial upgrade over the previous version:
- Build dependencies fixed, with different packages depending on platform (Raspbian vs Ubuntu)
- Launchers created for all systems supported by RetroPie, using runcommand.sh
- RetroPie Menu collection created (thanks Progets for the inspiration)
- Settings updated to use the RetroPie rom directory
- Default collections renamed (and reconfigured) to use the standard RetroPie system naming convention

It would be great if some folks could test this out and provide additional feedback.
« Last Edit: August 29, 2017, 01:44:51 PM by MisterB »

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 796
  • Karma: +7/-0
    • View Profile
    • Towel 42
Re: Pi3 image
« Reply #95 on: August 22, 2017, 07:57:26 PM »
Thanks, I will give it a try soon. :)

dougan78

  • Full Member
  • ***
  • Posts: 123
  • Karma: +0/-0
    • View Profile
Re: Pi3 image
« Reply #96 on: August 22, 2017, 08:34:00 PM »
Will reimage my card and give it a whirl next week

MisterB

  • Newbie
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: Pi3 image
« Reply #97 on: August 25, 2017, 06:36:17 PM »
The script needs updating for sure, and the new RetroPie release should have 2.0.5 installed by default.

Sent from my SM-G920F using Tapatalk

The RetroPie 4.2 image doesn't have SDL2 2.0.5. It may come if you update RetroPie to 4.2.10 but I'm using a scratch disk because I'm porting the binary to "my build" so I didn't update RetroPie before building RetroFE. If I have time maybe I'll try.

Update - You must be right about the latest RetroPie including SDL2 2.0.5 because it works on "my build" without additional dependencies and the control works after exiting a game. Again, great job!

In addition to the RetroPie module, I am also working on an updated general install script for the RPi that uses SDL2.0.5 on a vanilla Jessie/Stretch image.  As part of that, I've tried to distill the build & runtime dependencies to the bare minimum, and understand which components require them.  I hope to share the working script soon, but figured I'd share those dependencies now, so other can review, test, and provide feedback.

Code: [Select]
BUILD_DEPEND="build-essential"
SDLRELEASE_BUILD_DEPEND="libasound2-dev libdbus-1-dev libudev-dev"
SDLIMAGE_BUILD_DEPEND="libjpeg62-turbo-dev libpng-dev libtiff5-dev libwebp-dev"
SDLMIXER_BUILD_DEPEND="libflac-dev libfluidsynth-dev libmad0-dev libmodplug-dev libvorbis-dev"
SDLTTF_BUILD_DEPEND="libfreetype6-dev libgl1-mesa-dev"
RETROFE_BUILD_DEPEND="tortoisehg cmake zlib1g-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libglib2.0-dev"
RETROFE_RUNTIME_DEPEND="gstreamer1.0-plugins-good gstreamer1.0-libav gstreamer1.0-alsa"
« Last Edit: August 25, 2017, 06:40:36 PM by MisterB »

dougan78

  • Full Member
  • ***
  • Posts: 123
  • Karma: +0/-0
    • View Profile
Re: Pi3 image
« Reply #98 on: August 27, 2017, 02:54:47 AM »
The latest version of my RetroFE install module for RetroPie is attached.  Copy this file to ~/RetroPie-Setup/scriptmodules/supplementary/

To install, run sudo ~/RetroPie-Setup/retropie_setup.sh , then go to Manage packages | Manage experimental packages | retrofe (should be near the end of the list).

Once installed, the full set of RetroFE configs is accessible via RetroPie's "config/all/retrofe" samba share for easy management.

This is a pretty substantial upgrade over the previous version:
- Build dependencies fixed, with different packages depending on platform (Raspbian vs Ubuntu)
- Launchers created for all systems supported by RetroPie, using runcommand.sh
- RetroPie Menu collection created (thanks Progets for the inspiration)
- Settings updated to use the RetroPie rom directory
- Default collections renamed (and reconfigured) to use the standard RetroPie system naming convention

It would be great if some folks could test this out and provide additional feedback.

I did a fresh 4.2 retropie image.  Put the retrofe.sh in place.  It installed with one error on lib-magiccore_extra or some such module.  Rebooted.  config/all/retrofe was not there.  Going to run all the updates on the OS now and tested running the install again to see if I get same error.

dougan78

  • Full Member
  • ***
  • Posts: 123
  • Karma: +0/-0
    • View Profile
Re: Pi3 image
« Reply #99 on: August 27, 2017, 03:41:26 AM »
yeah same thing after updating.  Let me know if you need more info.

MisterB

  • Newbie
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: Pi3 image
« Reply #100 on: August 27, 2017, 02:07:49 PM »
More info would definitely be helpful.  Can you attach your install log?  I believe it can be found at ~/RetroPie-Setup/logs.  If you aren't sure which one contains the errors, you can view the zipped contents directly using the 'zcat' command (no need to unzip).  Thanks!

dougan78

  • Full Member
  • ***
  • Posts: 123
  • Karma: +0/-0
    • View Profile
Re: Pi3 image
« Reply #101 on: August 27, 2017, 06:32:50 PM »
More info would definitely be helpful.  Can you attach your install log?  I believe it can be found at ~/RetroPie-Setup/logs.  If you aren't sure which one contains the errors, you can view the zipped contents directly using the 'zcat' command (no need to unzip).  Thanks!

Code: [Select]
Log started at: Sun 27 Aug 02:27:51 UTC 2017

RetroPie-Setup version: 4.2.18 (549d284)
System: Linux retropie 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux

= = = = = = = = = = = = = = = = = = = = =
Installing dependencies for 'retrofe' : RetroFE emulator frontend
= = = = = = = = = = = = = = = = = = = = =

Did not find needed package(s): libmagickcore-extra. I am trying to install them now.
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
libmagickcore-6.q16-2-extra is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Could not install package(s): libmagickcore-extra.

Log ended at: Sun 27 Aug 02:28:22 UTC 2017
Total running time: 0 hours, 0 mins, 31 secs
« Last Edit: August 27, 2017, 07:00:06 PM by dougan78 »

MisterB

  • Newbie
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: Pi3 image
« Reply #102 on: August 28, 2017, 11:40:30 PM »
Well this is a little frustrating since the package that is causing the error (libmagickcore-extra) is a total nice-to-have.  It just converts the SVG logo file that EmulationStation uses for the RetroPie 'collection' into a PNG that RetroFE can display for its RetroPie collection.  Apparently I am trying to install a virtual package, rather than a specific version, and the RetroPie installer doesn't like that.

Not sure how I missed this previously.

You can replace the package in line 338 directly (change to libmagickcore-6.q16-2-extra), or just download an updated copy of the script (updating the original post w/ the source code now).

dougan78

  • Full Member
  • ***
  • Posts: 123
  • Karma: +0/-0
    • View Profile
Re: Pi3 image
« Reply #103 on: August 29, 2017, 03:36:32 AM »
Well this is a little frustrating since the package that is causing the error (libmagickcore-extra) is a total nice-to-have.  It just converts the SVG logo file that EmulationStation uses for the RetroPie 'collection' into a PNG that RetroFE can display for its RetroPie collection.  Apparently I am trying to install a virtual package, rather than a specific version, and the RetroPie installer doesn't like that.

Not sure how I missed this previously.

You can replace the package in line 338 directly (change to libmagickcore-6.q16-2-extra), or just download an updated copy of the script (updating the original post w/ the source code now).
Will test again this week.  Thanks so much!

dougan78

  • Full Member
  • ***
  • Posts: 123
  • Karma: +0/-0
    • View Profile
Re: Pi3 image
« Reply #104 on: September 02, 2017, 03:17:18 AM »
So far so good.  So now after I get this run, I need to compile retrofe and move the program over to the \\192.168.1.8\configs\all\retrofe folder?  Then how do you tell it to launch retropie be default instead of emulation station?

Thanks so much!

Edit:  I compiled it and threw it in the retrofe folder and ran it and it didnt have my retorspin theme.  Need to futs with it more.  Let me know if I am doing something silly.  Thanks again.
« Last Edit: September 02, 2017, 04:06:43 AM by dougan78 »