Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: nitrogen_widget on May 28, 2015, 07:11:26 PM

Title: RPI 1&2 Attractmode image
Post by: nitrogen_widget on May 28, 2015, 07:11:26 PM
Hi all,
Here is an image I put together for the RPI with diet-pi,attract mode 1.5.2, & since diet-pi came with the retro-pi script I put samba shares for roms & artwork plus mame4all, advmame .96 & 1.2

https://drive.google.com/file/d/0B55xxfI-_rofR2hhcmh1YTNxdDg/view?usp=sharing

This should run on all B models of RPI both 1&2.
I have the config set for GPU memory based on model.

Also, I installed a gpio joystick driver to run at boot.
it has a shutdown option.
    Here is the pin-out diagram for the GPIO.
    I can confirm the shutdown works.
    https://github.com/ian57/Raspicade-Retrogame-2Player-BPlus/wiki

    here is the guide.
    https://github.com/ian57/Raspicade-Retrogame-2Player-BPlus

This guy did an awesome job with his driver!

    I had to adjust the code a little to make it stop calling for Root access since the dietpi distro is allready running at root.
    I didn't test the joystick stuff yet.

    attract mode starts at boot also.
    i've got it set for vertical using Omegaman's awesome layout which surprisingly runs rather well on a RPI 1 with 256mb.
advmame-roms and advmame-art along with mame4all-roms & mame4all-art are the folders.

    Those are the only two emulators installed.

 desktop icons are gone, toolbar is hidden so you won't see it when mame launches.

I forgot to put raspi-config on there for easy expansion of the card but you can find that yourself easy enough or use gparted.

it will be on the next one.

only thing, i'm using a hdmi to vga adaptor for a 1280x1024 lcd panel so you may need to adjust the config file for your display type.

I've been hit & miss with advmame but mame4all works great.

Title: Re: RPI 1&2 Attractmode image
Post by: akafox on May 28, 2015, 08:10:15 PM
Awesome work man! I've not loaded it myself yet but I know it was a lot of screaming hair pulling and drinking lol setting up mine with emulationstation was a PITA! *claps and cheers*
Title: Re: RPI 1&2 Attractmode image
Post by: dbals on May 28, 2015, 08:29:39 PM

No scp client?

I also have to fix the config file for my monitor,  I have a hdmi to dvi.  Get an error that my Dell cannot display the digital signal- I see plenty of threads about this issue.
Title: Re: RPI 1&2 Attractmode image
Post by: nitrogen_widget on May 29, 2015, 03:44:55 AM
I had to check because I didn't think about it. :)
There is SSH.

for everyone's reference:

using putty I connect to "dietpi"
user id: root
password: raspberry

the commands "cd .."  should get you to the root directory.
"cd boot"  to get to the boot partition
"nano config.txt" to get to the config file.

here is the list of options for the config file for reference.
https://www.raspberrypi.org/documentation/configuration/config-txt.md

my image uses
hdmi_group =2   (dmt)
hdmi_mode=35   (1280x1024)

so you'll want to change those settings to match your own monitor.

Title: Re: RPI 1&2 Attractmode image
Post by: raygun on May 30, 2015, 10:17:19 PM
Great work nitrogen!  I think I'll pin this one... why not hey?
Title: Re: RPI 1&2 Attractmode image
Post by: verion on May 31, 2015, 03:27:18 AM
The GPIO driver is great thing - no more 50$ chip to attach joystick. Great stuff.
I like the solutions that really makes RPi a 35$ computer and not a 35$ computer + 100$ worth of attachments.
Not that I'm cheap - it just so in line with the RPi ideology.

---

Speaking of joystick - can you add a driver for PS3 wired joystick?
That's what I'm using, but maybe a driver for XBOX360 wired gamepad would be great addition for someone else.
Title: Re: RPI 1&2 Attractmode image
Post by: nitrogen_widget on May 31, 2015, 05:42:02 AM
For the most part this image is an easy way to have Attract Mode on the RPI for people that don't want to compile.

