You are here

Anki Portable 1.2.8 Development Test 2

15 posts / 0 new
Last post
port_usb
port_usb's picture
Offline
Last seen: 11 years 9 months ago
Joined: 2011-03-04 10:21
Anki Portable 1.2.8 Development Test 2

Application: Anki
Category: Education
License: Open Source
Description: Anki is a flashcard program which makes remembering things easy. Because it is a lot more efficient than traditional study methods, you can either greatly decrease your time spent studying, or greatly increase the amount you learn.

Download Anki Portable 1.2.8 Development Test 2 [27.7 MB download / 35.3MB installed]
(MD5: c4d06c5b663093402cf9ab8311d2f0dc)

Release Notes:

1.2.8 Development Test 2 (2011-04-25):

  • Updated launcher file for .matplotlib folder.
  • Updated appinfo.ini file.
  • Adjusted 'DisplayVersion'.


1.2.8 Development Test 1 (2011-03-31):

  • Updated to Anki 1.2.8.
  • Used PA.c Launcher 2.1 Beta 2.
  • Added 'QtKeysCleanup' for Qt Factory Cache 4.7 and Qt Plugin Cache 4.7.false keys that were missed in previous version.
  • Updated location of Plugins and Backups folders.


1.2.7 Development Test 1 (2011-03-08): Initial release

Known Issues:
Decks and deck downloads are stored locally by default and are moved during start and exit. Depending on user deck(s) size this may slow app at start and exit.

John T. Haller
John T. Haller's picture
Offline
Last seen: 6 hours 9 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Custom Code

This is going to require custom code to update the recent paths since it is stored in an oddball format. You can snag it from Mnemosyne Portable where I wrote it already. Also, storing the decks locally by default is a pretty bad situation as lots of decks moving back and forth could get really slow on start and exit.

Also the Qt Factory Cache 4.7 and Qt Plugin Cache 4.7.false keys which can be handled specially with the Beta PA.c Launcher.

Sometimes, the impossible can become possible, if you're awesome!

port_usb
port_usb's picture
Offline
Last seen: 11 years 9 months ago
Joined: 2011-03-04 10:21
First, thanks John...

First, thanks John T.H. for testing and leaving your comments. Smile I thought that selecting this app was a challenge. Just wanted to support expanding the Education section as someone mentioned.

This is going to require custom code to update the recent paths since it is stored in an oddball format. You can snag it from Mnemosyne Portable where I wrote it already.

Don't know much about the custom code. Sounds like it could do good to smooth out the launcher .ini file. I also looked at your Mnemosyne Portable .nsh and .ini file. and just need to understand it (yes, I'm learning as I'm going and consider my PA development skills as a beginner).

Also, storing the decks locally by default is a pretty bad situation as lots of decks moving back and forth could get really slow on start and exit.

I agree. Didn't think it would be an issue with moving decks at first, and may reconsider. Unfortunately, when downloading decks the app tries to store locally by default to 'My Documents\Anki'. This should be in 'Data\Anki'. Deck moving was the only solution. Any suggestions?

Also the Qt Factory Cache 4.7 and Qt Plugin Cache 4.7.false keys which can be handled specially with the Beta PA.c Launcher.

Where? Strange, I didn't realize the Qt Factory Cache 4.7 and Qt Plugin Cache 4.7 were producing false keys. Used RegShot and took snapshots and couldn't find anything.

I'll look into resolving these issues and appreciate guidance and contribution to making this app work better.

hnedka
Offline
Last seen: 12 years 11 months ago
Joined: 2010-11-21 08:46
anki

Anki is a tough nut to crack, but well worth it. Smile There are two ways, how you can deal with the Documents/Anki directory, because moving it is really not desirable. It would take a minute or so on my computer with 10000+ files in the Decks directory. Here is what I do in my portable anki:
1) When exiting the app, I check Documents/Anki for any decks and move them to Anki/Data/Decks. Then I search/replace config.db file and change Documents path to Anki/Data/Decks path (config.db is a standard text file, but you need to adjust delimiter to "\u005c" (sometimes it may be "\u005C"). There is ReplacePathInFile script somewhere on this site, but you need to account for the delimiter.
2) when starting the app I also de search/replace in config.db, but this time I replace old Anki path for the new one (if it had been changed)

That is all there is to it. Another (probably more elegant) way to do it is to use symbolic link/junction for Documents/Anki directory and do copying only if it fails (which should only on some rare configurations). For this I have a script, which I can post here.

Another thing you also should account for (if you want to make it completely portable) is the backup folder, where you should do search and replace on the filenames (both when anki ends and when it starts after changing its location - this time "!" is the delimiter and ":" is left out). Otherwise the folder just grows, because anki always keeps certain number of backups (can be set in settings) and deletes the old ones. But if the path changes, it will create new ones (up to 30 in my case). But this is not absolutely necessary, for Anki to work properly.

Oh, and btw, the new 2.0 Alpha version has another twist - it saves config.db file to an sql database - this can be solved using sqlite command line tool and exporting/importing that file as needed.

port_usb
port_usb's picture
Offline
Last seen: 11 years 9 months ago
Joined: 2011-03-04 10:21
Sounds good. Nice to know I'm

Sounds good. Nice to know I'm amongst helpers on this one. Let us mind melt these ideas and process (scripts) and get a better portable version out. Thinking of setting up a custom.nsh file to solve issues. Is this where scripts 1) and/or 2) is placed?

For this I have a script, which I can post here.

Does this solve the latter, if so then I like to try it out. Unsure if we can post scripts here or on another site location. Suggestions?

Oh, and btw, the new 2.0 Alpha version has another twist - it saves config.db file to an sql database - this can be solved using sqlite command line tool and exporting/importing that file as needed.

Haven't had time to view 2.0 Alpha yet. Thanks for checking though and will consider after getting this tough nut to the ready line.

port_usb
port_usb's picture
Offline
Last seen: 11 years 9 months ago
Joined: 2011-03-04 10:21
Updated to Anki 1.2.8

I've updated to Anki 1.2.8 and made a few adjustments. See release notes.

port_usb
port_usb's picture
Offline
Last seen: 11 years 9 months ago
Joined: 2011-03-04 10:21
Updated to Anki 1.2.8 Dev Test 2

I've made minor adjustments to Anki 1.2.8 Dev Test 2. See release notes.

kujichagulia
Offline
Last seen: 11 years 5 months ago
Joined: 2012-05-08 08:43
Is this still being developed?

Hello,

I love Anki and I love PortableApps.com. I was excited to see this application being tested and developed for use in the PA.com platform; that would be much easier for me than having to deal with a .bat file on my USB drive to open Anki... a .bat file that, by the way, doesn't allow me to eject my flash drive safely. Plus I like that it removes the Anki folder from My Documents when the program is closed.

I know that there hasn't been a new version of Anki for a while, but I hope that when it is updated, Portable Anki will be updated as well.

In the meantime, I will test this application and let you know if there are any problems or concerns.

port_usb
port_usb's picture
Offline
Last seen: 11 years 9 months ago
Joined: 2011-03-04 10:21
Anki 2 is in beta and I am

Anki 2 is in beta and I am monitoring it's progress. I am waiting for the dust to settle before working on that version. Enjoy this release.

kujichagulia
Offline
Last seen: 11 years 5 months ago
Joined: 2012-05-08 08:43
Excellent

Excellent. Thank you for your work!

pinnerup
Offline
Last seen: 9 years 7 months ago
Joined: 2008-10-04 19:34
Anki 2 is out :)

Anki 2 out and final. It would be so very nice to see a portable version Smile

aznzofia111
Offline
Last seen: 9 years 11 months ago
Joined: 2014-05-04 00:40
Yes please!

Yes please!

lazycritic
Offline
Last seen: 9 years 5 months ago
Joined: 2011-05-22 14:46
Already possible
brunofs
Offline
Last seen: 7 years 4 months ago
Joined: 2008-10-03 09:59
Waiting for Anki2 either !

Waiting for Anki2 either !

Wm ...
Offline
Last seen: 7 years 2 months ago
Joined: 2010-07-17 12:37
Claims and disclaimers

In a recent discussion someone suggested an app should not make a claim it could not support.

Shouldn't that criticism be applied to Anki ?

Wm

Log in or register to post comments