Re: myk's code contributions
@goonjamin: I see what you mean -- sync back to r20415 to get it working until I can get Max's changes sorted out.
High Quality Resources for Collectible Card Games and Home of the CCGHQ Team
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=52&t=9483
what do you mean? for use by which data consumer?Max mtg wrote:@All: I don't know how to detect which pictures are present in a given forge installation.
Would love to know if player has per-set images or all dumped in a single folder. To know before ImageLoader tries to guess which file is present.myk wrote:what do you mean? for use by which data consumer?Max mtg wrote:@All: I don't know how to detect which pictures are present in a given forge installation.
Yes, they are.myk wrote:We do actually use the .png versions - the .jpg files are no longer downloaded for the booster pics. The ones in the zip you just uploaded are different files than what was in the pics_product/boosters directory, though. Are they new and improved versions?
awesome. thx! Edit: it looks like the germ token added by Batterskull is still not appearing correctly.Max mtg wrote:Updated some files by r20427 - all points work for me.
About that issue with the downloader - r20424 addresses it.
This was previously handled by code we discussed earlierWas this unsolved, or did I break the mechanism that supported correct card image retrieval in that scenario?
As Max mentioned, you can specify relative directories in the forge.profile.preferences file. There is more information and a list of examples in there. If you've already imported your data to the default directory, you can "import" it from there right back to your new profile directory after you set the paths in the preferences file. Just choose the old default directories as your import source.Diogenes wrote:Before the new content management system it was possible to copy my entire Forge folder to a different machine and have it immediately work
When implementing the importer, I debated this behavior with myself. On one hand, there is the danger of importing garbage that will just take up space. On the other hand, that data might prospective, as yours appears to be. I finally decided that the danger of confusing users by automatically bringing in unrecognized data was a greater risk.My image directories include complete sets in anticipation of Forge support. As it is, the content importer only grabs the images which are currently downloadable. It would be nice if there were a check-box for users with similar setups to my own that allowed them to simply transfer the entire contents of their set folders (including subdirectories - I use them in my tokens folder) to their new locations, whether Forge recognizes each individual file or not
As the whole reason for the new naming scheme is so that we are compatible with MWS and the HQ pics torrent, it is unlikely that the change will be reverted (unless we decide, as a community, that this is a bad idea). Max did just add a capability to map set subdirectory codes, though. Check out the last property in the forge.profile.properties.example file.(the different set naming scheme also threw me off and it took me about half an hour to sort out the remaining images by hand - will this be reverted before the next numbered release?)
Not at all, it opens up some great points of discussion! I was hoping to get this stuff out in the open before I merged the branch into trunk, but I do understand that not everyone has time to test experimental branches : )Sorry if that sounds like a bunch of complaints!