But, the retro-pi script is installed on the image so I believe you can use that to install the ps3 drivers.
I can promise retro-pi will do a much better job of integrating the drivers than i could. :)
Title: Re: RPI 1&2 Attractmode image
Post by: nitrogen_widget on May 31, 2015, 09:42:10 AM
IF anyone is interested,
I found the source for libretro mame 2003 (.78) on github.
Its the version you find on android.
it just compiled for me on the RPI2 (had to do it twice though) retroarch recognizes it as a core & I can run roms.
One of the ROMS (frogger) that someone told me was rough on advmame looked to run good for me.

i'll set it up as an emulator for AM and add it to my next image update.
not sure when that will be out though.
Title: Re: RPI 1&2 Attractmode image
Post by: akafox on July 14, 2015, 11:17:53 AM
Yeah as soon as I can get me a clean card to run this on i'll try it. I am curious about the retro cores though. I was able to pull out a lot more on it when i used retroarch on my WII. I only have a RPI B+ (bought it a week before the PI 2 came out (doh!) there was something I didn't like using retroarch though...can't remember from the top of my head.... As for the rasp pi 2 I understand it can handle mame 1.34 (same as my WII). Again good work man.
Title: Re: RPI 1&2 Attractmode image - mame4all "illegal instruction"?
Post by: juergen on October 24, 2015, 04:34:46 AM
My first post to the forum here. I was very happy to find AttractMode: Had been trying to build a small Raspberry-based Mame cabinet last year, dedicated to vertical games. Mame4all works nicely, but would only show the "correct" vertical scanlines if I let mame4all handle the display rotation, rather than set it globally via the system config. But then I could not find any front end that handled display rotation nicely... AttractMode to the rescue!

I now have your image installed (thanks so much for that!), and a few games for Mame4all. Attractmode has found the ROMs and scraped artwork for many of them. But I can't start the emulator!
I am out of my depth here. Any idea what could be wrong? I am using an older Raspberry B, and the unmodified image from the link above. (Only changed the display settings to match my 1024*768 screen.) Many thanks for any helpful hints!
Title: Re: RPI 1&2 Attractmode image
Post by: battlecat on October 29, 2015, 12:56:35 PM
I'm a total noob when it comes to this stuff but I would love to be able to buy a $35 RP and get it working as a fully functioning emulator without having to invest in a ton of extras.

Is this really possible and if so are there any high quality well written tuts on it?

Thanks,
BC
Title: Re: RPI 1&2 Attractmode image
Post by: juergen on October 29, 2015, 01:55:52 PM
Hmm, this thread is quieter than I had expected. I can now partially answer my own question above:

The image posted by the OP is apparently NOT suited for the Raspberry Pi 1. As reported above, I have consistently received "illegal instruction" errors when trying to start the emulators. Obtained a Pi 2 now, and the emulators work well with the identical image. Hence, while the DietPi OS and the Attract Mode front end work under both, Pi 1 and Pi 2, the emulators do NOT.

battlecat -- I would not try this as a total newbie. You will need to dig in various config files (e.g. the image here does not set Mame4all to rotate the image to vertical orientation), i.e. will need to work with the Linux command line. Also, while there is a lot of information around, I have not found one complete and coherent guide. The "Cupcade" from Adafruit is a notable exception: A palm-sized mini-cabinet built around the Raspberry Pi. Complete kits and good documentation are available; but you are limited to the very small screen they have designed this for.
Title: Re: RPI 1&2 Attractmode image
Post by: liquid8d on November 22, 2015, 05:00:04 PM
Wanted to do my own build for my RPI1 and having a bit of trouble.. I installed:

apt-get install g++ git libsfml-dev libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libopenal-dev vflib3-dev libjpeg-dev

