General Nation
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Welcome to the General Nation
 
HomeHomeLatest imagesSearchRegisterLog in
News
Welcome to the General Nation
Search
 
 

Display results as :
 
Rechercher Advanced Search
Latest topics
» Last person who reply wins
Show Battery Status in a PRX EmptyMon Apr 08, 2024 3:08 am by ..::UnLeasheD::..

» 2023
Show Battery Status in a PRX EmptyTue Apr 11, 2023 10:26 am by a frenchie

» 2017
Show Battery Status in a PRX EmptyFri Oct 04, 2019 12:34 pm by ..::UnLeasheD::..

» 2018
Show Battery Status in a PRX EmptyFri Oct 04, 2019 12:33 pm by ..::UnLeasheD::..

» Steam?
Show Battery Status in a PRX EmptyThu Feb 02, 2017 1:48 pm by FiTzY

» 2016
Show Battery Status in a PRX EmptyWed Dec 28, 2016 12:38 pm by ..::UnLeasheD::..

» Join ƓƝ's Agar.io clan!
Show Battery Status in a PRX EmptyMon Dec 07, 2015 5:29 am by FiTzY

» Agar.io - CLANNING
Show Battery Status in a PRX EmptyThu Dec 03, 2015 9:55 am by FiTzY

» Agar.io - UPDATED - Mods and Hacks 2015! (Latest version)
Show Battery Status in a PRX EmptyThu Dec 03, 2015 9:45 am by FiTzY

Donate
Top posting users this week
No user
Today’s top posters
Clan List

GOD

UPH

GGC

Kiwi

SBG

LL

UDH

ASR

SKD

TLG

GAME

ESNF

HACK


 

 Show Battery Status in a PRX

Go down 
+3
๖ĠøŻiŤaŃ๖
FiTzY
..::UnLeasheD::..
7 posters
AuthorMessage
..::UnLeasheD::..
Administrator
Administrator
..::UnLeasheD::..


Administrator
Posts : 396
Join date : 2011-10-12

Show Battery Status in a PRX Empty
PostSubject: Show Battery Status in a PRX   Show Battery Status in a PRX EmptySun Oct 16, 2011 8:26 am

Lol i know nobody will use it but i was bored. If anyone wants to start PSP programming and if someone wants to show the battery status in percentage and minutes, add this C code:

//If battery exist -> show battery status
if (scePowerIsBatteryExist())
{
//If battery is not charging -> show battery status
if (!scePowerIsBatteryCharging())
{
/*Display the battery status & set warning colors*/
if (scePowerGetBatteryLifePercent() > 50) //If battery status is more than 50% -> battery status = white
{
pspDebugScreenSetTextColor(0xFFFFFFF);

pspDebugScreenKprintf("Battery Status: %d%% // %d minutes
remaining\n", scePowerGetBatteryLifePercent(),
scePowerGetBatteryLifeTime());
}


if (scePowerGetBatteryLifePercent() < 50 &&
scePowerGetBatteryLifePercent > 25) //If battery status is less than
50% & more than 25% -> battery status = oragne

{
pspDebugScreenSetTextColor(0xFF00C8FF);

pspDebugScreenKprintf("Battery Status: %d%% // %d minutes
remaining\n", scePowerGetBatteryLifePercent(),
scePowerGetBatteryLifeTime());
}

if (scePowerGetBatteryLifePercent() < 25) //If battery status is less than 25% -> battery status = red
{
pspDebugScreenSetTextColor(0xFF0000FF);

pspDebugScreenKprintf("Battery Status: %d%% // %d minutes
remaining\n", scePowerGetBatteryLifePercent(),
scePowerGetBatteryLifeTime());
}
}
else //appears if the battery is charging
{
pspDebugScreenPuts("Battery is charging...\n");
}
}

else //appears if battery doesn't exist
{
pspDebugScreenSetTextColor(0xFF0000FF);
pspDebugScreenPuts("ERROR: No Battery Inserted!!!\n");
}
PS: // and /**/ are comments. The program that you will use will ignore these parts.



