-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Character sheet show blank page (Rolisteam 1.9) #4
Comments
yes Compatibility breaks between both version. I plan to make a webpage to convert old sheet to new standard. |
It took me hours to make those sheets... |
Please read the whole answer. I describe many things to answer the issue. It always like this: this is why all previous version of rolisteam can still be downloaded. As global answer to ticket, I will list here all kinds of modification required to update charactersheet. Minimal updateIf you want your charactersheet to be displayed exactly as it was on Rolisteam v1.8. The minimal change is for you. ## Minimal update: First change - import in qml code, replace It could be enough to make the sheet ready to use. But I recommand few other steps. Minimal update: Second change - Sheet fileYou may find useful to add those fields inside sheet at the first level in the json file.
Values can be empty string. For the two next key, values are required:
With those changes, RCSE will be able to open this sheet and display the qml. Complete Update:To change the sheet to use rolisteam v1.9 sdk, it is easy. The visual aspect could be diffirent. The checkbox for example have been improved. In order to update to SDK 1.9, you must do all change from minimal update and few others. Complete Update: First change - importin qml code, replace Don't forget to do the second step of the minimal update. Complete Update: Second change - fieldsEach time, a field has textColor and color properties, those properties must be renamed as follow: textColor => color Please find a python script atteched to this message. This script is able to update charactersheet from v1.8 to v1.9 with the complete update method. Example:
-i input I would like to test several sheets with this script to be sure it covers all kinds of sheet. |
hum... Are you sure it is color => backgroundColor ? When i look at the code of a 1.8 sheet i see : bgcolor and no just color |
It is property from the rolisteam sdk. So those files: https://github.com/Rolisteam/RCharacterSheet/tree/master/qml/Rolisteam. Those with v1 at the end of the name are from Rolisteam v1.8. Many of them have textColor property to define the color of the text and color to define background color. |
Ok, so i tried :
PS: i used python 3.7.4 I attached the sheet file (with characters) : |
Yes, the first error message say it well: Error: fail to read the input file I don't know what happened but as the input file was not read. It crashes in background image because it is the first step the script does. I should quit on error when this happen. |
the Minimal update that worked was on that file too ... |
Yes, I can understand that, but perhaps you add some invisible character or something. Have you tried a second time ? on my side, the script worked fine. I did not yet checked the charactersheet but no error message. |
#Your configuration:
Rolisteam version:
Operating System and version : Windows 10
Rolisteam Setting (remove irrelevant):
#What did you do ? (Explain each step from starting rolisteam to the issue)
#What did you expect to see ?
#What did you get instead ? (Describe in details the issue)
I tried on many files even some I shared on GitHub, same result
And if I regenerate the code from RCSE, i lost background images...
Is there something to do to upgrade character sheet from 1.8.2 to 1.9 ?
The text was updated successfully, but these errors were encountered: