[GAMES] Frets on Fire X (Guitar Hero clone)

User avatar
meveric
Posts: 10401
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 15 times
Been thanked: 121 times
Contact:

Re: [GAMES] Frets on Fire X (Guitar Hero clone)

Unread post by meveric » Wed Apr 24, 2019 3:19 pm

Interesting to know. I'll try it out and see what the result will be. Thanks :)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

andy5macht
Posts: 238
Joined: Mon May 16, 2016 5:25 am
languages_spoken: english, german
ODROIDs: U3, C2, N2
Has thanked: 5 times
Been thanked: 0
Contact:

Re: [GAMES] Frets on Fire X (Guitar Hero clone)

Unread post by andy5macht » Fri May 03, 2019 9:57 pm

@meveric: could you already try FoFix on the N2?

User avatar
meveric
Posts: 10401
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 15 times
Been thanked: 121 times
Contact:

Re: [GAMES] Frets on Fire X (Guitar Hero clone)

Unread post by meveric » Fri May 03, 2019 10:13 pm

I'll see what I can do.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

User avatar
meveric
Posts: 10401
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 15 times
Been thanked: 121 times
Contact:

Re: [GAMES] Frets on Fire X (Guitar Hero clone)

Unread post by meveric » Mon May 06, 2019 7:16 pm

well:
using gl4es with fbdev only (no X11) didn't work at all.
Using gl4es with X11 support, I was able to start the applications, using LIBGL_FB=1 or LIBGL_FB=2 resulted in a black window, using LIBGL_FB=3 seemed to have worked, but the speed was not very good.
In fact I tried it with hedgewars to get a better overview speed wise (show FPS is easier here) and I got only about 8 FPS while using MESA software OpenGL I got about 15~20 FPS so twice as fast.

