Getting The Best Snes Emulation On Your Gp2x


ste_167

Well-Known Member
Joined
Aug 14, 2003
Messages
1,202
Location
England
Website
Visit site
A simple guide - feel free to point out errors! There seem to be so many files around nowadays that I'm sure some people must be confused which ones to use. Using this guide, you will get amazing results: totally smooth Snes emulation on your GP2X.

1) Download SquidgeSnes and transfer all files to SD card

2) Download the latest MMU Hack of SquidgeSnes and replace previous squidgesnes.gpe file on your card: http://rapidshare.de/files/25698544/squidg..._0.37c.zip.html

Follow steps 3-6, or alternatively use this GPE writer

-- - --- - -
3) Using Programmer's Notepad , copy and paste the following (don't worry you don't need to learn how to code!):

#!/bin/sh

/mnt/sd/cpu_speed 1 0 260 1.0
cd /mnt/sd/<Name of folder where you've transferred 'squidgesnes.gpe'>/
./squidgesnes.gpe
sync

cd /usr/gp2x/
exec /usr/gp2x/gp2xmenu


4) Amend '260' to whatever clockspeed you require.
5) Set line endings to Unix: Tools > Line Endings > Unix (LF)
6) Save as snes.gpe (or whatever you want) and transfer to sd card

-- - --- - -

7) Finally, transfer CPU/LCD Tweaker]CPU/LCD Tweaker (cpu_speed.gpe) to card (top-level, not in a folder) and rename to cpu_speed rather than cpu_speed.gpe (ie. no extension).

Running your saved script should now start the latest version of squidgesnes at your desired clockspeed.
 
I would set gamma to 0.8 isntand of 1, looks way better
I would also set better ram timeings, that will give you a few extra fps at no cost.
 
Do you have a script modification for the ram settings? That script was based on the previous LCD Tweaker program.
 
This is getting pretty complicated for us non-programmers! Why doesn't someone prepare this script and put it alongside the SquidgeSNES folder in the files section. It does sound useful, but I think I would mess it up for sure.
 
well, read the readme

You can use this commandline arguments in a script ... a proper script looks like this:
---
#/bin/sh
/mnt/sd/cpu_speed.gpe --upll -timing 1 --cpuclk 230 --gamma 0.6 --tras 5 > /mnt/sd/output.txt
cd /usr/gp2x
exec /usr/gp2x/gp2xmenu


the default settings are tRC(8) tRAS(16) tWR(3) tMRD(8) tRFC(8) tRP(8) tRCD(8) while tRC(6), tRAS(6), tWR(3), tMRD(5), tRFC(5), tRP(4), tRCD(4) is the minimum setting according to the datasheets of the mk1 ram if i remember right, but even theese allow more tweaking.

i would however sugest to find th optimal ram settings for your gp, nearly evry value can be optimized, not only the tras as in the example script.

http://www.gp32x.de/board/index.php?showt...l=tras&st=0
http://www.gp32x.de/board/index.php?s=&am...st&p=415723
 
Last edited by a moderator:
Cheers, Vimacs. I'll give it a try. The fully optimised values worked when I used the GUI.

gamefan999 posted on Jul 11 2006 at 02:18 PM said:
This is getting pretty complicated for us non-programmers! Why doesn't someone prepare this script and put it alongside the SquidgeSNES folder in the files section. It does sound useful, but I think I would mess it up for sure.

If you follow it step by step, it's very straightforward really. If you need any help, just post on this thread and we'll get it sorted out for you.

The problem wth a ready prepared script is that it couldn't cater for different values. For example, not everyone's GP2X can clock to 260Mhz, and then there's some who may want to overclock far more... Plus, people like to set up their folders differently on their GP2x's and this would stop the script working. It would end up being more complicated in the long run. It's easier to follow a few simple steps so that you know what's happening. Plus, you can change the script to run other emulators too.
 
Last edited by a moderator:
This is a great guide. It took me a while to figure all this out from various posts. Great to have it all in one place!
 
I can´t really get this whole gamma and trs stuff sorted out, but what I would like to do, is to run sqidgesnes with all the optimized gamma stuff (everything to make it work nicely) and with a cpu speed of 250. Squdgesnes.gpe is in the folder mnt/sd/Games/SNES, and the cpu speed.gpe is in the root of my sd card. So could somebody maybe write a script for me, please? :unsure:
 
I can´t really get this whole gamma and trs stuff sorted out, but what I would like to do, is to run sqidgesnes with all the optimized gamma stuff (everything to make it work nicely) and with a cpu speed of 250. Squdgesnes.gpe is in the folder mnt/sd/Games/SNES, and the cpu speed.gpe is in the root of my sd card. So could somebody maybe write a script for me, please?

#!/bin/sh

/mnt/sd/cpu_speed.gpe 1 0 250 0.8
cd /mnt/sd/Games/SNES/
./squidgesnes.gpe
sync

cd /usr/gp2x/
exec /usr/gp2x/gp2xmenu


The above will set the gamma to 0.8, as recommended by Vimacs, with a clockspeed of 250MHz. It's set for your folder set-up and you won't need to rename cpu_speed either.

Download - snes.gpe


Just to point out.. the removal of the extension on cpu_speed is simply so that it doesn't show up in the games list on your GP2x. As can be seen by the above script, it will work without renaming if you add '.gpe' to the script.
 
The new script for squidgesnes is great, here's my spin on the script if it helps anyone.

#!/bin/sh

/mnt/sd/cpu_speed 1 0 257 0.6
cd /mnt/sd/<Name of folder where you've transferred 'squidgesnes.gpe'>/
./squidgesnes.gpe
sync

cd /usr/gp2x/
exec /usr/gp2x/gp2xmenu
 
Well, when I run the script, it starts the cpu speed program instead of squidgesnes and even if I set the freq. on 250 and run squidgesnes most of the SNES games run between 2-9fps, and it isn´t realy that much fun playing snes as a slideshow. So, either there´s something wrong with the script, am i doing something wrong or it´s just not possible playing a smooth game of Megaman. :blink: :huh:
 
I think you have the newer version of cpu_speed.gpe, mtracy.
If you can find the older one, it should work, I'll see if I can work out the options on the new one.

EDIT: I think this might work.
Code:
#!/bin/sh

/mnt/sd/cpu_speed.gpe --upll --cpuclk 250 --gamma 0.8
cd /mnt/sd/Games/SNES/
./squidgesnes.gpe
sync

cd /usr/gp2x/
exec /usr/gp2x/gp2xmenu

I don't know if I need to use the --upll option, or if I need to add any others
 
@Aninhumer: With your script it brings me to the cpu_speed program first, too. Anyway, thanks for trying. But where could I find the old cpu_speed.gpe? Anyone know?
 
Back
Top