PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : پرنيان نسخه 1.0 تبديل کتاب هاي نسخه هاي قديمي پرنيان به نسخه 1



nokia x2
2012-05-16, 12:34 PM
پرنيان نسخه 1.0

تبديل کتاب هاي نسخه هاي قديمي پرنيان به نسخه 1

روش انجام کار:
1 - ابتدا کتاب ساخته شده با پرنيان قديمي رو استخراج کنيد .
فايل هايي که با peb شروع مي شوند رو در يک مکان خاص کپي کنيد.

2 - حال فايل ضميمه شده در اين پست رو دانلود کنيد و از حالت فشرده استخراج کنيد.
فايل هاي peb کپي شده رو در اينجا (محل استخراج ) قرار دهيد.

3 - به محل استخراج فايل قبلي ( پرنيان قديمي ) برويد و فايل setting.pbs رو با notepad باز کنيد و شماره موجود در خط دوم (‌همان تعداد صفحات ) رو به خاطر بسپاريد.

4 - حال به محل استخراج پرنيان يک برويد و فايل setting.pbs رو باز کنيد و عدد به خاطر سپرده شده رو جايگزين عدد موجود کنيد.

5 - به پوشه META-INF برويد و تغييرات دلخواه خود بر روي MANIFEST.MF انجام دهيد.

6 - فايل c.bin که يک فايل تصوير مي باشد توسط paint ويرايش کنيد.(اندازه اين تصوير رو متناسب با صفحه نمايشگر گوشي خود قرار دهيد )

7 -فايل هاي t1 تا t8 پوسته هاي برنامه مي باشد.

8 - حال تمام فايل ها و پوشه META-INF رو انتخاب کنيد و توسط برنامه winrar‌به فرمت zip فشرده کنيد و در آخر نام فايل رو به jar تغيير بدهيد.
مثال : Parnian.zip رو به Parnian.jar تغيير بدهيد.

**********
نکته : اگر تعداد صفحات کتاب شما مثلاً 525 باشد .طبق فرمول زير شما بايد 6 فايل که با peb شروع مي شود داشته باشيد:

(تعداد صفحه تقسيم بر100 )+1=تعداد فايل peb

nokia x2
2012-05-16, 01:46 PM
a.class

import javax.microedition.lcdui.*;

public final class a extends Canvas
{

public a(Displayable displayable)
{
e_int_fld = 5;
b_int_fld = 0;
c_int_fld = 0;
a_boolean_fld = false;
a_javax_microedition_lcdui_Displayable_fld = displayable;
setFullScreenMode(true);
d_int_static_fld = getWidth() - 2 * h.b;
b_javax_microedition_lcdui_Image_fld = Image.createImage(d_int_static_fld, g.a_l_static_fld.a_int_fld);
b_javax_microedition_lcdui_Graphics_fld = b_javax_microedition_lcdui_Image_fld.getGraphics() ;
b_javax_microedition_lcdui_Graphics_fld.setColor(h .c);
b_javax_microedition_lcdui_Graphics_fld.fillRect(0 , 0, d_int_static_fld, b_javax_microedition_lcdui_Image_fld.getHeight());
c_javax_microedition_lcdui_Image_fld = Image.createImage(d_int_static_fld, g.a_l_static_fld.a_int_fld);
c_javax_microedition_lcdui_Graphics_fld = c_javax_microedition_lcdui_Image_fld.getGraphics() ;
c_javax_microedition_lcdui_Graphics_fld.setColor(h .c);
c_javax_microedition_lcdui_Graphics_fld.fillRect(0 , 0, d_int_static_fld, c_javax_microedition_lcdui_Image_fld.getHeight());
a_javax_microedition_lcdui_Image_fld = Image.createImage(getWidth(), getHeight());
a_javax_microedition_lcdui_Graphics_fld = a_javax_microedition_lcdui_Image_fld.getGraphics() ;
try
{
if(System.getProperty("microedition.platform").indexOf("SonyEricsson") >= 0)
{
a_int_array2d_static_fld = b_int_array2d_static_fld;
b_int_array1d_static_fld = c_int_array1d_static_fld;
}
}
catch(Exception _ex) { }
a(256);
b();
}

public final void paint(Graphics g1)
{
g1.drawImage(a_javax_microedition_lcdui_Image_fld, 0, 0, 0);
}

private void a()
{
try
{
a_javax_microedition_lcdui_Graphics_fld.drawImage( Image.createImage("/s.bin"), (getWidth() - 48) / 2, (getHeight() - 48) / 2, 20);
repaint();
serviceRepaints();
return;
}
catch(Exception _ex)
{
return;
}
}

private void b()
{
a_javax_microedition_lcdui_Graphics_fld.drawImage( h.a_javax_microedition_lcdui_Image_static_fld, 0, 0, 0);
a_javax_microedition_lcdui_Graphics_fld.drawImage( b_javax_microedition_lcdui_Image_fld, h.b, h.a_int_static_fld, 0);
g.a_l_static_fld.a(a_javax_microedition_lcdui_Grap hics_fld, d_int_array1d_static_fld, d_int_array1d_static_fld.length - 1, h.b + d_int_static_fld, h.a_int_static_fld + b_javax_microedition_lcdui_Image_fld.getHeight(), d_int_static_fld);
a_javax_microedition_lcdui_Graphics_fld.drawImage( c_javax_microedition_lcdui_Image_fld, h.b, h.a_int_static_fld + 2 * b_javax_microedition_lcdui_Image_fld.getHeight(), 0);
a_javax_microedition_lcdui_Graphics_fld.setColor(h .d);
a_javax_microedition_lcdui_Graphics_fld.setStrokeS tyle(0);
a_javax_microedition_lcdui_Graphics_fld.drawRect(h .b, h.a_int_static_fld + 2 * b_javax_microedition_lcdui_Image_fld.getHeight(), d_int_static_fld, g.a_l_static_fld.a_int_fld);
a_javax_microedition_lcdui_Graphics_fld.setColor(h .d);
g.a_l_static_fld.a(a_javax_microedition_lcdui_Grap hics_fld, f_int_array1d_static_fld, (h.b + (3 * d_int_static_fld) / 4) - 26, h.a_int_static_fld + 3 * b_javax_microedition_lcdui_Image_fld.getHeight() + 10, 52, g.a_l_static_fld.a_int_fld, e_int_fld == 5);
g.a_l_static_fld.a(a_javax_microedition_lcdui_Grap hics_fld, g, (h.b + d_int_static_fld / 4) - 26, h.a_int_static_fld + 3 * b_javax_microedition_lcdui_Image_fld.getHeight() + 10, 52, g.a_l_static_fld.a_int_fld, e_int_fld == 2);
g.a_l_static_fld.a(a_javax_microedition_lcdui_Grap hics_fld, e_int_array1d_static_fld, e_int_array1d_static_fld.length, h.b + d_int_static_fld, (h.a_int_static_fld + 5 * b_javax_microedition_lcdui_Image_fld.getHeight()) - 10, d_int_static_fld, 0);
repaint();
serviceRepaints();
}

private void c()
{
b_int_fld = 0;
c_int_fld = 0;
}

private static int a(int i)
{
if((i <= 4) | (i >= 151))
return 1;
switch(i)
{
case 5: // '\005'
case 6: // '\006'
case 7: // '\007'
case 8: // '\b'
case 9: // '\t'
case 10: // '\n'
case 11: // '\013'
case 12: // '\f'
case 13: // '\r'
case 14: // '\016'
case 15: // '\017'
case 16: // '\020'
case 45: // '-'
case 46: // '.'
case 47: // '/'
case 48: // '0'
case 49: // '1'
case 50: // '2'
case 51: // '3'
case 52: // '4'
case 117: // 'u'
case 118: // 'v'
case 119: // 'w'
case 120: // 'x'
case 145:
case 146:
case 147:
case 148:
return 2;
}
return 4;
}

private void d()
{
int i = h[f_int_static_fld - 1];
int j;
if(a(j = h[f_int_static_fld]) > 1 && a(i) == 4)
if((i + 1) % 4 > 1)
{
i += 2;
j++;
} else
if(j % 2 == 1)
j++;
h[f_int_static_fld - 1] = i;
h[f_int_static_fld] = j;
}

private void a(int i)
{
if(i < 255)
{
h[f_int_static_fld] = i;
if(f_int_static_fld > 0)
d();
} else
if(i == 255 && f_int_static_fld >= 0)
{
a_int_fld = h[f_int_static_fld];
if(a(a_int_fld) == 4 && (a_int_fld + 1) % 4 < 2)
h[f_int_static_fld] -= 2;
}
c_javax_microedition_lcdui_Graphics_fld.setColor(h .c);
c_javax_microedition_lcdui_Graphics_fld.fillRect(0 , 0, d_int_static_fld, c_javax_microedition_lcdui_Image_fld.getHeight());
a_boolean_fld = g.a_l_static_fld.a(c_javax_microedition_lcdui_Grap hics_fld, h, f_int_static_fld, d_int_static_fld, 0, d_int_static_fld) | (f_int_static_fld > 28);
}

private void a(int i, int j)
{
b_javax_microedition_lcdui_Graphics_fld.setColor(h .c);
b_javax_microedition_lcdui_Graphics_fld.fillRect(0 , 0, d_int_static_fld, b_javax_microedition_lcdui_Image_fld.getHeight());
int k = i <= 1 ? 0 : d_int_static_fld;
boolean flag = false;
for(a_int_fld = 0; a_int_fld <= b_int_array1d_static_fld[i]; a_int_fld++)
{
short word0 = g.a_l_static_fld.a_short_array1d_fld[a_int_array2d_static_fld[i][a_int_fld]];
if(i > 1)
k -= word0 + 4;
if(a_int_fld == j)
{
b_javax_microedition_lcdui_Graphics_fld.setColor(h .c - 0x222222);
b_javax_microedition_lcdui_Graphics_fld.fillRect(k , 0, word0, b_javax_microedition_lcdui_Image_fld.getHeight());
b_javax_microedition_lcdui_Graphics_fld.setColor(h .c);
}
g.a_l_static_fld.a(b_javax_microedition_lcdui_Grap hics_fld, a_int_array2d_static_fld[i][a_int_fld], k, 0);
if(i < 2)
k += word0 + 2;
}

a(a_int_array2d_static_fld[i][j]);
b();
}

public final void keyPressed(int i)
{
if(i == 35)
i = 58;
int j = -1;
if(i > 47 && i < 59)
{
if((a_long_fld < System.currentTimeMillis() - 1000L) | (b_int_fld != i))
{
c();
if(!a_boolean_fld)
f_int_static_fld++;
}
if(b_int_fld == i)
{
if(++c_int_fld > b_int_array1d_static_fld[i - 48])
c_int_fld = 0;
} else
{
c_int_fld = 0;
b_int_fld = i;
}
if(!a_boolean_fld)
a(i - 48, c_int_fld);
} else
if(i == -8 || getGameAction(i) == 5 && e_int_fld == 5)
{
c_int_fld = 0;
b_int_fld = i;
if(f_int_static_fld >= 0)
{
f_int_static_fld--;
a(255);
}
} else
if(getGameAction(i) == 5)
e_int_fld = 5;
else
if(getGameAction(i) == 2)
e_int_fld = 2;
else
if(getGameAction(i) == 8)
j = e_int_fld;
else
if(i == 42)
j = 5;
else
j = 2;
if(j != -1)
{
if(j == 5)
{
if(f_int_static_fld > 0)
{
a();
g.a_b_static_fld.a(h, f_int_static_fld + 1, a_javax_microedition_lcdui_Displayable_fld);
return;
}
} else
{
PMM.a.setCurrent(a_javax_microedition_lcdui_Displa yable_fld);
}
return;
} else
{
b();
return;
}
}

public final void keyReleased(int i)
{
a_long_fld = System.currentTimeMillis();
}

public final void keyRepeated(int i)
{
if((i == -8) | (i == -4))
keyPressed(i);
}

private static int a_int_array2d_static_fld[][] = {
{
151, 156, 181
}, {
160, 1, 159, 3, 152, 184, 189, 172, 2, 161,
154, 155, 180
}, {
21, 133, 25, 29
}, {
7, 5, 9, 11, 4
}, {
53, 57, 61, 65
}, {
45, 47, 49, 51, 145
}, {
33, 137, 37, 41
}, {
109, 15, 113, 121, 13, 117, 119, 17
}, {
89, 93, 97, 141, 101, 105
}, {
69, 73, 77, 81
}, {
162, 163, 164, 165, 166, 167, 168, 169, 170, 171
}
};
private static final int b_int_array2d_static_fld[][] = {
{
162, 163, 164, 165, 166, 167, 168, 169, 170, 171
}, {
160, 1, 159, 3, 152, 184, 189, 172, 2, 161,
154, 155, 180
}, {
33, 137, 37, 41
}, {
7, 5, 21, 133, 25, 29
}, {
69, 73, 77, 81
}, {
53, 57, 61, 65
}, {
45, 47, 49, 51, 145
}, {
15, 121, 4, 9, 11, 13, 17
}, {
105, 109, 113, 119, 117
}, {
89, 93, 97, 141, 101
}, {
151, 156, 181
}
};
private static int b_int_array1d_static_fld[] = {
2, 12, 3, 4, 3, 4, 3, 7, 5, 3,
9
};
private static final int c_int_array1d_static_fld[] = {
9, 12, 3, 5, 3, 3, 4, 6, 4, 4,
2
};
private static final int d_int_array1d_static_fld[] = {
35, 56, 28, 36, 16, 121, 151, 15, 7, 145,
113, 172
};
private static final int e_int_array1d_static_fld[] = {
23, 50, 7, 121, 151, 7, 45, 7, 107, 120,
151, 35, 56, 28, 36, 16, 151, 99, 104, 124,
46, 151, 156, 151, 49, 7, 151, 91, 60, 8,
49, 151, 45, 115, 124, 46, 160
};
public static final int a_int_array1d_static_fld[] = {
15, 7, 145, 119, 151, 107, 16, 49, 45, 151,
111, 76, 50, 151, 123, 8, 91, 26, 151, 111,
60, 46, 160
};
private static final int f_int_array1d_static_fld[] = {
35, 56, 28, 36, 16
};
private static final int g[] = {
23, 8, 51, 143, 60, 26
};
private static int d_int_static_fld = 128;
public Displayable a_javax_microedition_lcdui_Displayable_fld;
private Image a_javax_microedition_lcdui_Image_fld;
private Image b_javax_microedition_lcdui_Image_fld;
private Image c_javax_microedition_lcdui_Image_fld;
private Graphics a_javax_microedition_lcdui_Graphics_fld;
private Graphics b_javax_microedition_lcdui_Graphics_fld;
private Graphics c_javax_microedition_lcdui_Graphics_fld;
private int e_int_fld;
public int a_int_fld;
public int b_int_fld;
public int c_int_fld;
public long a_long_fld;
private static int h[] = new int[30];
private static int f_int_static_fld = -1;
private boolean a_boolean_fld;

}

b.class

import java.io.IOException;
import java.io.InputStream;
import javax.microedition.lcdui.*;

