Emulator Menus

Post Reply
elee31
Posts: 1
Joined: Sun Feb 09, 2020 5:22 am
languages_spoken: english
ODROIDs: Odroid-Go Advance
Has thanked: 0
Been thanked: 0
Contact:

Emulator Menus

Unread post by elee31 » Sun Feb 09, 2020 5:32 am

Is there a way to access emulator menus while in-game (display settings, hotkeys, save states, load states. etc), I've tried every button and most button combinations but nada. Tried different emulators but no luck.

Pienoet
Posts: 398
Joined: Sun May 10, 2015 10:04 pm
languages_spoken: english Dutch
Has thanked: 0
Been thanked: 0
Contact:

Re: Emulator Menus

Unread post by Pienoet » Wed Feb 12, 2020 8:11 am

i would like to know that

crashoverride
Posts: 4712
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 187 times
Contact:

Re: Emulator Menus

Unread post by crashoverride » Wed Feb 12, 2020 8:45 am

If using the reference image, there are currently no in-game menus or options.

dmckean44
Posts: 12
Joined: Tue Feb 04, 2020 2:01 pm
languages_spoken: english
ODROIDs: odroid-go advance
Has thanked: 8 times
Been thanked: 0
Contact:

Re: Emulator Menus

Unread post by dmckean44 » Wed Feb 12, 2020 9:27 am

Can that be changed? Having to exit a game entirely just to adjust a setting or change the volume seems super clunky.

crashoverride
Posts: 4712
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 187 times
Contact:

Re: Emulator Menus

Unread post by crashoverride » Wed Feb 12, 2020 9:59 am

There are plans to add volume and brightness control during game play.

User avatar
odroid
Site Admin
Posts: 33270
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 365 times
Been thanked: 445 times
Contact:

Re: Emulator Menus

Unread post by odroid » Wed Feb 12, 2020 10:08 am

One Korean user shared a temporary solution yesterday. Thanks to @losernator(akoa****) in Naver community cafe.

Create two files.
/home/odroid/dev/b_s_hotkey.sh

Code: Select all

#!/usr/bin/env python
import struct
import os
import sys
import commands


js_path = "/dev/input/js0"
EVENT_SIZE = struct.calcsize("IhBB");
file = open(js_path, "rb")
event = file.read(EVENT_SIZE)

b_flag = False
s_flag = False
try:
	while event:
		(tv_msec, value, type, number) = struct.unpack("IhBB", event)		
		print( type, value, number)
		if( type == 1 ):
			if( value == 1):
				if( number == 12 ):
					b_flag = True
					#print( "2 down" )
				if( number == 14 ):
					if( b_flag == True ):
						#print( "brightness down" )
						(exitstatus, brightness_str) = commands.getstatusoutput('cat /sys/class/backlight/backlight/brightness')
						brightness_value =int(brightness_str)
						if( brightness_value - 10 <= 0 ):
							brightness_value = 10
						else:	
							brightness_value = brightness_value - 10
						os.system( "echo " + str(brightness_value)  +" > /sys/class/backlight/backlight/brightness" )
					else:
						os.system( "amixer set Playback 2%- > /dev/null 2>&1" )
						#print( "5 down" )
				if( number == 15 ):
					if( b_flag == True ):
						#print( "brightness up" )
						(exitstatus, brightness_str) = commands.getstatusoutput('cat /sys/class/backlight/backlight/brightness')
						brightness_value = int(brightness_str)
						if( brightness_value + 10 >= 255 ):
							brightness_value = 255
						else:	
							brightness_value = brightness_value + 10
						os.system( "echo " + str(brightness_value) +" > /sys/class/backlight/backlight/brightness" )
					else:
						os.system( "amixer set Playback 2%+ > /dev/null 2>&1" )
						#print( "6 down" )
				#if( number == 13 ):
				#	s_flag = True
				#	print( "3 down" )				

			if( value == 0 ):
				if( number == 12 ):
					b_flag = False
				if( number == 13 ):
					s_flag = False
					#print( "release" )

		event = file.read(EVENT_SIZE)

except KeyboardInterrupt:
	print("pi_sleepMode End")

/lib/systemd/system/syshotkey.service

Code: Select all

# systemd service for volume control
# /lib/systemd/system/syshotkey.service

[Unit]
Description=Volume Control HOTKEY
After=multi-user.target

[Service]
Type=simple
ExecStart=/home/odroid/dev/b_s_hotkey.sh

[Install]
WantedBy=multi-user.target
Run the following commands to execute the key handler service automatically.

Code: Select all

sudo chmod 755 /lib/systemd/system/syshotkey.service
sudo systemctl enable syshotkey
And reboot the system.

You can control the sound volume with F5(down) and F6(up) in games.
You can control the LCD backlit brightness with F3+F5(down) and F3+F6(up) too.
These users thanked the author odroid for the post:
rooted (Wed Feb 12, 2020 10:52 am)

User avatar
rooted
Posts: 7259
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 450 times
Been thanked: 126 times
Contact:

Re: Emulator Menus

Unread post by rooted » Wed Feb 12, 2020 10:54 am

