There are some ideas in other posts, how the files with PhysicsFS and without should be organized, which we should discuss before releasing a new version. The unordered list of ideas, somtimes contrary:
- storing only EBOOT.PBP in /PSP/GAME/luaplayer
- to avoid EBOOT.PBP replication, games are saved in /PSP/LuaPlayer/Applications only
- to allow starting Lua Player games without a loader, games can be stored in PSP/GAME/luaplayer
- using /PSP/LuaPlayer/Documents/gameName for data saved from the games (output redirect and restriction to the Documents game directory is possible with PhysicsFS)
- distributing common used Lua libraries, like a pad event handler class, in /PSP/GAME/luaplayer/Library
- using /PSP/GAME/luaplayer/Library/system.lua as startup script
- using /PSP/GAME/luaplayer/script.lua as startup script
- System.changeDirectory("game.zip") uses the files within game.zip as if it were a normal directory (with PhysicsFS)
file organization on memory stick
Moderators: Shine, Insert_witty_name
Yes, it's all the same. The homepage is the first Google result: http://icculus.org/physfs/KawaGeo wrote:What particular webpage(s) are you referring to regarding PhysicsFS if I may ask?
Google lists over 500 references for PhysicsFS.
I agree with all the points but the first one ;)
Or actually, I sorta disagree with the third point, but it does make sense to deploy some apps standalone, without Lower and all that other stuff.
Here's my proposed file structure for the standard distribution:
but ALSO allowing for a distribution that looks like this:
Or even like this, so that a Lowser user could just take the Some game folder and discard the rest:
Or actually, I sorta disagree with the third point, but it does make sense to deploy some apps standalone, without Lower and all that other stuff.
Here's my proposed file structure for the standard distribution:
Code: Select all
luaplayer/EBOOT.PBP
luaplayer/Applications/ (all applications but file browser)
luaplayer/Documents/ (save game folder like proposed)
luaplayer/System/Library/ (for libraries)
luaplayer/System/Startup/ (for the file browser, currently Lowser)
luaplayer/System/system.lua (startup script)
Code: Select all
somegame/EBOOT.PBP (the LuaPlayer binary)
somegame/script.lua (Some game or application)
(somegame/System/Library/) (if needed/wanted)
Code: Select all
somegame/EBOOT.PBP (the LuaPlayer binary)
somegame/Some game/script.lua (Some game or application)
(somegame/System/Library/) (if needed/wanted)
Ok, I agree with all three layout concepts and we store anything in /PSP/GAME/luaplayer [or game name for standalone]. Then on startup Lua Player scans the current folder in this sequence:
- script.lua
- System/system.lua
- if nothing found with the previous scans, all folders for "folderName/script.lua"
This is the most flexible concept.
- script.lua
- System/system.lua
- if nothing found with the previous scans, all folders for "folderName/script.lua"
This is the most flexible concept.