forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

.lua filesize limit

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
mallchin



Joined: 16 Feb 2006
Posts: 36

PostPosted: Thu Feb 16, 2006 2:06 am    Post subject: .lua filesize limit Reply with quote

My script has reached 32Kb or so, and LuaPlayer now throws an error when starting it (along the lines out of disk space, script could not be found).

Has anyone else had this?
Back to top
View user's profile Send private message
fullerlee



Joined: 03 Nov 2005
Posts: 54

PostPosted: Thu Feb 16, 2006 2:14 am    Post subject: Reply with quote

I've got several scripts, ranging in size from 1kb to 68k and all are loading without any problems.

Example:
http://dl.qj.net/Wordingo-v0.3p.2-Gaming-Consoles-PSP-Homebrew-Games/pg/12/fid/357/catid/194

Lee
Back to top
View user's profile Send private message
mallchin



Joined: 16 Feb 2006
Posts: 36

PostPosted: Thu Feb 16, 2006 2:40 am    Post subject: Reply with quote

Okay, wonder why mine's failing then :-?

The only thing I can contribute it too is adding extra code. Removing arbituary blocks of code to bring the size down resolves it.

I'll look into it, good to know ;)
Back to top
View user's profile Send private message
fullerlee



Joined: 03 Nov 2005
Posts: 54

PostPosted: Thu Feb 16, 2006 2:57 am    Post subject: Reply with quote

Try splitting the files and then including them with:

Code:
dofile "filename.lua"
Back to top
View user's profile Send private message
mallchin



Joined: 16 Feb 2006
Posts: 36

PostPosted: Thu Feb 16, 2006 3:02 am    Post subject: Reply with quote

I'd considered that, or rather using require(), some easy workarounds, just curious if it was a limitation in LuaPlayer.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group