Adventure Game Studio | Forums

AGS Support => Modules, Plugins & Tools => Topic started by: Rulaman on Sun 24/03/2019 10:20:40

Title: AGS ThemeEditor
Post by: Rulaman on Sun 24/03/2019 10:20:40
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 (https://bitbucket.org/rulaman/ags-themeeditor/src)
https://github.com/Rulaman/AGS-ThemeEditor
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

Edit 2021-09-09: Changed Bitbucket to GitHub
Title: Re: AGS ThemeEditor
Post by: Crimson Wizard on Sun 24/03/2019 10:47:11
If my understanding is correct, this is for AGS 3.5.0 themes, right?
Title: Re: AGS ThemeEditor
Post by: eri0o on Sun 24/03/2019 13:41:40
I get an error when trying to read VisualStudioDark.json (https://gist.github.com/ericoporto/89918e5e7eab075448964446145eaf86):

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.
Title: Re: AGS ThemeEditor
Post by: Rulaman on Tue 26/03/2019 19:40:19
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.
Title: Re: AGS ThemeEditor
Post by: eri0o on Tue 26/03/2019 20:41:13
I linked the file on the previous comment  ;)
Title: Re: AGS ThemeEditor
Post by: Rulaman on Mon 01/04/2019 20:13:11
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.
Title: Re: AGS ThemeEditor
Post by: eri0o on Tue 21/05/2019 03:00:01
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.
Title: Re: AGS ThemeEditor
Post by: Rulaman on Thu 23/05/2019 19:37:20
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
Title: Re: AGS ThemeEditor
Post by: fancasopedia on Wed 25/09/2019 08:07:16
Guys, is it for AGS Dark Theme?  How can I install this? Can you write to steps? Thank you...
Title: Re: AGS ThemeEditor
Post by: Crimson Wizard on Wed 25/09/2019 15:27:35
Quote from: fancasopedia on Wed 25/09/2019 08:07:16
Guys, is it for AGS Dark Theme?

This is a tool that lets you configure your own custom theme. If you only want to use existing theme, then simply download the theme itself and install it through editor's Preferences.

Quote from: fancasopedia on Wed 25/09/2019 08:07:16
How can I install this? Can you write to steps?

Follow the download link in the first post that sais "compiled app" (https://bitbucket.org/rulaman/ags-themeeditor/downloads/)
Download the one with the highest version number.
Create a folder and unpack a zip.
Run ThemeApp.exe.
Title: Re: AGS ThemeEditor
Post by: fancasopedia on Thu 31/10/2019 17:34:18
Quote from: Crimson Wizard on Wed 25/09/2019 15:27:35
Quote from: fancasopedia on Wed 25/09/2019 08:07:16
Guys, is it for AGS Dark Theme?

This is a tool that lets you configure your own custom theme. If you only want to use existing theme, then simply download the theme itself and install it through editor's Preferences.

Quote from: fancasopedia on Wed 25/09/2019 08:07:16
How can I install this? Can you write to steps?

Follow the download link in the first post that sais "compiled app" (https://bitbucket.org/rulaman/ags-themeeditor/downloads/)
Download the one with the highest version number.
Create a folder and unpack a zip.
Run ThemeApp.exe.

Hello again :)
I checked my Preferences but did not find anything about themes? Is it for 3.5.0 ?
Title: Re: AGS ThemeEditor
Post by: Crimson Wizard on Thu 31/10/2019 20:10:01
Quote from: fancasopedia on Thu 31/10/2019 17:34:18
I checked my Preferences but did not find anything about themes? Is it for 3.5.0 ?

Yes, this is for 3.5.0, that's the first version that supports custom themes.

(https://i.imgur.com/jhBIrri.png)
Title: Re: AGS ThemeEditor
Post by: robcolton on Fri 01/11/2019 20:14:28
Maybe I'm being dense, but I couldn't figure out how to color the background of the Room editor with your tool. It stays light gray.

Also, the little drop down arrows in the Room toolbar are always black and are hard to see with a dark theme, and I couldn't figure out how to change their color either.
Title: Re: AGS ThemeEditor
Post by: Rulaman on Tue 05/11/2019 20:37:25
Hi robcolton,

my editor shows only the content of the loaded file. Maybe the options aren't in the file, so you can't change it.
Title: Re: AGS ThemeEditor
Post by: Gal Shemesh on Tue 27/06/2023 17:02:06
Is there an updated link to download the Theme Editor? Would love to make a custom dark mode for AGS. Thanks
UPDATE: Sorry, the link (https://github.com/Rulaman/AGS-ThemeEditor) didn't work at first. Now it works, though I see that it's for the source code.

Is there an actual executable for using the theme editor or instructions how to use it?

Thanks
Title: Re: AGS ThemeEditor
Post by: Alan v.Drake on Wed 05/07/2023 12:55:25
With the modern format, all you need is a text editor with plugins, or even a json online editor like https://jsoneditoronline.org/

Be sure to read the format docs: https://github.com/adventuregamestudio/ags-themes/blob/master/FORMAT.md
If you don't need retrocompatibility, making themes is much simpler thanks to the new format.


- Alan