I tried to build and get to media/movie and this error pops up:
Code: [Select]
root@DietPi:~/attract# make -j3
g++ -c -o obj/media.o src/media.cpp  -Wl,--export-dynamic -DDATA_PATH=\"/usr/local/share/attract/\" -O2 -DNDEBUG -I/opt/vc/include -L/opt/vc/lib -Iextlibs/audio/include -I/usr/local/include -I/usr/include/freetype2 -I/usr/include/AL  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include -Iextlibs/gameswf  -DFE_RPI -DUSE_LIBARCHIVE -DUSE_SWRESAMPLE
ar rc obj/libaudio.a obj/audiolib/ALCheck.o obj/audiolib/AudioDevice.o obj/audiolib/Listener.o obj/audiolib/SoundSource.o obj/audiolib/SoundStream.o
src/media.cpp: In member function ‘void FeVideoImp::preload()’:
src/media.cpp:447:31: error: ‘PIX_FMT_RGBA’ was not declared in this scope
     avpicture_alloc( my_pict, PIX_FMT_RGBA,
                               ^
src/media.cpp: In member function ‘void FeVideoImp::video_thread()’:
src/media.cpp:513:28: error: ‘PIX_FMT_RGBA’ was not declared in this scope
  avpicture_alloc( my_pict, PIX_FMT_RGBA,
                            ^
Makefile:349: recipe for target 'obj/media.o' failed
make: *** [obj/media.o] Error 1

From what I can tell, this would be part of libavutil-dev, which is installed. I then tried to build with NO_MOVIE and get this:

Code: [Select]
root@DietPi:~/attract# make -j 3 NO_MOVIE=1
g++ -o attract obj/fe_base.o obj/fe_util.o obj/fe_util_sq.o obj/fe_info.o obj/fe_input.o obj/fe_romlist.o obj/fe_xml.o obj/fe_settings.o obj/fe_build.o obj/fe_config.o obj/fe_presentable.o obj/fe_present.o obj/sprite.o obj/fe_image.o obj/fe_sound.o obj/fe_shader.o obj/fe_overlay.o obj/fe_window.o obj/tp.o obj/fe_text.o obj/fe_listbox.o obj/fe_vm.o obj/zip.o obj/main.o obj/fe_net.o obj/swf.o obj/libexpat.a obj/libsquirrel.a obj/libsqstdlib.a obj/libgameswf.a  -Wl,--export-dynamic -DDATA_PATH=\"/usr/local/share/attract/\" -O2 -DNDEBUG -I/opt/vc/include -L/opt/vc/lib -I/usr/include/freetype2  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include -Iextlibs/gameswf  -DFE_RPI -DUSE_LIBARCHIVE -DNO_MOVIE -lsfml-graphics -lsfml-window -lsfml-network -lsfml-system -ljpeg -lz -ldl -lGLESv1_CM -lsfml-audio -lfreetype -larchive
/usr/bin/ld: warning: libjpeg.so.8, needed by /usr/lib/gcc/arm-linux-gnueabihf/4.9/../../../arm-linux-gnueabihf/libsfml-graphics.so, may conflict with libjpeg.so.62
/usr/bin/ld: obj/libgameswf.a(gameswf_sound_handler_openal.o): undefined reference to symbol 'alSourceStop'
//usr/lib/arm-linux-gnueabihf/libopenal.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:355: recipe for target 'attract' failed

libopenal-dev is also installed.

Can anyone point me in the right direction to fix one or both of these errors?
Title: Re: RPI 1&2 Attractmode image
Post by: raygun on November 22, 2015, 09:48:16 PM
Hi liquid8d,

I think you'll need to use the branch of sfml I've posted on github to get hardware acceleration on the pi.  So uninstall libsfml-dev and build sfml yourself first... instructions here:

https://github.com/mickelson/attract/wiki/Compiling-on-the-Raspberry-Pi-%28Raspbian-Wheezy%29

I'm not sure why you're getting either of those errors, what OS are you using?  Is it raspbian wheezy?

You could try a clean build without swf as well to see if that fixes it:

make clean
make NO_MOVIE=1 NO_SWF=1 -j 3
Title: Re: RPI 1&2 Attractmode image
Post by: liquid8d on November 23, 2015, 02:28:46 PM
I just got the dietpi image for myself so its Debian, with whatever customizations they include. It's acting like it is missing references for libavutil and openal. I didn't see those compile steps so I'll give that a shot and see how it goes... thanks :)
Title: Re: RPI 1&2 Attractmode image
Post by: akafox on December 02, 2015, 07:22:40 AM
Ok what am I missing here? I edited the config so I can output to my TV (not hdmi) got everything set up. I get the "illeagal instruction" error as well when running any emulator.

I read the thread about buying a raspi pi 2 but that is not an option for me to solve the problem. (i'd rather buy a raspi pi zero if I go that route..when they are available again.)

I have a raspi B+
Do I need to compile sfml to run adv/mame4all? That doesn't sound right but *srhugs* what do I know......
Title: Re: RPI 1&2 Attractmode image
Post by: nitrogen_widget on December 02, 2015, 12:16:18 PM
all emulators?
What happens when you run individual emulators from the command prompt?
Title: Re: RPI 1&2 Attractmode image
Post by: akafox on December 02, 2015, 09:09:12 PM
Same thing "illegal instruction" from the lxterminal..haven't tried in the frame buffer..but am won't work without x so i didn't bother trying the frame buffer.

All emulators=mame4all and advmame..i've not tried with any others..the only ones that work that are not retroarch based is snes9x anyway..or am i wrong there?

Haven't tried advmess yet....
Title: Re: RPI 1&2 Attractmode image
Post by: bionictoothpick on December 29, 2015, 01:55:03 PM
How easy is it to update the image once it is installed? I'm currently using recalbox, but I like to try different things.
Title: Re: RPI 1&2 Attractmode image
Post by: Maouu on February 14, 2016, 02:19:08 PM
Is there a version 1.6 of the RPI !?

Thanks.
Title: Re: RPI 1&2 Attractmode image
Post by: nitrogen_widget on February 17, 2016, 06:48:03 AM
No.
But I've been thinking of updating my images with retroarch/Libretro mame 2003 (.78) and the latest attract mode.
That version of mame has better compatibility than mame4all and it isn't hindered by the lack of sdl hardware acceleration under X like advanced mame is.

Gimmie a week or two & i'll get some new images done up in my spare time.
Title: Re: RPI 1&2 Attractmode image
Post by: robertybob on February 21, 2016, 04:26:05 PM
No.
But I've been thinking of updating my images with retroarch/Libretro mame 2003 (.78) and the latest attract mode.
That version of mame has better compatibility than mame4all and it isn't hindered by the lack of sdl hardware acceleration under X like advanced mame is.

Gimmie a week or two & i'll get some new images done up in my spare time.

Looking forward to it!  ;D
Title: Re: RPI 1&2 Attractmode image
Post by: nitrogen_widget on February 22, 2016, 08:09:23 AM
I have attractmode & retroarch mame 2003 installed and running on the latest dietpi distro for my RPI1
Along with the retro-pi install script.

I still need to clean up a few things and autoload attractmode and install the GPIO shutdown script.

Anyone have any suggestions?
I can leave the dependencies installed so you can compile newer version of AM.

I'm thinking of ditching LXDE & making TWM or JWM the default window manager to get a few more MB of ram free on the rpi1.
I'll make sure the right-click menu is properly populated so you can still run things.

Thoughts?



Title: Re: RPI 1&2 Attractmode image
Post by: verion on February 22, 2016, 11:56:42 AM
MY WISHLIST :)
- boot straight into AM
- nice graphical boot screen (all text hidden)
- installed drivers for XBOX 360 and ps3 controlers
- (maybe) within AM a shortcut to run full X desktop for tinkering in GUI

---

If you want to save up more memory - you can use "nodm" as a display manager - it is really lightweight. And using it resolves problem with visible desktop when starting game - because there is no desktop, just black screen.

nodm = minimal display manager (on top of X) without chrome (windows decorations)

sudo apt-get install nodm
Title: Re: RPI 1&2 Attractmode image
Post by: nitrogen_widget on February 22, 2016, 01:10:10 PM
Boot to AM will be setup.
Graphical screen at boot...I think the retropie script will do this. I can set it up then use one of the attract mode screens on the forum.
retropie script will install all gamepad drivers if you run it but I i can install them since I don't think it will add too much to the size of the image.

Once you exit AM you'll be at the desktop so you can tinker then.
nodm - I will take a look at that with possibly matchbox WM, but it may be easier to just go the JWM route.
Title: Re: RPI 1&2 Attractmode image
Post by: verion on February 22, 2016, 04:00:32 PM
sounds great!

Title: Re: RPI 1&2 Attractmode image
Post by: raygun on February 22, 2016, 05:53:41 PM
hey nitrogen_widget, if you can get ffmpeg 2.8 or later on there built with the --enable-mmal option then attract-mode should be able to make use of the pi's hardware accelerated video decoding...

see: https://ubuntu-mate.community/t/tutorial-build-or-download-ffmpeg-libavcodec-with-mmal-support-hardware-acceleration-video-decoding/3565
Title: Re: RPI 1&2 Attractmode image
Post by: nitrogen_widget on February 22, 2016, 08:29:22 PM
hey nitrogen_widget, if you can get ffmpeg 2.8 or later on there built with the --enable-mmal option then attract-mode should be able to make use of the pi's hardware accelerated video decoding...

see: https://ubuntu-mate.community/t/tutorial-build-or-download-ffmpeg-libavcodec-with-mmal-support-hardware-acceleration-video-decoding/3565

Challenge accepted.
Title: Re: RPI 1&2 Attractmode image
Post by: robertybob on February 23, 2016, 01:48:42 AM
hey nitrogen_widget, if you can get ffmpeg 2.8 or later on there built with the --enable-mmal option then attract-mode should be able to make use of the pi's hardware accelerated video decoding...

see: https://ubuntu-mate.community/t/tutorial-build-or-download-ffmpeg-libavcodec-with-mmal-support-hardware-acceleration-video-decoding/3565

Challenge accepted.

Yes please! and also +1 for "xboxdrv" as I would love to use my 2 Xbox 360 controllers  ;D
Title: Re: RPI 1&2 Attractmode image
Post by: nitrogen_widget on February 23, 2016, 07:36:13 AM
I just wonder if the ffmpeg acceleration works on the rpi 1.
They are both the same GPU so it should.....

FYI guy's the retropie script included on the image does so many wonderful things.
You need to check it out.
you can install all these drivers NOW instead of waiting for me.
I have like one night a week (maybe) when I can take the time to sit down & putter around with my RPI's.
Title: Re: RPI 1&2 Attractmode image
Post by: verion on February 23, 2016, 12:52:19 PM
Yea, installing drivers is pretty easy - I was thinking that you were asking for suggestions what can be included to have better out-of-the-box experience.
Title: Re: RPI 1&2 Attractmode image
Post by: robertybob on February 23, 2016, 03:26:44 PM
I just wonder if the ffmpeg acceleration works on the rpi 1.
They are both the same GPU so it should.....

FYI guy's the retropie script included on the image does so many wonderful things.
You need to check it out.
you can install all these drivers NOW instead of waiting for me.
I have like one night a week (maybe) when I can take the time to sit down & putter around with my RPI's.

Yeah in that case ffmpeg acceleration is my biggest want (apart from the obvious upgrade from 1.5.2 to 2.0rc1!)  :) I'm sure it'll make the video snaps I have run much better on my Pi 2.

Forgive my ignorance, but can this particular RetroPie script be used to download new emulators to use with Attract Mode, or would they install to the "wrong" directory to be easily added (?). 
Title: Re: RPI 1&2 Attractmode image
Post by: nitrogen_widget on February 23, 2016, 08:17:27 PM
http://blog.petrockblock.com

I just took a stripped down OS and put the above guys script on it.
His distro uses framebuffer only with emulation station.
We need x for attract more.

Title: Re: RPI 1&2 Attractmode image
Post by: robertybob on February 25, 2016, 02:34:22 AM
Thank for your reply  :) Sorry, in my rush to send the post I didn't quite word my question properly.

