taaspider

Veteran
Veteran
Joined
Jan 27, 2017
Messages
164
Reaction score
197
First Language
Portuguese
Primarily Uses
RMMV
Hello, your plugin is a life saver <3
One quick question!
When I use readbook, it pops up all pretty and such - but only esc closes the book, how can I make it so confirm (space/enter) work too?

It was built to work that way, but is quite simple to adjust to your suggestion. I'm currently working on a new plugin and investigating the issues reported by EseQueL and Crystalliney. Give me some time and I can add that to the next release, (hopefully) along with those fixes. :)

Auto Place Command should be working. I'll take a look at that as soon as possible!

Checked that last night, and it works fine with the demo project!
 

KuroyukiDevGames

Silver Kitsune Sage
Member
Joined
Aug 18, 2019
Messages
10
Reaction score
2
First Language
English
Primarily Uses
RMMV
Sooo... I dunno if I'm just really dumb or if everyone here is really smart.... I've been trying to figure out how to use the multiple background images settings in my game, but I can't find any examples of the syntax being used to do that like ANYWHERE.... @taaspider do you think you could update your plugin documentation with some example use cases of those kinds of things? That would be a HUUUUGE help.

Thanks for the great plugin btw. My team and I are most definitely using it in our games. We just had a team meeting to discuss that. The only thing that might stop us is if we can't figure out HOW the background image syntax works.

~ Kurochan @ KuroyukiDev Games
 

taaspider

Veteran
Veteran
Joined
Jan 27, 2017
Messages
164
Reaction score
197
First Language
Portuguese
Primarily Uses
RMMV
Hi there, @KuroyukiDevGames !
I'm glad it's going to be useful for you!

As you're asking about multiple background images, I'm assuming you mean configuring background for all books, and not a custom background for a single book, correct?

I'll try to help you clear things up inside the spoiler tag below, please take a look and see if that helps you.

There's two separate settings, one for the book menu, and another for the detached window which opens a single book without the book list. For both cases, you will find two parameters:
  • Detached Background Options: This will specificy the behavior of background images. You'll find all supported options in the plugin manager parameter: 1579706339659.png
After you select an option and click Ok, the parameter will be shown as a number. That's expected. The plugin runs bitwise operations to identify the options, making it more simple to code.​
  • Detached Backgound Config: It presents four options, but which ones are used depends on what you select at the previous option. If you set background options to "Default Map Print", none of this will be used. "Single Image" is used when "Single Image (Title / Text)" option is selected. As a pattern, every pair combined with "/" means a they will share the same image, while "+" means different background images.
  • Menu Background Options: Works in a similar way as the Detached Background Options, only it has more options, since there's an additional window (book list window):1579710182358.png
    The same logic applies: when you select an option and click ok, the parameter will be shown as a number, and that is correct.
  • Menu Background Config: Again, same logic as Detached Background Config, only a few more option as there are more possible combinations with an additional window.

I've also added a step by step example in the spoiler tag below!

To setup multiple background images with each window (list, title and text) using its own file:
  1. Open up the Menu Background Options parameter and set it to "Multiple Images (Title + Text + List)". After you click ok, parameter should be shown with the value 32;
    1579710544310.png
  2. Open the parameter Menu Background Config and select images for each window through the options highlighted below:
    1579710683408.png
  3. That's it! Save and test your settings!
    1579710753485.png

I hope this clear things up. If you still need help, I'll ask you to give me more details as to what you want to config to help understand better what you need!
 

KuroyukiDevGames

Silver Kitsune Sage
Member
Joined
Aug 18, 2019
Messages
10
Reaction score
2
First Language
English
Primarily Uses
RMMV
@taaspider that's actually the perfect info. I was confused because I thought we had to use text-based commands in the books.json file's properties somewhere, but now that I know its done in the MV engine that actually makes it waaaay easier! Thanks for the fast reply! We will definitely be using this plugin in our games from now on. I'll PM you a link to the games when we release them for sure! This plugin is awesome and saves me, my team's programmer, the trouble of having to make this system from scratch. I'm also a JavaScript Programmer too, so I've made my own custom micro plugins to automate some of our game features too.

~ Kurochan @ KuroyukiDev Games
 

MikaTeapot

Veteran
Veteran
Joined
Mar 25, 2019
Messages
37
Reaction score
13
First Language
English
Primarily Uses
RMMV
Edit: nevermind me, I'm really too tired to be trying to do stuff.
 

DarkSearinox92

Veteran
Veteran
Joined
Jan 8, 2013
Messages
543
Reaction score
103
First Language
Italian
Primarily Uses
@taaspider Hi! I really don't understand why i see a lot of mess in the plugin manager...

I really don't understand this chaos o_O why plugin manager don't read html format tags?

