PSP3D Left Header
PSP3D Header Right
PSP3D Logo CraveOnline Logo
Help the PSP 3D community grow!
Vote for us below:


Vote on the PSP Top 200
PSP Top 200 - Games, Videos, Wallpapers, Files, Hacks, Homebrew

Homebrew/Hacking - Discuss the latest available homebrew applications and games.

Welcome to PSP3D.com - Sony PlayStation Portable News, Homebrew, Hacks, Reviews, Videos, Mods, Forums!

You are currently viewing our website as a guest, which gives you limited access to reply and interact to discussions and other members. By joining our free community, you will be able to post topics in the forums, communicate privately with other members, vote in polls, and access many other special features.

Registration is fast, simple, and absolutely free so join our community today!

Go Back PSP3D.com - Sony PlayStation Portable News, Homebrew, Hacks, Reviews, Videos, Mods, Forums > PSP Forums > Homebrew/Hacking

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-17-2006, 10:32 AM
mimminito's Avatar
mimminito mimminito is offline
Senior Member
 
Join Date: Dec 2005
Posts: 248
Points: 0.83
Donate
LUA Image size?

what is the largest size of an image i can load in LUA? when i try to load a font .png, it wont let me. i get an 'error loding image' message. is there a way to stop this error and load the image?
__________________

Drangonforce!!!!The best guitar players ever!!!!!!!! Immense Solo's
http://mimminito.tk My PSP Website for my upcoming homebrew application. Please visit


Kia Picanto!!! Come Join!
Reply With Quote
  #2 (permalink)  
Old 05-17-2006, 07:27 PM
PopcOrn DeVil's Avatar
PopcOrn DeVil PopcOrn DeVil is offline
Highly Respected Member
My Mood:
 
Join Date: Jan 2006
Location: Western Australia
Age: 15
Posts: 911
Points: 1.13
Donate
Send a message via AIM to PopcOrn DeVil Send a message via MSN to PopcOrn DeVil
Well you have to make sure it's a .png or a .jpg image type first. I know you can defiantly pictures over 1000x1000 pixels to load in luaplayer, but it'd be better to tile it. You've probably loaded the image the wrong way.
Reply With Quote
  #3 (permalink)  
Old 05-17-2006, 07:39 PM
xlxmarkxlx's Avatar
xlxmarkxlx xlxmarkxlx is offline
Senior Member
 
Join Date: Nov 2005
Location: TORONTOO!!YEAHHHH
Posts: 1,234
Points: 22.59
Donate
Send a message via AIM to xlxmarkxlx
it will probably crash if you try to load a really big picture.
Reply With Quote
  #4 (permalink)  
Old 05-17-2006, 07:47 PM
PopcOrn DeVil's Avatar
PopcOrn DeVil PopcOrn DeVil is offline
Highly Respected Member
My Mood:
 
Join Date: Jan 2006
Location: Western Australia
Age: 15
Posts: 911
Points: 1.13
Donate
Send a message via AIM to PopcOrn DeVil Send a message via MSN to PopcOrn DeVil
Over 3000x3000 would most likely crash it, 1000x1000 is about as far as you want to go.

Altair managed quite a big picture for redalua, but it was in low quality. Agaska also did have quite a big picture, but used the tileing technique for GTA2lua.

The tileing technique is when you get close to another part of the map, then it'll appear and things you are far away from will be cleared from the memory, and then later reblitted when they are in range.

Smart idea I thought.
Reply With Quote
  #5 (permalink)  
Old 05-17-2006, 07:54 PM
Kjeezy's Avatar
Kjeezy Kjeezy is offline
Senior Member
 
Join Date: Nov 2005
Location: In da ghetto
Age: 17
Posts: 633
Points: 1.00
Donate
Send a message via AIM to Kjeezy Send a message via MSN to Kjeezy Send a message via Yahoo to Kjeezy
Wow, I need to learn how to do that, I didn't kno such a thing existed being the noob programmer I am. Iz there a tutorial on this. That tek-neek seems like it could come in handy.
__________________


