Special Aircraft Service

Please login or register.

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

Author Topic: Extract Java classes from UP 3  (Read 3355 times)

0 Members and 1 Guest are viewing this topic.

spitfire-MKIX

  • member
  • Offline Offline
  • Posts: 252
Extract Java classes from UP 3
« on: January 10, 2018, 04:16:34 AM »

Hello all and happy new year !

With a friend of mine who knows about modding, we'd like to import Zuti mod functionalities into our 4.12.2 SAS ModAct 5.30 version. He told me that he'd need the classes from UP 3, but it seems that the last version is crypted. So I'd like to know if there's a way to extract them or if someone would be willing to share an old, uncrypted version.

Thanks in advance
Logged
My config: Zalman Z11 case - Akasa VenomPower 550W - MSI Z77A-G43 Gaming - Intel Core i5-3570 @ 3.4 GHz overclocked @ 4.2 GHz - MSI Core Frozr L - 2*4 GB Kingston HyperX Fury DDR3-1600 Dual Channel + 4 GB Single Channel - MSI Gaming X GeForce GTX 1080 - 1 TB + 2 TB HDD.

SAS~Skylla

  • SAS Team
  • member
  • Offline Offline
  • Posts: 1951
  • Flying Ass Clown N°24
Re: Extract Java classes from UP 3
« Reply #1 on: January 10, 2018, 09:15:54 AM »

=> https://www.sas1946.com/main/index.php/topic,39674.0.html

What you are looking for is called "Decompiled Classes of UP3 RC4 Unobfuscated". IMHO the Procyon decompiler has the best results, but from time to time you may have to look around what other decompilers (DJ, JD, FernFlower) did.

Good Luck!

skylla
Logged
When all else fails: read the instructions!

SAS~Skylla

  • SAS Team
  • member
  • Offline Offline
  • Posts: 1951
  • Flying Ass Clown N°24
Re: Extract Java classes from UP 3
« Reply #2 on: January 10, 2018, 09:30:12 AM »

With the above said; it is a lot easier to import features from 4.12 & 4.13 back to UP3 than vice versa.
Zuti's code is massive and deeply buried in base game classes. Also, bugs ...

I don't want to say that it is impossible, but porting MDS to v4.12.2 will be a massive amount of work. If I were you, I'd rather try to import the 4.12 features you fancy back to UP3. Storebror & me (well, mostly Storebror) did so with the UP3 Patch Packs, so there even would be a good base to start from ;)

May I ask, what 4.12 features / Mods are the ones you want to connect with MDS? Do you want to use the result off- or online?
Sorry for all those questions, I just got a little curious now!
Logged
When all else fails: read the instructions!

spitfire-MKIX

  • member
  • Offline Offline
  • Posts: 252
Re: Extract Java classes from UP 3
« Reply #3 on: January 10, 2018, 10:19:21 AM »

Thanks for the quick reply ! Actually, we created our own modpack based on SAS ModAct 5.30 with the latest version of JetEra and all the planes and features post-WW2. It's called Vietmod.

As for the Zuti features we'd like to implement, RRR and multi-crew are our top priority

Edit : oh, and I forgot to mention that we use Engine Mod, so it's 4.12 or nothing
Logged
My config: Zalman Z11 case - Akasa VenomPower 550W - MSI Z77A-G43 Gaming - Intel Core i5-3570 @ 3.4 GHz overclocked @ 4.2 GHz - MSI Core Frozr L - 2*4 GB Kingston HyperX Fury DDR3-1600 Dual Channel + 4 GB Single Channel - MSI Gaming X GeForce GTX 1080 - 1 TB + 2 TB HDD.

SAS~Skylla

  • SAS Team
  • member
  • Offline Offline
  • Posts: 1951
  • Flying Ass Clown N°24
Re: Extract Java classes from UP 3
« Reply #4 on: January 10, 2018, 10:35:37 AM »

Hmm, porting all that back to v4.10 is not so easily done, too .. hard to tell what is better!

In any case: Good Luck :)
Logged
When all else fails: read the instructions!

spitfire-MKIX

  • member
  • Offline Offline
  • Posts: 252
Re: Extract Java classes from UP 3
« Reply #5 on: January 10, 2018, 10:47:12 AM »

Thank you lol, I know it won't be easy whatever we do   ;D
Logged
My config: Zalman Z11 case - Akasa VenomPower 550W - MSI Z77A-G43 Gaming - Intel Core i5-3570 @ 3.4 GHz overclocked @ 4.2 GHz - MSI Core Frozr L - 2*4 GB Kingston HyperX Fury DDR3-1600 Dual Channel + 4 GB Single Channel - MSI Gaming X GeForce GTX 1080 - 1 TB + 2 TB HDD.

SAS~Skylla

  • SAS Team
  • member
  • Offline Offline
  • Posts: 1951
  • Flying Ass Clown N°24
Re: Extract Java classes from UP 3
« Reply #6 on: January 10, 2018, 10:57:27 AM »

Quote
Edit : oh, and I forgot to mention that we use Engine Mod, so it's 4.12 or nothing
That is true indeed ..

Quote
Thank you lol, I know it won't be easy whatever we do   ;D
You're damn right.
With Engine Mod involved and before the background of online use (net replication!), I dare to call this a real challenge ..
Logged
When all else fails: read the instructions!

spitfire-MKIX

  • member
  • Offline Offline
  • Posts: 252
Re: Extract Java classes from UP 3
« Reply #7 on: January 10, 2018, 11:30:40 AM »

Actually, my friend just told me that multi-crew classes are included in 4.12 stock, but the feature has been desactivated by removing 3 classes. So the idea is to get those from 4.10 and import them into 4.12
Logged
My config: Zalman Z11 case - Akasa VenomPower 550W - MSI Z77A-G43 Gaming - Intel Core i5-3570 @ 3.4 GHz overclocked @ 4.2 GHz - MSI Core Frozr L - 2*4 GB Kingston HyperX Fury DDR3-1600 Dual Channel + 4 GB Single Channel - MSI Gaming X GeForce GTX 1080 - 1 TB + 2 TB HDD.

spitfire-MKIX

  • member
  • Offline Offline
  • Posts: 252
Re: Extract Java classes from UP 3
« Reply #8 on: January 10, 2018, 12:18:58 PM »

Ok, he just told me that those missing classes are crypted in 4.10, so we need them to be decrypted to import them into 4.12.
Logged
My config: Zalman Z11 case - Akasa VenomPower 550W - MSI Z77A-G43 Gaming - Intel Core i5-3570 @ 3.4 GHz overclocked @ 4.2 GHz - MSI Core Frozr L - 2*4 GB Kingston HyperX Fury DDR3-1600 Dual Channel + 4 GB Single Channel - MSI Gaming X GeForce GTX 1080 - 1 TB + 2 TB HDD.

SAS~Skylla

  • SAS Team
  • member
  • Offline Offline
  • Posts: 1951
  • Flying Ass Clown N°24
Re: Extract Java classes from UP 3
« Reply #9 on: January 10, 2018, 03:14:53 PM »

In the link I posted are all the classes you need for UP3. Both the stock v4.10.1 ones and the modded ones. What your friend refers to as "encrypted" means in fact "just" obfuscated; there is no further encryption involved beside the renaming of class- variable- and method names.
Therefore if you download the unobfuscated decompiled classes in the mentioned link you should get what you need.

If the classes you are looking for aren't in the files available over there, then they're aren't part of UP3 RC4.

May I ask, what are the names of the classes you are missing?

Logged
When all else fails: read the instructions!

spitfire-MKIX

  • member
  • Offline Offline
  • Posts: 252
Re: Extract Java classes from UP 3
« Reply #10 on: January 11, 2018, 06:51:09 AM »

Yes, the missing classes are called "zutimain" and he managed to get them, now we need to import them into 4.12
Logged
My config: Zalman Z11 case - Akasa VenomPower 550W - MSI Z77A-G43 Gaming - Intel Core i5-3570 @ 3.4 GHz overclocked @ 4.2 GHz - MSI Core Frozr L - 2*4 GB Kingston HyperX Fury DDR3-1600 Dual Channel + 4 GB Single Channel - MSI Gaming X GeForce GTX 1080 - 1 TB + 2 TB HDD.

spitfire-MKIX

  • member
  • Offline Offline
  • Posts: 252
Re: Extract Java classes from UP 3
« Reply #11 on: January 11, 2018, 08:05:26 AM »

After some testing, it appears that Zuti classes work all together. If there's one missing, game crashes. So if we want multi-crew working in 4.12, we need to import the complete Zuti. Or maybe it would be possible to adapt the multi-crew system we have in coop to dogfight ?
Logged
My config: Zalman Z11 case - Akasa VenomPower 550W - MSI Z77A-G43 Gaming - Intel Core i5-3570 @ 3.4 GHz overclocked @ 4.2 GHz - MSI Core Frozr L - 2*4 GB Kingston HyperX Fury DDR3-1600 Dual Channel + 4 GB Single Channel - MSI Gaming X GeForce GTX 1080 - 1 TB + 2 TB HDD.
Pages: [1] 2   Go Up
 

Page created in 0.067 seconds with 28 queries.