Basically, if I use your image, can I then use the RetroPie script to install new emulators onto it? For example, I didn't see a PPSSPP emulator within your image, but I've got one working on my RetroPie setup.
Title: Re: RPI 1&2 Attractmode image
Post by: nitrogen_widget on February 25, 2016, 07:48:21 AM
hey nitrogen_widget, if you can get ffmpeg 2.8 or later on there built with the --enable-mmal option then attract-mode should be able to make use of the pi's hardware accelerated video decoding...

see: https://ubuntu-mate.community/t/tutorial-build-or-download-ffmpeg-libavcodec-with-mmal-support-hardware-acceleration-video-decoding/3565
I don't know if this will not work on the diet-pi distro.
FFMPEG no longer exists in the repositories.
It's now LIBAV.
the .deb has to be force installed.

I did download the source & compiled.
mmal was enabled for multiple codecs & it built correctly but i'm lost on how to actually test this lol.
does anyone have an example of a video file that attractmode struggled to play on the rpi 1?
Title: Re: RPI 1&2 Attractmode image
Post by: nitrogen_widget on February 25, 2016, 07:49:17 AM
Thank for your reply  :) Sorry, in my rush to send the post I didn't quite word my question properly.

Basically, if I use your image, can I then use the RetroPie script to install new emulators onto it? For example, I didn't see a PPSSPP emulator within your image, but I've got one working on my RetroPie setup.

