-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Download Deck in OCTGN format #32
Comments
If they have it working, then I just need the octgn card ids from somewhere. |
It looks like the card ids (at least for the core set) are stored here: https://github.com/GeckoTH/arkham-horror/blob/master/o8g/Sets/Core%20Set/set.xml. Curse of the Rougarou cards in a similar named location. Example deck format can be seen here: https://github.com/GeckoTH/arkham-horror/blob/master/o8g/Decks/01%20-%20Core/Starter%20-%20Agnes%20Baker.o8d. Note the 2 investigator cards, one for the main card, one for the mini used at locations. |
I added the octgn ids, just need to know the format it expects for the deck file, and how to do these tiny investigator card things. |
it has been added, for the core set at least, decks seem valid but it is missing the tiny investigator id, assuming that is needed, otherwise it should work. |
I just submitted a pull request to bring the export into alignment with the OCTGN module. The export is actually currently including the investigator mini card, but not the actual investigator card. (At least, that's what happened when I tried an export.) I'm not familiar enough with the arkhamdb.com code to find and fix that issue, but I can help with the IDs that are needed. Basically, investigator cards come in pairs. One of the XML nodes has the attribute size="InvestigatorCard" with a card property of "Type" set to "Investigator". That's the actual investigator card. The other has the attribute size="MiniCard" with a card property of "Type" set to "Mini". For an exported deck to be usable directly in a game, the deck file must contain both of those cards in the "Investigator" section. |
as far as I know this works now, so will close, and can open if it doesnt, |
It would be nice to be able to download a deck in OCTGN format, compatible with the arkham horror module https://github.com/GeckoTH/arkham-horror
The text was updated successfully, but these errors were encountered: