This is for anyone... If there is an illegal character in your text file and you can't find the characters in the text file to delete, you will need to open each of the .spritefont files in the Font directory and change the CharacterRegions to include the character that is illegal. For instance, if the character is 0x009, then you would need to have this for the start of the first CharacterRegion:
Code:
<Start> </Start>
EDIT: I didn't know it would convert the character... It's actually '& # 9 ;' within the <Start> </Start> without the single quotes and spaces. Putting it in code tags does not let it show on here.
__________________
"Against logic there is no armor like ignorance." - Laurence J. Peter
This is for anyone... If there is an illegal character in your text file and you can't find the characters in the text file to delete, you will need to open each of the .spritefont files in the Font directory and change the CharacterRegions to include the character that is illegal. For instance, if the character is 0x009, then you would need to have this for the start of the first CharacterRegion: <Start> </Start>
please encode this in a code tag so we can see what it was meant to be and help us out that litte bit more, thank-you (:
Those books only have "rn" for line breaks. That just won't do. I described in a previous post why I can not have the Book Reader recognize those. I might have it so you put something like "<single>" at the very beginning of the text file so that the Book Reader knows to not ignore single "rn"s.
that's fine just tell me what to do... and i dont think that's a big problem tho. only the first episode is like that. plus i still can read it. but as someone mentioned why is the first word of every paragraph missing? and how do i fix that?
My zune still seems to restart at random times while I'm reading the book, sometimes when I've been reading for one or two minutes or sometimes after an hour of reading. I have v1.9.
that's fine just tell me what to do... and i dont think that's a big problem tho. only the first episode is like that. plus i still can read it. but as someone mentioned why is the first word of every paragraph missing? and how do i fix that?
I have it so if you put one <single> tag at the very beginning of the text file, it will treat every single line break as a double line break.
The first word of every paragraph is no longer a problem.
Impeached, I don't have much to go on. You are the only person that seems to be having that problem, and there isn't much that could cause it to crash while simply reading the text. I will look into it anyways.
Version 2.0 is released:
- First word of every paragraph fixed
- Sub directories... (hopefully working)
Regarding sub directories:
If you have at least one folder in the Books folder with a file in it, any files directly inside the Books folder will be ignored.
Any folders (and files within them) within sub directories will be ignored.
So, to use properly: Create folders within the Books folder, name the folders accordingly, then put the appropriate text files within those folders.
Please don't ask questions that are already answered here. Also, if v2.0 doesn't work perfectly, please post saying that it doesn't, but be patient. I'm a hurrying to release it so you all can have the new feature. (I will be gone all night.)
__________________
"Against logic there is no armor like ignorance." - Laurence J. Peter
Impeached, I don't have much to go on. You are the only person that seems to be having that problem, and there isn't much that could cause it to crash while simply reading the text. I will look into it anyways.
OK, thanks. Hope you can find the source of the problem.
just so you know... your 2.0 version dont even work! all it does is restart my zune! i cant even get to the menu screen! it restarts when it's loading after i click "play"
Version 2.0 is fixed... If you don't put any subfolders, the Book Reader will act like normal. If you put subfolders, read my previous post on how to use them properly. The names of the folders will be bold, and in parentheses.
__________________
"Against logic there is no armor like ignorance." - Laurence J. Peter
uhhh, I think I have a problem... When I try to sync the book on, it says that no file and/or directory can be more than 40 characters long. no big deal right? wrong. I shortened down the file names, but it continues to give the same error. Another note worth mentioning is I couldn't get the files to line up how I wanted, so I put folders in the sub-folder of the books folder. Not sure if that will do anything to it.
__________________
\nn/===IRON MAIDEN RULES===\nn/
Xbox live/Zune= Epocilyps. Invites are fine. need people with zunes on my friends list.
I tried debugging my books and I only have 2 books... but it took 2 full days and it still wasn't done... and I couldn't let my computer and Zune run for that long without shuting em off... how long is debugging supposed to take?
I tried debugging my books and I only have 2 books... but it took 2 full days and it still wasn't done... and I couldn't let my computer and Zune run for that long without shuting em off... how long is debugging supposed to take?
Debugging takes less than two minutes... It either crashes when it starts up and shows an error message (in Visual C#), or it works, and you choose the book on the Zune to read.
Starting debugging, then leaving it doesn't do anything. It would stay like that forever... Debugging is useless if you just leave it alone.
__________________
"Against logic there is no armor like ignorance." - Laurence J. Peter
I'm very happy that you put this program up however, there's something I thought I should bring to your attention.
I had a problem where I could open the book on my Zune but every time I clicked the button in the center to bring up the menu my Zune would restart. I rad the debug option and it told me in so many words that it was having a problem with one of my characters. I did as you instructed on the third page of your post and used the find/replace option but it didn't fix the problem.
Now I'm no expert in any of this but I ran a debug again and I noticed that a line in the code was highlighted where the crash occurred, I guess, and I noticed that it showed the error had something to do with the songs I had on my Zune. The songs were from Dance Dance Revolution and know for a fact they utilize Japanese symbols in their encoding (again I'm no expert so I apologize if my wording is incorrect). So, what I did was I took off that particular playlist and the program worked just fine immediately after.
My question to you is this: Is there someway to put those songs back on without them making the app crash? I really like this app but i also love my music, is it possible to have the best of both worlds?
I'm very happy that you put this program up however, there's something I thought I should bring to your attention.
I had a problem where I could open the book on my Zune but every time I clicked the button in the center to bring up the menu my Zune would restart. I rad the debug option and it told me in so many words that it was having a problem with one of my characters. I did as you instructed on the third page of your post and used the find/replace option but it didn't fix the problem.
Now I'm no expert in any of this but I ran a debug again and I noticed that a line in the code was highlighted where the crash occurred, I guess, and I noticed that it showed the error had something to do with the songs I had on my Zune. The songs were from Dance Dance Revolution and know for a fact they utilize Japanese symbols in their encoding (again I'm no expert so I apologize if my wording is incorrect). So, what I did was I took off that particular playlist and the program worked just fine immediately after.
My question to you is this: Is there someway to put those songs back on without them making the app crash? I really like this app but i also love my music, is it possible to have the best of both worlds?
Thank you for your very informative post. I know exactly what the problem was, and you were correct. Japanese characters considered "illegal" because they are not a part of the standard ASCII character set. In the menu, it displays the name of the current song, and if it has anything other than very common characters in it, the application will crash. The best way would be for you to edit the songs' titles and get rid of the Japanese characters. If you are unable to, I could try to see if there is a way to detect illegal characters and ignore them before it causes the application to crash. I am fairly busy though, so it might take a few days.
__________________
"Against logic there is no armor like ignorance." - Laurence J. Peter
I think the reason it was crashing at the beginning is because one of my books have too many chapters. That might be the problem... But I'm still having others. Angels and demons has 137 chapters. It crashes while starting, This is the error I get:
This set up of books without all the angels and demons displays correctly on the zune. It shows the (Folders) and the txt files in the folders but I cannot select a book or scroll up or down... it is like it is frozen. This is the solution that displays correctly but seems frozen on the zune.
uhhh, I think I have a problem... When I try to sync the book on, it says that no file and/or directory can be more than 40 characters long. no big deal right? wrong. I shortened down the file names, but it continues to give the same error. Another note worth mentioning is I couldn't get the files to line up how I wanted, so I put folders in the sub-folder of the books folder. Not sure if that will do anything to it.
I had this same problem, but the filename wasn't even 40 characters long to begin with (it was 39). I ended up renaming all the problematic files so that they were below 36 characters, and everything worked out fine... don't ask me why that worked.