Not Logged on

Roll20 CGEN loads

I have been using CGEN on roll20 and sometimes I get an error when importing the plain text D20SRD. I found that manually adding an extra line after the Will save in the GM notes seems to fix the problem.

I can’t seem to fix this in my output though. I anyone is using CGEN and has problems can you let me know?


  1. IndianaDnD says:

    I can’t reply directly to your latest change, but the Gear section needs to be before the Ecology section. It will parse correctly when it is placed after Languages and before Ecology

  2. IndianaDnD says:

    I started messing around with cgen in roll 20 for pathfinder and was going to see if you wanted to work together to fix some formatting issues that was tripping it up, but then it was recommended I switch to foundry vtt.

    However, foundry also has a stat block importer than could ingest the d20srd format, so if you are up for it, I could make some recommendations to get that squared up compatibility wise.

    • admin says:

      That would be very useful. If you can tell me any problems you have with the foundry vtt interface I’ll see what I can do.

      • IndianaDnD says:

        There’s going to be several, but I think taking it a few steps at a time will help. The first big one is that the importer is very good at matching up compendium entries via name match.

        1. Use the full name of the feature in the pfsrd20*.
        example: Armour Prof Heavy -> Armor Proficiency Heavy (*Note that technically the entry is Armor Proficiency, Heavy, but the importer seems to recognize that you aren’t going to use a comma in the feature name itself due to delimiter concerns.)

        2. Change the word Armour to Armor in all places, the importer does not recognize the spelling. It complains about the AC summary for this reason.

        3. Remove the semicolon at the end of the feats list, it doesn’t seem to like it.

        4. Swap the position of the alignment/creature type with the classes. So it should say
        Warrior level 2
        Any Medium Humanoid

        Instead of the other way around.

        • admin says:

          I’ve made these changes the SRD print, let me know what else is required.

          • IndianaDnD says:

            Next, I found out that if you put an entry called “Gear” with a comma delimited list, it will equip the character. This entry should be in the statistics block and each entry should have the exact name in srd.

            For example, my test looked something like…

            Languages Common
            Gear Greatclub, Scale Mail

            And this generates both the Greatclub item and the Scale Mail item for the NPC.

            Also, in foundry, at this point you technically don’t even need the attack block for the weapon because weapons automatically have a use action. Might need to differentiate for natural weapons though, not sure.

          • admin says:

            I’ve now added Gear to the SRD.

Leave a Reply

Logged in as . Log out »