thanks
Printable View
thanks
Hi,
i added a few lines for me to have the same display functionality like Nieko added for the poweradapter (scepowertick) for the battery mode (for short trips or test drives).
You can switch the "full power" mode on or off by pressing R+L Trigger at the same time (without X) in Map mode.
I also added an new variable AUTOZOOMHYSTERESE to the config.txt and implement this to the autozoomcode from Nieko to have the possibilty to change this value without new compiling (not tested yet).
The AUTOZOOMHYSTERESE variable is preseted with 4 if there is no entry in the config.txt.
Search for ... to find my changes.
------------------
int displaypowermode=0;
int autozoomhysterese=4;
------------------
if (strncmp(line,"AUTOZOOMHYSTERESE=",18)==0) {
autozoomhysterese=atoi(&line[18]);
}
------------------
if ((displaypowermode==1) || (scePowerIsPowerOnline() > 0))
{ scePowerTick(0); }
------------------
// GoDE Displaypowermode to change with PSP_CTRL_LTRIGGER and PSP_CTRL_RTRIGGER
if ((cpad.Buttons & PSP_CTRL_LTRIGGER) && (cpad.Buttons & PSP_CTRL_RTRIGGER) && !(cpad.Buttons & PSP_CTRL_CROSS) && timer>10/(333/Clock))
{
displaypowermode++; //more modes possible
if (displaypowermode>1)
{
displaypowermode=0;
}
switch (displaypowermode)
{
case 0:
display_message("DISPLAYPOWERMODE","","PSP SETTINGS OR POWERADAPTER",1200);
break;
case 1:
display_message("DISPLAYPOWERMODE","","FULL ON",1000);
break;
}
// MIB.42_5 Special for recording thread statuses
if ((cpad.Buttons & PSP_CTRL_LTRIGGER) && (cpad.Buttons & PSP_CTRL_RTRIGGER) && (cpad.Buttons & PSP_CTRL_CROSS) && timer>10/(333/Clock))
....
------------------
if (speed*speedfix - (curautozoom + autozoomhysterese/1.8523*speedfix) > autozoom) {
if (zm<TILE_NUM/2) {
curautozoom += autozoom;
zoom++;
zm = powerOf(zoom-1);
mysleep(300000);
}
}
if (speed*speedfix < curautozoom - autozoomhysterese/1.8523*speedfix) {
------------------
Attached my main.c (changed 5.01 from Nieko) and my eboot for generic
GoDE (PSP 3.52#4 M33 & Holux M1000)
MAPTHIS=BEST PSP Outdoor Software :thumbup:
Nice, more and more contributions to Deniska :)
Good idea :). I've changed my version to include this variable. All the changes are:
- Included AUTOZOOMHYSTERESIS config directive;
- Included AUTOZOOMENABLED config directive (1 to enable on startup, 0 to disable);
- R+L trigger toggles autozoomenabled;
See my original post for the EBOOT (PSP-290)+source code: http://www.dcemu.co.uk/vbulletin/sho...09&page=37#368
Cool app...
I tried, but I can't get it to work, neither my version nor the official one.
I can compile it, but when I start the EBOOT there's a black screen with some red lines (the same red lines I got when a geodata search took too long) and then it goes back to XMB...
:( i'd love to tried that one!
...maybe GoDE can! ;) i try the one he share, but i can't see autozoom work... :(
i'd love too to see another autozoom feature, not based on the speed, but to always see the next direction (i hope u can understand what i mean), but i don't know how to do it... :(
...i have much ideas to improve MapThis! the layout, the scrooling, the button assignments and other stuff (some include changes in GMDL too), so many that i'm thinking about learnig psp language coding (i know just i little bit of c and vb)
Keep up the good work!
GoDE: if you can tell me how you compiled it, I can try it out :). I'm using the latest PSPSDK and toolchain from SVN under Linux.
DrunphO: if you have good ideas, you could talk to deniska about them :). If he thinks they're good too, they might end up in the official version.
The makefile is different for the Generic version ?