More actions
LUA TextReader | |
---|---|
General | |
Author | Mike Haggar (mikehaggar99) |
Type | Other |
Version | 0.2 |
License | Mixed |
Last Updated | 2005/08/23 |
Links | |
Download | |
Website | |
Source | |
LUA TextReader is a text reading/viewing program, made in Lua for PSP.
There's no text wrapping, and the UNIX/PC text mode switch is not perfect.
Installation
Requires Lua 0.7b4 or above to run this program.
Copy the folder to the APPLICATIONS folder inside the LUA Player folder.
Both browser.lua and index.lua must be in the same directory.
User guide
It opens files that's named *.txt, *.lua, *.c, *.cpp, *.html and *.htm. Anything else can also be opened if you switch to open all files mode.
Be careful when using all files mode though, there's no checks to differ between text files and other types of files.
You can play module music when reading. Just press square when you got a text file open and select a module file. Default files are *.mod, *.xm and *.it.
Default music directory is /PSP/MUSIC/. You can also switch to all files mode here. To end music playback, press square when reading and then start.
Controls
Text/Musicbrowser:
Up/Down - Scroll list
Left/Right - Scroll list faster
Cross - Open file/directory
Triangle - Up one directory
L - Switch between time and name sorting
R - Switch between selected and all file open mode
Start - Restart (or quit if you use Lowser)
Reader:
Up and Down - Scroll text vertical
Left and Right - Scroll text horizontal
Cross - Hold down to scroll fast
Circle - Hold down to scroll faster
Square - Select music file to play
Triangle - Switch colors
L - UNIX/PC text mode switch
R - Line numbers off/on
Select - Return to menu
Changelog
0.2
- Filebrowser is now in a separate file.
- Fixed bug in filebrowser code.
- Added many new features in the filebrowser.
- Redid some of the filebrowser code, easier to understand now.
- Reader can now open all kind of files.
- Holding circle will now scroll 33 lines (a.k.a. 1 page) and not 100.
- Added optional module music playback when reading.
- Added alternative colors.
0.1
- First release, hopefully with most bugs fixed.
Credits
Big thanks to:
- Shine and Nevyn (for porting LUA and script examples).
- Enrico Colombini (for Lua short reference).
- Adobe (for Acrobat Reader).
- Sony (for PSP).
- Microsoft (for Windows and Notepad).
External links
- Author's website - http://haggar.pocketheaven.com/ (archived)