saif-ellafi / foundryvtt-mythic-gme

Mythic GM Emulator Macros and Roll Tables
Other
27 stars 15 forks source link

Help Troubleshooting Foundry VTT Macro #34

Closed Decanblue closed 3 weeks ago

Decanblue commented 1 year ago

@saif-ellafi I have loaded the files into the appropriate folder but for some reason I am receiving a 404 error when the macro looks for the cards. It does pull the card # and if it is reversed/flipped but no image is shown. This occurs both locally on my machine and when I use the macro on The Forge setup I have too. The one difference on The Forge is that I cannot get the decks folder in the User Data folder so the deck data/images is only in the My Assets folder on The Forge setup.

Can you help me figure out why the macro can't find the card images regardless of where the Foundry VTT module points to the files.

On my local setup it is exactly as the installation instructions show and it still throws a 404 error. The Forge and Foundry help teams noted that the applications will look for the data where it is directed so their thought is that the macro may need to be changed to account for the change in location from User Data to My Assets folder. However, I can't seem to see where the macro might be doing that.

Thanks for your help!

horusofoz commented 1 year ago

@Decanblue

You need to set the folder location and store the image with the right file names and folder path.

To set the folder location, open the Configure setting dialog > Navigate to Mythic GME Tools > Select Deck Path Location then use the file picker to select where your deck is located.

image

Also ensure the deck has the appropriate file and folder names. Here in the deck macros file, if you copy out line 1 and use a format it as JSON, you can see the images have an expected file format of Mythic Deck, Individual Card Images/MythicDeck6.

You can identify the required file extension (png) by review the macro code on GitHub here (line 1) or as illustrated in Foundry below.

image

Summary

Please confirm if that resolves your issue.