Skip to content

๐ŸŒ Fully decompile, edit, and recompile WorldsPlayer on Linux (*nix)

License

Notifications You must be signed in to change notification settings

Whirlsplash/worldsplayer_source_editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Independent Source Editor for WorldsPlayer

This project enables anyone to fully decompile WorldsPlayer to Java source files, edit them in any way, and recompile them back to a working WorldsPlayer Java Archive.

Usage

Important

This tool should only be used in compliance with the terms and conditions of Worlds.com and applicable laws. The authors of this tool are not responsible for any misuse or legal implications arising from its use.

WorldsPlayer, and this project, require Java 6 to run. You can obtain a copy of Java 6 for your platform from the Oracle Java Archive.

This project additionally requires the Vineflower Java decompiler. Make sure that vineflower is accessible from your PATH environment variable.

Decompiling WorldsPlayer

To decompile WorldsPlayer, you will need to run the decompile Make task. This task will decompile the full source tree of the WorldsPlayer Java Archive to the source directory.

You'll additionally need to provide the location of the WorldsPlayer Java Archive as the WORLDSPLAYER_JAR environment variable.

WORLDSPLAYER_JAR=/path/to/worlds.jar make decompile

Editing WorldsPlayer

You can edit the decompiled source files in any way you like.

Recompiling WorldsPlayer

To recompile WorldsPlayer, you will need to run the compile Make task. This task will recompile the full source tree of the WorldsPlayer Java Archive to the out directory.

You'll additionally need to provide the location of the Java 6 compiler as the JAVAC environment variable.

JAVAC=/path/to/javac make compile

The recompiled WorldsPlayer Java Archive will be located at out/worlds.jar and requires no additional configuration to run in the WorldsPlayer client.

Step-by-Step

# Decompile WorldsPlayer
WORLDSPLAYER_JAR=/path/to/worlds.jar make decompile

# Edit the source files in the source directory
find source -type f -name "*.java" -exec sed -i.bak 's/this\.setName(longID);/this.setName(longID + " (" + longID + ")");/' {} \;

# Recompile WorldsPlayer
JAVAC=/path/to/javac make compile

# Copy worlds.jar to your WorldsPlayer client
WORLDSPLAYER_JAR=/path/to/worlds.jar make install

Now that we've changed the username format from username to username (username), we can run WorldsPlayer to verify that the change has been applied.

Optional Patches

This project includes a number of optional patches that can be applied to WorldsPlayer. These patches are located in the patches/optional directory.

  • Free VIP: Enables level two VIP for free at all times
  • Bypass assertFail exit: WorldsPlayer crashes when it encounters a failed assertion. This patch continues to show any failed assertion popups, but attempts to continue running the client, if possible.

Licence

This project is licensed with the GNU General Public License v3.0.

Disclaimer

This project is intended for educational and research purposes only. It is not intended for use in commercial products or services. Any misuse of this project or the modified software is strictly prohibited and may lead to legal consequences.

Please note that decompiling, editing, and recompiling software may violate the original software's terms of service and could have legal consequences. Ensure you are compliant with all relevant laws and agreements before using this project.

Users must comply with the terms and conditions set by Worlds.com when using the WorldsPlayer software. Any modifications or use of the software outside of these terms may violate the original software's licensing agreement and could lead to legal action. Ensure you have the right to use and modify the software as permitted by applicable laws and agreements.

Users are responsible for ensuring their use of this project and the modified software complies with all applicable laws, regulations, and agreements. The authors of this project are not liable for any actions taken by users that result in legal disputes or violations.

Acknowledgement

WorldsPlayer and all related trademarks, logos, and materials are the property of Worlds.com and its licensors. This project is not affiliated with or endorsed by Worlds.com. All modifications made using this project are the sole responsibility of the user.

About

๐ŸŒ Fully decompile, edit, and recompile WorldsPlayer on Linux (*nix)

Topics

Resources

License

Stars

Watchers

Forks