That's a good workaround, I was using a different python implementation that required an extra package.

User avatar
odroid
Site Admin
Posts: 33270
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 365 times
Been thanked: 445 times
Contact:

Re: Emulator Menus

Unread post by odroid » Wed Feb 12, 2020 11:01 am

crashoverride wrote:
Wed Feb 12, 2020 9:59 am
There are plans to add volume and brightness control during game play.
- off topic Sorry -
Please fix the power-off function in the ES GUI for the next update.
If I select power-off on UI, the system reboots.
If I press the physical power button, the system shutdowns gracefully.

crashoverride
Posts: 4712
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 187 times
Contact:

Re: Emulator Menus

Unread post by crashoverride » Thu Feb 13, 2020 8:21 am

odroid wrote:
Wed Feb 12, 2020 11:01 am
Please fix the power-off function in the ES GUI for the next update.
If I select power-off on UI, the system reboots.
If I press the physical power button, the system shutdowns gracefully.
I will include the fix. Someone else also noted it in a youtube video.
These users thanked the author crashoverride for the post:
odroid (Thu Feb 13, 2020 10:16 am)

maryretro
Posts: 5
Joined: Mon Feb 10, 2020 12:25 pm
languages_spoken: english
ODROIDs: Odroid Go Advance
Has thanked: 0
Been thanked: 0
Contact:

Re: Emulator Menus

Unread post by maryretro » Thu Feb 13, 2020 12:39 pm

in-game menus or options is very important, look forward for official image or i should find other OS image?

crashoverride
Posts: 4712
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 187 times
Contact:

Re: Emulator Menus

Unread post by crashoverride » Fri Feb 14, 2020 9:21 pm

Backlight and volume controls were added to RetroRun. The control scheme is similar to GO1. F4 (start) + DPAD UP/DOWN = backlight, F4 (start) + DPAD LEFT/RIGHT = volume.
https://github.com/OtherCrashOverride/r ... 4747cbd09c
These users thanked the author crashoverride for the post:
rooted (Sat Feb 15, 2020 1:37 am)

tpsO
Posts: 14
Joined: Wed Feb 12, 2020 11:19 pm
languages_spoken: english
ODROIDs: ODROID-GO ODROID-GO Advance
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Emulator Menus

Unread post by tpsO » Sat Feb 15, 2020 3:53 am

crashoverride wrote:
Fri Feb 14, 2020 9:21 pm
Backlight and volume controls were added to RetroRun. The control scheme is similar to GO1. F4 (start) + DPAD UP/DOWN = backlight, F4 (start) + DPAD LEFT/RIGHT = volume.
https://github.com/OtherCrashOverride/r ... 4747cbd09c
Is there going to be an option to get into retroarch with the next release? the other images manage it although with the menu being rotated 90 degrees its a bit of a nightmare.

tpsO
Posts: 14
Joined: Wed Feb 12, 2020 11:19 pm
languages_spoken: english
ODROIDs: ODROID-GO ODROID-GO Advance
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Emulator Menus

Unread post by tpsO » Sat Feb 15, 2020 4:16 am

Its a bit ridiculous that this thing was released without any support, reminds me of the odroid-go.

User avatar
rooted
Posts: 7259
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 450 times
Been thanked: 126 times
Contact:

Re: Emulator Menus

Unread post by rooted » Sat Feb 15, 2020 8:45 am

tpsO wrote:Its a bit ridiculous that this thing was released without any support, reminds me of the odroid-go.
It is supported. How do you figure there is a lack of support? The device just came out, what are you expecting?

crashoverride
Posts: 4712
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 187 times
Contact:

Re: Emulator Menus

Unread post by crashoverride » Sat Feb 15, 2020 9:17 am

tpsO wrote:
Sat Feb 15, 2020 3:53 am
Is there going to be an option to get into retroarch with the next release? the other images manage it although with the menu being rotated 90 degrees its a bit of a nightmare.
The reference image does not use RetroArch, so there is no RetroArch "to get into". As a courtesy to other developers, I have added GO Advance platform support to RetroArch (fixes no menu rotation issue) and will release it next week. It is then up to image providers using RetroArch to integrate it. Of note is that RetroArch is much slower and produces a lower quality presentation than RetroRun used in the reference image. Therefore, I have no plans to use RetroArch in the reference image. Instead, development of RetroRun will continue.
These users thanked the author crashoverride for the post:
rooted (Sat Feb 15, 2020 6:38 pm)

tpsO
Posts: 14
Joined: Wed Feb 12, 2020 11:19 pm
languages_spoken: english
ODROIDs: ODROID-GO ODROID-GO Advance
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Emulator Menus

Unread post by tpsO » Sat Feb 15, 2020 12:58 pm

rooted wrote:
Sat Feb 15, 2020 8:45 am
tpsO wrote:Its a bit ridiculous that this thing was released without any support, reminds me of the odroid-go.
It is supported. How do you figure there is a lack of support? The device just came out, what are you expecting?
There is a lack of support, I'm not being funny but day one there should have been an image that was compatible with everything including the ability to change rom discs. I'm not buying a product to test dev features I'm buying a product to play games like it's advertised, maybe I should have waited for development to progress further. I do appreciate every dev and the odroid team, I'm just frustrated and I apologise if I came off as being hostile.