public final class b extends Canvas
{

public b()
{
setFullScreenMode(true);
a_javax_microedition_lcdui_Image_array1d_static_fl d = new Image[15];
a_java_io_InputStream_static_fld = null;
a_int_array1d_static_fld = new int[32];
i = 0;
q = g.g;
r = g.h;
a_boolean_static_fld = false;
d = 0;
a_javax_microedition_lcdui_Image_static_fld = Image.createImage(q, r);
a_javax_microedition_lcdui_Graphics_static_fld = a_javax_microedition_lcdui_Image_static_fld.getGra phics();
a_l_static_fld = new l();
}

public final void a(int i1, Displayable displayable)
{
a_javax_microedition_lcdui_Displayable_static_fld = displayable;
b_int_static_fld = i1;
a(b_int_static_fld);
return;
JVM INSTR dup ;
Exception exception;
exception;
printStackTrace();
}

public final void b(int i1, Displayable displayable)
{
a_javax_microedition_lcdui_Displayable_static_fld = displayable;
d = i1;
b_int_static_fld = i1;
a(b_int_static_fld);
return;
JVM INSTR dup ;
Exception exception;
exception;
printStackTrace();
}

public final void paint(Graphics g1)
{
g1.drawImage(a_javax_microedition_lcdui_Image_stat ic_fld, 0, 0, 20);
}

private void a()
throws Exception
{
a_javax_microedition_lcdui_Graphics_static_fld.dra wImage(Image.createImage("/w.bin"), (q - 48) / 2, (r - 48) / 2, 20);
repaint();
serviceRepaints();
}

private static void a(Graphics g1)
{
if(!b_boolean_static_fld)
{
try
{
g1.drawImage(Image.createImage("/s.bin"), (q - 48) / 2, (r - 48) / 2, 20);
}
catch(IOException _ex) { }
g1.setColor(0);
g1.fillRect((q - 48) / 2, r / 2 + 24, 48, 4);
}
g1.setColor(h.d_int_static_fld);
g1.fillRect((q - 48) / 2 + 1, r / 2 + 25, (46 * c) / g.i, 2);
}

private void b()
throws Exception
{
a_javax_microedition_lcdui_Graphics_static_fld.dra wImage(h.a_javax_microedition_lcdui_Image_static_f ld, 0, 0, 0);
a_javax_microedition_lcdui_Graphics_static_fld.dra wImage(a_javax_microedition_lcdui_Image_array1d_st atic_fld[0], 0, 0, 0);
g = 0;
h = 0;
do
{
g++;
k = a_javax_microedition_lcdui_Image_array1d_static_fl d[g].getHeight();
h += k;
} while(h <= i - t);
o = h - (i - t);
a_javax_microedition_lcdui_Graphics_static_fld.dra wRegion(a_javax_microedition_lcdui_Image_array1d_s tatic_fld[g], 0, k - o, s, o, 0, h.b_int_static_fld, h.a_int_static_fld, 0);
if(h < i)
a_javax_microedition_lcdui_Graphics_static_fld.dra wImage(a_javax_microedition_lcdui_Image_array1d_st atic_fld[++g], h.b_int_static_fld, h.a_int_static_fld + o, 20);
a_javax_microedition_lcdui_Graphics_static_fld.dra wImage(h.b_javax_microedition_lcdui_Image_static_f ld, 0, r - h.b_javax_microedition_lcdui_Image_static_fld.getH eight(), 0);
if(i < p)
a_javax_microedition_lcdui_Graphics_static_fld.dra wImage(h.d_javax_microedition_lcdui_Image_static_f ld, (q - 9) / 2, r - h.a_int_static_fld / 2, 0);
if(i > t)
a_javax_microedition_lcdui_Graphics_static_fld.dra wImage(h.c_javax_microedition_lcdui_Image_static_f ld, (q - 9) / 2, r - h.a_int_static_fld / 2 - 8, 0);
repaint();
serviceRepaints();
}

private void a(int i1, boolean flag)
throws Exception
{
if(b_boolean_static_fld || (d + 1 > i1) | (i1 > g.i) | (i1 / g.j != d / g.j))
{
if(a_java_io_InputStream_static_fld != null)
a_java_io_InputStream_static_fld.close();
a_java_io_InputStream_static_fld = getClass().getResourceAsStream(g.a_java_lang_Strin g_static_fld + (i1 / g.j + 1) + ".bin");
h = i1 % g.j + 1;
} else
{
h = i1 - d;
}
if(flag)
a();
do
{
if(h <= 1)
break;
j = a_java_io_InputStream_static_fld.read();
if(j == 0)
h--;
} while(true);
h = 2;
a_javax_microedition_lcdui_Image_array1d_static_fl d[0] = null;
a_javax_microedition_lcdui_Image_array1d_static_fl d[0] = Image.createImage(q, h.a_int_static_fld);
a_javax_microedition_lcdui_Image_array1d_static_fl d[0].getGraphics().drawRegion(h.a_javax_microedition_l cdui_Image_static_fld, 0, 0, q, h.a_int_static_fld, 0, 0, 0, 0);
j = a_java_io_InputStream_static_fld.read();
k = 0;
l = q - h.b_int_static_fld;
a_javax_microedition_lcdui_Graphics_static_fld.set Color(h.c_int_static_fld);
a_javax_microedition_lcdui_Graphics_static_fld.fil lRect(0, 0, q, r);
s = q - 2 * h.b_int_static_fld;
t = r - 2 * h.a_int_static_fld;
g = e + 1;
int j1 = 1;
do
{
g -= e;
do
{
m = 0;
n = 0;
do
{
m++;
j = a_java_io_InputStream_static_fld.read();
a_int_array1d_static_fld[m - 1] = j;
n += a_l_static_fld.a_short_array1d_fld[j];
} while(j != 151 && j != 255 && j != 0);
if(l - h.b_int_static_fld < n)
{
l = q - h.b_int_static_fld;
k += a_l_static_fld.a_int_fld;
g++;
}
a_boolean_static_fld = false;
if(g > e)
{
a_javax_microedition_lcdui_Image_array1d_static_fl d[h - 1] = e.a(a_javax_microedition_lcdui_Image_static_fld, h.b_int_static_fld, 0, s, e * a_l_static_fld.a_int_fld);
a_javax_microedition_lcdui_Graphics_static_fld.set Color(h.c_int_static_fld);
a_javax_microedition_lcdui_Graphics_static_fld.fil lRect(0, 0, q, r);
h++;
k = 0;
a_boolean_static_fld = true;
}
for(o = 0; m > o; o++)
{
l -= a_l_static_fld.a_short_array1d_fld[a_int_array1d_static_fld[o]];
if(b_boolean_static_fld && i1 == c && ++j1 >= u && j1 < u + x)
{
a_javax_microedition_lcdui_Graphics_static_fld.set Color(h.d_int_static_fld);
a_javax_microedition_lcdui_Graphics_static_fld.fil lRect(l, k, a_l_static_fld.a_short_array1d_fld[a_int_array1d_static_fld[o]], a_l_static_fld.a_int_fld);
i = ((h - 2) * e + g) * a_l_static_fld.a_int_fld;
}
a_l_static_fld.a(a_javax_microedition_lcdui_Graphi cs_static_fld, a_int_array1d_static_fld[o], l, k);
}

if(a_int_array1d_static_fld[m - 1] == 255)
{
l = q - h.b_int_static_fld;
k += a_l_static_fld.a_int_fld;
g++;
}
} while(!((j == 0) | (g > e)));
if(j == 0 || (g > e) & (!a_boolean_static_fld))
{
if(j != 0)
{
a_javax_microedition_lcdui_Image_array1d_static_fl d[h - 1] = e.a(a_javax_microedition_lcdui_Image_static_fld, h.b_int_static_fld, 0, s, e * a_l_static_fld.a_int_fld);
a_javax_microedition_lcdui_Graphics_static_fld.set Color(h.c_int_static_fld);
a_javax_microedition_lcdui_Graphics_static_fld.fil lRect(0, 0, q, r);
h++;
} else
if(g > e)
a_javax_microedition_lcdui_Image_array1d_static_fl d[h - 1] = e.a(a_javax_microedition_lcdui_Image_static_fld, h.b_int_static_fld, 0, s, (g + 1) * a_l_static_fld.a_int_fld);
else
if(h == 2 && g * a_l_static_fld.a_int_fld < t)
a_javax_microedition_lcdui_Image_array1d_static_fl d[h - 1] = e.a(a_javax_microedition_lcdui_Image_static_fld, h.b_int_static_fld, 0, s, t);
else
a_javax_microedition_lcdui_Image_array1d_static_fl d[h - 1] = e.a(a_javax_microedition_lcdui_Image_static_fld, h.b_int_static_fld, 0, s, g * a_l_static_fld.a_int_fld);
k = 0;
}
} while(j != 0);
if(i1 > 0 && i1 < g.i + 1)
{
int k1 = i1;
m = -1;
n = 0;
for(; k1 != 0; k1 /= 10)
{
int l1 = k1 % 10 + 162;
a_int_array1d_static_fld[++m] = l1;
n += a_l_static_fld.a_short_array1d_fld[l1];
}

l = q / 2 + n / 2;
a_l_static_fld.a(a_javax_microedition_lcdui_Image_ array1d_static_fld[0].getGraphics(), a_int_array1d_static_fld, m, l, (h.a_int_static_fld - a_l_static_fld.a_int_fld) / 2, l);
}
p = (h - 2) * e * a_l_static_fld.a_int_fld + a_javax_microedition_lcdui_Image_array1d_static_fl d[h - 1].getHeight();
if(b_boolean_static_fld)
{
if(i < t)
i = t;
if(i > p)
i = p;
} else
{
i = t;
}
if(i1 <= g.i && i1 > 0)
d = i1;
b_boolean_static_fld = false;
}

private void a(int i1)
throws Exception
{
a(i1, false);
b();
PMM.a_javax_microedition_lcdui_Display_static_fld. setCurrent(this);
}

private void c()
{
if(x == 0)
{
PMM.a_javax_microedition_lcdui_Display_static_fld. setCurrent(new a(this));
return;
}
a(a_javax_microedition_lcdui_Graphics_static_fld);
repaint();
serviceRepaints();
b_boolean_static_fld = true;
_L2:
j = b_java_io_InputStream_static_fld.read();
u++;
if(j == 0)
{
c++;
if(c % g.j == 0)
{
b_java_io_InputStream_static_fld.close();
b_java_io_InputStream_static_fld = getClass().getResourceAsStream(g.a_java_lang_Strin g_static_fld + (c / g.j + 1) + ".bin");
a(a_javax_microedition_lcdui_Graphics_static_fld);
repaint();
serviceRepaints();
}
u = 0;
} else
if(j == b_int_array1d_static_fld[0])
{
v = 0;
w = 0;
do
{
do
{
j = b_java_io_InputStream_static_fld.read();
u++;
w++;
} while(j >= 125 && j <= 132 || j >= 85 && j <= 88);
v++;
} while(v < x && j == b_int_array1d_static_fld[v]);
if(j == 0)
{
c++;
if(c % g.j == 0)
{
b_java_io_InputStream_static_fld.close();
b_java_io_InputStream_static_fld = getClass().getResourceAsStream(g.a_java_lang_Strin g_static_fld + (c / g.j + 1) + ".bin");
a(a_javax_microedition_lcdui_Graphics_static_fld);
repaint();
serviceRepaints();
}
u = 0;
} else
if(v == x)
{
u -= w;
x = w;
a(c, false);
b_int_static_fld = c;
b();
u += w;
x = b_int_array1d_static_fld.length;
return;
}
}
if(c < g.i) goto _L2; else goto _L1
_L1:
PMM.a_javax_microedition_lcdui_Display_static_fld. setCurrent(new c(new a(PMM.a_g_static_fld), a.a));
return;
JVM INSTR pop ;
}

public final void a(int ai[], int i1, Displayable displayable)
{
a_javax_microedition_lcdui_Displayable_static_fld = displayable;
b_int_array1d_static_fld = null;
b_int_array1d_static_fld = new int[i1];
System.arraycopy(ai, 0, b_int_array1d_static_fld, 0, i1);
try
{
b_java_io_InputStream_static_fld.close();
}
catch(Exception _ex) { }
b_java_io_InputStream_static_fld = getClass().getResourceAsStream(g.a_java_lang_Strin g_static_fld + "1.bin");
c = 0;
u = 0;
x = i1;
PMM.a_javax_microedition_lcdui_Display_static_fld. setCurrent(this);
try
{
c();
return;
}
catch(Exception _ex)
{
return;
}
}

private void b(int i1)
throws Exception
{
if(getGameAction(i1) == 1)
i -= a_l_static_fld.a_int_fld;
else
if(getGameAction(i1) == 6)
i += a_l_static_fld.a_int_fld;
else
if(getGameAction(i1) == 5)
{
if(b_int_static_fld < g.i)
a(++b_int_static_fld, false);
} else
if(getGameAction(i1) == 2)
{
if(b_int_static_fld > 0 && b_int_static_fld <= g.i)
a(--b_int_static_fld, false);
} else
{
if(i1 == 57)
i = (i + t) - a_l_static_fld.a_int_fld;
if(i1 == 51)
i = (i - t) + a_l_static_fld.a_int_fld;
if(i1 == 42)
c();
if(i1 == 49)
{
if(f == 4)
f = 1;
else
f++;
a();
a_l_static_fld.a();
a(b_int_static_fld, false);
}
if(i1 == 55)
{
if(g.k == a_int_static_fld)
g.k = 0;
else
g.k++;
a();
g.a_h_static_fld.a(g.k);
a(b_int_static_fld, false);
}
if(i1 == 48)
{
if(b_int_static_fld == g.i + 1)
b_int_static_fld = d;
else
b_int_static_fld = g.i + 1;
a(b_int_static_fld, true);
}
if(i1 == 35)
{
PMM.a_javax_microedition_lcdui_Display_static_fld. setCurrent(new d(this));
return;
}
if(getGameAction(i1) == 8)
{
PMM.a_javax_microedition_lcdui_Display_static_fld. setCurrent(PMM.a_g_static_fld);
return;
}
if(i1 < -5)
{
PMM.a_javax_microedition_lcdui_Display_static_fld. setCurrent(a_javax_microedition_lcdui_Displayable_ static_fld);
return;
}
}
if(i < t)
i = t;
if(i > p)
i = p;
b();
}

public final void keyPressed(int i1)
{
b(i1);
return;
JVM INSTR dup ;
Exception exception;
exception;
printStackTrace();
}

public final void keyReleased(int i1)
{
}

public final void keyRepeated(int i1)
{
try
{
if(getGameAction(i1) == 1 || getGameAction(i1) == 6)
b(i1);
return;
}
catch(Exception _ex)
{
return;
}
}

public final void pointerDragged(int i1, int j1)
{
}

public final void pointerPressed(int i1, int j1)
{
}

public final void pointerReleased(int i1, int j1)
{
}

public static int a_int_static_fld;
public static Graphics a_javax_microedition_lcdui_Graphics_static_fld;
public static Image a_javax_microedition_lcdui_Image_static_fld;
public static l a_l_static_fld;
public static Image a_javax_microedition_lcdui_Image_array1d_static_fl d[];
public static int a_int_array1d_static_fld[];
public static InputStream a_java_io_InputStream_static_fld;
public static InputStream b_java_io_InputStream_static_fld;
public static int b_int_static_fld;
public static int c;
public static int d;
public static Displayable a_javax_microedition_lcdui_Displayable_static_fld;
public static int e;
public static int f;
private static int g;
private static int h;
private static int i;
private static int j;
private static int k;
private static int l;
private static int m;
private static int n;
private static boolean a_boolean_static_fld;
private static int o;
private static int p;
private static int q;
private static int r;
private static int s;
private static int t;
private static int b_int_array1d_static_fld[];
private static boolean b_boolean_static_fld = false;
private static int u;
private static int v;
private static int w;
private static int x = 0;

}

