Introduction: How to Add Games to LG-VX9900 (env) (envy) Cell Phone

I will be showing you step-by-step how to add multiple .swf games onto your LG-VX9900 enV phone.

Step 1: What You Need

Here is a list of things that you need. It shouldn't cost you anything assuming you already have a computer, an LG-VX9900 env, and the proper usb cable for the phone.

1. BitPim v1.0.6
http://sourceforge.net/projects/bitpim/files/bitpim/1.0.6/bitpim-1.0.6-setup.exe/download

2. V-Cast music driver
http://vzamredesign.smithmicro.net/vcastmusic/Step3.aspx?modelID=22&driverFile=LGUSBModemDriver_WHQL_Eng_Ver_4.8.1.exe

3. "Mini Arcade by Shockwave" installed on your phone (will explain in step 2)

4. Any program that can edit xml files, i use adobe dreamweaver in this tutorial. Notepad works too.

5. And of course we need some free games (always make sure they are .swf format or they will not work). You can get them from anywhere, but here's a place where you can download a few. http://www.4shared.com/dir/5873646/8b61e834/sharing.html

Step 2: Flash Lite 2.1

For the games to work, your phone needs Flash Lite 2.1 and an application to run the games. This is where "Mini Arcade by Shockwave" comes into play.

On your phone, go to: Get it Now > Games > Get New App. > find the "Get it Now Seach" application.

After you have the "Get it Now Search" application, use it to seach for "mini arcade". Your search should find the application "Mini Arcade by Shockwave". download the demo of it (free - 1 uses).

Run Mini Arcade, and use your token to download any game (I downloaded Luck-A-Zino Blackjack).
Make sure you run the game and play it for a couple seconds.

doing this installs Flash Lite 2.1, and makes the .swf directory in your phone that we will need to access later on.

Step 3: Connecting Your Phone

1. install the V-cast driver and BitPim.

2. connect your phone to your computer via the usb cable.

3. start the BitPim program.

BitPim should automatically detect your phone. If it does not, go to: edit > settings.

once in settings, click on the "phone type" drop down box and locate LG-VX9900 (enV).
If you cannot find it that way, click on "phone wizard" and follow the steps.

DO NOT EDIT ANYTHING ELSE.

Step 4: Locating Your .swf Folder in BitPim

First click on the "Get Phone Data" icon, and import your wallpapers.

Now on the toolbar, click on: View > View Filesystem

Then in the menu bar on the left, click on "Filesystem"

You will see a file tree, expand the main folder.

Now in the file tree, go to: brew > mod > 34367 > swf_files (if you downloaded Luck-A-Zino Blackjack like i did, you'll see a file called 1010.swf, that's the game. If you downloaded another game, it will be a different number, but still .swf).

Step 5: Editing Game.xml

Make sure you make backups of anything you plan on editing.

This is where we will be editing the xml file to enable our new game on the Mini Arcade application.
The new game I used is Fantasy Tetris, i renamed it to 1011 for ease of use in editing the xml.

Go to: Filesystem > / > brew > mod > 34367
Right click on "game.xml" and click save. save it to your desktop so you can find it easily. (do not forget to make a backup copy of this!)

Now open up game.xml in your xml editor. If you downloaded Luck-A-Zino Blackjack, it will look exactly like this:

<recently played><menu noofItems="1" /><mi id="1" nm="Luck-a-Zino Black Jack" icon="1010@gameicon.res" media="12|4|0|0|1|1|0|0|1010.swf|1010@gameicon.res|21 blackjack, luck-a-zino style.|" url="credit=1&anim=0&dataurl=1010108&devid=1-7-BREW-kng#######&cid=10" popidref="0" action_id="43" cols="11" subsid="0" status_id="0" erridref="0" /></menu></recently played>

(BREW-kng####### will be your phones brew id and will be something like BREW-kng1234567, do not change this (i marked mine out).

Now for the fun part, editing the xml code. first change the code: noofItems="1" to noofItems="2"

then copy the code from: <mi.... to .../> and paste it into it's own document so we can edit it.
first change <mi id="1" to <mi id="2"
then change nm="Luck-a-Zino Black Jack" to nm="Tetris" (or whatever game you're adding, i used tetris)
change |21 blackjack, luck-a-zino style.| to |Tetris.|

I renamed the Tetris game i downloaded to 1011 for ease of use
find |1010.swf| and change it to |1011.swf|
|1010@gameicon.res| is just the games icon, so you can leave it as whatever.

<mi id="2" nm="Tetris" icon="1010@gameicon.res" media="12|4|0|0|1|1|0|0|1011.swf|1010@gameicon.res|Tetris.|" url="credit=1&anim=0&dataurl=1010108&devid=1-7-BREW-kng#######&cid=10" popidref="0" action_id="43" cols="11" subsid="0" status_id="0" erridref="0" />

Now the we that edited, lets paste it back into our main code.
In our main code, look for: /></menu> and paste our new code between the ><

Now our code should look like:

<recently played><menu noofItems="2" /><mi id="1" nm="Luck-a-Zino Black Jack" icon="1010@gameicon.res" media="12|4|0|0|1|1|0|0|1010.swf|1010@gameicon.res|21 blackjack, luck-a-zino style.|" url="credit=1&anim=0&dataurl=1010108&devid=1-7-BREW-kng#######&cid=10" popidref="0" action_id="43" cols="11" subsid="0" status_id="0" erridref="0" /><mi id="2" nm="Tetris" icon="1010@gameicon.res" media="12|4|0|0|1|1|0|0|1011.swf|1010@gameicon.res|Tetris.|" url="credit=1&anim=0&dataurl=1010108&devid=1-7-BREW-kng#######&cid=10" popidref="0" action_id="43" cols="11" subsid="0" status_id="0" erridref="0" /></menu></recently played>

We're done with editing game.xml, now save it.
Go back to BitPim and find game.xml, right click and pick overwrite, and select our edited game.xml

Step 6: Adding the Game

In the last step, we made the 2nd games name file name 1011, so don't forget to change it to 1011 before proceeding with this step.

In BitPim go to: Filesystem > / > brew > mod > 34367 > swf_files

paste your 1011 game in there.

Now click on the "Send Phone Data" icon, and select wallpapers. let it finish, and you now have your new game on your phone!

On your phone, open up Mini Arcade, and go to recently played (that's where our new game is located) and have fun!

please leave comments on anything that I might need to improve in this instructable, if you have questions, or you just want to say something nice.