|
#1
|
|||
|
|||
|
Hello everyone!
Since Zen Xfi 2 doesn't have a build in text file reader i developed a text reading app myself. The current version(0.95) has most of the features of the planned final version. During the use of it on Zen I didn't notice any bugs, nor were there any crashes, however I can't guarantee full stability. If the app chrashes, please post a message here describing how it happened. The data file will reset and the library will be empty after crash. I want to add support for fb2 files, but that comes after proper text file support and gui. Features:
Controls:
Known bugs/ unfinished features:
History:
Last edited by breakb; 10-10-2010 at 02:23 PM. Reason: new version |
| Advertisement | [Remove Advertisement] |
|
|
|
|
#2
|
|||
|
|||
|
There are 2 text file reader made by fellow forumers.
It is good to make one on your own, and ask advice from them. If it support readability of east asian language as well, I will support u !! |
|
#3
|
||||
|
||||
|
NICE!!!!!
|
|
#4
|
||||
|
||||
|
This is very impressive! I spend some time reading the code and it was very interesting! At least for me it was.. like the commands in tables, I was wondering lately if this was possible, nice to see a good example of it.
The app works quite smooth, loads files fast, and is actually quite intuitive but it may be confusing at first. It may be nice to write words next to the buttons so you don't have to try them all out, or maybe use some more descriptive icons for them. Some small remarks: -It's too bad you can't scroll text by moving. -The time is 1 hour off but that's because of some "bug" in the player, but you might want to compensate for that in the code. -The "next"-button (go to end) does nothing. I did found a crash; black screen and it needs a discscan when I turn it on again. Also, the data.lua file is gone and you have to reload that from the pc. To recreate this I zoom out two steps, then skip a page down and then skip up a bunch of times (by pressing the left side of the screen). That's the only real issue I could find, but overall very good app and you really seem to know your Lua
__________________
this is a link to my personal homepage which I haven't |
|
#5
|
||||
|
||||
|
I just tried it and well..... It works really good! Keep up the good work! and i agree with Brett_Val the code is very intersting i learned a bit from looking at it. Have you had any previouse experince in lua?'
i tested a few storys i test a longer one The Most Dangerous Game and my Wave Crave instruction file and to my surprise it worked great. Though since the screen is a bit small the text gets bumped over some so my wavecrave readme got a little messed up |
|
#6
|
|||
|
|||
|
Hey, thanks for your responses, i've uploaded a new version which has lots and lots of improvements.
This is my first actuall project in Lua, but i have experience in programming in several other languages so this helped ![]() I'm working on the scroll by move, and go to end for the next version. And I will also add a help button which will show text beside buttons to describe what they do. Also thanks for that bug report, Ill look into it. Last edited by breakb; 10-08-2010 at 05:18 PM. |
|
#7
|
|||
|
|||
|
hi...
i have loaded the app.. and put in some text files ... but i could not seems to load any of the text file... can i know how do i really load the text files thru this program to start reading? |
|
#8
|
|||
|
|||
|
There is a plus(add new book file) button in the main menu. Click it and type in the name of the file.
Just make sure that the text files are in same folder as the app and type in the file's full name(with .txt) as you add it. |
|
#9
|
|||
|
|||
|
It's really nice, but it doesn't display ä,ö,ü,ß on my Zen. Instead there is an empty space. I solved this problem by changing all ä,ö,ü,ß to ae,oe,ue,ss with word, but it would be great if you could fix this.
|
|
#10
|
|||
|
|||
|
Hmm does it display the ä,ö,ü in sample text file(sample.txt)? Because I have them there and they show up perfectly on my zen.
If it does show them in sample file, but not in your own text file then its probably not in UTF8 encoding. Unfortunately Eread only supports UTF8 so if your files are in other unicode format you have to convert them ( Save As and UTF-8 encoding in notepad). Last edited by breakb; 10-19-2010 at 11:50 AM. |
|
#11
|
|||
|
|||
|
Thanks, that helped me. A very nice app.
|
|
#12
|
|||
|
|||
|
For those who are interested in dev progress and Fb2 support - I've implemented a basic Fb2 importer with support for embedded images
![]() Also in the new version I reworked the main menu, added support for UTF-16 text files and accelerometer screen rotation + much more smaller fixes. I will release it soon, just need to work more on Fb2 and testing. Last edited by breakb; 10-28-2010 at 06:06 AM. |
|
#13
|
|||
|
|||
|
Cant open the zip Eread0.95 any help?
|
|
#14
|
||||
|
||||
|
__________________
this is a link to my personal homepage which I haven't |
|
#15
|
|||
|
|||
|
Thanks for the great app.
But I was doing some reading earlier on and it suddenly crashed - the player shut down and after I turned it on again, the app refused to open. Any help?
|
|
#16
|
||||
|
||||
|
Quote:
How to fix most problems with your X-Fi2
__________________
"If you are good enough at English to apologize, then there is no need to." - A good friend of mine Discovered something about the X-Fi2 you think others may not know? Post it here so others can learn about it! Have a question about X-Fi2 apps? Consult the FAQ before creating a thread about it. Like my work? Tell your friends. Don't like it? Tell me so I can improve. ^.^ |
|
#17
|
||||
|
||||
|
The file where the app stores settings might be faulty after a crash, try to copy the data.lua file from the zip to the player again and overwrite.
__________________
this is a link to my personal homepage which I haven't |
|
#18
|
|||
|
|||
|
I may've found the reason behind book reader crashing here and there on page renewal.
Looks like some interrupts are processed by X-Fi cooperatively. When it has not enough timeslice to process one interrupt and another one comes, the CPU is shutdown immediately (hardware probably thinks that OS has hung). If so, the remedy is to add some timeslice returns to the book reader page renewal process. It works for me, it's up to you to check if it works for you. Open main.lua in your raw text/code editor (Word/Wordpad won't do, Notepad may do, FAR will do for sure). Find: Code:
screen.fillrect(0,0,ScreenWidth,ScreenHeight,bcgColor) Code:
os.sleep(5) Code:
function(lineStart,lineEnd,x,lineHeight) Code:
os.sleep(5) |
|
#19
|
|||
|
|||
|
Can you add a second file to ereader the file is a text file where you can write the name and type of the text file in and the ereader read the names aout of this file.
Is it possible for you because when you want to add more than one file and don't remeber the name of it than it's hard. |
|
#20
|
|||
|
|||
|
Hey this is a great app but I don't know where to paste the text file I created so that I can view it on the player. Could you help me with this please? Thanks
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 08:26 PM.














Linear Mode