Reply With Quote
  #6 (permalink)  
Old 05-17-2006, 08:08 PM
PopcOrn DeVil's Avatar
PopcOrn DeVil PopcOrn DeVil is offline
Highly Respected Member
My Mood:
 
Join Date: Jan 2006
Location: Western Australia
Age: 15
Posts: 911
Points: 1.13
Donate
Send a message via AIM to PopcOrn DeVil Send a message via MSN to PopcOrn DeVil
Quote:
Originally Posted by Kjeezy
Wow, I need to learn how to do that, I didn't kno such a thing existed being the noob programmer I am. Iz there a tutorial on this. That tek-neek seems like it could come in handy.
I don't think there's a tutorial on it, but say if something comes within 300 pixels ofthe x coordinate of your player then it with screen:blit(x,y,whatever) and thing behind clears.

*whatever*:clear() .
Reply With Quote
  #7 (permalink)  
Old 05-17-2006, 08:25 PM
Kjeezy's Avatar
Kjeezy Kjeezy is offline
Senior Member
 
Join Date: Nov 2005
Location: In da ghetto
Age: 17
Posts: 633
Points: 1.00
Donate
Send a message via AIM to Kjeezy Send a message via MSN to Kjeezy Send a message via Yahoo to Kjeezy
Oh ok, i'll figure it out using your example, thanx. I think I get it. I'm gonna test it out on something.
__________________


Reply With Quote
  #8 (permalink)  
Old 05-18-2006, 04:21 AM
mimminito's Avatar
mimminito mimminito is offline
Senior Member
 
Join Date: Dec 2005
Posts: 248
Points: 0.83
Donate
ok thankyou peoples. well the iumage i am trying to load is 944 x 16 pixels. but it wont load, says there is an error. the image is a .png, and i got it from LUMOS site. im trying to use it as a font, but cant unless i make it really small, like the size of the psp screen
__________________

Drangonforce!!!!The best guitar players ever!!!!!!!! Immense Solo's
http://mimminito.tk My PSP Website for my upcoming homebrew application. Please visit


Kia Picanto!!! Come Join!
Reply With Quote
Reply

« Search for Screenshot of the Socom InGame Keyboard | IR HEX code help »



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Points Per Thread View: 0.00
Points Per Thread: 1.00
Points Per Reply: 0.10

Similar Threads
Thread Thread Starter Forum Replies Last Post
tiff image to jbg sk8rboi12 Homebrew/Hacking 12 06-07-2006 07:51 PM
The NEW 2.xx+ Image glitch/exploit thread phant0mspid3r Homebrew/Hacking 458 04-29-2006 02:26 PM
reducing psp video size gschept180 Homebrew/Hacking 3 02-16-2006 03:51 PM
Flash Size? SpongeFreak52 General PSP Discussion 3 02-14-2006 05:39 PM
ROM PLAY SIZE!!!!!!!! xlxmarkxlx Homebrew/Hacking 6 01-28-2006 01:23 PM





Crave Partner Sites: CraveOnline.com | DVDFile.com | PSP3D.com | ComingSoon.net | SuperHeroHype.com | RedBalcony.com | ActionTrip.com | CraveLyrics.com
Soundtrack.net | CraveFix.com | SpikedHumor.com | RPGamer.com | TattooNow.com | ImpactWrestling.com | SeekLyrics.com | PedalBMX.com | WildKO.com
vidKing.com | StrategyInformer.com | HHdb.com | RapLeagues.com | HipHop-Lyrics.com | Cravecocktails.com | ThePhatPhree.com | RideJudge.com | HottieSpots.com

PSP3D Footer Left Powered by Custom vB Version 5.1.0 for Crave Online Media, LLC.
Copyright © 2000 - 2007, Jelsoft Enterprises Ltd. and PSP3D.com.
LinkBacks Enabled by vBSEO 3.0.0 RC8

All times are GMT -4. The time now is 01:20 AM.
PSP3D Footer Right