It looks like you're new here. If you want to get involved, click one of these buttons!
Any plans to have this available as 32bit for Linux?
Is there any documentation on how to use these?
I second that, is there any documentation on how to use these?
ipad3cgi generator-file nReps [options]
Where generator-file is the generator to run, nreps is the number of repetitions to run, and [options] is any passed command line options (see below). Only generator-file is required as a parameter. If the number of repetitions is not provided, the default 20 will be run (limited by any MaxReps commands in the generators itself).
ipad3cgi randomnames.ipt 20 -q -t
Which would run 20 repetitions of a generator named randomnames.ipt, and output the results without http headers and as plain text.
Command line options:
Suppresses output of http header. Use this when calling the program from the command line.
Outputs results as text, not html. Note that this does not strip any HTML being inserted by the generator itself. This will, though, automatically set the filter formatting to 'text'.
These were actually in the v2 help, so when these were posted the only people looking for them were v2 users.
Is there a crazy easy way for a dummy like me call an .ipt generator (without prompts) via a web browser search bar line. Assuming everything is on local C: drive and I can map to the application and .ipt file in a normal windows install.
Basically, I'd like to throw something into a Foundry VTT web link, click it and watch the magic happen... even if that means opening a browser window to see the generator results, rather than having the results in the Foundry chat log or a foundry pop-up.
And I'm talking crazy easy. The mention of API and command line just immediately makes my head spin.
You'd need a local web server running. That's not too complicated, as there's a number of "WAMP" (Windows - Apache - MySQL - PHP) installers out there that will set that all up. Once you have that, you can make a small PHP script to call the IPT command line program. That's how I have this set up (though on a Linux server, not on a local Windows machine):
(A basic D&D character generator)
The PHP script, in its entirety, is:
$html = shell_exec( "./ipad3cgi DnD.ipt -q");
Thanks Ed! I'll probably shelf this and come back to it once I decide I'm brave enough set up an AWS to be my foundry server. I'm guessing the script can work on the AWS so long as I upload all my IPP program and generators to be local on that machine.