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 daryy, our newest member.

Who's Online: 4 Guests, 0 Users

Total Members: 556
Total Posts: 13060
Total Topics: 1480
Total Categories: 8
Total Boards: 35

Recent Posts:

Re: Lua 5.1.4 help. by daryy
Re: PGELua Help - need term for a special rotation fix (mathematical issue) by yaustar
Re: Lua Loader? by Buddy4point0
Re: Lua Loader? by osgeld
Re: Lua Loader? by acer5050
Re: Lua Loader? by bumuckl
Re: Lua Loader? by acer5050
Re: Lua Loader? by bumuckl


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