在motorolafans看到一种java加速修改法(不是2m改4m的那种)
Tutorial Make Java Games Faster (No Lag)Dear my Friend, i find the way of to make java game become faster and not laggy. Follow my tutorial :
First : navigate into /mmc/mmca1/system/java/DownloadApps
choose one of the existing MIDLET folder there.
for example : MIDLET20004
In the MIDLET folder there is registry.txt file
Copy of the registry.txt file to your PC/computer, open with wodpad (don't open with Notepad)
search Line : Mot-JavaVM-Heapsize
default : 0, or 5000. Change to 1091927588
example :
Quote:
Jar-Path: /mmc/mmca1/.system/java/DownloadApps/MIDlet20037/Files/Catz_240x320_Nokia.jar
Jad-Path:
Perm-Path: /mmc/mmca1/.system/java/DownloadApps/MIDlet20037/permfile.txt
Suite-Icon: /mmc/mmca1/.system/java/DownloadApps/MIDlet20037/Files/suiteicon.png
DRM-Mode: Forbidden
Is-Trusted: 0
Jar-URL:
Description:
Domain: untrusted
Signer-Name:
Mot-JavaVM-Heapsize: 1091927588
Delete-Notify:
Num-MIDlets: 1
MIDlet-1: Catz, /mmc/mmca1/.system/java/DownloadApps/MIDlet20037/Files/MIDlet-1.png, GloftCATZ
Save registry.txt file, copy return to MIDLET20004 folder.
Warning : Do not edit registry.txt file directly on your SD/MMC card, copy to your PC first and make backup.
Now java game will be faster, not lag again.
Note : this change only applying to one Java game. for other Java game, you have to do same thing like above. This not applicable for Java application.
原帖[url]http://www.motorolafans.com/forums/showthread.php?t=19603[/url] 看不懂额... 你能不能翻译下./? 这种好像也是在改java内存,但改的方式不同,还不知道效果如何 不懂的路过... 在手机的每个游戏都有个registry.txt,找到registry.txt中的“Mot-JavaVM-Heapsize:”删除后面的数字,再加上“1091927588” 麻烦 一次只能改一个游戏,软件不能 昨天测试了下,把JAVA缓存改为2,把魔法门2的该文件改为1091927588,运行游戏发现很卡,感觉跟没修改的差不多,应该没什么作用吧 改系统文件最大改到5,测试出来缓存是6m,再大就改爆了。
1091927588还可以再改大,还不知道上限是多少。
回复 8# zhuangjia777 的帖子
测试结果来看,还是改系统文件的JAVA缓存配置比较好,嘿嘿,如果上限测试出来的话,欢迎共享下页:
[1]
