User avatar
chibcha8
Posts: 12
Joined: Mon Aug 12, 2013 3:00 am

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Sun Sep 08, 2013 3:02 am

Welshy,
You're awesome.

Wish i could thank you more!
-- "They don't think it be like it is, but it do." -Oscar Gamble --

welshy
Posts: 1667
Joined: Mon Oct 29, 2012 2:07 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Sun Sep 08, 2013 6:11 am

chibcha8
All worked ok then I take it? Glad to be of assistance, hope you enjoyed compiling your own Binary rather than just Downloading one and in turn learning a bit about computing/code!
"The list of things I have heard now contains everything!"

weeman1989
Posts: 3
Joined: Mon Sep 09, 2013 12:35 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Mon Sep 09, 2013 12:45 pm

thanks to this thread I managed to get it up and running without too much trouble.

Has anyone been able to run it remotly using vnc? All I get is a black window. I have been able to run other programs remotly but am not sure if its a problem with my connection or the emulator (or even if this is even possible) as I am quite new to this.

Any help would be much appreciated

welshy
Posts: 1667
Joined: Mon Oct 29, 2012 2:07 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Mon Sep 09, 2013 12:52 pm

weeman1989
I think you will find most of the emulators will not work remotely due to the way the screen in rendered and/or the facility is not included in the core program, sorry!

PS Did you use the original instructions by felix3008 on Page 1 or the ones I posted (welshy) for chibcha8 on Page 4? How did you find them? Because I am now going to add a 'Guide' which will be included in the SOURCE CODE - Compile Your Own Binaries section of Emulation on the Raspberry Pi (NEW) 'Sticky' thread.
"The list of things I have heard now contains everything!"

weeman1989
Posts: 3
Joined: Mon Sep 09, 2013 12:35 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Mon Sep 09, 2013 8:13 pm

thanks for the reply

I followed yours, the only additional step I took was sudo apt-get update

welshy
Posts: 1667
Joined: Mon Oct 29, 2012 2:07 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Mon Sep 09, 2013 8:39 pm

weeman1989
Thanks, yes I didn't detail that step (although bash does let you know its required). I will add it to the Guide.
"The list of things I have heard now contains everything!"

User avatar
MarcusRaven
Posts: 11
Joined: Mon Sep 16, 2013 3:58 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Sat Sep 21, 2013 4:08 pm

Is it possible to adjust frameskip settings with this? I test frameskip by using The Nightmare Before Christmas: The Pumpkin King because it has the most obvious use of Sprite Flicker. I know the frameskip is off, because a shadow of Oogie Boogie is supposed to be flickering in the moon in the title screen. He's either solid or not there. Same goes with when Jack takes damage, solid or not there. This shows that there is some kind of frame skip going on.

Is there also any way to see the FPS while running a game? I'm very interested in learning more about this. It seems gpSP has been fully integrated well with RetroPie. Can't wait to see if any other leaps forward are made. ^_^
Time is priceless. Waste it wisely.

welshy
Posts: 1667
Joined: Mon Oct 29, 2012 2:07 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Sat Sep 21, 2013 4:45 pm

MarcusRaven
You can with a source built Binary, I'm not sure with RetroPie.The 'Standard' Source Build is default at Frameskip=1 but can be adjusted in the GUI.
"The list of things I have heard now contains everything!"

User avatar
MarcusRaven
Posts: 11
Joined: Mon Sep 16, 2013 3:58 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Sat Sep 21, 2013 6:12 pm

welshy wrote:MarcusRaven
You can with a source built Binary, I'm not sure with RetroPie.The 'Standard' Source Build is default at Frameskip=1 but can be adjusted in the GUI.
If there's any way to do it with the RetroPie setup, I'd love some insight. Is any other emulators' frameskip settings in a certain config file? Might be there. I'll check when I get home if I can track anything down. (Currently leaving the office.)

EDIT: So, the emulator executable that EmulationStation uses can run from the desktop. Its standard skip it 2 frames. I tried setting it down to 0, and no apparent change. Tried setting it to 1 with random skips so that the flicker should (in theory) still work, but no apparent change. It really seems like there's something hard coded somewhere. Any ideas?
Time is priceless. Waste it wisely.

