Fractal Softworks Forum
September 20, 2017, 06:27:15 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New blog post: Economy & Outposts (9/19/17); Starsector 0.8.1a is out!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Ask a program problem  (Read 288 times)
arcblade
Ensign
*
Posts: 2


View Profile Email
« on: September 13, 2017, 07:10:06 AM »

I am a programmer and I love this game. It's a good space game. This game source code was obscured by tool. It's very nice. I have a project need be obscured to prevent decompile and modification. But I cannot find a satisfactory tool. Can you tell me which java obfuscator using by you. Thanks.
Logged
xenoargh
Admiral
*****
Posts: 3951


View Profile
« Reply #1 on: September 13, 2017, 08:52:29 AM »

I presume it was lightly-obfuscated using something like ProGuard.  As applications go, Starsector is pretty lightly obfuscated and Alex has been a lot more open than most developers to letting people poke at the source from the outside, which I applaud (it makes it easier for those of us with similar backgrounds to hunt down issues, among other things).

A philosophical note here.  If you're not reliant on a really novel method or technology and aren't deploying to a space where the application's security is paramount (say, an online game where you don't want people to attack the application to gain unfair advantages), I wouldn't fret about these issues very much.  

Basic obfuscation of class / method / variable names will keep out most people, because if they weren't lazy, they wouldn't be trying to steal your code in the first place; very little in a typical game application is novel or new technology.  The biggest issues that I know Alex has had to confront have been with people stealing the artwork for the game, frankly, not the code.
Logged

Check out my SS projects Smiley
Alex
Administrator
Admiral
*****
Posts: 11039


View Profile
« Reply #2 on: September 13, 2017, 08:59:09 AM »

I'm using yGuard for Starsector. It's got nice ant tasks so integrating it into the build was easy; here's the link with documentation for those.
Logged
xenoargh
Admiral
*****
Posts: 3951


View Profile
« Reply #3 on: September 13, 2017, 09:04:30 AM »

If you're building for a commercial space where attacks on the application are very likely, such as a mobile game with in-app purchases, you'll need pretty heavy security; you may need to consider something like this

However, be aware that it's not cheap and, while I haven't ever maintained any source that used that directly, I've heard from people who have that it's fairly difficult to work with.
Logged

Check out my SS projects Smiley
arcblade
Ensign
*
Posts: 2


View Profile Email
« Reply #4 on: September 13, 2017, 05:41:03 PM »

Oh, very thanks. I have tried allatori, proguard and zkm, but have not yet tried yguard.
I will try yGuard.
Thanks. Smiley
Logged
Dark.Revenant
Admiral
*****
Posts: 2275



View Profile WWW Email
« Reply #5 on: September 13, 2017, 09:02:54 PM »

If you're building for a commercial space where attacks on the application are very likely, such as a mobile game with in-app purchases, you'll need pretty heavy security; you may need to consider something like this

However, be aware that it's not cheap and, while I haven't ever maintained any source that used that directly, I've heard from people who have that it's fairly difficult to work with.

If they have to ask, they're not ready for and really don't need a professional security suite.  By the time it's worth the development time to add one, you can afford to hire an expert.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2006-2011, Simple Machines
Simple Audio Video Embedder
Valid XHTML 1.0! Valid CSS!