yes!
Title: Re: RPI 1&2 Attractmode image
Post by: robertybob on February 25, 2016, 03:34:50 PM
I tried this, what when I tried to change directory it kept saying it couldn't find the RetroPie-Setup directory.. I could see it using WinSCP but just wouldn't find it, and yes, I was spelling it correctly  :( I am also struggling to get my external HD to mount, it doesn't help that Diet-Pi has a different setup from Rasbian lol. I'll keep trying though  ;D

Title: Re: RPI 1&2 Attractmode image
Post by: nitrogen_widget on February 25, 2016, 05:29:14 PM
I tried this, what when I tried to change directory it kept saying it couldn't find the RetroPie-Setup directory.. I could see it using WinSCP but just wouldn't find it, and yes, I was spelling it correctly  :( I am also struggling to get my external HD to mount, it doesn't help that Diet-Pi has a different setup from Rasbian lol. I'll keep trying though  ;D

make sure you have the proper words capitalized.
Or use the file browser.
Also Diet-pi makes you pick whether you will use external storage or not at install & once you pick you can't alter it.
so...since I don't use external storage i choose no.

I use the network to transfer roms.
Title: Re: RPI 1&2 Attractmode image
Post by: robertybob on February 25, 2016, 05:38:14 PM
Quote

Also Diet-pi makes you pick whether you will use external storage or not at install & once you pick you can't alter it.
so...since I don't use external storage i choose no.

I use the network to transfer roms.

Not to worry, I'll just have to store the roms on the SD card  ;D  I am very excited for the new image, I still can't compile Attract successfully so you're my only hope lol
Title: Re: RPI 1&2 Attractmode image
Post by: 79bb on March 08, 2016, 03:24:00 AM
Hi and thx for your pi img  ;).
Everythings works fine when i use it on my TV with the HDMI.
But when i use it on my DVI screen with a adapter I don't have any image just a black screen.
I try to modify some settings with the dietpi config but nothing work.
Have you got any ideas?
Title: Re: RPI 1&2 Attractmode image
Post by: nitrogen_widget on March 11, 2016, 06:45:21 AM
Hi and thx for your pi img  ;).
Everythings works fine when i use it on my TV with the HDMI.
But when i use it on my DVI screen with a adapter I don't have any image just a black screen.
I try to modify some settings with the dietpi config but nothing work.
Have you got any ideas?

That's a config issue with the RPI.
you may have to set the resolution manually with a dvi adaptor.
I'd check the rpi forums on how to edit your config.txt file.
Title: Re: RPI 1&2 Attractmode image
Post by: nitrogen_widget on March 11, 2016, 06:46:57 AM
i'm still working on refreshing the RPI1 image.
I just have a side project that HAS to get done (replacing the engine in the car I plan to start driving) and it's taking all my time.

Title: Re: RPI 1&2 Attractmode image
Post by: acrolance on March 26, 2016, 02:03:31 AM
heya all im new here.
i have a Raspberry Pi 3 fairly certain that most programs that run on pi 2 can run on pi 3

so my question is:

how do i get Attract Mode working on my Raspberry Pi 3 with your image?

i downloaded your program from the google drive and it gave me "attractmode_rpi.img.tar.gz"
this is a file type ive never used before could some one explain how i use it?

P;lease and Thanks!
Title: Re: RPI 1&2 Attractmode image
Post by: Ize on March 26, 2016, 10:08:17 AM
You need to use Win32DiskImager on windows for example to write the image to your sdcard, this will however completely overwrite it.

I'm currently using recalbox but i'll TRY to build my own image with attractmode once i've figured everything out... or i'll wait till nitrogen updates his thingy for the pi 3 :D

