I've been trying to edit a class file with Eclipse IDE...I have looked at youtube tutorials and it has not helped. If anyone could help me on this, it would be great!
Help
- Ash_lee
- Thread is marked as Resolved.
-
-
A class file? You mean from the game's core code or?
-
Sorry I wasn't specific...
under: Rising World/data/commons.jar/commons/BlockID$WorldOres.class
I opened and viewed the code with JD Eclipse, but I haven't figured out how to edit and was hoping someone who has edited .class files with the same program could help...
-
ok I see and what exactly would you want to change in that file? What is your goal for starting this endeavour?
-
To make the game identify Coal as an ore so the Ore Detector will detect it
-
hmmm after a quick search I don't see any option to change that in the definitions database unfortunately. Maybe there is an option I am not seeing in the database red51 or is changing the ore detector ore list currently not possible?
Small Note:
The code directly is impossible to edit unless you are an expert, first of all java code is compiled and not just scripted and on top of that red has obfuscated it so you can't even read method names etc. to know what you are changing. And to make any change you would have to successfully decompile the whole game, reconstruct the .java files as .class files are the compiled versions, make the change, and then recompile the whole game again. i.e. impossible unless you really know what you are doing and have a lot of time to spare.
-
damn. ok thanks for the info XD
-
Maybe there is an option I am not seeing in the database red51 or is changing the ore detector ore list currently not possible?
This stuff is indeed handled in the game code, so there is unfortunately no easy way to change it (via database for example)
However, I've posted a few more information about adding coal to the ore detector Ash_lee
-
The last reply was more than 365 days ago, this thread is most likely obsolete. It is recommended to create a new thread instead.
Participate now!
Don’t have an account yet? Create a new account now and be part of our community!