Supreme Odroid (Attract gaming image base on OGST)

Very powerful gaming console solution based on Debian

Moderators: mdrjr, odroid

Supreme Odroid (Attract gaming image base on OGST)

Unread postby Régalad » Sun Sep 16, 2018 3:37 am

Hi everyone,

I would like to share here my work on OGST. It s an attract mode build with many great features.
I would like 1st to thanks Meveric for his amazing work on OGST.
It took me 3 month full time to make the Supreme Odroid tweak on OGST base so i can understand all the time an pain it has cost to him :D .


Key Features:
-Attract mode Regalad V5 :
*HP2 layout by Carl HagstrÙm
*HP2 flyer and systems snaps
*Art and system background from cosmo layout
*173 systems and collections

-N64 odroid case LCD screen support with 3 exclusives logo packs
-USB HDD one click support
-video loading screen
-All game bezels from "BezelProject" team
-Native Xbox360 wireless controller support (also supports all USB gamepads,
bluetooth gamepads such as PS4 DualShock, 8bitdo gamepads, etc.)
-Exclusive scripts library
-file system expands automatically on first boot
-Network share of roms, bios and splash screen folder
-Supports all attract mode rompacks (download the 250gb Régalad & WDG Supreme rompack
and used it on your SD or HDD)
-Full Pixel desktop (OGST base)

I have spend hard time to make it full fonctionnal with many great features and also trying to make it more "user friendly" than OGST.
I have spend few times to improve emulator performance.
Has i have change many things on the original OGST it s no longer updatable with meverick packages.
You have now all compatibility with all attract mode rompack and art.

Videos

https://www.youtube.com/watch?v=DWuLutsjBdE&t=72s

https://www.youtube.com/watch?v=HGpadLAt3g8&t=1353s

https://www.youtube.com/watch?v=v0ljqi_Op2s

Video tutorial :

https://youtu.be/ObeCRmXpMic

Check out my YouTube channel « Retro vers le futur » :

https://www.youtube.com/channel/UCabnGk ... asJlv5mEbQ

Supreme Retro Gaming Facebook group

https://www.facebook.com/groups/445148199226790/

1/ How to install
—————————————————

-Unrar the files with last winrar software
-Format your sd card with sdformater
-Burn the ".img" file with Win32DiskImager (WIN) or appbaker (MACOS)
-Put the SD card In your odroid
-Turn on the device (system will restart after expanding file system)

You need a keyboard and a mouse for controller mapping

2/ Bluetooth controller setup
——————————————————————----------

-Go to bluetooth in settings menu
-pair your controller and mark it as trust device

3/ Attract mode controller mapping
————————————————————————————————————

-Press "tab" on a USB keyboard
-Go to "Control"
-Map your gamepad as shown in the « supreme odroid controller mapping.PNG »
For example: attract menu function « back » is backspace on .png file is A button on your gamepad (or B on other)
The important stuff is the placement of button not the letter
Attract control can be map as you like

4/ Dreamcast controller mapping
———————————————————————————————

-Go to « attract setup and setup » in settings menu
-Password is always "odroid"
-Scroll down to "Dreamcast P1 controller setup"
choose the number corresponding to your controller and press OK
-Press input as prompted

!!! don’t forget to map select as "exit" button !!!
!!! If you don't have an analog stick on your gamepad, map your dpad as analog !!!

5/ Global emulator mapping (antmicro)
—————————————————————————————————————————

-Go to "antmicro" in settings menu
-scroll down right and press the gamepad icon on the scroll bar.
-Press "controller mapping" button on lower left
-press your gamepad button as ask (or use mouse to skip)
-save
-Load "P1.gamecontroller.amgp"
-Check the « supreme odroid controller mapping.PNG » file to verify your controls
-Do the same if you have a second controller. Load/save as P2.gamecontroller.amgp

6/ Games on The SD or HDD/USB ?
———————————————————————————————

-If you want to put your games on SD:
Go on your windows network share and add games to « roms » folder
You can also access it with FTP software
path is home/odroid/roms folder (login: odroid password: odroid)

