AGS ThemeEditor

Started by Rulaman, Sun 24/03/2019 10:20:40

Previous topic - Next topic

Rulaman

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://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
Zak: Komm mit mir Sushi.
Zak: Come with me Sushi.

Crimson Wizard

If my understanding is correct, this is for AGS 3.5.0 themes, right?

eri0o

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.

Rulaman

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.

eri0o

I linked the file on the previous comment  ;)

Rulaman

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.

eri0o

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.

Rulaman

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.

fancasopedia

Guys, is it for AGS Dark Theme?  How can I install this? Can you write to steps? Thank you...

Crimson Wizard

#9
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.

fancasopedia

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 ?

Crimson Wizard

#11
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.


robcolton

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.

Rulaman

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.
Zak: Komm mit mir Sushi.
Zak: Come with me Sushi.

Gal Shemesh

#14
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 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
Gal Shemesh,
goldeng

Alan v.Drake

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

SMF spam blocked by CleanTalk