(Also, the download of the demo didn't work anymore :( )

Thank you!

script.jpg
 

taaspider

Veteran
Veteran
Joined
Jan 27, 2017
Messages
164
Reaction score
197
First Language
Portuguese
Primarily Uses
RMMV
@DarkSearinox92 , I think the html tags are there due to the way you're downloading the file.

On github, do not right click and "save file as", as this will save the entire html page and not only the plugin!
You have two options: select plugin text, copy and paste in a local file; or click the raw button to open a page with only the plugin (no html tags), then right click and "save as" (some printscreens in the spoiler tag to illustrate what I mean).

1581894081738.png
1581894122275.png
"Salvar Página Como" = "Save page as", it's just that my browser is in portuguese...

As for downloading the demo, I just tested it and its working fine. Try going to the root github page (this page), then click "Clone or Download", and then "Download ZIP".

1581894330046.png

Let me know if that solves your issue.


Also, I just released version 1.3.7:
- Added a handler to exit the detached book view with both 'ok' and 'cancel' buttons ( @MikaTeapot )​
- Fixed the black screen issue with long texts. ( @EseQueL )​

An important note on the second item:
The issue was caused by the way the plugin was calculating text height before drawing it to the screen. There was an issue with the math, which was exceeding the WebGL maximum supported texture size, which depends on your graphic card.​
I've tested a really long text after the fix both on PC and Android. As a reference, my largest test included 4472 characters, which still ended up around 20% the maximum size supported on my computer GPU, a GTX760.​
However, please be careful with extremely large book texts and be sure to test them on your target device to make sure its GPU can handle it. If it can't, consider breaking your text into smaller books.​
 

DarkSearinox92

Veteran
Veteran
Joined
Jan 8, 2013
Messages
543
Reaction score
103
First Language
Italian
Primarily Uses
@taaspider

On github, do not right click and "save file as", as this will save the entire html page and not only the plugin!
You have two options: select plugin text, copy and paste in a local file; or click the raw button to open a page with only the plugin (no html tags), then right click and "save as" (some printscreens in the spoiler tag to illustrate what I mean).

Oh, damn. I will check it... T_T maybe i've saved it in wrong way and I didn't notice T_T I will try it when i come back home.


As for downloading the demo, I just tested it and its working fine. Try going to the root github page (this page), then click "Clone or Download", and then "Download ZIP".

This is strange, now it works. Maybe it was a problem of github... Thank you very much, i will try it again at home.

P.S. check your DM, i've written to you :)


And thank you for the new fix and updates! :)



EDIT: I have a little problem. Why if i set on plugin manager "Auto Place command" on False, i see always the menù when i press ESC? I mean, if i wanna organize the menu with Yanfly menu manager, i don't need the menu right there. It seems that the function doesn't work. Or am i doing something wrong?
I tried even to put on false Show Menu and Enable Menu, it's all the same. :/
I tried this even in your DEMO Project but it's the same thing. If i put it on False, it is always there.
 
Last edited:

DarkSearinox92

Veteran
Veteran
Joined
Jan 8, 2013
Messages
543
Reaction score
103
First Language
Italian
Primarily Uses
@taaspider I think you may have misunderstood the problem. The wordwrap is working correctly, but even when all the text is on a single line, the text below the bottom of the window gets cut off when scrolling. This occurs in both the detached window and the book menu window. Here are some more screenshots to demonstrate:View attachment 129846View attachment 129847
View attachment 129848

Thanks again for your help!

I did understand, I just couldn't reproduce the issue like you describe now. The only way I could do it was not replacing the line breaks as I said before.

Can you PM me with a book sample you're using over there?
I can try and take a look with a new project, and not the demo.


@taaspider @Crystalliney

