Old 06-27-2008, 01:03 PM   #61 (permalink)
Purger of Ignorance
zB Programmer
Retired Staff
Expert Zuner
 
Netrix's Avatar
 
Join Date: Jun 2008
Location: In my own world
Posts: 2,804
Netrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to all
Send a message via MSN to Netrix
Default

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

Solitaire for your Zune! http://www.zuneboards.com/forums/dow...ne-v2-0-a.html

Zune Book Reader! http://www.zuneboards.com/forums/app...ew-thread.html

Last edited by Netrix; 06-27-2008 at 06:49 PM.




Netrix is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old 06-27-2008, 02:42 PM   #62 (permalink)
Zuner
 
xjakehxbabehx's Avatar
 
Join Date: Jun 2007
Posts: 51
xjakehxbabehx is on a distinguished road
Default

Quote:
Originally Posted by Netrix View Post
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 (:



xjakehxbabehx is offline   Reply With Quote
Old 06-27-2008, 03:38 PM   #63 (permalink)
Zune Guardian
 
charmed61's Avatar
 
Join Date: Mar 2008
Location: The Gold Rush State!
Posts: 678
charmed61 is on a distinguished road
Default

Quote:
Originally Posted by Netrix View Post
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?
__________________




charmed61 is offline   Reply With Quote
Old 06-27-2008, 04:05 PM   #64 (permalink)
Jr. Zuner
 
Join Date: Oct 2007
Posts: 38
Impeached is on a distinguished road
Default

Quote:
Originally Posted by Impeached View Post
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.
Netrix, would you please address this?
__________________




Impeached is offline   Reply With Quote
Old 06-27-2008, 07:36 PM   #65 (permalink)
Purger of Ignorance
zB Programmer
Retired Staff
Expert Zuner
 
Netrix's Avatar
 
Join Date: Jun 2008
Location: In my own world
Posts: 2,804
Netrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to all
Send a message via MSN to Netrix
Default

Quote:
Originally Posted by charmed61 View Post
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

Solitaire for your Zune! http://www.zuneboards.com/forums/dow...ne-v2-0-a.html

Zune Book Reader! http://www.zuneboards.com/forums/app...ew-thread.html




Netrix is offline   Reply With Quote
Old 06-27-2008, 07:49 PM   #66 (permalink)
Jr. Zuner
 
Join Date: Oct 2007
Posts: 38
Impeached is on a distinguished road
Default

Quote:
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.
__________________




Impeached is offline   Reply With Quote
Old 06-27-2008, 08:14 PM   #67 (permalink)
Zune Guardian
 
charmed61's Avatar
 
Join Date: Mar 2008
Location: The Gold Rush State!
Posts: 678
charmed61 is on a distinguished road
Default

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"
__________________




charmed61 is offline   Reply With Quote
Old 06-28-2008, 02:26 PM   #68 (permalink)
Purger of Ignorance
zB Programmer
Retired Staff
Expert Zuner
 
Netrix's Avatar
 
Join Date: Jun 2008
Location: In my own world
Posts: 2,804
Netrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to all
Send a message via MSN to Netrix
Default

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

Solitaire for your Zune! http://www.zuneboards.com/forums/dow...ne-v2-0-a.html

Zune Book Reader! http://www.zuneboards.com/forums/app...ew-thread.html




Netrix is offline   Reply With Quote
Old 06-29-2008, 08:00 PM   #69 (permalink)
Experienced Zuner
 
gpdude's Avatar
 
Join Date: Jun 2008
Location: Earth
Posts: 123
gpdude has disabled reputation
Default

As soon as it starts it restarts?
help
__________________
trumpeter,Zuner,baseball player It's all good!




gpdude is offline   Reply With Quote
Old 06-30-2008, 06:09 AM   #70 (permalink)
Purger of Ignorance
zB Programmer
Retired Staff
Expert Zuner
 
Netrix's Avatar
 
Join Date: Jun 2008
Location: In my own world
Posts: 2,804
Netrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to all
Send a message via MSN to Netrix
Default

Quote:
Originally Posted by gpdude View Post
As soon as it starts it restarts?
help
Read the first post.
__________________
"Against logic there is no armor like ignorance." - Laurence J. Peter

Solitaire for your Zune! http://www.zuneboards.com/forums/dow...ne-v2-0-a.html

Zune Book Reader! http://www.zuneboards.com/forums/app...ew-thread.html




Netrix is offline   Reply With Quote
Old 07-01-2008, 05:16 PM   #71 (permalink)
Experienced Zuner
 
Epoc's Avatar
 
Join Date: Sep 2007
Location: Vermont
Posts: 242
Epoc is on a distinguished road
Default

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.





Epoc is offline   Reply With Quote
Old 07-01-2008, 09:58 PM   #72 (permalink)
Purger of Ignorance
zB Programmer
Retired Staff
Expert Zuner
 
Netrix's Avatar
 
Join Date: Jun 2008
Location: In my own world
Posts: 2,804
Netrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to all
Send a message via MSN to Netrix
Default

Quote:
Any folders (and files within them) within sub directories will be ignored.
I explained this already, and I never got that problem.

The files should be in alphabetical order. Put numbers (1, 2, 3, etc.) in at the beginning of the file names if you want them in a specific order.
__________________
"Against logic there is no armor like ignorance." - Laurence J. Peter

Solitaire for your Zune! http://www.zuneboards.com/forums/dow...ne-v2-0-a.html

Zune Book Reader! http://www.zuneboards.com/forums/app...ew-thread.html




Netrix is offline   Reply With Quote
Old 07-02-2008, 05:56 PM   #73 (permalink)
Experienced Zuner
 
Rockman87's Avatar
 
Join Date: Nov 2007
Location: UT, USA
Posts: 203
Rockman87 is on a distinguished road
Send a message via MSN to Rockman87
Default

did anyone get this to work? I don't know if I'm doing it right. I can't get this to work.




Rockman87 is offline   Reply With Quote
Old 07-02-2008, 06:15 PM   #74 (permalink)
Purger of Ignorance
zB Programmer
Retired Staff
Expert Zuner
 
Netrix's Avatar
 
Join Date: Jun 2008
Location: In my own world
Posts: 2,804
Netrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to all
Send a message via MSN to Netrix
Default

Quote:
Originally Posted by Rockman87 View Post
did anyone get this to work? I don't know if I'm doing it right. I can't get this to work.
What are you trying to do? A screenshot of the solution setup would help.
__________________
"Against logic there is no armor like ignorance." - Laurence J. Peter

Solitaire for your Zune! http://www.zuneboards.com/forums/dow...ne-v2-0-a.html

Zune Book Reader! http://www.zuneboards.com/forums/app...ew-thread.html




Netrix is offline   Reply With Quote
Old 07-02-2008, 06:22 PM   #75 (permalink)
Experienced Zuner
 
Join Date: Feb 2008
Location: Here
Posts: 145
jacecat is on a distinguished road
Send a message via MSN to jacecat
Default

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?




jacecat is offline   Reply With Quote
Old 07-02-2008, 06:46 PM   #76 (permalink)
Purger of Ignorance
zB Programmer
Retired Staff
Expert Zuner
 
Netrix's Avatar
 
Join Date: Jun 2008
Location: In my own world
Posts: 2,804
Netrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to all
Send a message via MSN to Netrix
Default

Quote:
Originally Posted by jacecat View Post
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

Solitaire for your Zune! http://www.zuneboards.com/forums/dow...ne-v2-0-a.html

Zune Book Reader! http://www.zuneboards.com/forums/app...ew-thread.html




Netrix is offline   Reply With Quote
Old 07-02-2008, 11:26 PM   #77 (permalink)
Zewbie
 
Lady_Dias's Avatar
 
Join Date: Jul 2008
Posts: 8
Lady_Dias is on a distinguished road
Red face

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?




Lady_Dias is offline   Reply With Quote
Old 07-02-2008, 11:57 PM   #78 (permalink)
Purger of Ignorance
zB Programmer
Retired Staff
Expert Zuner
 
Netrix's Avatar
 
Join Date: Jun 2008
Location: In my own world
Posts: 2,804
Netrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to all
Send a message via MSN to Netrix
Default

Quote:
Originally Posted by Lady_Dias View Post
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

Solitaire for your Zune! http://www.zuneboards.com/forums/dow...ne-v2-0-a.html

Zune Book Reader! http://www.zuneboards.com/forums/app...ew-thread.html




Netrix is offline   Reply With Quote
Old 07-03-2008, 09:10 AM   #79 (permalink)
Experienced Zuner
 
Rockman87's Avatar
 
Join Date: Nov 2007
Location: UT, USA
Posts: 203
Rockman87 is on a distinguished road
Send a message via MSN to Rockman87
Default

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.





Rockman87 is offline   Reply With Quote
Old 07-03-2008, 02:37 PM   #80 (permalink)
Zewbie
 
Join Date: Dec 2007
Posts: 5
timeispassing is on a distinguished road
Default

Quote:
Originally Posted by Epoc View Post
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.



timeispassing is offline   Reply With Quote
Reply

Bookmarks

Thread Tools