dmckean44
Posts: 12
Joined: Tue Feb 04, 2020 2:01 pm
languages_spoken: english
ODROIDs: odroid-go advance
Has thanked: 8 times
Been thanked: 0
Contact:

Re: Emulator Menus

Unread post by dmckean44 » Sat Feb 15, 2020 1:06 pm

tpsO wrote:
Sat Feb 15, 2020 12:58 pm
There is a lack of support, I'm not being funny but day one there should have been an image that was compatible with everything including the ability to change rom discs. I'm not buying a product to test dev features I'm buying a product to play games like it's advertised, maybe I should have waited for development to progress further. I do appreciate every dev and the odroid team, I'm just frustrated and I apologise if I came off as being hostile.
You think you bought a game console but you actually bought a DIY hobby board. The software will get there, just give it a few months or so.

tpsO
Posts: 14
Joined: Wed Feb 12, 2020 11:19 pm
languages_spoken: english
ODROIDs: ODROID-GO ODROID-GO Advance
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Emulator Menus

Unread post by tpsO » Sat Feb 15, 2020 2:07 pm

dmckean44 wrote:
Sat Feb 15, 2020 1:06 pm
tpsO wrote:
Sat Feb 15, 2020 12:58 pm
There is a lack of support, I'm not being funny but day one there should have been an image that was compatible with everything including the ability to change rom discs. I'm not buying a product to test dev features I'm buying a product to play games like it's advertised, maybe I should have waited for development to progress further. I do appreciate every dev and the odroid team, I'm just frustrated and I apologise if I came off as being hostile.
You think you bought a game console but you actually bought a DIY hobby board. The software will get there, just give it a few months or so.
I know what I bought but I expected the software to be there as well, I have 4 pis and other odroid products.

Durante
Posts: 3
Joined: Sat Feb 15, 2020 10:56 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Emulator Menus

Unread post by Durante » Sat Feb 15, 2020 8:58 pm

You can actually get into the PPSSPP menu with F6.
It allows you to access the settings and even create and load save states.
However, the menu is a bit hard to use since it's not built for the low resolution (it would probably work great if it was downsampled from 960x640).

Fun tangentially related fact: The PSP games I tried (Valkyria Chronicles 3 and 7th Dragon 2020) work perfectly (at 30 FPS) at 2x internal PSP resolution for supersampling. Looks great.

crashoverride
Posts: 4712
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 187 times
Contact:

Re: Emulator Menus

Unread post by crashoverride » Sun Feb 16, 2020 3:19 am

When purchasing an ODROID GO Advance, it is hardware that is being purchased. The reference image is intended to showcase the capabilities of the hardware. It is expected that the hardware will be usable with the reference image; however, it may not provide every feature desired. Instead, there are a variety of images from different developers to offer customers a choice in how they use the hardware they purchased. These developers have only had access to the hardware for less than a month.
These users thanked the author crashoverride for the post (total 2):
dmckean44 (Sun Feb 16, 2020 3:38 am) • rooted (Sun Feb 16, 2020 2:58 pm)

Durante
Posts: 3
Joined: Sat Feb 15, 2020 10:56 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Emulator Menus

Unread post by Durante » Sun Feb 16, 2020 4:11 am

Hey crashoverride, is there any documentation on how to (cross-)compile your ppsspp fork for the reference image?
Note: I don't need a full tutorial or anything like that -- there's actually some of my code in ppsspp. I just need a quick description of the platform setup for this target.

I want to try my hand at fixing the UI for the odroid resolution, and adding some shortcuts for brightness/volume adjustments and maybe save states.

crashoverride
Posts: 4712
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 187 times
Contact:

Re: Emulator Menus

Unread post by crashoverride » Sun Feb 16, 2020 2:01 pm

PPSSPP is compiled using an arm64 rootfs (chroot) with qemu on x86 Ubuntu. Other than regular dependencies, you will need the headers from libgo2 and the libgo2.so binary from the reference image (or compiled).
https://github.com/OtherCrashOverride/l ... master/src
These users thanked the author crashoverride for the post:
Durante (Sun Feb 16, 2020 9:25 pm)

tpsO
Posts: 14
Joined: Wed Feb 12, 2020 11:19 pm
languages_spoken: english
ODROIDs: ODROID-GO ODROID-GO Advance
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Emulator Menus

Unread post by tpsO » Sun Feb 16, 2020 7:02 pm

crashoverride wrote:
Sun Feb 16, 2020 3:19 am
When purchasing an ODROID GO Advance, it is hardware that is being purchased. The reference image is intended to showcase the capabilities of the hardware. It is expected that the hardware will be usable with the reference image; however, it may not provide every feature desired. Instead, there are a variety of images from different developers to offer customers a choice in how they use the hardware they purchased. These developers have only had access to the hardware for less than a month.
I know I apologise for my previous comment, many thanks for all your hard work.

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 0 guests