Last edited by ..::UnLeasheD::.. on Tue Oct 18, 2011 2:12 pm; edited 2 times in total
Back to top Go down
FiTzY
Main Developer, Coder
Main Developer, Coder
FiTzY


Developer
Posts : 1598
Join date : 2011-10-11
Age : 27
Location : Belgium

Show Battery Status in a PRX Empty
PostSubject: Re: Show Battery Status in a PRX   Show Battery Status in a PRX EmptySun Oct 16, 2011 8:49 am

Nice guide
Back to top Go down
http://www.general-nation.forumotion.com
๖ĠøŻiŤaŃ๖
Development Team
Development Team
๖ĠøŻiŤaŃ๖


DEVELOPER
Posts : 2516
Join date : 2011-10-11
Age : 26
Location : Skidrow

Show Battery Status in a PRX Empty
PostSubject: Re: Show Battery Status in a PRX   Show Battery Status in a PRX EmptySun Oct 16, 2011 9:24 am

Nice :goodjob:
Back to top Go down
https://general-nation.forumotion.com/
..::UnLeasheD::..
Administrator
Administrator
..::UnLeasheD::..


Administrator
Posts : 396
Join date : 2011-10-12

Show Battery Status in a PRX Empty
PostSubject: Re: Show Battery Status in a PRX   Show Battery Status in a PRX EmptyFri Oct 28, 2011 2:34 am

You don't even know for what this is, right?
Back to top Go down
FiTzY
Main Developer, Coder
Main Developer, Coder
FiTzY


Developer
Posts : 1598
Join date : 2011-10-11
Age : 27
Location : Belgium

Show Battery Status in a PRX Empty
PostSubject: Re: Show Battery Status in a PRX   Show Battery Status in a PRX EmptyFri Oct 28, 2011 3:00 am

I know what this is.
Back to top Go down
http://www.general-nation.forumotion.com
..::UnLeasheD::..
Administrator
Administrator
..::UnLeasheD::..


Administrator
Posts : 396
Join date : 2011-10-12

Show Battery Status in a PRX Empty
PostSubject: Re: Show Battery Status in a PRX   Show Battery Status in a PRX EmptyFri Oct 28, 2011 8:11 am

I was talking to Gozitan.
Back to top Go down
D@rKXx[IEH]
Clan Leader
Clan Leader



Posts : 67
Join date : 2011-10-12

Show Battery Status in a PRX Empty
PostSubject: Re: Show Battery Status in a PRX   Show Battery Status in a PRX EmptyFri Oct 28, 2011 5:03 pm

Hey leash how did u make a UltraPR I Love it but how did u make it?
Back to top Go down
FiTzY
Main Developer, Coder
Main Developer, Coder
FiTzY


Developer
Posts : 1598
Join date : 2011-10-11
Age : 27
Location : Belgium

Show Battery Status in a PRX Empty
PostSubject: Re: Show Battery Status in a PRX   Show Battery Status in a PRX EmptyFri Oct 28, 2011 10:06 pm

c++ i guess
Back to top Go down
http://www.general-nation.forumotion.com
..::UnLeasheD::..
Administrator
Administrator
..::UnLeasheD::..


Administrator
Posts : 396
Join date : 2011-10-12

Show Battery Status in a PRX Empty
PostSubject: Re: Show Battery Status in a PRX   Show Battery Status in a PRX EmptySat Oct 29, 2011 7:20 am

C
Back to top Go down
SPIKE THE R8
Administrator
Administrator
SPIKE THE R8


Posts : 596
Join date : 2011-10-11
Age : 26
Location : United Kingdom

Show Battery Status in a PRX Empty
PostSubject: Re: Show Battery Status in a PRX   Show Battery Status in a PRX EmptySat Oct 29, 2011 8:54 am

Gobble de goop Razz

Nice tuto leash and I know what it does but I have NO Idea what to do with it. Razz
Back to top Go down
http://xasrx.forumotions.net/forum
..::UnLeasheD::..
Administrator
Administrator
..::UnLeasheD::..


Administrator
Posts : 396
Join date : 2011-10-12

Show Battery Status in a PRX Empty
PostSubject: Re: Show Battery Status in a PRX   Show Battery Status in a PRX EmptySat Oct 29, 2011 4:44 pm

