News:

A forum for users of LackeyCCG

Main Menu

Update File Help

Started by CecilArcelle, May 25, 2011, 01:56:10 AM

Previous topic - Next topic

CecilArcelle

Hello, I've been working on the update file for the plugin I'm working on. And while the checksum files download, none of the card images are downloading, and I can't figure out what I've done wrong. The general url I included at the bottom currently doesn't work because of some setting on my server which I'm trying to resolve with the host, so, in the meantime, I tried to use the specific urls.



Yagyu 05-24-11
plugins/Yagyu/plugininfo.txt http://mtgtsingles.com/Yagyu/plugininfo.txt 109530
plugins/Yagyu/setlist.txt http://mtgtsingles.com/Yagyu/setlist.txt 1266
plugins/Yagyu/sets/carddata.txt http://mtgtsingles.com/Yagyu/sets/carddata.txt 633606
CardImageURLs:
/General/Ambush copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Ambush copy.jpg
/General/Ashigaru Ashikaga 1 copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Ashigaru Ashikaga 1 copy.jpg
/General/Ashigaru Yamato volunteers copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Ashigaru Yamato volunteers copy.jpg
/General/Ashikaga Haruuji enemy of the hojo copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Ashikaga Haruuji enemy of the hojo copy.jpg
/General/Ashikaga Yoshiaki Shogun's Brother copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Ashikaga Yoshiaki Shogun's Brother copy.jpg
/General/Ashikaga Yoshihide Noble of Virtue copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Ashikaga Yoshihide Noble of Virtue copy.jpg
/General/Yoshiteru Ashikaga The Warrior ShogunCOLOR copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Yoshiteru Ashikaga The Warrior ShogunCOLOR copy.jpg
/General/Ashikaga Yui Spy of the Hojo copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Ashikaga Yui Spy of the Hojo copy.jpg
/General/Base Spear copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Base Spear copy.jpg
/General/Betrayer copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Betrayer copy.jpg
/General/Yagyu Katana 1 copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Yagyu Katana 1 copy.jpg
/General/Boder Fortress Generic Site copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Boder Fortress Generic Site copy.jpg
/General/Cutting copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Cutting copy.jpg
/General/Deepest Feelings copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Deepest Feelings copy.jpg
/General/Defiance copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Defiance copy.jpg
/General/Fade into the night (Ninjutsu) copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Fade into the night (Ninjutsu) copy.jpg
/General/Field of Battle Generic Site copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Field of Battle Generic Site copy.jpg
/General/Fire Attack copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Fire Attack copy.jpg
/General/fujibayashi Nagato Shadow master COLOR copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/fujibayashi Nagato Shadow master COLOR copy.jpg
/General/Fusetake Yumi copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Fusetake Yumi copy.jpg
/General/Good Economy copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Good Economy copy.jpg
/General/Goto Joshin Shoguns Sword Smith copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Goto Joshin Shoguns Sword Smith copy.jpg
/General/Harvest copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Harvest copy.jpg
/General/Honor Guard Elite Warrior copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Honor Guard Elite Warrior copy.jpg
/General/Honerable Warrior copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Honerable Warrior copy.jpg
/General/Horsemen of war copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Horsemen of war copy.jpg
/General/Hosokawa Fujitaka deputy of the shogun copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Hosokawa Fujitaka deputy of the shogun copy.jpg
/General/Hosokawa Harumoto Defender of the Shogun copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Hosokawa Harumoto Defender of the Shogun copy.jpg
/General/Hosokawa Ujitsuna Daimyo of Deciet copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Hosokawa Ujitsuna Daimyo of Deciet copy.jpg
/General/Icon SHeet copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Icon SHeet copy.jpg
/General/Igamono Assassins of the Miyoshi copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Igamono Assassins of the Miyoshi copy.jpg
/General/Ishiki Fujinaga Devoted Noble copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Ishiki Fujinaga Devoted Noble copy.jpg
/General/Toda Isshin Itto Stance copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Toda Isshin Itto Stance copy.jpg
/General/Yoshioka Katana 1 copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Yoshioka Katana 1 copy.jpg
/General/Kakuzenbo Inei Young Prodigy copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Kakuzenbo Inei Young Prodigy copy.jpg
/General/Kanemaki Jisai the Pretty Samurai copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Kanemaki Jisai the Pretty Samurai copy.jpg
/General/Kyoto City Ashikaga Han yamashiro copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Kyoto City Ashikaga Han yamashiro copy.jpg
/General/Leather Armor copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Leather Armor copy.jpg
/General/Locking swords.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Locking swords.jpg
/General/Loyal.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Loyal.jpg
/General/Matsuda Muneshige Man of Yamato copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Matsuda Muneshige Man of Yamato copy.jpg
/General/Matsui Sagonokami Shoguns Boy copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Matsui Sagonokami Shoguns Boy copy.jpg
/General/Matsunaga Hasahide General of Deciet copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Matsunaga Hasahide General of Deciet copy.jpg
/General/Miyoshi Masayasu Bold Captain copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Miyoshi Masayasu Bold Captain copy.jpg
/General/Miyoshi Nagayoshi Lord of Ambition COLOR copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Miyoshi Nagayoshi Lord of Ambition COLOR copy.jpg
/General/Miyoshi Nagayuki Hot headed warrior copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Miyoshi Nagayuki Hot headed warrior copy.jpg
/General/Miyoshi Kazanari Sogo the Devil copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Miyoshi Kazanari Sogo the Devil copy.jpg
/General/Momochi Sandayu Lord of the Shadows copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Momochi Sandayu Lord of the Shadows copy.jpg
/General/Night copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Night copy.jpg
/General/Morita Joun the Shadow Stalker copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Morita Joun the Shadow Stalker copy.jpg
/General/Mount Shigi Miyoshi Han Yamato copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Mount Shigi Miyoshi Han Yamato copy.jpg
/General/Mt Akutagawa Castke Miyoshi Han Settsu copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Mt Akutagawa Castke Miyoshi Han Settsu copy.jpg
/General/Muramachi palace home of the shogun copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Muramachi palace home of the shogun copy.jpg
/General/Ozoin Nikkan copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Ozoin Nikkan copy.jpg
/General/political maneuvers copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/political maneuvers copy.jpg
/General/Rain copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Rain copy.jpg
/General/Ronin Masterless Samurai copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Ronin Masterless Samurai copy.jpg
/General/Ashikaga Samurai 1 copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Ashikaga Samurai 1 copy.jpg
/General/Samurai Warriors of Ambition copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Samurai Warriors of Ambition copy.jpg
/General/Samurai Training copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Samurai Training copy.jpg
/General/Ashikaga Katana copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Ashikaga Katana copy.jpg
/General/Shinmen Munisai Ronin of Sakushu copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Shinmen Munisai Ronin of Sakushu copy.jpg
/General/Ashikaga Shinobi 1 copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Ashikaga Shinobi 1 copy.jpg
/General/Shogunate copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Shogunate copy.jpg
/General/Sogo Murasaki Wife of the Devil copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Sogo Murasaki Wife of the Devil copy.jpg
/General/Speed of Flight copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Speed of Flight copy.jpg
/General/Stand your ground copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Stand your ground copy.jpg
/General/Starve them out copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Starve them out copy.jpg
/General/Storm of Arrow's copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Storm of Arrow's copy.jpg
/General/Sun Light copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Sun Light copy.jpg
/General/Toda Ryo Suriage copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Toda Ryo Suriage copy.jpg
/General/Yoshioka Tachi Waza Stance.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Yoshioka Tachi Waza Stance.jpg
/General/Tatami Armor copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Tatami Armor copy.jpg
/General/Yoshioka The shank is dense copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Yoshioka The shank is dense copy.jpg
/General/Trusted Steed copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Trusted Steed copy.jpg
/General/Bokuden Tsukahara Kengo of No Sword copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Bokuden Tsukahara Kengo of No Sword copy.jpg
/General/Tsutsui Junsho pawn of miyoshi copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Tsutsui Junsho pawn of miyoshi copy.jpg
/General/Tumbled from Horses copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Tumbled from Horses copy.jpg
/General/Ueda Mitsutsugu the man from Iga copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Ueda Mitsutsugu the man from Iga copy.jpg
/General/Base Iron Katana copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Base Iron Katana copy.jpg
/General/Base Iron Naginita copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Base Iron Naginita copy.jpg
/General/Generic Village copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Generic Village copy.jpg
/General/Weapon Chest copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Weapon Chest copy.jpg
/General/Wild Horse copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Wild Horse copy.jpg
/General/Yagyu Ieyoshi Guardian of Kasugi Shrine copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Yagyu Ieyoshi Guardian of Kasugi Shrine copy.jpg
/General/Yagyu Muneyoshi Prodegy of Yamato COLOR copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Yagyu Muneyoshi Prodegy of Yamato COLOR copy.jpg
/General/Yagyu Shigenaga General of Yamato copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Yagyu Shigenaga General of Yamato copy.jpg
/General/Yagyu Shigeyoshi Page of matsunaga copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Yagyu Shigeyoshi Page of matsunaga copy.jpg
/General/Yagyu Swordsman True Bushi copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Yagyu Swordsman True Bushi copy.jpg
/General/Miyoshi Sword copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Miyoshi Sword copy.jpg
/General/Yoshioka Naokata Kenpo Master of the blade COLOR copy.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/Yoshioka Naokata Kenpo Master of the blade COLOR copy.jpg
/General/cardback.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/cardback.jpg
/General/spawned.jpg http://www.mtgtsingles.com/Yagyu/sets/setimages/General/spawned.jpg
CardGeneralURLs:
http://mtgtsingles.com/Yagyu/sets/setimages/General/