Sadly all the tests have been performed using VINO as a remote VNC server and not directly on the N2.
I couldn't try it locally, as for some reason, my TV doesn't show anything anymore on the N2, and I wonder if the HDMI port is broken :(

Maybe it would be faster with LIBGL_FB=1 or 2 but since it's all black and I can't check by "listening to the performance" I can't say if it would have been faster.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

andy5macht
Posts: 238
Joined: Mon May 16, 2016 5:25 am
languages_spoken: english, german
ODROIDs: U3, C2, N2
Has thanked: 5 times
Been thanked: 0
Contact:

Re: [GAMES] Frets on Fire X (Guitar Hero clone)

Unread post by andy5macht » Mon May 06, 2019 7:57 pm

thank you for your tests.
is there anything i can do? i should receive my N2 on wednesday

User avatar
meveric
Posts: 10401
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 15 times
Been thanked: 121 times
Contact:

Re: [GAMES] Frets on Fire X (Guitar Hero clone)

Unread post by meveric » Mon May 06, 2019 8:22 pm

libgl-odroid (with X11 support) is available for my Debian Stretch image, so if you want to test it yourself you can simply install it.
If you use setup-odroid to install Desktop, the drivers for GPU and such should be installed as well.
So you can test it if you want.

I can provide updates if @ptitSeb finds something that can solve the black screen under LIBGL_FB=1 and LIBGL_FB=2 so I can do updates and you can test.

Also you can try Software rendering in MESA as a comparison.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

User avatar
ptitSeb
Posts: 71
Joined: Tue Jan 26, 2016 7:28 pm
languages_spoken: english, french
Has thanked: 0
Been thanked: 2 times
Contact:

Re: [GAMES] Frets on Fire X (Guitar Hero clone)

Unread post by ptitSeb » Mon May 06, 2019 9:24 pm

Ah, black screen on LIBGL_FB=1 or 2 :( ... I need to test that.

andy5macht
Posts: 238
Joined: Mon May 16, 2016 5:25 am
languages_spoken: english, german
ODROIDs: U3, C2, N2
Has thanked: 5 times
Been thanked: 0
Contact:

Re: [GAMES] Frets on Fire X (Guitar Hero clone)

Unread post by andy5macht » Mon May 20, 2019 4:23 pm

this should be useful to get FoFix running, right?
viewtopic.php?f=182&t=34751#p256484

User avatar
meveric
Posts: 10401
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 15 times
Been thanked: 121 times
Contact:

Re: [GAMES] Frets on Fire X (Guitar Hero clone)

Unread post by meveric » Mon May 20, 2019 4:29 pm

Yes this might be very helpful, although I don't know if it concerns gl4es since it uses GLX over EGL and might not need this.
Still it's worth checking it out :)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

User avatar
meveric
Posts: 10401
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 15 times
Been thanked: 121 times
Contact:

Re: [GAMES] Frets on Fire X (Guitar Hero clone)

Unread post by meveric » Mon May 20, 2019 4:29 pm

Yes this might be very helpful, although I don't know if it concerns gl4es since it uses GLX over EGL and might not need this.
Still it's worth checking it out :)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

andy5macht
Posts: 238
Joined: Mon May 16, 2016 5:25 am
languages_spoken: english, german
ODROIDs: U3, C2, N2
Has thanked: 5 times
Been thanked: 0
Contact:

Re: [GAMES] Frets on Fire X (Guitar Hero clone)

Unread post by andy5macht » Wed May 29, 2019 4:35 pm

is there some progress or any news about N2 and FoFix? The rock-festival is getting closer ;)

User avatar
meveric
Posts: 10401
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 15 times
Been thanked: 121 times
Contact:

Re: [GAMES] Frets on Fire X (Guitar Hero clone)

Unread post by meveric » Wed May 29, 2019 5:34 pm

waiting on a new N2 (should arrive soon) only after that I can continue testing
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

User avatar
meveric
Posts: 10401
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 15 times
Been thanked: 121 times
Contact:

Re: [GAMES] Frets on Fire X (Guitar Hero clone)

Unread post by meveric » Thu May 30, 2019 4:45 am

Good news... I got my new N2 today and could confirm LIBGL_FB=1,2, and 3 working.
FB1 and FB2 will use fullscreen mode instead of window mode but work fine. I got about 40 FPS with hedgewars with both FB1 and FB2... not as fast as on other ODROIDs but a lot faster than with MESA.
It gets a little faster if you put the CPUs on performance governor (up to 48 FPS).
FB3 which uses "real windows" and not fullscreen is terribly slow though.
I was also able to start Frets on Fire X with it, bit I haven't set anything up at the moment, so I didn't check further than just the menu, which was working fine.
These users thanked the author meveric for the post:
andy5macht (Fri Jun 07, 2019 4:24 pm)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

andy5macht
Posts: 238
Joined: Mon May 16, 2016 5:25 am
languages_spoken: english, german
ODROIDs: U3, C2, N2
Has thanked: 5 times
Been thanked: 0
Contact:

Re: [GAMES] Frets on Fire X (Guitar Hero clone)

Unread post by andy5macht » Mon Jun 03, 2019 4:33 pm

thanky you very much meveric!
Maybe later today i can try it myself.
I will use your Debian Stretch and install FoFix as you discribed in the first post of this thread.
Do i have to do someting else to get it running on Odroid N2 with LIBGL_FB=1,2 or 3?

User avatar
meveric
Posts: 10401
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 15 times
Been thanked: 121 times
Contact:

Re: [GAMES] Frets on Fire X (Guitar Hero clone)

Unread post by meveric » Mon Jun 03, 2019 4:51 pm

same as on C2 image I guess..
install fofix, install libgl-odroid and run fofix with:

Code: Select all

LIBGL_FB=1 LD_LIBRARY_PATH=/usr/local/lib fofix
That should be enough.
These users thanked the author meveric for the post:
andy5macht (Mon Jun 03, 2019 5:17 pm)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

andy5macht
Posts: 238
Joined: Mon May 16, 2016 5:25 am
languages_spoken: english, german
ODROIDs: U3, C2, N2
Has thanked: 5 times
Been thanked: 0
Contact:

Re: [GAMES] Frets on Fire X (Guitar Hero clone)

Unread post by andy5macht » Fri Jun 07, 2019 3:06 am

now it works!!! On N2 i get about 45FPS in singleplayermode on 640x480 - very promising!
Edit: and about 28FPS in two-player mode on 720x576i :ugeek:

User avatar
meveric
Posts: 10401
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 15 times
Been thanked: 121 times
Contact:

Re: [GAMES] Frets on Fire X (Guitar Hero clone)

Unread post by meveric » Sat Jun 08, 2019 2:01 am

glad it's working for you now :)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

andy5macht
Posts: 238
Joined: Mon May 16, 2016 5:25 am
languages_spoken: english, german
ODROIDs: U3, C2, N2
Has thanked: 5 times
Been thanked: 0
Contact:

Re: [GAMES] Frets on Fire X (Guitar Hero clone)

Unread post by andy5macht » Sat Jun 08, 2019 2:54 am

yeah! thank you very much for making this FoFix-Station reality!
did you see my two questions about analog sound and display rotation in this thread here?: viewtopic.php?f=179&t=33865&sid=fc4b91d ... 00#p258685

andy5macht
Posts: 238
Joined: Mon May 16, 2016 5:25 am
languages_spoken: english, german
ODROIDs: U3, C2, N2
Has thanked: 5 times
Been thanked: 0
Contact:

Re: [GAMES] Frets on Fire X (Guitar Hero clone)

Unread post by andy5macht » Mon Jun 17, 2019 3:13 am

at the moment im at praticing FoFix every day :mrgreen:
sometimes the game crashes (once an hour approximitly) and i have to restart my odroid to get it working again (no keyboard attached and FoFix is autostarting)
but i think its faster to just restart FoFix if it crashes.
so i want to make it running as a service:
what i did:
1. Create Script (does work for Autostart)

Code: Select all

odroid@odroid-stretch64:~# nano fofix.sh
=>

Code: Select all

#!/bin/bash
LIBGL_FB=1 LD_LIBRARY_PATH=/usr/local/lib  /usr/games/fofix
exit 0

Code: Select all

odroid@odroid-stretch64:~# chmod +x fofix.sh
2. Create Service

Code: Select all

root@odroid-stretch64:~# nano /etc/systemd/system/fofix.service
=>

Code: Select all

Description=FoFiX

Wants=network.target
After=syslog.target network-online.target

[Service]
Type=simple
ExecStart=/home/odroid/fofix.sh
Restart=on-failure
RestartSec=2
KillMode=process

[Install]
WantedBy=multi-user.target

Code: Select all

root@odroid-stretch64:~# systemctl daemon-reload
root@odroid-stretch64:~# systemctl enable fofix.service
root@odroid-stretch64:~# systemctl start fofix.service
what i get:

Code: Select all

root@odroid-stretch64:~# systemctl status fofix.service
● fofix.service
   Loaded: loaded (/etc/systemd/system/fofix.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2019-06-16 17:53:24 UTC; 1s ago
 Main PID: 3335 (fofix.sh)
    Tasks: 12 (limit: 4915)
   CGroup: /system.slice/fofix.service
           ├─3335 /bin/bash /home/odroid/fofix.sh
           └─3336 python -OO FoFiX.py

Jun 16 17:53:26 odroid-stretch64 fofix.sh[3335]:     engine = GameEngine(config)
Jun 16 17:53:26 odroid-stretch64 fofix.sh[3335]:   File "/usr/share/fofix/src/GameEngine.py", line 550, in __init__
Jun 16 17:53:26 odroid-stretch64 fofix.sh[3335]:     self.video.setMode((width, height), fullscreen = fullscreen, multisamples = multisamples)
Jun 16 17:53:26 odroid-stretch64 fofix.sh[3335]:   File "/usr/share/fofix/src/Video.py", line 82, in setMode
Jun 16 17:53:26 odroid-stretch64 fofix.sh[3335]:     self.multisampleReset(resolution)
Jun 16 17:53:26 odroid-stretch64 fofix.sh[3335]:   File "/usr/share/fofix/src/Video.py", line 173, in multisampleReset
Jun 16 17:53:26 odroid-stretch64 fofix.sh[3335]:     self.screenError()
Jun 16 17:53:26 odroid-stretch64 fofix.sh[3335]:   File "/usr/share/fofix/src/Video.py", line 168, in multisampleReset
Jun 16 17:53:26 odroid-stretch64 fofix.sh[3335]:     self.screen = pygame.display.set_mode(resolution, self.flags)
Jun 16 17:53:26 odroid-stretch64 fofix.sh[3335]: pygame.error: OpenGL not available
could someone help me whats wrong here? why it tells me: "OpenGL not available"?

User avatar
meveric
Posts: 10401
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 15 times
Been thanked: 121 times
Contact:

Re: [GAMES] Frets on Fire X (Guitar Hero clone)

Unread post by meveric » Mon Jun 17, 2019 4:55 am

services are run as user root by default, what you want is to run it as your user odroid and you want it to run AFTER the desktop is started, while your systemd file should start as soon as the network was started, that is long before the desktop is up and running.

get rid of the systemd service and instead use a autostart file for the desktop for your user odroid.

If you use MATE just go to System -> Preferences -> Personal -> Startup Applications
and add your script here. This will start the game as soon as the user logged into the desktop (if you activated auto login for the user it will be started completely on it's own after reboot).

You can also create a .desktop file under /home/odroid/.config/autostart/ for example:
/home/odroid/.config/autostart/fofix.desktop

Code: Select all

[Desktop Entry]
Name=FoFix
Exec=/home/odroid/fofix.sh
Terminal=false
Type=Application
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

andy5macht
Posts: 238
Joined: Mon May 16, 2016 5:25 am
languages_spoken: english, german
ODROIDs: U3, C2, N2
Has thanked: 5 times
Been thanked: 0
Contact:

Re: [GAMES] Frets on Fire X (Guitar Hero clone)

Unread post by andy5macht » Mon Jun 17, 2019 4:36 pm

Ah i see. Thank you again meveric!
I got autostart already working. I modified the script and use this script in autostart so it should start fofix if it is not alreading running:
the script is not allowed to have "fofix" in its name ;)

Code: Select all

#!/bin/bash

while true
do
if [ ! `pgrep fofix` ] ; then
LIBGL_FB=1 LD_LIBRARY_PATH=/usr/local/lib  /usr/games/fofix
fi
sleep 5
done

andy5macht
Posts: 238
Joined: Mon May 16, 2016 5:25 am
languages_spoken: english, german
ODROIDs: U3, C2, N2
Has thanked: 5 times
Been thanked: 0
Contact:

Re: [GAMES] Frets on Fire X (Guitar Hero clone)

Unread post by andy5macht » Fri Jun 28, 2019 5:20 am

Im training and getting better on FoFix every day. :ugeek:
But on some very well made songs i got no guitar sound.
When a song has "song.ogg" (vocals and drums and so on) and "guitar.ogg" (guitar only) the guitar sound is entirely missing.
Ive read something from google search but settings dont help me (i tried 8bit and 22khz but this just lowers sound quality)
the sad thing is: the really good made songs don´t work for me :(

edit:
jeah i got it working! solution 1 from this thread/post works! https://www.fretsonfire.org/forums/view ... 83#p123383
its this command we need:

Code: Select all

apt-get install python-pyvorbis
(reboot afterwards)

ShaneHaumps
Posts: 10
Joined: Fri Jul 05, 2019 5:24 pm
languages_spoken: english
Has thanked: 1 time
Been thanked: 0
Contact:

Re: [GAMES] Frets on Fire X (Guitar Hero clone)

Unread post by ShaneHaumps » Fri Jul 05, 2019 5:28 pm

Hey Guys! I want to get better at this game can you give me some advice?

Thanks!

andy5macht
Posts: 238
Joined: Mon May 16, 2016 5:25 am
languages_spoken: english, german
ODROIDs: U3, C2, N2
Has thanked: 5 times
Been thanked: 0
Contact:

Re: [GAMES] Frets on Fire X (Guitar Hero clone)

Unread post by andy5macht » Sat Jul 06, 2019 1:52 am

you need to practice day by day to get really good - as me :lol:

ShaneHaumps
Posts: 10
Joined: Fri Jul 05, 2019 5:24 pm
languages_spoken: english
Has thanked: 1 time
Been thanked: 0
Contact:

Re: [GAMES] Frets on Fire X (Guitar Hero clone)

Unread post by ShaneHaumps » Mon Jul 08, 2019 3:11 pm

Woahhhh hehehehe! Like everyone says practice makes it perfect lol

Post Reply

Return to “Games and Emulators”

Who is online

Users browsing this forum: Bing [Bot] and 0 guests