1. MAME, GNGeo with frontend, the PC-Engine-Emu from Hermes .... oohm ... uae4all ... i forgot about the rest...
2. select the clockspeed in the menu
3. The Tweaker sets the cpu-speed ... right ...
The script runs the tweaker in command-line mode. that means it sets the speed and lcd-timing, but doesn't run the menu. It doesn't run constantly in the background ... it runs once, sets the speed and that's it. After that, you run your program and it runs at the speed the tweaker has set. When you quit the program, the gp2x-menu will be loaded an it resets the cpu-speed.
4.
I'll just paste what i wrote per PM to another user:
The first thing you have to do is ... get a propper text-editor. The windows-editor uses a false format (the lineending is different), so you have to download a new one with unix formation. I use EditPlus:
http://www.editplus.com/
In EditPlus go to the menu and look into [Document] -> [FileFormat] ... it has to be UNIX ... not PC or Mac. The most other advanced editors have similar menupoints.
Now to the scripting:
The GP2X runs files with the ending .gpe or .gpu. GPUs only run from the utility-menu and GPEs only from the Game-Menu, but the content can be the same. A proper script looks like this:
Code:
#!/bin/sh
/mnt/sd/cpu_speed.gpe 1 2 250 0.6
cd /mnt/sd/mamegp2x/
./mame_gp2x.gpe
sync
cd /usr/gp2x/
exec /usr/gp2x/gp2xmenu
Download the file
here
You can alter the lines for your need. Keep #!/bin/sh and the last part from "cd /usr/gp2x/" to the end. The rest can be alternated.
The address /mnt/sd/ is the root-directory of your SD-Card, so if you copy anything directly to the sd-card and don't use directorys, the files are here. I have my cpu_speed.gpe here, but you can alter the path. If you don't want the cpu_speed program to appere in the game-menu, trim the .gpe ending from the filname and out of the script ... it runs too.
To overclock with the tweaker you have to use parameters ... now follows a part from the readme:
The first parameter sets the clock-generator. Choose 0 for FPLL and 1 for UPLL.
The second parameter sets the prescaler for the LCD-timing. Get your prefered values with the graphical-menue. Choose values between
-20 and 36 for FPLL-mode and -5 and 10 for UPLL-mode.
The third parameter sets the CPU-frequency in MHz. Choose a value between 33MHz and 320MHz.
If you use values which are too high or too low, the program exits without changing anything.
The forth parameter sets the gamma-value. You can use values from 0.02 up to 10 where 0.02 is dark and 10 is bright.
If you run a firmware higher than 1.0.0 (the most people do) set the first parameter to 1. For the second -1 to 2 are good values, but you have to find YOUR value yourself smile.gif.
For the Mhz-value ... don't choose a value to high .. try
this program to get your maximal cpu-frequency (it writes txt-files ... the last entry in the speed.txt like "xxxMhz checked" is the maximal clock you can get ... for practical use choose a value which is 5-10mhz smaller).
You can set the last parameter ... but you don't have to. Find a propper gamma-value for yourself.
Now to the last step ... the program you want to run with a overclocked cpu.
Change to the directory where your program is. In the example there's a directory calles "mamegp2x" on the sd-card and in it is the program. Since the sd-card-root equals the unix-address /mnt/sd/, you have to add it to you directorychange (if you are in /mnt/sd/ you don't HAVE to do it ... but it makes things easier for starters). cd is the command for a directorychange, so "cd /mnt/sd/mamegp2x" changes to the equivalent directory on the sd-card. To run the program in it (in the example mame_gp2x.gpe), you have to add a ./ befor the filename or the gp2x won't find the program.
The sync command tells the gp2x to write any outstanding files, so you dont loose any savegames/-states or configurations.
The rest in the script reruns the gp2x-menu.
Now you can save the script as a GPE or GPU and place it in a directory of your SD-card. Since you use absolute paths, you can place the file anywhere you want.
If you have script and the program you want to overclock in the same directory, you can delete the line "cd /mnt/sd/...blablabla...".
I hope i could help you with this ... if you have any further questions don't be afraid to ask.