c.class

import javax.microedition.lcdui.*;

public final class c extends Canvas
{

public c(Displayable displayable, int ai[])
{
setFullScreenMode(true);
a_javax_microedition_lcdui_Displayable_fld = displayable;
a_int_array1d_fld = ai;
repaint();
serviceRepaints();
}

public final void paint(Graphics g1)
{
g1.drawImage(h.a_javax_microedition_lcdui_Image_st atic_fld, 0, 0, 0);
g.a.a(g1, a_int_array1d_fld, a_int_array1d_fld.length - 1, getWidth() - h.b, h.a_int_static_fld, getWidth() - 2 * h.b, 0);
}

public final void keyPressed(int i)
{
PMM.a.setCurrent(a_javax_microedition_lcdui_Displa yable_fld);
}

public final void keyReleased(int i)
{
}

public final void keyRepeated(int i)
{
}

public Displayable a_javax_microedition_lcdui_Displayable_fld;
public int a_int_array1d_fld[];
}

d.class

import javax.microedition.lcdui.*;

public final class d extends Canvas
{

public d(Displayable displayable)
{
a_int_fld = 0;
e = 5;
a_boolean_fld = false;
a_javax_microedition_lcdui_Displayable_fld = displayable;
setFullScreenMode(true);
c_int_fld = Font.getDefaultFont().getHeight();
d = getWidth() - 2 * h.b;
}

public final void paint(Graphics g1)
{
try
{
g1.drawImage(h.a_javax_microedition_lcdui_Image_st atic_fld, 0, 0, 0);
b_int_fld = 10 + h.a_int_static_fld + g.a_l_static_fld.a(g1, a_int_array1d_static_fld, a_int_array1d_static_fld.length, getWidth() - h.b, h.a_int_static_fld, d, 0);
int i = g1.getFont().stringWidth(" " + a_int_fld);
g1.setColor(h.d);
g1.setStrokeStyle(0);
g1.drawRect((getWidth() - 80) / 2, b_int_fld, 80, c_int_fld);
g1.setColor(0);
g1.drawString(" " + a_int_fld, (getWidth() - i) / 2, b_int_fld, 0);
g1.setColor(h.d);
g.a_l_static_fld.a(g1, b_int_array1d_static_fld, (h.b + (3 * d) / 4) - 26, b_int_fld + c_int_fld + 20, 52, g.a_l_static_fld.a, e == 5);
g.a_l_static_fld.a(g1, c_int_array1d_static_fld, (h.b + d / 4) - 26, b_int_fld + c_int_fld + 20, 52, g.a_l_static_fld.a, e == 2);
return;
}
catch(Exception _ex)
{
return;
}
}

public final void keyPressed(int i)
{
int j = -1;
if(i >= 48 && i <= 57)
{
if(a_boolean_fld)
{
a_int_fld = 0;
a_boolean_fld = false;
}
a_int_fld = 10 * a_int_fld + (i - 48);
} else
if(getGameAction(i) == 5)
e = 5;
else
if(getGameAction(i) == 2)
e = 2;
else
if(getGameAction(i) == 8)
j = e;
else
if(i == 35)
j = 5;
else
j = 2;
if(j != -1)
if(j == 5)
{
g.a_b_static_fld.b(a_int_fld, PMM.a_g_static_fld);
return;
} else
{
PMM.a_javax_microedition_lcdui_Display_static_fld. setCurrent(a_javax_microedition_lcdui_Displayable_ fld);
return;
}
if(a_int_fld > g.i)
{
a_int_fld = g.i;
a_boolean_fld = true;
}
repaint();
}

private int a_int_fld;
private int b_int_fld;
private int c_int_fld;
private int d;
private int e;
private boolean a_boolean_fld;
private Displayable a_javax_microedition_lcdui_Displayable_fld;
private static final int a_int_array1d_static_fld[] = {
59, 108, 8, 49, 119, 151, 63, 92, 40, 120,
151, 107, 16, 49, 45, 151, 111, 76, 50, 151,
49, 7, 151, 15, 7, 49, 45, 151, 111, 108,
8, 19, 124, 46, 172
};
private static final int b_int_array1d_static_fld[] = {
27, 85, 10, 123, 85, 124, 85, 46
};
private static final int c_int_array1d_static_fld[] = {
23, 8, 51, 143, 60, 26
};

}

e.class

import java.io.InputStream;
import javax.microedition.lcdui.Graphics;
import javax.microedition.lcdui.Image;

public final class e
{

public e()
{
}

public static String a(InputStream inputstream)
{
StringBuffer stringbuffer = new StringBuffer();
try
{
byte abyte0[] = new byte[2];
boolean flag = false;
do
do
{
inputstream.read(abyte0, 0, 1);
if(abyte0[0] == 10 || abyte0[0] == 13)
break;
flag = true;
stringbuffer.append((char)abyte0[0]);
} while(true);
while(!flag);
}
catch(Exception _ex)
{
return stringbuffer.toString();
}
return stringbuffer.toString();
}

public static Image a(Image image, int i, int j, int k, int l)
{
Image image1;
(image1 = Image.createImage(k, l)).getGraphics().drawRegion(image, i, j, k, l, 0, 0, 0, 0);
return image1;
JVM INSTR pop ;
return Image.createImage(1, 1);
}
}

f.class


import javax.microedition.rms.RecordStore;

public final class f
{

public f()
{
}

public static RecordStore a(String s)
{
return RecordStore.openRecordStore(s, true);
JVM INSTR pop ;
return null;
}

public static void a(RecordStore recordstore)
{
try
{
recordstore.closeRecordStore();
return;
}
catch(Exception _ex)
{
return;
}
}

public static int a(RecordStore recordstore, String s)
{
return recordstore.addRecord(s.getBytes(), 0, s.length());
JVM INSTR pop ;
return -1;
}

public static void a(RecordStore recordstore, String s, int i)
{
try
{
recordstore.setRecord(i, s.getBytes(), 0, s.getBytes().length);
return;
}
catch(Exception _ex)
{
return;
}
}

public static String a(RecordStore recordstore, int i)
{
byte abyte0[];
if((abyte0 = recordstore.getRecord(i)) == null)
return "";
return new String(abyte0);
JVM INSTR pop ;
return "";
}

public static int a(RecordStore recordstore)
{
return recordstore.getNumRecords();
JVM INSTR pop ;
return 0;
}
}

g.class

import java.io.InputStream;
import javax.microedition.lcdui.*;
import javax.microedition.rms.RecordStore;

