Code Monkey home page Code Monkey logo

Comments (6)

Kamalisk avatar Kamalisk commented on July 22, 2024

If they have it working, then I just need the octgn card ids from somewhere.

from arkhamdb.

sacrelicious2 avatar sacrelicious2 commented on July 22, 2024

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.

from arkhamdb.

Kamalisk avatar Kamalisk commented on July 22, 2024

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.

from arkhamdb.

Kamalisk avatar Kamalisk commented on July 22, 2024

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.

from arkhamdb.

rushl avatar rushl commented on July 22, 2024

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.

from arkhamdb.

Kamalisk avatar Kamalisk commented on July 22, 2024

as far as I know this works now, so will close, and can open if it doesnt,

from arkhamdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.