PDA

View Full Version : Anyway to change the GM token?



adminwheel3
November 15th, 2010, 01:34
I use 4e and I'd like to have something other than a big blue button next to my name when I speak in chat.

Maybe a skull. Or a kitten. Or a kitten skull!

Sorcerer
November 15th, 2010, 09:11
in the icons folder of your ruleset there should be the file

portrait_gm_token.png

change this to whatever you want to have as a portrait.

obviously the 4E ruleset is compressed as a pak file, so you will have to open it up, before you can get at the icons folder...

adminwheel3
December 25th, 2010, 22:39
I finally got around to changing this out by replacing the GM portrait used for the chat list located \Fantasy Grounds II\rulesets\4E_JPG\icons

The filename was portrait_gm_token.png and I replaced it with a different image of the same (30x30) size.

However FG is still finding the old portrait image someplace as it's not changing in game.

Suggestions would be appreciated.

Zeus
December 26th, 2010, 09:00
If your playing with the latest version of the 4E ruleset you want to unpack the 4E.pak ruleset file in the FGII Program directory. 4E_JPG is an older release of the ruleset which resides in the rulesets subfolder of the FGII app folder.

Its probably better to write an extension to replace the graphic, this way when a new version of the 4E ruleset is released you won't have to re-apply any changes.

If you take a look at the 4E House Rules extension (available from the Resource link in my sig) you will find an example of how to override the gm chat token graphic with your own version.

Merry Xmas.

DrZ.

Bidmaron
December 26th, 2010, 16:37
DrZeuss,
On your site, most of the readme links are broken, so I was wondering what the module decompiler does.

Zeus
December 26th, 2010, 22:09
DrZeuss,
On your site, most of the readme links are broken, so I was wondering what the module decompiler does.

Thanks for the heads up, I'll take a look at the links.

As for waht the 4E Module Decompiler does, it does exactly what it says on the tin ;) That is reverse engineer the module XML data into plain text for easier manipulation.

It essentially attempts to decompile a compiled FGII 4E module (XML) into plain text source files, for use with the 4EParser tool by Tenian. I wrote the tool to act as a backup mechanism in case you ever lost your original 4EParser module source files and you needed to update your module. This happened to me after a system crash.

To use the tool, install it and run. Click the load button and select a module client or db.xml file. Click OK. The name of the module should get displayed in the text box to the right. Next click the Decompile button, after a min or two (depends upon the size of the module) the tool should ask for a folder to write the (decompiled) plain text files to. You can then amend these files with new content and re-parse back into a module.

Bidmaron
December 27th, 2010, 05:31
Great. Thanks, Dr Zeuss.