public final class g extends Canvas
implements Runnable
{

public g()
{
l = 1;
a_int_fld = 28;
b_int_fld = 1;
c_int_fld = 1;
e = 8;
setFullScreenMode(true);
d = 1;
}

public final void a()
{
try
{
a_i_array1d_fld = null;
a_i_array1d_fld = new i[e + 1];
for(l = 1; l <= e; l++)
a_i_array1d_fld[l] = new i(128, a_int_fld);

for(l = 2; l <= 8; l++)
{
a_i_array1d_fld[l].a_javax_microedition_lcdui_Graphics_fld.drawRegio n(a_javax_microedition_lcdui_Image_static_fld, 0, (l - 1) * a_int_fld, 128, a_int_fld, 0, 0, 0, 0);
a_i_array1d_fld[l].a_int_fld = l;
}

if(b_boolean_static_fld)
a_i_array1d_fld[1].a_javax_microedition_lcdui_Graphics_fld.drawRegio n(a_javax_microedition_lcdui_Image_static_fld, 0, 0, 128, a_int_fld, 0, 0, 0, 0);
else
a_i_array1d_fld[1].a_javax_microedition_lcdui_Graphics_fld.drawRegio n(a_javax_microedition_lcdui_Image_static_fld, 0, 8 * a_int_fld, 128, a_int_fld, 0, 0, 0, 0);
a_i_array1d_fld[1].a_int_fld = 1;
f = (h - 2 * h.a_int_static_fld) / a_int_fld;
return;
}
catch(Exception _ex)
{
return;
}
}

public final void paint(Graphics g1)
{
g1.drawImage(h.a_javax_microedition_lcdui_Image_st atic_fld, 0, 0, 20);
for(c_int_fld = b_int_fld - (f - 1) / 2; (e - c_int_fld) + 1 < f; c_int_fld--);
if(c_int_fld < 1)
c_int_fld = 1;
l = 1;
for(m = c_int_fld; (l <= f) & (m <= e);)
{
g1.drawImage(a_i_array1d_fld[m].a_javax_microedition_lcdui_Image_fld, g / 2 - 64, h.a_int_static_fld + (l - 1) * a_int_fld + 1, 0);
if(m == b_int_fld)
{
g1.setColor(h.d_int_static_fld);
g1.drawRect(h.b_int_static_fld, h.a_int_static_fld + (l - 1) * a_int_fld, getWidth() - 2 * h.b_int_static_fld, a_int_fld);
g1.setColor(0);
}
l++;
d = m++;
}

g1.drawImage(h.b_javax_microedition_lcdui_Image_st atic_fld, 0, h - h.b_javax_microedition_lcdui_Image_static_fld.getH eight(), 0);
if(d < e)
g1.drawImage(h.d_javax_microedition_lcdui_Image_st atic_fld, (g - 9) / 2, h - h.a_int_static_fld / 2, 0);
if(c_int_fld > 1)
g1.drawImage(h.c, (g - 9) / 2, h - h.a_int_static_fld / 2 - 8, 0);
}

private void b()
{
a();
repaint();
PMM.a_javax_microedition_lcdui_Display_static_fld. setCurrent(this);
}

public final void keyPressed(int i1)
{
try
{
a(i1);
return;
}
catch(Exception _ex)
{
return;
}
}

public final void keyRepeated(int i1)
{
try
{
a(i1);
return;
}
catch(Exception _ex)
{
return;
}
}

private void a(int i1)
throws Exception
{
if(getGameAction(i1) == 6)
{
if(b_int_fld < e)
b_int_fld++;
else
b_int_fld = 1;
repaint();
}
if(getGameAction(i1) == 1)
{
if(b_int_fld > 1)
b_int_fld--;
else
b_int_fld = e;
repaint();
}
if(getGameAction(i1) == 8)
switch(a_i_array1d_fld[b_int_fld].a_int_fld)
{
case 1: // '\001'
if(b_boolean_static_fld)
{
a_k_static_fld.a(this, 1);
return;
} else
{
a_b_static_fld.b(1, this);
return;
}

case 2: // '\002'
a_b_static_fld.b(b.d, this);
return;

case 3: // '\003'
PMM.a_javax_microedition_lcdui_Display_static_fld. setCurrent(new d(this));
return;

case 4: // '\004'
PMM.a_javax_microedition_lcdui_Display_static_fld. setCurrent(new a(this));
return;

case 5: // '\005'
a_b_static_fld.a(i + 1, this);
return;

case 6: // '\006'
a_b_static_fld.a(0, this);
return;

case 7: // '\007'
a_b_static_fld.a(i + 2, this);
return;

case 8: // '\b'
d();
if(c_boolean_static_fld)
{
a_m_fld = new m();
a_m_fld.c();
return;
}
PMM.a_PMM_static_fld.destroyApp(true);
break;
}
}

public final void run()
{
try
{
c();
return;
}
catch(Exception _ex)
{
return;
}
}

private void c()
throws Exception
{
a_m_fld = new m();
a_m_fld.a();
g = a_m_fld.getWidth();
h = a_m_fld.getHeight();
a_l_static_fld = new l();
a_b_static_fld = new b();
k = 1;
b.f = 2;
i = 1;
j = 100;
a_boolean_static_fld = false;
InputStream inputstream = getClass().getResourceAsStream("/setting.pbs");
a_java_lang_String_static_fld = new String(e.a(inputstream));
i = Integer.parseInt(e.a(inputstream));
j = Integer.parseInt(e.a(inputstream));
a_boolean_static_fld = Integer.parseInt(e.a(inputstream)) == 1;
k = Integer.parseInt(e.a(inputstream));
b.f = Integer.parseInt(e.a(inputstream));
if(a_boolean_static_fld)
a_m_fld.b();
a_javax_microedition_rms_RecordStore_static_fld = f.a("Settings");
if(f.a(a_javax_microedition_rms_RecordStore_static _fld) == 3)
{
k = Integer.parseInt(f.a(a_javax_microedition_rms_Reco rdStore_static_fld, 1));
b.f = Integer.parseInt(f.a(a_javax_microedition_rms_Reco rdStore_static_fld, 2));
b.b = Integer.parseInt(f.a(a_javax_microedition_rms_Reco rdStore_static_fld, 3));
b.d = b.b;
}
f.a(a_javax_microedition_rms_RecordStore_static_fl d);
b.a_l_static_fld.a();
a_l_static_fld.a(2);
a_javax_microedition_lcdui_Image_static_fld = Image.createImage("/m.bin");
h.e = Integer.parseInt(e.a(inputstream));
a_h_static_fld = new h(k);
a_k_static_fld = new k();
b_boolean_static_fld = Integer.parseInt(e.a(inputstream)) == 1;
c_boolean_static_fld = Integer.parseInt(e.a(inputstream)) == 1;
b.a_int_static_fld = Integer.parseInt(e.a(inputstream));
if(g < 164)
b.a_int_static_fld = k = 0;
inputstream.close();
a_m_fld = null;
b();
}

private static void d()
{
a_javax_microedition_rms_RecordStore_static_fld = f.a("Settings");
if(f.a(a_javax_microedition_rms_RecordStore_static _fld) == 3)
{
f.a(a_javax_microedition_rms_RecordStore_static_fl d, Integer.toString(k), 1);
f.a(a_javax_microedition_rms_RecordStore_static_fl d, Integer.toString(b.f), 2);
f.a(a_javax_microedition_rms_RecordStore_static_fl d, Integer.toString(b.b), 3);
} else
{
f.a(a_javax_microedition_rms_RecordStore_static_fl d, Integer.toString(k));
f.a(a_javax_microedition_rms_RecordStore_static_fl d, Integer.toString(b.f));
f.a(a_javax_microedition_rms_RecordStore_static_fl d, Integer.toString(b.b));
}
f.a(a_javax_microedition_rms_RecordStore_static_fl d);
}

private int l;
public int a_int_fld;
public int b_int_fld;
public int c_int_fld;
public int d;
public int e;
public int f;
public i a_i_array1d_fld[];
private int m;
public static l a_l_static_fld;
public static h a_h_static_fld;
public static b a_b_static_fld;
public static k a_k_static_fld;
public static String a_java_lang_String_static_fld;
public static RecordStore a_javax_microedition_rms_RecordStore_static_fld;
public static boolean a_boolean_static_fld;
public static boolean b_boolean_static_fld;
public static boolean c_boolean_static_fld;
public static int g;
public static int h;
public static int i;
public static int j;
public static int k;
private static Image a_javax_microedition_lcdui_Image_static_fld;
private m a_m_fld;
}

h.class


import javax.microedition.lcdui.Graphics;
import javax.microedition.lcdui.Image;

public final class h
{

public h(int i)
{
try
{
b(i);
c_javax_microedition_lcdui_Image_static_fld = Image.createImage("/au.bin");
d_javax_microedition_lcdui_Image_static_fld = Image.createImage("/ad.bin");
return;
}
catch(Exception _ex)
{
return;
}
}

public final void a(int i)
{
try
{
b(i);
PMM.a.a();
if(g.b)
{
g.a_k_static_fld.b();
g.a_k_static_fld.a();
}
return;
}
catch(Exception _ex)
{
return;
}
}

private void b(int i)
throws Exception
{
b_javax_microedition_lcdui_Image_static_fld = null;
a_javax_microedition_lcdui_Image_static_fld = null;
Image image = null;
if(i > 0)
{
image = Image.createImage("/t" + i + ".bin");
b_int_static_fld = 18;
a_int_static_fld = 42;
} else
{
Graphics g1;
(g1 = (image = Image.createImage(102, 120)).getGraphics()).setColor(e_int_static_fld);
g1.fillRect(0, 0, 102, 120);
b_int_static_fld = 4;
a_int_static_fld = g.a_l_static_fld.a;
}
int ai[] = new int[1];
image.getRGB(ai, 0, 1, b_int_static_fld + 1, a_int_static_fld + 1, 1, 1);
c_int_static_fld = ai[0];
d_int_static_fld = c_int_static_fld - 0x222222;
e_javax_microedition_lcdui_Image_fld = Image.createImage(g.g, g.h);
Graphics g2;
(g2 = e_javax_microedition_lcdui_Image_fld.getGraphics() ).setColor(c_int_static_fld);
g2.fillRect(0, 0, g.g, g.h);
g2.drawRegion(image, 0, 0, 42, a_int_static_fld, 0, 0, 0, 0);
int j = 0;
do
{
g2.drawRegion(image, 42, 0, 18, a_int_static_fld, 0, 42 + j * 18, 0, 0);
j++;
} while(42 + j * 18 <= g.g);
g2.drawRegion(image, 60, 0, 42, a_int_static_fld, 0, g.g - 42, 0, 0);
g2.drawRegion(image, 0, a_int_static_fld, 18, 36, 0, 0, a_int_static_fld, 0);
g2.drawRegion(image, 84, a_int_static_fld, 18, 36, 0, g.g - 18, a_int_static_fld, 0);
a_javax_microedition_lcdui_Image_static_fld = Image.createImage(g.g, 36);
a_javax_microedition_lcdui_Image_static_fld.getGra phics().drawRegion(e_javax_microedition_lcdui_Imag e_fld, 0, a_int_static_fld, g.g, 36, 0, 0, 0, 0);
for(j = 0; g.h > j * 36; j++)
g2.drawImage(a_javax_microedition_lcdui_Image_stat ic_fld, 0, a_int_static_fld + j * 36, 20);

g2.drawRegion(image, 0, a_int_static_fld + 36, 42, a_int_static_fld, 0, 0, g.h - a_int_static_fld, 0);
j = 0;
do
{
g2.drawRegion(image, 42, a_int_static_fld + 36, 18, a_int_static_fld, 0, 42 + j * 18, g.h - a_int_static_fld, 0);
j++;
} while(42 + j * 18 <= g.g);
g2.drawRegion(image, 60, a_int_static_fld + 36, 42, a_int_static_fld, 0, g.g - 42, g.h - a_int_static_fld, 0);
b_javax_microedition_lcdui_Image_static_fld = Image.createImage(g.g, a_int_static_fld);
b_javax_microedition_lcdui_Image_static_fld.getGra phics().drawRegion(e_javax_microedition_lcdui_Imag e_fld, 0, g.h - a_int_static_fld, g.g, a_int_static_fld, 0, 0, 0, 0);
a_javax_microedition_lcdui_Image_static_fld = Image.createImage(g.g, g.h);
a_javax_microedition_lcdui_Image_static_fld.getGra phics().drawRegion(e_javax_microedition_lcdui_Imag e_fld, 0, 0, g.g, g.h, 0, 0, 0, 0);
e_javax_microedition_lcdui_Image_fld = null;
}

public static int a_int_static_fld = 42;
public static int b_int_static_fld = 18;
public static Image a_javax_microedition_lcdui_Image_static_fld;
public static Image b_javax_microedition_lcdui_Image_static_fld;
public static Image c_javax_microedition_lcdui_Image_static_fld;
public static Image d_javax_microedition_lcdui_Image_static_fld;
public static int c_int_static_fld;
public static int d_int_static_fld;
public static int e_int_static_fld;
private Image e_javax_microedition_lcdui_Image_fld;

}

