PhonPhun

Menu
Home
M-SuDoKu
M-SuDoKu-LE
The game
License
Download
Customization
M-Kanji-SuDoKu
M-Puzzle
M-Shift
JMovieDownloader
Java Utility
Audio/Video
Tools
 
Tutorials
Contacts

Donate
Support PhonPhun!!!

More info available here!

AV TOP100

Page views

 
Customize M-SuDoKu-LE

0. Tools of the trade
To customize M-Puzzle you need a ZIP tool which supports .jar files; we will use 7-Zip (you can find the download link in the utility page), but other similar programs such as ZipGenius, WinRar etc. will be ok.
Optionally, if you wish to test your custom version with a pc emulator before sending it to your cellphone, you can use the emulators which can be downloaded from the manifacturers' web sites (a list of links is available in this page). You could also need to create a .jad file from the .jar game file: you can use JadMaker, which you can download from the link in this page.

1. Appearance
First of all, open the M-SuDoKu-LE.jar file using 7-Zip.


Click on the image to enlarge it in a new window

You can use any image in PNG format as background picture (it will be shown around the game grid and in the splash screen displayed at program start up, too); just rename the image file to background.png (all in lower case!) and drag&drop it on 7-Zip window to add it to the M-SuDoKu-LE.jar file (to confirm the operation, press the Yes button in the dialog window which will pop up).


Click on the image to enlarge it in a new window

You can customize the foreground image of the splash screen too: just use a PNG image as before, rename it as logo.png (again, all in lower case!) and add it to M-SuDoKu-LE.jar as shown above.

To change the colors of the game grid, extract the background.txt file from M-SuDoKu-LE.jar (just drag&drop it onto your desktop or a working directory) and open it using Notepad.


Click on the image to enlarge it in a new window

Follow the instructions in the comments (the lines beginning with #) and enter/edit the following information in the file (separate colors using a comma, and enter them in this exact order):

  • The color of the cursor;
  • The two colors of the cell backgrounds in the grid;
  • The background colour used to highlight cells containing a wrong number.
All colors have to be in HTML format, that is as a triplet with the values (ranging from 0 to 255) for red, green and blue component in hexadecimal (for example, red is FF0000, yellow FFFF00 and so on).

When you have finished editing the file, save it and add it back to M-SuDoKu-LE.jar file as shown above.

2. Language
To translate M-SuDoKu-LE in a different language, all you have to do is the translation of two files.

You can start from the menu.txt file: extract it from the M-SuDoKu-LE.jar file and open it.


Click on the image to enlarge it in a new window

Follow the instructions in the comments (the lines beginning with #) and translate the contents of the file. Save the updated file and add it back to M-SuDoKu-LE.jar by dragging&dropping it in 7-Zip window.

Do the same with the help.txt file (as you can guess, it contains the information shown to the user when they select the Help... item in the game menu).


Click on the image to enlarge it in a new window

If you translate M-SuDoKu-LE.jar in your language, I would appreciate if you could send the translation to me by email, in order to make it available to others!

You can now close 7-Zip window: your custom version of M-SuDoKu-LE is ready (you can also rename the jar file if you wish)!