EDIT:
Got my image working.
1. Installed raspbian
2. Cloned Attractmode and build it
3. Used the RetroPie setup script
4. ???
5. Success. :D

Well partly... i have to launch X so i can launch attractmode, for now i can launch snes games in a small window via snes9x.

Any help? I'm a linuxnoob and surprised i actually got this far :D
Title: Re: RPI 1&2 Attractmode image
Post by: acrolance on March 26, 2016, 04:36:51 PM
You need to use Win32DiskImager on windows for example to write the image to your sdcard, this will however completely overwrite it.

I'm currently using recalbox but i'll TRY to build my own image with attractmode once i've figured everything out... or i'll wait till nitrogen updates his thingy for the pi 3 :D

EDIT:
Got my image working.
1. Installed raspbian
2. Cloned Attractmode and build it
3. Used the RetroPie setup script
4. ???
5. Success. :D

Well partly... i have to launch X so i can launch attractmode, for now i can launch snes games in a small window via snes9x.

Any help? I'm a linuxnoob and surprised i actually got this far :D

i do have the "attractmode_rpi.img.tar.gz"
i do have the "Win32DiskImager"

when i surch for the attractmode_rpi.img.tar.gz file with Win32DiskImager it doesnt pop up it doesn't think its an image file. who do i fix that?
Title: Re: RPI 1&2 Attractmode image
Post by: Ize on March 27, 2016, 01:04:57 AM
Unpack it? :D

Use Winrar or 7zip till you have just an .img file.
Title: Re: RPI 1&2 Attractmode image
Post by: acrolance on March 27, 2016, 07:11:13 PM
Unpack it? :D

Use Winrar or 7zip till you have just an .img file.

ah ha! thanks i didn't know it was ever unzipable... ok so far i have it on the Pi asking for inputs now. i guess the next step is to make the control panel of my machine... ill be back later
thanks!
Title: Re: RPI 1&2 Attractmode image
Post by: Finhead on March 29, 2016, 01:46:10 PM
Hi guys new to the forum and the Raspberry pi, I tried out the image on my Pi 3 but it wouldn't boot at all.
So I thought I would try and compile it and see how it went. Got it all setup after a few tries, the only OS I could get it to work with is RetroPie.

It is running better than the Retropie frontend or so it seems but I have to F4 to go to command line and run "xinit attract" to get it to start. Is there any way to make it start Attract Mode directly from boot and bypass RetroPie all together?
Title: Re: RPI 1&2 Attractmode image
Post by: nitrogen_widget on March 29, 2016, 05:59:07 PM
I think this is what you need to look at in order to pick startup app.

run:

nano /etc/rc.local from the root directory.

then locate emulationstation in a line, comment it our with #
then copy the line and put attract in place of emulationstation.

Title: Re: RPI 1&2 Attractmode image
Post by: nitrogen_widget on March 29, 2016, 06:17:19 PM
Also, just an FYI I'm pretty sure this image will not work on RPI3 because the OS pre-dates it.
I did get my RPI3 in so i'll build the next image on that.
Title: Re: RPI 1&2 Attractmode image
Post by: Finhead on March 29, 2016, 08:31:57 PM
Thanks for the quick reply. That file doesn't give any indication to Emulationstation, here is a screen cap of what I get when I run the command.

(http://i1017.photobucket.com/albums/af298/Finhead/Prop%20stuff/Comic%20stuff/rclocal_zpshwitpcjy.jpg)
Title: Re: RPI 1&2 Attractmode image
Post by: nitrogen_widget on March 30, 2016, 02:52:31 AM
I don't know.
I would ask on the retropie forum since that's the distribution they use.
Title: Re: RPI 1&2 Attractmode image
Post by: Finhead on March 30, 2016, 12:48:57 PM
I don't know.
I would ask on the retropie forum since that's the distribution they use.

Thanks just did that this morning and here is the directory to change, works perfectly now. :)

