Wagic on Android: Work-in-progress release

Announcements/news by the admins & moderators
Locked
wololo
Site Admin
Posts: 3728
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: Wagic on Android: Work-in-progress release

Post by wololo »

Basically you can create a big archive in which you put all the set images (themselves zipped). All of this has to be in "store" mode:
/wagic/Res/sets.zip

So the full path for sets looks like this:
/wagic/Res/sets.zip/sets/10E/10E.zip
/wagic/Res/sets.zip/sets/ZEN/ZEN.zip
etc...

Basically, you can put the entire game resources inside zips, as long as the content of the zip retains the structure of the "normal" folders

Note that it would also be possible to have a "sets.zip" file with all images inside it (without an additional layer of zips), but I don't recommend it, as every file in the first zip is indexed, and if you have thousands of files, that can easily reach several Megabytes of Ram used just for the index.
Long story short, if you use the structure I described above, you will have all your set zips inside another zip, which means you only have one file to copy to your sdcard.
jwilkes99999
Posts: 151
Joined: Sun Jan 16, 2011 8:58 pm

Re: Wagic on Android: Work-in-progress release

Post by jwilkes99999 »

Ok, I haven't been able to replicate the issue on Windows but I got an android phone (Galaxy S) and I'm having the same problem on it. Could it somehow be tied to my apk? If no ones is running into this problem I figure it has to be something local to my two devices.
wololo
Site Admin
Posts: 3728
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: Wagic on Android: Work-in-progress release

Post by wololo »

everybody got the same apk
jwilkes99999
Posts: 151
Joined: Sun Jan 16, 2011 8:58 pm

Re: Wagic on Android: Work-in-progress release

Post by jwilkes99999 »

Could it be a problem with my card images? I just don't know what I'm doing differently from everyone else so that it seems to only be happening to my devices. At first, I thought it was just my tablet but now that its happened on my phone too I figure its gotta be something that me or my files are triggering. And its happening in both KDED and Wagic.
wololo
Site Admin
Posts: 3728
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: Wagic on Android: Work-in-progress release

Post by wololo »

First, make sure your images are in zip files. We support files outside zips for legacy reasons, but I don't know anybody who actually does it. Based on your description, I don't know how Wagic could erase your files without messing up the entire zip, so I'm assuming your are not using zips?
jwilkes99999
Posts: 151
Joined: Sun Jan 16, 2011 8:58 pm

Re: Wagic on Android: Work-in-progress release

Post by jwilkes99999 »

No, I didn't think to zip the files that came with it but your right they are the ones that aren't zipped and they are the only ones being deleted. I'll check that asap.

Update: This seems to have fixed my problems. Thank you!
xojlmc
Posts: 106
Joined: Sun Jul 10, 2011 2:18 pm
Location: Russia

Re: Wagic on Android: Work-in-progress release

Post by xojlmc »

I have a bit off-topic question: are you planning to add support of double-faced cards of Innistrad?
wololo
Site Admin
Posts: 3728
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: Wagic on Android: Work-in-progress release

Post by wololo »

Please do not discuss MTG in this topic, thanks
vicious
Posts: 6
Joined: Fri Sep 09, 2011 11:15 pm

Re: Wagic on Android: Work-in-progress release

Post by vicious »

Hello. It's me again. I don't see any problems with this app. Only sound doesnt work in my phone.

I have request - wololo could You make bigger "circle" using to change phase? It's little bit too small... And it's frustrating when I try to aim to push it but I missing him.

Thank You all programers for Your work!!! Now I can play in rpg card games on my phone! Now I'm looking for some cool mods (Knights... don't looks to be good). THANK YOU and it's amazing! Make donation button ;-)
xojlmc
Posts: 106
Joined: Sun Jul 10, 2011 2:18 pm
Location: Russia

Re: Wagic on Android: Work-in-progress release

Post by xojlmc »

I also have a request. I use "simple" mana display, cause for my current deck I have a huge amount of mana in pool and it's hard to count it while it's flying. But this simple display closes mana cost on the card
Image
Could you please somehow change the location of this counter?
Locked