Teh l337 Java Guide

Welcome friend. If you've come here you have a Bell E815 and want free Java games, well you're in luck.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There are 2 ways to load Java Games to your phone.

1. The BitPIM way. (The way I do it) {Transfer through computer with USB cord}. If you have a USB cord and would like to use the BitPIM way the information is located below on this page.
2. The Rumkin way. (The user friendly way to do it) {Transfer wirelessly through data plan} If you have a Unlimited Browser package and would like to use the Rumkin way Click here to go to my Rumkin page.

**You cannot use both methods, it will be one or the other (Because of how Rumkin makes the directory).**

*I would say its all about preferences. If you're very newb and don't know much about Cell Phone modding or only want one game Rumkin may be for you. If you want to add lots of games to your phone and are interested in learning a more technical way to do things BitPIM is for you.*

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
What Programs You'll Need: (1) BitPIM (2) V710 Game Editor (3) JadMAKER - All can be found in my "Program Download Section"

For this method you will need a USB cord.

**If you want to test if your Moto E815 has Java download my Java tester in the "Phone Files" Section and load all 5 files directly into your appdb folder under the brew directory in BitPIM. If they don't show up in your application section your phone doesn't have Java.**

***Check my "Phone Files" Section to download all working + good games for E815. All of them.***
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Now that you've download my games and programs, let's begin!

1. I think when you load one Java game by itself with BitPIM it sometimes doesn't work properly, so we'll load two.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There are 2 parts to a Java game.
1. A .JAR, which is really a .ZIP file just renamed as JAR.
2. A .JAD file, which we need to rename into .UTF files.
Also, there is Selector.utf file which is really like an index on your phone for all your games.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2. You should have 2 working games from my "Phone Files" section.
3. Rename The files.
4. Call them s0_suite.jar and s1_suite.jar.
5. Rename them through WinRAR: not in windows.
*So, the files will look like s0_suite in their folder, but when you see them in WinRAR they will have a .JAR added on.*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Every Java game or application you put on your phone will follow this formula --> sX_suite.jar
Where: X stands for # of game, you start at 0 and count up every game, s0_suite.jar, s1_suite.jar, s2_suite.jar.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6. Now that you have s0_suite.jar and s1_suite.jar.
7. Open JAD MAKER.
8. Throw the files into JAD Maker. It will make a s0_suite.jad and s1_suite.jad where ever the other JARS are located.
9. Rename the s0_suite.jad and s1_suite.jad files into .UTFs ( s0_suite.UTF )
*This renaming might need to be done in Win RAR, if in normal windows you don't see .JAD at the end of the file.*
10. Now, open V710 Game Editor.
*You may get an error for a missing .dll file when you first start this program I know I get it every time I clear my computer. Just google for the .dll and install it.*
11. File --> Open --> Open the ‘selector.utf’ that came with the program.
*If it has a list of games in it click each one a select REMOVE in the middle of the program.*
12. Once it is empty it should only say ‘nextroot=1’ on the right side.
13. Now, click the ADD button in the middle and find your s0_suite.utf file and s1_suite.utf file. Click them.
14. Now click File --> Save as --> And save this in a different spot from the selector.utf that came with the program, don't overwrite.
15. Save as Selector.utf, make sure you type in the .UTF at the end, that is critical.
**Now you should have a SELECTOR.UTF -- S0_SUITE.UTF -- S0_SUITE.JAR -- S1_SUITE.UTF -- S1_SUITE.JAR. **
16. Now click all five files and use WinRAR to zip them together.
17. Do not use any folders just zip the 5 together, make sure you use a .ZIP FILE NOT A .RAR FILE.

This section is done, time for BitPIM.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ASSUMING YOU HAVE ALL THE CORRECT DRIVERS IN PLACE (SEE DRIVERS SECTION)

