Author Topic: AGS ThemeEditor  (Read 521 times)

AGS ThemeEditor
« on: 24 Mar 2019, 10:20 »
Hi,

I present you a Theme editor for AGS.

At the moment it is only a PropertyGrid which shows the Elements you can edit and save. (Plain and simple)
https://bitbucket.org/rulaman/ags-themeeditor/src
Edit: Now with the compiled app: https://bitbucket.org/rulaman/ags-themeeditor/downloads/

Planned (unordered):
- Visual attractive editor like VS2017 Color theme editor
- Plugin and stand alone versions
- Change ags sources to interact with editor and instant takeover of the settings.


Greetings
Rulaman
« Last Edit: 24 Mar 2019, 10:46 by Rulaman »
Zak: Komm mit mir Sushi.
Zak: Come with me Sushi.

Re: AGS ThemeEditor
« Reply #1 on: 24 Mar 2019, 10:47 »
If my understanding is correct, this is for AGS 3.5.0 themes, right?

Re: AGS ThemeEditor
« Reply #2 on: 24 Mar 2019, 13:41 »
I get an error when trying to read VisualStudioDark.json:

Newtonsoft.Json.JsonReaderException: Error parsing comment. Expected: *. Line 732, position 31.

It appears it doesn't support comments. AGS itself uses the same json parser, so maybe it's just a missing option.

Re: AGS ThemeEditor
« Reply #3 on: 26 Mar 2019, 19:40 »
Maybe a missing option. I look into it.
Its only a preview at the moment.

Do you have an example file?

----

Yes. It is for the new themable editor.
Zak: Komm mit mir Sushi.
Zak: Come with me Sushi.

Re: AGS ThemeEditor
« Reply #4 on: 26 Mar 2019, 20:41 »
I linked the file on the previous comment  ;)

Re: AGS ThemeEditor
« Reply #5 on: 01 Apr 2019, 20:13 »
Hi eri0o,

I have uploaded a new version. (.NET Framework 4.5 and a new version of Newtonsoft.Json which supports comments)

Now with a better layout (the PropertyGrid is still online and updated only, if you click in it, when you made changes in the other side.

Btw. The spec says, comments are not allowed in json files.
Zak: Komm mit mir Sushi.
Zak: Come with me Sushi.

Re: AGS ThemeEditor
« Reply #6 on: 21 May 2019, 03:00 »
Hey, shouldn't this editor offer some sort of preview? Maybe capture a print screen of ags with many panels loaded at same time (for preview image), and have it's colors be filled dynamically per the settings.

Re: AGS ThemeEditor
« Reply #7 on: 23 May 2019, 19:37 »
I plan to made a plugin and an interface to ags to set the changes immediately.

Btw. here is a fork, with only the nessesary modifications to enable an online change of existing themes.
https://github.com/Rulaman/ags
Zak: Komm mit mir Sushi.
Zak: Come with me Sushi.