i.class


import javax.microedition.lcdui.Graphics;
import javax.microedition.lcdui.Image;

public final class i
{

public i(int j, int k)
{
a_int_fld = 0;
a_javax_microedition_lcdui_Image_fld = Image.createImage(j, k);
a_javax_microedition_lcdui_Graphics_fld = a_javax_microedition_lcdui_Image_fld.getGraphics() ;
a_javax_microedition_lcdui_Graphics_fld.setColor(h .c);
a_javax_microedition_lcdui_Graphics_fld.fillRect(0 , 0, j, k);
}

public int a_int_fld;
public Image a_javax_microedition_lcdui_Image_fld;
public Graphics a_javax_microedition_lcdui_Graphics_fld;
}

j.class


public final class j
{

public j(int i)
{
a_int_fld = 0;
b = 0;
a_int_array1d_fld = new int[i];
}

public int a_int_fld;
public int b;
public int a_int_array1d_fld[];
}

k.class


import java.io.*;
import javax.microedition.lcdui.*;

public final class k extends Canvas
{

public k()
{
c_int_fld = 1;
d = 1;
e = 1;
j = 1;
setFullScreenMode(true);
f = 1;
h = 0;
a_javax_microedition_lcdui_Image_static_fld = Image.createImage(g.g, g.h);
a_javax_microedition_lcdui_Graphics_static_fld = a_javax_microedition_lcdui_Image_static_fld.getGra phics();
b_javax_microedition_lcdui_Image_static_fld = Image.createImage("/if.bin");
c_javax_microedition_lcdui_Image_static_fld = Image.createImage("/ii.bin");
return;
JVM INSTR dup ;
IOException ioexception;
ioexception;
printStackTrace();
}

public final void paint(Graphics g1)
{
g1.drawImage(a_javax_microedition_lcdui_Image_stat ic_fld, 0, 0, 20);
}

public final void a()
throws Exception
{
a_javax_microedition_lcdui_Graphics_static_fld.dra wImage(h.a_javax_microedition_lcdui_Image_static_f ld, 0, 0, 0);
Image image;
Graphics g1;
(g1 = (image = Image.createImage(b_int_fld, 3 * a_int_fld)).getGraphics()).setColor(h.d_int_static _fld);
g1.fillRect(0, 0, b_int_fld, image.getHeight());
int i1;
if((i1 = g.a_l_static_fld.a(g1, a_j_array1d_fld[d].a_int_array1d_fld, a_j_array1d_fld[d].a_int_array1d_fld.length, image.getWidth(), 0, image.getWidth(), 24) / a_int_fld) > 3)
i1 = 3;
g1.drawImage(a_j_array1d_fld[d].a_int_fld != 0 ? b_javax_microedition_lcdui_Image_static_fld : c_javax_microedition_lcdui_Image_static_fld, image.getWidth() - 24, 0, 0);
for(e = d - (i - i1) / 2; (g - e) + i1 < i; e--);
if(e < 1)
e = 1;
k = e;
for(j = 1; (j <= i) & (k <= g);)
{
if(k == d)
{
a_javax_microedition_lcdui_Graphics_static_fld.dra wRegion(image, 0, 0, b_int_fld, i1 * a_int_fld, 0, g.g - h.b_int_static_fld, h.a_int_static_fld + (j - 1) * a_int_fld + 1, 24);
j += i1 - 1;
} else
{
a_javax_microedition_lcdui_Graphics_static_fld.dra wImage(a_j_array1d_fld[k].a_int_fld != 0 ? b_javax_microedition_lcdui_Image_static_fld : c_javax_microedition_lcdui_Image_static_fld, g.g - h.b_int_static_fld - 24, h.a_int_static_fld + (j - 1) * a_int_fld + 1, 0);
g.a_l_static_fld.a(a_javax_microedition_lcdui_Grap hics_static_fld, a_j_array1d_fld[k].a_int_array1d_fld, a_j_array1d_fld[k].a_int_array1d_fld.length - 1, g.g - h.b_int_static_fld - 24, h.a_int_static_fld + (j - 1) * a_int_fld + 1, b_int_fld - 24);
}
j++;
f = k++;
}

a_javax_microedition_lcdui_Graphics_static_fld.dra wImage(h.b_javax_microedition_lcdui_Image_static_f ld, 0, g.h - h.b_javax_microedition_lcdui_Image_static_fld.getH eight(), 0);
if(f < g)
a_javax_microedition_lcdui_Graphics_static_fld.dra wImage(h.d_javax_microedition_lcdui_Image_static_f ld, (g.g - 9) / 2, g.h - h.a_int_static_fld / 2, 0);
if(e > 1)
a_javax_microedition_lcdui_Graphics_static_fld.dra wImage(h.c, (g.g - 9) / 2, g.h - h.a_int_static_fld / 2 - 8, 0);
repaint();
serviceRepaints();
}

public final void a(Displayable displayable, int i1)
throws Exception
{
a_javax_microedition_lcdui_Displayable_fld = displayable;
d = 1;
b(i1);
a();
break MISSING_BLOCK_LABEL_29;
Exception exception;
exception;
a();
throw exception;
PMM.a.setCurrent(this);
return;
}

public final void keyPressed(int i1)
{
try
{
a(i1);
return;
}
catch(Exception _ex)
{
return;
}
}

public final void keyRepeated(int i1)
{
try
{
a(i1);
return;
}
catch(Exception _ex)
{
return;
}
}

private void a(int i1)
throws Exception
{
if(getGameAction(i1) == 6)
{
if(d < g)
d++;
else
d = 1;
a();
return;
}
if(getGameAction(i1) == 1)
{
if(d > 1)
d--;
else
d = g;
a();
return;
}
if(getGameAction(i1) == 8)
if(a_j_array1d_fld[d].a_int_fld == 0)
{
g.a_b_static_fld.b(a_j_array1d_fld[d].b, this);
return;
} else
{
c_int_fld = d;
b(a_j_array1d_fld[d].a_int_fld);
d = 1;
a();
return;
}
if(i1 < -5)
{
if(h == 0)
{
PMM.a.setCurrent(a_javax_microedition_lcdui_Displa yable_fld);
return;
}
b(h);
d = c_int_fld;
a();
}
}

public final void b()
{
a_int_fld = g.a_l_static_fld.a;
b_int_fld = g.g - 2 * h.b_int_static_fld;
i = (g.h - 2 * h.a_int_static_fld) / a_int_fld;
}

private void b(int i1)
throws Exception
{
b();
e = 1;
a_j_array1d_fld = null;
int j1 = 0;
int ai[] = new int[255];
InputStream inputstream = getClass().getResourceAsStream("idx" + i1);
DataInputStream datainputstream = new DataInputStream(inputstream);
g = datainputstream.read();
h = datainputstream.readUnsignedShort();
a_j_array1d_fld = new j[g + 1];
do
{
j1++;
int l1 = 0;
datainputstream.read();
int k1;
do
{
k1 = datainputstream.read();
if(l1 < 255)
ai[l1++] = k1;
} while(k1 != 182);
a_j_array1d_fld[j1] = new j(l1);
System.arraycopy(ai, 0, a_j_array1d_fld[j1].a_int_array1d_fld, 0, l1 - 1);
a_j_array1d_fld[j1].b = datainputstream.readUnsignedShort();
a_j_array1d_fld[j1].a_int_fld = datainputstream.readUnsignedShort();
} while(j1 < g);
inputstream.close();
}

public Displayable a_javax_microedition_lcdui_Displayable_fld;
private static Image a_javax_microedition_lcdui_Image_static_fld;
private static Graphics a_javax_microedition_lcdui_Graphics_static_fld;
private static Image b_javax_microedition_lcdui_Image_static_fld;
private static Image c_javax_microedition_lcdui_Image_static_fld;
public int a_int_fld;
public int b_int_fld;
public int c_int_fld;
public int d;
public int e;
public int f;
public int g;
public int h;
public int i;
public j a_j_array1d_fld[];
private int j;
private int k;
}