1. Open BitPIM.
2. Plug in Phone with USB.
3. CLICK EDIT --> SETTINGS --> SEE COM PORT --> CLICK BROWSE.
***You need to see ‘Motorola USB Modem’ if you do that’s good. Now for this to work you must see Motorola USB Modem AND see the following. In the screen where it shows the stats there are two headings. ACTIVE and AVAILABLE Both of these must say TRUE BESIDE THEM, for this to work. If your phone is plugged in and they say false replug it in and refresh, also if one is false and one is true just unplug, replug and refresh and they should both go true. If all you can get is TWO FALSE you probably don’t have the drivers, see the driver section for help. Also if you can't see 'MOTOROLA USB MODEM' see the driver help section. Assuming you see two trues let's move on***
4. Click ok on the Motorola USB Modem when it has two trues.
5. Click on the FILESYSTEM TAB in BitPIM.
*The first time you access the filesystem tab you will have to click 'view' and select 'view filesystem'*
6. Click the little + to expand the menu.
7. I went through every single file I could and backed up every file the phone would let me save. This way if I fucked a file up I always have a back up, I strongly suggest you do this. If you don’t want to that’s fine, we will not be using the rest of the files right now but you must back up one of the files we will be using.
8. BREW --> APPDB --> J2ME.SETTINGS! You need to back-up this file at the very least. It is a 16b file. Right click the file and hit save, save it somewhere safe on your PC. You WILL need this if you plan on massing uploading hundreds of games at a time. I say this because when I upload 400 games it's easy, they all go on automatically. But when you want to delete all those games, you have to do it 1 by 1 with right clicking which takes FOREVER. What I ended up doing is when I want do delete games I simply delete the entire "appdb" folder. Then, I click "make new subdirectory" and make a folder called "appdb" Then I click "restore" and restore the j2me.settings file.
9. This is the file where the games go. Expand Brew menu --> Expand appdb menu --> see j2me.settings file.
*appdb will be home to your Java games.*
10. Now click on the appdb file, click the ‘restore’ button.
11. Select the zip folder with your 5 files in it.
12. A screen will come up with check marks besides the 5 files, click OK.
13. All 5 will be loaded into the APPDB folder in the BREW directory.
14. You can now play the games. Go to games & apps. They will be under APPS, not games.
**You can do a hex edit to the selector.utf file to make them go into the games folder (As I have put my games in 25 different folders), but there is no difference for your games being in the apps folder for now. If you do decide to make specific folders keep in mind you want to space the text out exactly like it is in the selector. Your file should look like this in the Hex editor: suite=Game Name, folder=Puzzle, \Root... Make sure have a space before and after "folder=Puzzle"**

**Lastly, if you hex edit your selector.utf your games might not show up on the phone (mine didn't) I found that after I hex edited it, if I loaded it into V710 Game Editor and re-saved it, the games would show up properly.**

THIS SHOULD BE A PERFECT GUIDE TO ALL YOUR JAVA DREAMS. Please follow very carefully as these steps work 100%, I would feel free to help you if you need help but be aware these steps DO work, if you cannot make it work you are doing something wrong. My first mistake was this was adding the Jar's and UTF's twice. So the file would look like s0_suite.jar in windows but s0_suite.jar.jar in Win RAR. Be careful and have fun!

**NOTE ON MASS PRODUCTION**
When you want to upload say 100 games at a time changing every name, making JADs, changing to UTFs, then adding 1 by 1 in the v710 game editor is very tedious. I use a program called FILE RENAMER BASIC 2.3.0 I think it can be found on www.download.com. Play around with it, you can set each part of the file like this.

Prefix = s
Unique Parameter = numbers, increment, mask = 0, start at 0
Separator = _
Filename = suite
DON’T USE SUFFIX
Extension = custom, jar or UTF whatever you need.

This way you can change 300 files with all different game names to the proper format at they will even number themselves, very cool! Be warned though I got this to work good, but a few times I ran about 50 files through and every last 1 didn’t work on my phone, I did them manually and they did work. So I went and got the original files that weren’t renamed and ran them through again more carefully and they did work. Just keep that in mind. If you KNOW a game works and u run it through file Renamer then on the phone it doesn’t work the problem is in how you renamed it, try it again.

Upon further investigation my error was renaming the entire file of the JADs when all I wanted to do was turn them into UTFS. In short, the files were in the wrong order and it renumbered them so all the files didn't match. Be aware of this when renaming JADS to UTFs