Edit: I'm aware that the spaces in the names could be doing it, however, I can't even get the cardback or spawned image to go.

Picks-at-Flies

Let's start with the silly question:  when you test the autoupdate, do you already have copies of those files in your Lackey folder?  I always use a separate installation of Lackey for testing.

Trevor

#2
You need to include cardback.jpg (and spawned.jpg) along with the other files at the top, and NOT with the card images listed below CardImageURLs. Those are essential files needed to run the plugin, not just some files that can be downloaded as needed later.

Also, some of your file names have spaces in them. That is a bad idea.

Next time you have questions, post the actual file, not just a copy/paste. Copy/paste doesn't preserve weird formatting issues that can be the source of problems.

Trevor

it appears as those all of your images are at http://mtgtsingles.com/Yagyu/sets/setimages/General/. In that case, it's redundant to list any CardImageURLs.

Just list
QuoteCardGeneralURLs:
http://mtgtsingles.com/Yagyu/sets/setimages/General/
below the links to the other files.

Also, I want to remind you that the file hierarchy of the files online need not (and probably should not) have anything to do with their file hierarchy when downloaded.
Instead of
Quoteplugins/Yagyu/setlist.txt   http://mtgtsingles.com/Yagyu/setlist.txt   1266
plugins/Yagyu/sets/carddata.txt   http://mtgtsingles.com/Yagyu/sets/carddata.txt   633606
I suggest you do
Quoteplugins/Yagyu/setlist.txt   http://mtgtsingles.com/Yagyu/setlist.txt   1266
plugins/Yagyu/sets/carddata.txt   http://mtgtsingles.com/Yagyu/carddata.txt   633606

And similarly, you might as well put your card images at http://mtgtsingles.com/Yagyu/images/ or http://mtgtsingles.com/Yagyu/high/ instead of http://mtgtsingles.com/Yagyu/sets/setimages/General/

Trevor

#4
Your entire updatelist.txt might look like:
Quoteagyu   05-24-11
plugins/Yagyu/plugininfo.txt   http://mtgtsingles.com/Yagyu/plugininfo.txt   109530
plugins/Yagyu/setlist.txt   http://mtgtsingles.com/Yagyu/setlist.txt   1266
plugins/Yagyu/sets/carddata.txt   http://mtgtsingles.com/Yagyu/carddata.txt   633606
plugins/Yagyu/sets/setimages/general/cardback.jpg   http://mtgtsingles.com/Yagyu/high/cardback.jpg   42
plugins/Yagyu/sets/setimages/general/spawned.jpg   http://mtgtsingles.com/Yagyu/high/spawned.jpg   43

CardGeneralURLs:
http://mtgtsingles.com/Yagyu/high/

Instead of
QuoteCOLUMN3:"Faction Mon" 1
COLUMN4:"Type of Card" 1
I suggest
QuoteCOLUMN3:"Faction" 1
COLUMN4:"Type" 1

CecilArcelle

#5
I fixed the spawned and cardback files to their appropriate place. I think the main issue I'm having then, if I shouldn't use all the single links because they're at their general url, is that I can't get that to work correctly.

When I try to link directly to a folder like that on a server, it either says it's not there or forbidden? How does one set it up to work like this: http://lackeyccg.com/war3000/medium/general/

I think that part of this problem could be due to my lack of familiarity with systems like this. For some reason, I finally understood the first part of the updater last night.

And thank you for your help. I apologize if I forgot to include some information. This is my first time doing this, and normally I don't do things like this :)

Trevor

#6
http://lackeyccg.com/war3000/medium/general/ should work as CardGeneralURLs. What Lackey does is append the file name to that, so its no different than the other method where you list them all out. It doesn't matter that http://lackeyccg.com/war3000/medium/general/ is forbidden as long as the files in their can be linked to.
Which they can:
btw, I suggest you batch rename the files to omit the spaces, and batch crop the border and resize them in photoshop. 371x508 is too big. At the very least, you should make a lower quality version maybe about 200x285 or so for people with smaller monitors.

CecilArcelle

I'll have the card creator change the names of the files since he has the originals, and keep you updated. I believe that the spaces may very well be the cause of the problem. For the heck of it, I tried to do a card image the check sum way, and it looks like it tries to download whatever the last part of the card name is, after the spaces.

I also took your suggestions on structure, thanks for that. It's actually a lot easier that way :)