l.class


import java.io.InputStream;
import javax.microedition.lcdui.Graphics;
import javax.microedition.lcdui.Image;

public final class l
{

public l()
{
a_int_array1d_fld = new int[256];
a_short_array1d_fld = new short[256];
b = new short[256];
}

public final void a(int i)
throws Exception
{
a_javax_microedition_lcdui_Image_fld = null;
a_javax_microedition_lcdui_Image_fld = Image.createImage("/font" + i + ".fnt");
InputStream inputstream = getClass().getResourceAsStream("/font" + i + ".bin");
a_int_fld = inputstream.read();
inputstream.read();
inputstream.read();
try
{
for(short word0 = 1; word0 <= 247; word0++)
{
a_int_array1d_fld[word0] = 100 * inputstream.read() + inputstream.read();
a_short_array1d_fld[word0] = (short)inputstream.read();
b[word0] = a_short_array1d_fld[word0];
if(word0 > 124 && word0 < 133)
a_short_array1d_fld[word0] = 0;
}

}
catch(Exception _ex) { }
inputstream.close();
a_short_array1d_fld[0] = b[0] = 1;
a_short_array1d_fld[254] = b[254] = 1;
a_short_array1d_fld[255] = b[255] = 1;
}

public final void a()
throws Exception
{
a(b.f);
b.e = g.h / a_int_fld;
}

public final void a(Graphics g1, int i, int j, int k)
{
g1.drawRegion(a_javax_microedition_lcdui_Image_fld , a_int_array1d_fld[i], 0, b[i], a_int_fld, 0, j, k, 0);
}

public final void a(Graphics g1, int ai[], int i, int j, int k, int i1, boolean flag)
{
int j1 = 0;
int k1 = ai.length - 1;
for(int l1 = 0; l1 <= k1; l1++)
j1 += a_short_array1d_fld[ai[l1]];

int i2 = (i + k) - (k - j1) / 2;
int j2 = j + (i1 - a_int_fld) / 2;
int k2 = 0;
do
{
if(k2 > k1)
break;
short word0 = a_short_array1d_fld[ai[k2]];
i2 -= word0;
if(i - i2 > k)
break;
a(g1, ai[k2], i2, j2);
k2++;
} while(true);
g1.setStrokeStyle(0);
g1.drawRect(i - 2, j - 2, k + 4, i1 + 4);
if(flag)
{
g1.setStrokeStyle(1);
g1.drawRect(i, j, k, i1);
}
}

public final boolean a(Graphics g1, int ai[], int i, int j, int k, int i1)
{
int j1 = j;
boolean flag = false;
int k1 = 0;
do
{
if(k1 > i)
break;
short word0 = a_short_array1d_fld[ai[k1]];
j1 -= word0;
if(j - j1 > i1)
break;
a(g1, ai[k1], j1, k);
k1++;
} while(true);
return j - j1 > i1;
}

public final int a(Graphics g1, int ai[], int i, int j, int k, int i1, int j1)
{
int i2 = 0;
int ai1[] = new int[32];
int k2 = j - j1;
int l2 = k;
do
{
int k1 = 0;
int l1 = 0;
int j2;
do
{
j2 = ai[i2++];
ai1[++k1] = j2;
l1 += a_short_array1d_fld[j2];
} while(j2 != 151 && i2 < i);
if(i1 - (j - k2) < l1)
{
k2 = j;
l2 += a_int_fld;
}
for(int i3 = 0; k1 >= i3; i3++)
{
k2 -= a_short_array1d_fld[ai1[i3]];
a(g1, ai1[i3], k2, l2);
}

} while(i2 < i);
return (l2 + a_int_fld) - k;
}

public int a_int_array1d_fld[];
public short a_short_array1d_fld[];
public short b[];
public int a_int_fld;
private Image a_javax_microedition_lcdui_Image_fld;
}

m.class


import java.io.InputStream;
import javax.microedition.lcdui.*;

public final class m extends Canvas
{

public m()
{
a_boolean_fld = false;
b = false;
setFullScreenMode(true);
}

private void d()
{
a_javax_microedition_lcdui_Image_fld = null;
InputStream inputstream;
if((inputstream = getClass().getResourceAsStream("l.bin")) == null)
PMM.a_PMM_static_fld.destroyApp(true);
byte abyte0[] = new byte[10904];
System.arraycopy(a_byte_array1d_static_fld, 0, abyte0, 0, a_byte_array1d_static_fld.length);
try
{
inputstream.read(abyte0, a_byte_array1d_static_fld.length, 10904 - a_byte_array1d_static_fld.length);
a_javax_microedition_lcdui_Image_fld = Image.createImage(abyte0, 0, 10904);
return;
}
catch(Exception _ex)
{
PMM.a_PMM_static_fld.destroyApp(true);
}
}

private void e()
{
a_javax_microedition_lcdui_Image_fld = null;
try
{
a_javax_microedition_lcdui_Image_fld = Image.createImage("/c.bin");
return;
}
catch(Exception _ex)
{
return;
}
}

private void f()
{
a_javax_microedition_lcdui_Image_fld = null;
try
{
a_javax_microedition_lcdui_Image_fld = Image.createImage("/e.bin");
return;
}
catch(Exception _ex)
{
return;
}
}

public final void paint(Graphics g)
{
a_boolean_fld = false;
g.setColor(0xffffff);
g.fillRect(0, 0, getWidth(), getHeight());
g.drawImage(a_javax_microedition_lcdui_Image_fld, getWidth() / 2, getHeight() / 2, 3);
}

public final void a()
throws InterruptedException
{
d();
repaint();
PMM.a_javax_microedition_lcdui_Display_static_fld. setCurrent(this);
do
Thread.sleep(100L);
while(!a_boolean_fld);
a_javax_microedition_lcdui_Image_fld = null;
}

public final void b()
throws InterruptedException
{
e();
repaint();
PMM.a_javax_microedition_lcdui_Display_static_fld. setCurrent(this);
do
Thread.sleep(100L);
while(!a_boolean_fld);
}

public final void c()
throws InterruptedException
{
f();
repaint();
PMM.a_javax_microedition_lcdui_Display_static_fld. setCurrent(this);
b = true;
}

public final void keyPressed(int i)
{
if(b)
{
PMM.a_PMM_static_fld.destroyApp(true);
return;
} else
{
a_boolean_fld = true;
return;
}
}

private static final byte a_byte_array1d_static_fld[] = {
-119, 80, 78, 71, 13, 10, 26, 10, 0, 0,
0, 13, 73, 72, 68, 82, 0, 0, 0, -105,
0, 0, 0, -64, 8, 3, 0, 0, 1, 73,
-51, 49, -110, 0, 0, 3, 0, 80, 76, 84,
69, 0, 2, 58, 20, -122, 67, -121, -123, 48
};
private Image a_javax_microedition_lcdui_Image_fld;
private boolean a_boolean_fld;
private boolean b;

}

PMM.class


import javax.microedition.lcdui.Display;
import javax.microedition.midlet.MIDlet;

public class PMM extends MIDlet
{

public PMM()
{
a_boolean_fld = false;
a_g_static_fld = null;
a_javax_microedition_lcdui_Display_static_fld = Display.getDisplay(this);
a_PMM_static_fld = this;
}

public void startApp()
{
if(a_g_static_fld == null)
a_g_static_fld = new g();
if(!a_boolean_fld)
{
(new Thread(a_g_static_fld)).start();
a_boolean_fld = true;
}
}

public void pauseApp()
{
}

public void destroyApp(boolean flag)
{
a_g_static_fld = null;
a_PMM_static_fld = null;
notifyDestroyed();
}

public boolean a_boolean_fld;
public static g a_g_static_fld;
public static PMM a_PMM_static_fld = null;
public static Display a_javax_microedition_lcdui_Display_static_fld;

}


Setting.pbs

/peb
492
100
1
6
3
12573951
1
0
8


****************
توضحيح در مورد مقادير موجود در فايل setting.pbs



خط اول نام شروع فايل هاي کتاب مي باشد.
خط دوم مربوط به تعداد صفحات کتاب مي باشد
خط سوم مقدار صفحه موجود در فايل کتاب مي باشد.
و ...