-If you want to put your games on hard drive or usb (Best option!)
Name your HDD as "regalad"
Be sure that the format type is NTFS and there is only one partition on it.
create a "roms" folder on root
Connect your HDD, boot your odroid device.
Go to "attract setup and options"
password is "odroid"
scroll down to "enable HDD for roms"
press right and ok
Wait until device reboots (it will copy some requested folders and files to your HDD
You can now add roms to HDD by network or by FTP media/odroid/regalad/roms

!!! if you already have an HDD with "roms" folder and some files on it it’s ok!!!
!!! The only thing is some system folder names may be different on supreme odroid than on your old image!!!

7/ Change screen resolution to 720P
————————————————————————————————————

Go to "attract setup and options"
password is "odroid"
scroll down to turn attract layout to 720P
press right and ok

8/ Special thanks
—————————————————

Meverik
Carl HagstrÙm
Bezelproject and HP2 team
My man We’re dirty gaming
My testers Qbertaddict1 and Roy Evans
My Team « retro vers le futur » (follow us on Facebook and youtube)
And TerrorMask who made it all happen

Support my work:
————————————————

https://paypal.me/regaladbuild

Download link :

https://mega.nz/#F!UbA0kQyA!ohx20d8VWOYJp902fjgiuw
Régalad
 
Posts: 10
Joined: Fri Jun 01, 2018 4:12 am
languages_spoken: english
ODROIDs: Ux4

Re: Supreme Odroid (Attract gaming image base on OGST)

Unread postby odroid » Mon Sep 17, 2018 8:35 am

Very nice image indeed!
I like your logo "Retro vers le futur »".
User avatar
odroid
Site Admin
 
Posts: 28855
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Supreme Odroid (Attract gaming image base on OGST)

Unread postby wratcher » Tue Oct 02, 2018 11:12 pm

hi,

i really enjoy this supreme build, great job !!!
thank you

anyways i encounter some troubles:

no sound over hdmi on retroarch (work on reicast)
many troubleshouting with 4 player game on n64 emu some player could control 2 characters on screen : the only way i could make it work is to remove antimicro, reconfigure controls and play on retroarch
no datetime fix with reicast
strange retroarch vsync bug it's look like that the sync take place at first quarter of the screen (2 different tv/monitors)

i could see that reicast is 0.8 now and retroarch is 1.7.5 , is there a way to update it ??

and to conclude my wish list :
front buttons on the case can securely turn off odroid or reset it / quit current emulator
if anyone could send a good script to make it work....


Again thank you a lot for this gem
this is clearly the best choice for xu4 with ogst case (for retrogaming without headache)
Last edited by wratcher on Tue Oct 09, 2018 5:48 pm, edited 1 time in total.
wratcher
 
Posts: 3
Joined: Wed Sep 19, 2018 10:36 pm
languages_spoken: english, french
ODROIDs: xu4

Re: Supreme Odroid (Attract gaming image base on OGST)

Unread postby wratcher » Sat Oct 06, 2018 7:42 pm

for user button in the ogst case(the right one) i succesfully managed to do a "exit emulator button"

this is what i've done

installation of the gpio button script
Code: Select all
sudo apt-get install libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev
git clone https://github.com/AreaScout/Gaming-Kit-Tools.git
cd Gaming-Kit-Tools



in order to do the make i've modified the Makefile (i've deleted the img2fb part who wasn't compile for a unknow reason)
Code: Select all
#LCD Tools Makefile
CC = g++
CPPFLAGS = -mfloat-abi=hard -marm -mtune=cortex-a15.cortex-a7 -mcpu=cortex-a15

ifeq ($(PREFIX),)
    PREFIX := /usr/local
endif

all: gpio_button show_info osd2fb

gpio_button: gpio_button.cpp
   $(CC) -o gpio_button gpio_button.cpp
show_info: show_info.cpp
   $(CC) -o show_info show_info.cpp -lSDL2 -lSDL2_ttf $(CPPFLAGS)
osd2fb: osd2fb.cpp
   $(CC) -o osd2fb osd2fb.cpp -lSDL2 -lSDL2_ttf
clean:
   rm -f gpio_button img2fb show_info osd2fb

install:
   install -d $(PREFIX)/bin/
   install -m 4755 gpio_button $(PREFIX)/bin/
   install -m 4755 show_info $(PREFIX)/bin/
   install -m 4755 osd2fb $(PREFIX)/bin/



then i compile and install scripts
Code: Select all
make
sudo make install


when it's done it's time to change console kit part in /etc/rc.local
Code: Select all
##### CONSOLE KIT START #####

[ `/sbin/lsmod | grep -c spi_s3c64xx` -ge 1 ] && rmmod spi_s3c64xx
modprobe spi_s3c64xx force32b=1
modprobe fbtft_device name=hktft9340 busnum=1 rotate=270
su root -c '/bin/rm -f /dev/fb1'
su root -c '/bin/mknod /dev/fb1 c 29 1'
su root -c '/bin/chmod 0666 /dev/fb1'
su root -c 'gpio_button'
su odroid -c 'gpio_button -f /home/odroid/exit.sh -r  -d'
draw-logo.sh /usr/local/share/setup-ogst/logos/blank.gif 0

##### CONSOLE KIT END #####



line that is the most important

if you want to exit all emulators :
Code: Select all
su odroid -c 'gpio_button -f /home/odroid/exit.sh -r  -d'

if you want to shutdown the system :
Code: Select all
su odroid -c 'gpio_button -f /home/odroid/poweroff.sh -r  -d'



this is where i put my script so in /home/odroid i've created an exit.sh and a poweroff file

if you want to exit all emulators
in the exit.sh :
Code: Select all
sudo pkill -9 retroarch
sudo pkill -9 reicast
sudo pkill -9 mupen64


if you simply want to turn off the odroid
in the poweroff.sh :
Code: Select all
sudo shutdown -h now


make sure properties are 777 so everyone can lanch it
Code: Select all
sudo chmod home/odroid/exit.sh 777
sudo chmod home/odroid/poweroff.sh 777


that's all folks


left button does not work i hope someone can help
wratcher
 
Posts: 3
Joined: Wed Sep 19, 2018 10:36 pm
languages_spoken: english, french
ODROIDs: xu4

Re: Supreme Odroid (Attract gaming image base on OGST)

Unread postby Régalad » Thu Oct 11, 2018 4:35 am

wratcher wrote:no sound over hdmi on retroarch (work on reicast)
many troubleshouting with 4 player game on n64 emu some player could control 2 characters on screen : the only way i could make it work is to remove antimicro, reconfigure controls and play on retroarch
no datetime fix with reicast
strange retroarch vsync bug it's look like that the sync take place at first quarter of the screen (2 different tv/monitors)

i could see that reicast is 0.8 now and retroarch is 1.7.5 , is there a way to update it ??

and to conclude my wish list :
front buttons on the case can securely turn off odroid or reset it / quit current emulator
if anyone could send a good script to make it work....
)


Thanks for your post :)
-For retroarch no sound try to change audio driver on retroarch on rewrite the sd card. i ear that some people have same issue on PC or maybe when changing signal source.
-For 4 player you right. it just an issue the way i made the retroarch mapping by antmicro.
It wasn t a good choice at all. On V1.1 i have solve this issue by removing antmicro input on retroarch and register your gamepad on retroarch on first boot.
-The reicast no date fix doesn t work on ux4
-Vcync don t really understand but maybe you are not using 1080p TV ?

You can try update retroarch by command line or on app updater.

There is some new new and cool stuff on V1.1 coming in few weeks.
Régalad
 
Posts: 10
Joined: Fri Jun 01, 2018 4:12 am
languages_spoken: english
ODROIDs: Ux4

Re: Supreme Odroid (Attract gaming image base on OGST)

Unread postby Régalad » Thu Oct 11, 2018 4:39 am

Left button is power on the device.
thanks for your button tweaking :)
Régalad
 
Posts: 10
Joined: Fri Jun 01, 2018 4:12 am
languages_spoken: english
ODROIDs: Ux4

Re: Supreme Odroid (Attract gaming image base on OGST)

Unread postby wratcher » Mon Oct 15, 2018 6:56 pm

There is some new new and cool stuff on V1.1 coming in few weeks.


great. that will be awesome.

hope that you will bring naomi and atomiswave compatibility just like the team ora

i think about gpio button script it could be better if we can test if we are in a emulator :

it's like if emulator kill emulator else power off

Code: Select all
if pgrep -c retroarch  > /dev/null
then
   retval=1
else   
   retval=2
fi
echo $retval
if [ "$retval" = 1 ]
then
   echo "quit retroarch"
   sudo pkill -9 retroarch
fi

if pgrep -c reicast  > /dev/null
then
   retval2=1
else   
   retval2=2
fi

echo $retval2
if [ "$retval2" = 1 ]
then
   echo "quit reicast"
   sudo pkill -9 reicast
fi

if pgrep -c mupen64 > /dev/null
then
   retval3=1
else   
   retval3=2
fi
echo $retval3
if [ "$retval3" = 1 ]
then
    echo "quit mupen64"
    sudo pkill -9 mupen64
fi

if [ "$retval3" = 2 ] && [ "$retval2" = 2 ] && [ "$retval" = 2 ]
then
echo "please wait while shutting down"
sudo shutdown -h now
fi


edit : that code should works,
will try it soon

edit2 : test successful , edited some lines to make it work properly
wratcher
 
Posts: 3
Joined: Wed Sep 19, 2018 10:36 pm
languages_spoken: english, french
ODROIDs: xu4


Return to OGST-XU4

Who is online

Users browsing this forum: No registered users and 0 guests