/etc/profile.d/10-emulationstation.sh
Title: Re: RPI 1&2 Attractmode image
Post by: tobot on March 31, 2016, 06:27:09 AM
Also, just an FYI I'm pretty sure this image will not work on RPI3 because the OS pre-dates it.
I did get my RPI3 in so i'll build the next image on that.

Just got my Pi3 and I'm so looking forward to your next image! TIA
Title: Re: RPI 1&2 Attractmode image
Post by: Floob on April 10, 2016, 11:39:53 AM
I've put my image up here, hopefully that will work for you:
http://forum.attractmode.org/index.php?topic=673.msg4928#msg4928
Title: Re: RPI 1&2 Attractmode image
Post by: Snickersbar on April 23, 2016, 03:05:20 AM
Hi eveyone im new here, i have an old raspberry pi 1 model B, how do you expand the sd card with this image and can you put robospin on it aswell??
Title: Re: RPI 1&2 Attractmode image
Post by: nitrogen_widget on May 03, 2016, 06:34:37 AM
Hi eveyone im new here, i have an old raspberry pi 1 model B, how do you expand the sd card with this image and can you put robospin on it aswell??

Download run raspi-config or pop the card into a linux PC and use gparted to expand it.
Title: Re: RPI 1&2 Attractmode image
Post by: pisobarz on May 21, 2016, 07:35:25 PM
Hey nitrogen_widget,

Do you have a landscape version of your custom theme? also im trying to connect via ssh using filezilla and i cannot connect to the server. I can however connect via PuTTY but i want to be able to transfer files by dragging and dropping.

Thanks!
Title: Re: RPI 1&2 Attractmode image
Post by: qqplayer on May 22, 2016, 09:28:58 AM
I`m having problems with mame-4all.
I doesn´t launch my roms.
I`ve copied the 0.37b5 mame romset into de roms folder , created the romlist , but when i try to launch anyone of the games in my list nothing happens.
Any suggestion please?
Title: Re: RPI 1&2 Attractmode image
Post by: Finhead on May 22, 2016, 12:55:40 PM
I`m having problems with mame-4all.
I doesn´t launch my roms.
I`ve copied the 0.37b5 mame romset into de roms folder , created the romlist , but when i try to launch anyone of the games in my list nothing happens.
Any suggestion please?
Sounds like your executable path is not set correctly.  You need to make sure it's set to open the version of mame your romset works with.
Title: Re: RPI 1&2 Attractmode image
Post by: qqplayer on May 25, 2016, 05:00:48 AM
Well , i didn`t change the default config path.
I`ve tried to launch mame by command line from terminal and it returned a message "ilegal operation".
Title: Re: RPI 1&2 Attractmode image
Post by: Omamez on June 13, 2016, 02:47:42 AM
The GPIO driver is great thing - no more 50$ chip to attach joystick. Great stuff.
I like the solutions that really makes RPi a 35$ computer and not a 35$ computer + 100$ worth of attachments.
Not that I'm cheap - it just so in line with the RPi ideology.

---

Speaking of joystick - can you add a driver for PS3 wired joystick?
That's what I'm using, but maybe a driver for XBOX360 wired gamepad would be great addition for someone else.

+1
Title: Re: RPI 1&2 Attractmode image
Post by: dbinott on June 19, 2016, 08:39:44 AM
How do I get back to using AM if I switched to ES?
Title: Re: RPI 1&2 Attractmode image
Post by: omegaman on June 19, 2016, 10:16:10 AM
dbinott-

If your using floob's image there should be an option under retropie settings in ES to switch back to AM. You can also exit out of ES to terminal by using F4 then run attract.   
Title: Re: RPI 1&2 Attractmode image
Post by: dbinott on June 19, 2016, 04:38:58 PM
Thanks. attract cmd is what I needed.
Title: Re: RPI 1&2 Attractmode image
Post by: qqplayer on October 08, 2016, 06:33:47 AM
Is the project still alive?
Any chance to use omxplayer to play AM mp4 videos?