Submit Your Own Code

PSP Lua CodeBase : PSP Nickname

Description:
  This code will read PSP's nickname from flash1:/registry/system.dreg and print it on screen.

 -- EVILMANA.COM PSP LUA CODEBASE
-- www.evilmana.com/tutorials/codebase
-- PSP Nickname
-- SUBMITTED BY: myschoo

-- Print PSP's name on screen 
-- by myschoo 

white = Color.new(255,255,255) 

name = io.open("flash1:/registry/system.dreg","r") 
name:seek("set", 0x2380) 
readname = name:read(27) 
name:close() 

while true do 

screen:clear() 

screen:print(5, 5, "Find Name by myschoo", white) 
screen:print(100,100, "Your PSP name is:" , white) 
screen:print(100,115, readname , white) 

screen.waitVblankStart() 
screen.flip() 
end

Back to CodeBase
 

Please welcome anthonyjee, our newest member.

Who's Online:

Total Members: 522
Total Posts: 13085
Total Topics: 1515
Total Categories: 7
Total Boards: 42

Recent Posts:

Re: Hello every body... by DeniseVera
Need help please by Robbynator
Re: Hello every body... by horvathann
Re: background criminal record check by backgroundchecker
background criminal record check by backgroundchecker
Intro to Perl Part 2: What are Scalars? & Examples by Chi Kitory
Intro to Perl Part 1 About Perl and Hello World by Chi Kitory
Re: Trying To Get Rid of the Spammers by Charlie


Copyright © 2006-2009 www.EvilMana.com All rights reserved.
EvilMana Logo by emcp and Charlie