Teach you how to change the name of a class

The original poster: Autumn Charm Tales Views: 196 Replies: 3 Posted in: 2012-10-28 15:06:18
The first tools you need to prepare are MC, BE, and prev. After downloading them, carefully follow the tutorial:
1. Take the "archive software" in the attachment as an example.
2. First, note down all the class names in the JAR, then modify them on a notebook to the class names you want.
3. Extract the "archive software" to get RMS1.class and RMS2.class.
4. If we want to change RMS1.class to abc.class, use BE to enter the constant pool of RMS1, press 7, search for the string RMS1, fill in abc as the replacement, and then replace it. Note that in RMS2, you also need to change RMS1 to abc. After replacing, use prev to review and rename it to abc. In the MF file, change the “RMS1” in the code “MIDlet-1: archive software, RMS1” to “abc”. Then use MC to replace abc.class and RMS2 into the software, install it, and it's done.
5. If an error is displayed, it must be because a step was done incorrectly.
This tutorial is purely original. For reprints, please indicate: 7723 Autumn Charm Story.
× Preview
reply 🤍 0 📤 share collect
Who can forward this? Add a little more
Let me ask, what's the use of changing this?
Very useful when manually merging software
— All replies loaded —

Leave a Reply