DICE PACKS BUNDLE

Thread: Logo / License

  1. #1
    Oberoten's Avatar
    Join Date
    May 2006
    Location
    Älvsbyn, Sweden
    Posts
    2,620

    Logo / License

    A very nice little thing about the packaged D20 ruleset is that it shows a logotype and a little license text when selected...

    I copied this over to my own ruleset thinking that "okay, easy enough..."
    Only of course it wasn't.

    Searching through the textfiles for the relevant links has given nothing so I am starting to think... is this a function of using zip files pointed to in the register somehow? Or is there any way for us to do this too?
    For your Ars Magica needs :
    https://fgrepository.com




    Atque in perpetuum frater, Ave atque vale.

  2. #2
    Foen's Avatar
    Join Date
    Jan 2007
    Location
    Suffolk, England
    Posts
    2,007
    I'd like to do this too, but so far have only managed to include the text in the chat window once the ruleset has been launched (I put a call to delivermessage in the chatmanager registercontrol function).

    Cheers

    Foen

  3. #3
    Foen's Avatar
    Join Date
    Jan 2007
    Location
    Suffolk, England
    Posts
    2,007
    Interestingly (or not) the latest drop of FGII now includes two new files in the d20.pak ruleset, logo.pgn and license.html, both of which are copies of the ones on the start-up screen.

    Unfortunately, the loader does not seem to detect these for non-d20 rulesets. Maybe this will come in due course?

    Cheers

    Foen

  4. #4
    Foen's Avatar
    Join Date
    Jan 2007
    Location
    Suffolk, England
    Posts
    2,007
    Following a bit of further digging, it seems the d20.pak files can be edited to change the licence text and logo, but including those files in your own ruleset does not cause them to display.

    Furthermore, I cannot get a custom ruleset to load from a PAK file - anyone got any clues on this one?

    Cheers

    Foen

  5. #5
    Foen, you may need to add your custom pak to the registry?? I havent tried but I've noticed registry keys around the pak files.

  6. #6
    Foen's Avatar
    Join Date
    Jan 2007
    Location
    Suffolk, England
    Posts
    2,007
    Cheers, I'll give it a whiz. Do you mean the (Windows) system registry, or the FGII registry? I think the customisation guide said that FGII keeps its own registry.

    Foen

  7. #7
    Foen's Avatar
    Join Date
    Jan 2007
    Location
    Suffolk, England
    Posts
    2,007
    OK, I've got this to work now.

    The ruleset needs to have two files in its root directory, logo.png and license.html, and needs to be presented as a PAK (zipped) file in C:\Program Files\Fantasy Grounds II and NOT under C:\Users\[Account Name]\AppData\Roaming\Fantasy Grounds II\rulesets (or the equivalent for XP).

    For the PAK file to be recognised, the Windows Registry needs to include the following entries (using my CoC ruleset as an example):

    [HKEY_CURRENT_USER\Software\Fantasy Grounds\Rulesets\CoC]
    "Name"="CoC"
    "Package"="CoC.pak"

    And bingo!

    Foen

  8. #8
    Nice work Foen! Thanks!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
STAR TREK 2d20

Log in

Log in