Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2   Go Down

Author Topic: What file do I need to open in order to edit damage values of weapons?  (Read 3624 times)

0 Members and 1 Guest are viewing this topic.

kalsonic12

  • member
  • Offline Offline
  • Posts: 18

Game version is 4.13.4M.
Logged
Simulator difficulty? Hah!

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 9580
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Re: What file do I need to open in order to edit damage values of weapons?
« Reply #1 on: January 16, 2018, 03:04:31 AM »

Java Class !
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -

kalsonic12

  • member
  • Offline Offline
  • Posts: 18
Re: What file do I need to open in order to edit damage values of weapons?
« Reply #2 on: January 16, 2018, 03:12:53 AM »

I did a quick search and I got the 'IL-2 Class Hasher'. Is this the program that would allow editing of the weapon damage values?
Logged
Simulator difficulty? Hah!

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 9580
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Re: What file do I need to open in order to edit damage values of weapons?
« Reply #3 on: January 16, 2018, 03:34:30 AM »

No. It can only be used to transform a Java Class into a Hash file.
The opposite is true: Class resolver.
It allows you to have the Java Class from a Hash file.
Then you need a Java editor (DJ or Eclipse or...).
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -

kalsonic12

  • member
  • Offline Offline
  • Posts: 18
Re: What file do I need to open in order to edit damage values of weapons?
« Reply #4 on: January 16, 2018, 03:43:27 AM »

Noted, thank you very much Epervier! I'll update once progress has been made.
Logged
Simulator difficulty? Hah!

kalsonic12

  • member
  • Offline Offline
  • Posts: 18
Re: What file do I need to open in order to edit damage values of weapons?
« Reply #5 on: January 16, 2018, 03:58:42 AM »

Ok, this is a bit embarrassing, but where can I find the '.class' files?

*Am I to use the SFS extractor to extract the SFS file, which then can be edited by the DJ Java Decompiler?
Logged
Simulator difficulty? Hah!

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 9580
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -

kalsonic12

  • member
  • Offline Offline
  • Posts: 18
Re: What file do I need to open in order to edit damage values of weapons?
« Reply #7 on: January 16, 2018, 08:58:50 AM »

Thank you for the classdump link, that one's particularly useful. Once I've made the changes, where do I put the edited files? Or do I have to compile it first before putting to the IL-2 folder?
Logged
Simulator difficulty? Hah!

kalsonic12

  • member
  • Offline Offline
  • Posts: 18
Re: What file do I need to open in order to edit damage values of weapons?
« Reply #8 on: January 17, 2018, 05:44:03 PM »

bump?
Logged
Simulator difficulty? Hah!

ecf111

  • member
  • Offline Offline
  • Posts: 344
Re: What file do I need to open in order to edit damage values of weapons?
« Reply #9 on: January 17, 2018, 07:53:05 PM »

It seems when no one replies the answers are usually deep within years of forum posts or in the links given. But that's just my observation, and I don't know much about modding, just sticking to skinning and missions.  I appreciate you trying to figure it out and good luck!
Logged
Create.

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 24028
  • Taking a timeout
    • STFU
Re: What file do I need to open in order to edit damage values of weapons?
« Reply #10 on: January 17, 2018, 10:04:23 PM »

The process is:
  • Dump Classes
  • Unhash Classes
  • Decompile Classes
  • Edit Classes' Sourcecode
  • Compile Classes
  • Hash Classes
  • Put Hashed Files into a new Mod folder, e.g. when you're on 4.13.4M, install SAS Modact 6.4 and then create a new folder "#SAS/!YourFineModNameHere!" to hold the new files

All of this can be found in the Superschool by the way.

Cheers!
Mike
Logged
Don't split your mentality without thinking twice.

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 9580
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Re: What file do I need to open in order to edit damage values of weapons?
« Reply #11 on: January 18, 2018, 02:05:46 AM »

It seems when no one replies the answers are usually deep within years of forum posts or in the links given. But that's just my observation...
Not necessarily true.  ;)
I started the answers but quickly I don't understand your messages anymore... so "Je passe la main" (I pass the hand (?)) as they say in French!
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -
Pages: [1] 2   Go Up
 

Page created in 0.04 seconds with 24 queries.