VStanced/mods
Submit a mod
Mods Guides Forum Submit a mod Log in Register

Forum

Questions, builds, help and the odd argument. The mods and guides are out front.

.CFG and .CLASS to ...
 
Notifications
Clear all

.CFG and .CLASS to .Java/reverse.

11 Posts
4 Users
0 Reactions
7,843 Views
UltimateStance
(@ultimatestance_12236)
Estimable Member
Joined: 12 years ago
Posts: 129
Topic starter   [#555]

It really bothers me that you can't edit .cfg and .class file. As some may know, I'm making some mods of my own, so does anybody know how to convert .cfg and .class to .java?
Thanks



   
Quote
Holy_Shit_Man
(@holy_shit_man_3240)
Member Moderator
Joined: 14 years ago
Posts: 2251
 

I'm 100% sure that you can edit .cfg files with Notepad or any text editor. And .class files cannot be decompiled to javas. You got to write javas on your own.



   
ReplyQuote
UltimateStance
(@ultimatestance_12236)
Estimable Member
Joined: 12 years ago
Posts: 129
Topic starter  

How can you decompile .CLASSs? I've tried that before. Maybe a link?
BTW:I use Notepad++



   
ReplyQuote
Holy_Shit_Man
(@holy_shit_man_3240)
Member Moderator
Joined: 14 years ago
Posts: 2251
 

# KeeJay :
I'm 100% sure that you can edit .cfg files with Notepad or any text editor. And .class files cannot be decompiled to javas. You got to write javas on your own.

# KeeJay :
And .class files cannot be decompiled to javas. You got to write javas on your own.

# KeeJay :
And .class files cannot be decompiled to javas.

# KeeJay :
.class files cannot be decompiled to javas

And yeah - Notepad++ is a good notepad for things like .javas of .cfgs.



   
ReplyQuote
UltimateStance
(@ultimatestance_12236)
Estimable Member
Joined: 12 years ago
Posts: 129
Topic starter  

Oh, sorry XD. I just wanted to find out if you could make .class files readable.



   
ReplyQuote
klucifers
(@klucifers_10629)
Estimable Member
Joined: 12 years ago
Posts: 149
 

While this is hot, how to edit .class files?



   
ReplyQuote
RedCarDriver
(@redcardriver_1155)
Member Moderator
Joined: 15 years ago
Posts: 1125
 

You can't, without a hex editor - and even then, you're pretty much not going to get anything useful out of it. You need the Java source files.



   
ReplyQuote
UltimateStance
(@ultimatestance_12236)
Estimable Member
Joined: 12 years ago
Posts: 129
Topic starter  

I can make Javas, so do you just save them as .classes?



   
ReplyQuote
Holy_Shit_Man
(@holy_shit_man_3240)
Member Moderator
Joined: 14 years ago
Posts: 2251
 

Make javas, drop them to /scripts/src/ folder and game will compile it.



   
ReplyQuote
UltimateStance
(@ultimatestance_12236)
Estimable Member
Joined: 12 years ago
Posts: 129
Topic starter  

Oh, well that's helpful. 😃



   
ReplyQuote
klucifers
(@klucifers_10629)
Estimable Member
Joined: 12 years ago
Posts: 149
 

Thanks, i igured out that i dint even need to edit class. lol



   
ReplyQuote
Share: