PSPFlashCard v0.4 (SDL+SDL_ttf+SDL_image+SDL_mixer with source)

By HardHat

History:
v0.5 2008-12-30 -- fixed word wrapping bug, cuts off sounds when menu appears.
v0.4 2008-12-30 -- batches are much more reliable, added multiple card.txt file support, added image cards, added audio cards, new default background, new layout
v0.3 2007-02-01. -- long lines are now split a little bit earlier, definition mode added, batches of 5, 10, or 20 now available
v0.2 2006-05-02. -- skinnable, nicer formatting, now long lines are split onto multiline, made flashcard.txt notepad friendly
v0.1 2006-04-30. -- first release

If you're upgrading, be careful not overwrite your flashcard.txt file.

Basic Install:

Toss the pspflashcard folder from this zip into the ms0:/psp/game/ or
ms0:/psp/game5xx folder of your memory stick.  It has been upgraded to
work on newer custom firmwares.

The bg.bmp file is optional, and with out it, it will look like version
0.1.  If the bg.bmp file is detected, it will be your background until
you are tired of it.

To customize the lessons, just edit the flashcard.txt or add extra files
that contain card and end in .txt in the psp/game/pspflashcard folder
and provide your own questions and answers.

Credits:

Idea from LNAtropic
C++ Code by Hardhat
Background from version 0.4 by Mike McMullen
Fonts from http://www.webpagepublicity.com
Built on psptoolchain, SDL, SDL_ttf, SDL_image, SDL_mixer.

Enjoy.


My web site is http://www.adamcon.org/~dmwick/psp/


How to use PSPflashcards

It's very simple. 
-Naming Your Deck
-Creating Cards
-Using Audio Cards
-Using Image Cards


First, you'll open up "flashcard.txt" in the PSPFlashcard
directory. You'll notice some sample cards in there.

----NAMING YOUR DECK

Now, you'll need to name your deck. To name your deck, simply type in
#SET= followed by the name of the deck. So, for example:

#SET=Tectonic Plates

So basically, your deck is now called Tectonic Plates. The purpose is
so that you can find your Tectonic Plates deck once you have more decks
saved into "flashcard.txt".

----CREATING CARDS

You'll notice some lines of copy below the name of the deck. These are
your cards. The lines are divided into two sections with the "=". First
is the Term, followed by "=", then the definition. So, your cards would
be structured like this:

Term = Definition

When you're in the actual program after selecting your deck, a random
Term will pop up. You will then say to yourself the definition of the
term in your head, or out loud. Once you've done that, press the confirm
button, which is "O or X". The definition card will come up right after
you've pressed the confirm button. If you got the answer correct, press
the X button. This will discard the card, so that it won't be drilled
again until you've exited the deck, then all cards that were discarded
will refresh. If you got the card wrong, press the O button. This will
place the card back into the shuffled pile of cards to be drilled again,
until you've answered it correctly.

----USING AUDIO CARDS

To use an audio card, you'll be using the same concept of Term = 
Definition. The Term side, however, will start off with the character
@. This will immediately tell the program that you're using audio
cards. Now right after that you'll type in the exact name and extention
file of the audio you're using. So for example:

@konichiwa.wav = Good Afternoon

Now, say that you want to start organizing your audio cards into separate
folders. inside your Audio Cards folder, you'll create a new folder,
in this case Japanese Greetings. To use audio within your new folder,
you'll start the term with @ followed by the name of the folder with a
"/", then your audio file after. So for example:

@Japanese Greetings/konbanwa.wav = Good Evening

----USING IMAGE CARDS

To use an Image card, it's the exact same way you're using audio
cards. However, instead of using the @ symbol, you'll be using the $
symbol. This means, that you're using Image cards. You're also able to
organize your image cards into separate folders too. So for example:

$Hirigana/O.jpg = O

----HOW TO REVERSE TERMS WITH DEFINITION

The purpose of this is to be drilled by the definition first, confirming
to view the terms last. This will help more with learning the name of
the definition. To do this, simply press L. This will set the drilling
method to be Definition = Term. Press L again to bring it back to Term =
Definition.

----HOW TO BUNDLE YOUR DECK

The purpose of this is to be able to make larger decks memorized
easier. With a deck containing 100 cards, you'll be able to just dril 5
cards - 10 cards - 15 cards at a time. When you answer a card correctly
and a card is discarded, a new card will be added into this 5/10/15
bundle.

For example: If we were using bundle 5 of 100 cards in the deck.

One = 1
Fifty four = 54
Twent three = 23
Seventeen = 17
Five = 5    <- and you got this card correct, your deck will now look like:

One = 1
Fifty four = 54
Twent three = 23
Seventeen = 17
Eighty One = 81 <- Your card was replaced by a new card and will drill
only these 5, until you change the Bundle limit, or you decide to disable
it all together.


PSP Flashcards was programmed/designed by Hardhat, and concept driven
by LNAtropic.