Hi Spider, i have the same exactly error of Crystalliney. (Crystalliney use the plugin manager, i use a file.js, but it's the same thing.

Did you find a solution for this problem?
It's very simple to reproduce.

Add Yanfly Core Engine.
Add Yanfly Message Core and enable "Word wrapping" under General.

Then, in your script, If you add <wordrap>%3 under "book menu scene > Book Text Format", as you said in the explanation of the script, and write a long book with line breaks <br>, after a while, the book is cutted away. I can't even read it until the middle.

Do you have solutions? I tried doing this even in your demo, so with only 3 script, and the error is the same... T_T
 

taaspider

Veteran
Veteran
Joined
Jan 27, 2017
Messages
164
Reaction score
197
First Language
Portuguese
Primarily Uses
RMMV
Hi Spider, i have the same exactly error of Crystalliney. (Crystalliney use the plugin manager, i use a file.js, but it's the same thing.

Did you find a solution for this problem?

Hi there. Yes, I have found what's causing this issue. I have a possible solution in mind but haven't been able to implement and test it yet. I'll let you know as soon as I have a fix ready for testing!
 

EseQueL

Veteran
Veteran
Joined
Oct 10, 2016
Messages
75
Reaction score
35
First Language
English
Primarily Uses
I was finally able to test the latest version. It's so smooth now. No more crash/lag even on mobile, I'm so amazed how you were able to fix this. Good job and thank you for your effort.

Here's what I found:
1. using <wordwrap> - As mentioned by others as well, long texts are cut.
2. not using <wordwrap> - this one works so well so it's my preferred method. Painful to use though as you have to manually linebreak.
3. Not really an issue and not important but the arrow which indicates that there are "more texts below" is missing so readers won't know there are more texts unless they start scrolling.

Overall, this is a very well made plugin. 10/10
 

taaspider

Veteran
Veteran
Joined
Jan 27, 2017
Messages
164
Reaction score
197
First Language
Portuguese
Primarily Uses
RMMV
Thanks for the feedback @EseQueL ! :D
I'm working on issue 1 this week. I've tested a initial fix yesterday... but even though it works, it needs a few tweaks before release to avoid introducing new bugs. I've also noticed issue 3, and I'm glad to say it has already been fixed and will be released along with the fix for 1!
I'll let you all know when its ready, but I guess it is safe to say it may be released by the end of the week!
 

DarkSearinox92

Veteran
Veteran
Joined
Jan 8, 2013
Messages
543
Reaction score
103
First Language
Italian
Primarily Uses
No problem, take all time that you need! Best works needs time!

P.S. (Remember even the "Auto Place command" that doesn't work properly xD i don't know why others didn't see it... maybe because i made a new menu called Archive, and inside that i placed the Library... and others prefer to have it on the standard menu...)
 

taaspider

Veteran
Veteran
Joined
Jan 27, 2017
Messages
164
Reaction score
197
First Language
Portuguese
Primarily Uses
RMMV
@EseQueL , @DarkSearinox92 and @Crystalliney ... I just released version 1.4.0 which fixes the cropped text issue. Please update the plugin on your projects and turn on the new parameter 'Text Windows WordWrap Fix'. Unfortunately, leaving it always on causes issues when not using wordwrap, so be sure to set it accordingly.

Also fixed on 1.4.0 the Auto Place, Enable and Show Menu Command, and the arrows not showing on the text window.

Finally, added a new feature to allow scrolling text by clicking or touching the up and down arrows (when visible), or by clicking/touching and swyping the text up and down. The book must be selected for this to available though (not only highlighted).

Hope this helps! ;)
 

jbarros35

Villager
Member
Joined
Feb 13, 2020
Messages
11
Reaction score
1
First Language
english
Primarily Uses
RMMV
I'm on MV 1.6.1 for some reason my books are not being learned... is that the title to be used on plugin commands?

nevermind I needed to remove the spaces of the title...

About menu, I'm using SDR Alt Menu plugin, when I add the books to menu I have no icons... how can I put an icon for books?

Capture.PNG

Edit 2
Nevermind its done using Symbol books

thank you.
 
Last edited:

taaspider

Veteran
Veteran
Joined
Jan 27, 2017
Messages
164
Reaction score
197
First Language
Portuguese
Primarily Uses
RMMV
Hello @jbarros35 . I'm not familir with SRD Alt Menu plugin, so there isn't much I can do to help (that's definitely not an issue with TAA_BookMenu).
Have you tried creating a thread at the plugin support forum?
 

MikaTeapot

Veteran
Veteran
Joined
Mar 25, 2019
Messages
37
Reaction score
13
First Language
English
Primarily Uses
RMMV
Edit, missed the bit in help file. Am stupid.
 

DarkSearinox92

Veteran
Veteran
Joined
Jan 8, 2013
Messages
543
Reaction score
103
First Language
Italian
Primarily Uses
EDIT: Resolved. Sorry for the message! :)
 
Last edited:

Goo

Villager
Member
Joined
Mar 28, 2019
Messages
8
Reaction score
3
First Language
English
Primarily Uses
N/A
@taaspider Hi! Thanks for this great plugin!
I was wondering if there is a way to show the book menu and the book itself in two different scenes.
That is, instead of opening the windows for the book menu and the selected book all together, first open the book menu and, after selecting the book, open the book window (as the detached window).

Thanks for your help!
 

Latest Threads

Latest Profile Posts

I was listening to songs by Chuck E Cheese's voice actor (Jaret Reddick from Bowling for Soup) when the meds I was taking for my stomach virus apparently stopped working. I can't take my next dose until morning, but it's no use anyway. I'm officially sick again. Of course, I'll definitely take the next dose either way, but it's useless now.
New profile picture! This time, it's representative of my current project.
I suddenly feel like making a game for little kids: a pointless sandbox of cute animals, silly collectibles, and random mini games.
Anyone else just like, not bother to make games themed around specific holidays? I know I won't get them done in time for it to make sense.
time to enter the playtest dimension

Forum statistics

Threads
115,992
Messages
1,094,703
Members
151,286
Latest member
Heretoga
Top