gilbdeth
Posts: 37
Joined: Fri May 17, 2013 9:49 am

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Tue Nov 26, 2013 7:49 pm

the emulator works perfect, but I have one odd thing that irratates me
when i press select+R1 i get the menu up but when you press up and down its soo sensitive it flys up and down the menu and makes selecting anything really hard, usually takes a while to actually get what you want!
is there a way of slowing this down?

aronczegledi98
Posts: 2
Joined: Sun Jan 12, 2014 8:57 am
Contact: Website

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Tue Jan 21, 2014 1:04 pm

Hi!

I made a video about setting up and playing with gpSP. :)
Thank you for watching.
http://www.youtube.com/watch?v=E3oQSAvYSSw

KitchUK
Posts: 256
Joined: Fri Jul 19, 2013 5:40 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Tue Jan 21, 2014 6:58 pm

gilbdeth wrote:the emulator works perfect, but I have one odd thing that irratates me
when i press select+R1 i get the menu up but when you press up and down its soo sensitive it flys up and down the menu and makes selecting anything really hard, usually takes a while to actually get what you want!
is there a way of slowing this down?
I had this problem with the Xbox 360 pad. I had to add the dpad-as-button command to the rc.local file and then reconfigure gpsp. I also had to reconfigure every other emulator. It was a massive pain but worth it as now I can play advance games with the dpad as originally intended.

welshy
Posts: 1667
Joined: Mon Oct 29, 2012 2:07 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Thu Jan 23, 2014 10:05 am

gilbdeth/KitchUK
If your using an XBox360 Pad (or the drivers) adding --dpad-only to the rc.local script forces the use of the D-Pad ONLY (ignoring both analogue sticks), without having to re configure the emulator. I haven't tested this with GpSP, but it works successfully with other emulators.
"The list of things I have heard now contains everything!"

drapacioli
Posts: 65
Joined: Tue Feb 05, 2013 8:33 pm
Location: Tampa, FL, USA

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Thu Feb 20, 2014 7:58 pm

Awesome, this is just what I was looking for! One problem though, when I try to start the emulator, the menu is cut off no matter what resolution I'm on, so I can't see what I'm supposed to do! How do I reduce the window size on launch?

welshy
Posts: 1667
Joined: Mon Oct 29, 2012 2:07 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Thu Feb 20, 2014 8:45 pm

drapacioli
You probably need to change your overscan settings

See Here - http://elinux.org/RPiconfig
"The list of things I have heard now contains everything!"

drapacioli
Posts: 65
Joined: Tue Feb 05, 2013 8:33 pm
Location: Tampa, FL, USA

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Fri Feb 21, 2014 8:31 pm

welshy wrote:drapacioli
You probably need to change your overscan settings

See Here - http://elinux.org/RPiconfig
The overscan is already set properly for my desktop though? Nothing is cut off on the boot sequence or the desktop environment, only when I try to use this emulator.

Vanfanel
Posts: 433
Joined: Sat Aug 18, 2012 5:58 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Sat Feb 22, 2014 1:50 pm

drapacioli wrote:
welshy wrote:drapacioli
You probably need to change your overscan settings

See Here - http://elinux.org/RPiconfig
The overscan is already set properly for my desktop though? Nothing is cut off on the boot sequence or the desktop environment, only when I try to use this emulator.
This emulator is fantastic, but it has a funny way of calculating it's scaling area.
I fixed it some time ago. Try my gpsp binary here instead:

https://github.com/vanfanel/binaries

forgeflow
Posts: 14
Joined: Wed Feb 12, 2014 7:10 am

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Sat Mar 01, 2014 6:23 am

Vanfanel wrote:Is there a way to remap USB joypad buttons?
xboxdrv is the best bet. Even if you don't use an xbox controller, you can use xboxdrv to completely remap your usb stick's input for any game. It's kind of hairy trying to get reasonable information on it, but it does come with a number of example configurations and occasionally yelling search terms into google will come up with a page with some clear instructions on how to get it set up.

forgeflow
Posts: 14
Joined: Wed Feb 12, 2014 7:10 am

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Sat Mar 01, 2014 6:25 am

pjexposito wrote:Hi,
can I use xboxdrv with this emulator? How? I've installed the xboxdrv but there is not joystick on the menu section.
Thanks.
Yes, here is my xboxdrv config file for this game:

Code: Select all

[xboxdrv]
silent=true
deadzone=4000
trigger-as-button=true
led=2
dpad-as-button=true

[ui-buttonmap]
dl=KEY_LEFT
dr=KEY_RIGHT
du=KEY_UP
dd=KEY_DOWN

## remap all the buttons to the keys used in the default gpsp setup
y=KEY_SPACE # note:this does nothing
b=KEY_X
a=KEY_Z
x=KEY_F10
start=KEY_ENTER
back=KEY_BACKSPACE
guide=KEY_ESC
lb=KEY_A
lt=KEY_A
rb=KEY_S
rt=KEY_S

forgeflow
Posts: 14
Joined: Wed Feb 12, 2014 7:10 am

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Sat Mar 01, 2014 6:38 am

I had this problem with the Xbox 360 pad. I had to add the dpad-as-button command to the rc.local file and then reconfigure gpsp. I also had to reconfigure every other emulator. It was a massive pain but worth it as now I can play advance games with the dpad as originally intended.
I generally create a new config file for xboxdrv for each emulator. I write a wrapper bash script that kills any currently running xboxdrv instance, and invokes a new one with the custom config. Here's an example:

Code: Select all

#!/bin/bash
## kill any existing xboxdrv setup and startup the gpsp config
sudo killall xboxdrv 2>/dev/null
sudo xboxdrv -i 0 -c ~/.config/xbox-gba.cfg --silent --quiet & sleep 1
/usr/local/bin/gpsp/gpsp

KitchUK
Posts: 256
Joined: Fri Jul 19, 2013 5:40 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Tue May 13, 2014 5:58 pm

Vanfanel wrote:
drapacioli wrote:
welshy wrote:drapacioli
You probably need to change your overscan settings

See Here - http://elinux.org/RPiconfig
The overscan is already set properly for my desktop though? Nothing is cut off on the boot sequence or the desktop environment, only when I try to use this emulator.
This emulator is fantastic, but it has a funny way of calculating it's scaling area.
I fixed it some time ago. Try my gpsp binary here instead:

https://github.com/vanfanel/binaries
Hi Vanfanel, what exactly do you mean about the scaling issue? Could you specify what you changed as the readme on your github seems to be blank. Did you perform any other tweaks?

Vanfanel
Posts: 433
Joined: Sat Aug 18, 2012 5:58 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Wed May 14, 2014 8:50 am

Hi! I don't remember well now. I think it wasn't scaling the image right when I used a 640x480 phisical resolution using tvservice, so I changed the scaling function.
I didn't perform any other tweaks.

rymate1234
Posts: 24
Joined: Wed Oct 03, 2012 8:22 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Sat May 17, 2014 8:49 pm

I have a small issue when running the prebuilt binary in the post.

When running the emulator through the analog output on the raspberry pi, the sides of the emulator interface appear to be cut off, no matter what settings I use for the sdtv aspect ratio.

The standard console is fine, however the emulator interface is cut off.

A video demonstrating this bug can be found here: https://www.youtube.com/watch?v=7G_1wjJ ... e=youtu.be (apologies for quality).

I've tried Vanfanel's version, but that cut off the top and bottom as well :(

DPR
Posts: 21
Joined: Mon Mar 18, 2013 12:45 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Wed May 21, 2014 6:58 am

Try to add "overscan_scale=1" line to config.txt at the boot directory.

KitchUK
Posts: 256
Joined: Fri Jul 19, 2013 5:40 pm

Re: [Tutorial] gpSP - Full Speed GBA Emulator with Sound and

Mon Jun 16, 2014 10:50 pm

Is it possible to add a scanlines shader (with bilinear filter) with this port?

Any shaders?

Return to “Gaming”