Make your own NitePR mod and add this to it. Razz
Back to top Go down
D@rKXx[IEH]
Clan Leader
Clan Leader



Posts : 67
Join date : 2011-10-12

Show Battery Status in a PRX Empty
PostSubject: Re: Show Battery Status in a PRX   Show Battery Status in a PRX EmptyTue Nov 01, 2011 3:13 pm

Do i just put the PRX file from the RevJk file of nitePR into the C?
Back to top Go down
..::UnLeasheD::..
Administrator
Administrator
..::UnLeasheD::..


Administrator
Posts : 396
Join date : 2011-10-12

Show Battery Status in a PRX Empty
PostSubject: Re: Show Battery Status in a PRX   Show Battery Status in a PRX EmptyWed Nov 02, 2011 4:07 am

No.
You need a PSP compiler (PSPSDK) and the source code of NitePR.
Back to top Go down
..::..FrStD-Ch40S..::..
Administrator
Administrator
..::..FrStD-Ch40S..::..


Administrator
Posts : 484
Join date : 2011-10-11
Age : 27
Location : Scetch

Show Battery Status in a PRX Empty
PostSubject: Re: Show Battery Status in a PRX   Show Battery Status in a PRX EmptySun Dec 04, 2011 4:48 pm

D@rKXx[IEH] wrote:
Hey leash how did u make a UltraPR I Love it but how did u make it?

LOL, the BIG secret, can I tell them, leash, or do you prefer to tell them yourself?
Back to top Go down
..::UnLeasheD::..
Administrator
Administrator
..::UnLeasheD::..


Administrator
Posts : 396
Join date : 2011-10-12

Show Battery Status in a PRX Empty
PostSubject: Re: Show Battery Status in a PRX   Show Battery Status in a PRX EmptyTue Dec 06, 2011 12:10 am

do whatever you want Razz
Back to top Go down
..::..FrStD-Ch40S..::..
Administrator
Administrator
..::..FrStD-Ch40S..::..


Administrator
Posts : 484
Join date : 2011-10-11
Age : 27
Location : Scetch

Show Battery Status in a PRX Empty
PostSubject: Re: Show Battery Status in a PRX   Show Battery Status in a PRX EmptyTue Dec 06, 2011 1:39 am

well, both UltraPR and DarkFrost, are all pretty much the same, there was another cheat engine (forgot its name) and it's source code was open to the public...

So unleashed and demon450 just coppied that source code, and eddited it, but the difference is unleashed made most of his, and demon450 didnt xP
Back to top Go down
..::UnLeasheD::..
Administrator
Administrator
..::UnLeasheD::..


Administrator
Posts : 396
Join date : 2011-10-12

Show Battery Status in a PRX Empty
PostSubject: Re: Show Battery Status in a PRX   Show Battery Status in a PRX EmptyTue Dec 06, 2011 8:27 am

demon450 copied everything from MKULTRA v10 source code.
Back to top Go down
thefatboy
Member



Posts : 61
Join date : 2012-06-25

Show Battery Status in a PRX Empty
PostSubject: Re: Show Battery Status in a PRX   Show Battery Status in a PRX EmptySat Jun 30, 2012 11:32 pm

Thanks Leash, this is very useful, atleast for me... Did Deamon really just copy everything from MKultra?
Back to top Go down
..::UnLeasheD::..
Administrator
Administrator
..::UnLeasheD::..


Administrator
Posts : 396
Join date : 2011-10-12

Show Battery Status in a PRX Empty
PostSubject: Re: Show Battery Status in a PRX   Show Battery Status in a PRX EmptySun Jul 01, 2012 7:02 am

almost everything

Back to top Go down
Sponsored content





Show Battery Status in a PRX Empty
PostSubject: Re: Show Battery Status in a PRX   Show Battery Status in a PRX Empty

Back to top Go down
 
Show Battery Status in a PRX
Back to top 
Page 1 of 1
 Similar topics
-
» HAPPY BIRTHDAY GOZITAN!!!!! =DD

Permissions in this forum:You cannot reply to topics in this forum
General Nation :: Gaming :: PSP :: Help-
Jump to: