Fantasy Grounds Fridays Pre
Page 53 of 53 First ... 343515253

Thread: 4E Item Parser

  1. #521
    Is it possible to get back those .txt from the .mod file?

  2. #522
    Not legally, no. The online compendium that the Parser used to scrape is no longer available. I wouldn't know how to make it work with the offline compendium either so we're stuck :P

  3. #523
    Quote Originally Posted by spite View Post
    I wouldn't know how to make it work with the offline compendium
    With the power of Python Scripts!

    Let's take time to expose a little context through a (too much) detailed backstory. See a few weeks ago a player (and long time friend) got to attend to a “computer programmation formation” held by his company to expand employee skills during these confined times.

    They learned python and since I work in software development for 8+ years now I saw that as a cool opportunity to show him how useful it can be. The coding exercises he had to do in his formation were really dull and pointless so I offered him an “special assignments” little more exciting and challenging : scripts to convert data from the “offline compendium” to Fantasy Grounds modules.



    For those who never heard about the offline compendium, it was a way to access the online 4E compendium without internet. It was great for us since we have a tradition of playing in a large farmhouse without internet access (+ it had way better research feature). Nowadays since the online compendium has been shut down by WotC it became the only way to access all 4E data and many DM made the migration before the shutdown (here is a video for more details https://www.youtube.com/watch?v=aNDze9Ok5fE).

    So, since I’m not a BBEG and I did not want to throw my newfound student to an unachievable task, I decided I would make the first two scripts to import NPC, POWERS and FEATS (that would later serve me as examples when teaching him how to it himself) and then ask him to make remaining scripts for non magical base ITEMS (others, armors, weapons).


    full size: https://i.imgur.com/dKLVdlD.png

    Turns out he had a blast doing it, and so did I. And as you can see above we managed to integrate even though the code quality is clearly not state of the art, it worked ! All 5000+ Monsters, 9000+ Powers, 3000+ Feats and non magical base items are available for us to play with. For the Westmarch game I recently launched, it’s really great. With these 6 modules you have everything you would need to start a campaign, for you as DM you have monsters to build encounters with. For your players, easy drag and drop powers, feats, weapons, armors and other basic items into their character sheets.

    So here I am with a few scripts that could help many of those still playing 4E and are eager to use FG for it but are refrained because the lack of easily integrated modules. In the following days I will clean up and share these scripts, maybe make a tutorial on how to use them. So my question is a bit more for the moderators out here, would you allow me to post a link to these scripts here? And if so, since it might be great for a lot of 4E FG users, could you link these scripts on the first post of this thread?


    tl;dr; I want to share the scripts I wrote and used to create FG modules from 4E Offline Compendium but I am not quite sure if it’s okay to do so.
    Last edited by VegaFontana; July 16th, 2020 at 22:54.

  4. #524
    VegaFontana, Very nice!

    I am not the definitive source but from everything I have seen on these forums is that you can post your scripts. You just cannot post the actual 4E data.

    And I would recommend just making your own thread so that it is owned by you and no one has to go through the 50 pages of old and no longer relevant info (and has a better and more meaningful thread name.)

    The moderators have the ability to "sticky" your new post.

    I hope a lot of people used the 4E offline tool.

    Also, I am jealous that based on what you wrote above, you seemed to have not had nearly as much trouble as I did with this. I never posted the code (written in C#) partially because it is so bad and because it so much (I can't remember exactly but I think it was over 10,000 LOC.)

  5. #525
    Quote Originally Posted by valeros View Post
    you can post your scripts. You just cannot post the actual 4E data. [...]
    Well this is it, I'll bundle these scripts in an executable and post them :)

    Quote Originally Posted by valeros View Post
    I would recommend just making your own thread [...] he moderators have the ability to "sticky" your new post.
    This makes a lot of sense yeah I don't know why I haven't thought about it, thanks!

    Quote Originally Posted by valeros View Post
    you seemed to have not had nearly as much trouble as I did with this
    Oh well code is kind of bad here too, and a bit long, often farfetched but in the end it creates the db.xml files.
    The fact that I did it to teach things to a friend + the satisfaction when you see all the content showing up in FG have helped to create a good time for us :D

  6. #526
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    12,852
    Blog Entries
    9
    Yes, scripts are fine, they are your creation (please post a license with them, a pet request of mine!). Only the data itself is protected as other people's IP.

    And yes, please start a new thread, once the script is posted, one of us will sticky it for everyone.

  7. #527
    Quote Originally Posted by VegaFontana View Post
    Well this is it, I'll bundle these scripts in an executable and post them
    Please tell us that this is still happening! I didn't miss it somehow, right?

  8. #528
    Oh yes of course, but I want to do it right so that it's easy to understand how to make it work properly.

    And this week has been huge between work, personnal life and running the game for my tables ^^'

    But be sure it will arrive soon, I'd say between today and this weekend!

  9. #529
    Quote Originally Posted by YellowAdder View Post
    I didn't miss it somehow, right?
    You did not! But in case you might miss it now that it's live, here is the link to the post that displays how download and use these scripts:
    https://www.fantasygrounds.com/forum...376#post528376

Thread Information

Users Browsing this Thread

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
FG Spreadshirt Swag

Log in

Log in