Author Topic: Update on Progress  (Read 257341 times)

0 Members and 1 Guest are viewing this topic.

Offline Desdinova

  • Lt. Commander
  • ********
  • D
  • Posts: 280
  • Thanked: 282 times
Re: Update on Progress
« Reply #705 on: April 06, 2020, 09:31:05 AM »
What tool are you using? It looks like there are many obfuscation tools for .net, both free and commercial. Maybe it's just a matter of finding the right tool.

An alternative would be to move the non-trivial code into a .dll written in a not easily-decompiled language like C++, but that would take a lot of time.
« Last Edit: April 06, 2020, 09:39:50 AM by Desdinova »
 

Planetfall

  • Guest
Re: Update on Progress
« Reply #706 on: April 06, 2020, 09:41:15 AM »
Quote from: Father Tim link=topic=10096. msg120404#msg120404 date=1586051062
Quote from: papent link=topic=10096. msg120399#msg120399 date=1586037232
How many spines do these ships have?

I always imagined a spinal mount is like a HALO Mac cannon or the Gau-8 in the A-10.  You designed the craft around the weapon not vice versa.

I think if you want more than ONE spinal-mount weapon, your ship should be a catamaran or even trimaran design (which could be a simple tech line).
Spreading the weapons farther apart by mounting them on separate ship sections would increase the problems from recoil that a spinal mount is trying to solve.  It results in more torque turning the ship if they do not fire in synce and it concentrates the force into the handul of struts connecting each segment, making the ship more likely to snap in two.  It also makes the ship have far more surface area and thus need more armor. 
 

Offline Bughunter

  • Bug Moderators
  • Rear Admiral
  • ***
  • Posts: 929
  • Thanked: 132 times
  • Discord Username: Bughunter
Re: Update on Progress
« Reply #707 on: April 06, 2020, 09:43:11 AM »
What tool are you using? It looks like there are many obfuscation tools for .net, both free and commercial. Maybe it's just a matter of finding the right tool.

I'm no obfuscation expert, but he should probably not answer that. When doing security through obscurity, add as many layers of obscurity as possible :)
 
The following users thanked this post: Jovus

Offline Steve Walmsley (OP)

  • Moderator
  • Star Marshal
  • *****
  • S
  • Posts: 11684
  • Thanked: 20490 times
Re: Update on Progress
« Reply #708 on: April 06, 2020, 10:03:42 AM »
So today I finally started looking at obfuscation. It has not gone smoothly.

Running the obfuscation itself generates warnings, such as "Could not evaluate arguments used for call.  Manual property exclusions may be required."

So I manually removed the affected methods from the obfuscation only to find a new set with this same problem. Then my anti-virus quarantined the obfuscated file before the process completed :)

So, this may take a while. I'll keep everyone updated.

Making some progress. The virus problem seems to be because I tried to obfuscate an already obfuscated file. I am new to this :)

The rest is due to problems with reflection. The obfuscation renames fields so if I happen to use reflection and it depends on a renamed field, there is a problem.

There is an option to exclude fields from renaming, but for some reason it is ignoring the exclusions. Frustrating.

 

Offline joansam

  • Petty Officer
  • **
  • j
  • Posts: 23
  • Thanked: 26 times
Re: Update on Progress
« Reply #709 on: April 06, 2020, 11:54:54 AM »
The whole obfuscation effort seems wrongheaded to me - if the concern is modders making the game quite different, that wouldn’t bother me as a creator. Whereas if the concern is someone else taking the Aurora code and trying to make a profit from it, I think it’s A) extremely, vanishingly unlikely, and B) quite easily handled legally by just sticking up a fair use notice. I also think obfuscation will hurt bold modding projects a lot.

But you’ve made Aurora a fantastic game, Steve, and it’s yours to do what you want with it. Wishing you the best of luck with final release steps, including obfuscation.

Edited to avoid cluttering the thread: Yeah, I'm familiar with Steve's reasoning. I just frankly don't understand where it comes from. The concern about bug reports from modded games taking up his time seems very minor, and easily fixed with a "no modded games" notice on the bug report page. As for the broader concern with preventing people from altering the game in any major way...I don't get it. The closest thing it reminds me of is Lucasfilm shutting down this KOTOR fan remake: https://kotaku.com/star-wars-kotor-fan-remake-shutting-down-after-cease-a-1829720602
It's like...why would someone ever do this? In their case it was fear of losing money...I understand it but I think it makes everyone else worse off. Aren't we all better off when people can make more fun things and put them out into the world? Anyway, that's my two cents. Again, it's Steve's game and I don't endorse anyone trying to break the obfuscation against his wishes.
« Last Edit: April 06, 2020, 01:41:45 PM by joansam »
 

Offline Desdinova

  • Lt. Commander
  • ********
  • D
  • Posts: 280
  • Thanked: 282 times
Re: Update on Progress
« Reply #710 on: April 06, 2020, 12:03:56 PM »
The whole obfuscation effort seems wrongheaded to me - if the concern is modders making the game quite different, that wouldn’t bother me as a creator. Whereas if the concern is someone else taking the Aurora code and trying to make a profit from it, I think it’s A) extremely, vanishingly unlikely, and B) quite easily handled legally by just sticking up a fair use notice. I also think obfuscation will hurt bold modding projects a lot.

But you’ve made Aurora a fantastic game, Steve, and it’s yours to do what you want with it. Wishing you the best of luck with final release steps, including obfuscation.

Steve's already made it clear he doesn't want to endorse 'bold modding projects'. I really wish people would give it a rest before Steve decides to take his ball and go home.

Offline Steve Walmsley (OP)

  • Moderator
  • Star Marshal
  • *****
  • S
  • Posts: 11684
  • Thanked: 20490 times
Re: Update on Progress
« Reply #711 on: April 06, 2020, 12:06:44 PM »
The whole obfuscation effort seems wrongheaded to me - if the concern is modders making the game quite different, that wouldn’t bother me as a creator. Whereas if the concern is someone else taking the Aurora code and trying to make a profit from it, I think it’s A) extremely, vanishingly unlikely, and B) quite easily handled legally by just sticking up a fair use notice. I also think obfuscation will hurt bold modding projects a lot.

But you’ve made Aurora a fantastic game, Steve, and it’s yours to do what you want with it. Wishing you the best of luck with final release steps, including obfuscation.

http://aurora2.pentarch.org/index.php?topic=10606.0
 
The following users thanked this post: bro918

Offline Steve Walmsley (OP)

  • Moderator
  • Star Marshal
  • *****
  • S
  • Posts: 11684
  • Thanked: 20490 times
Re: Update on Progress
« Reply #712 on: April 06, 2020, 12:20:39 PM »
I am making progress with obfuscation. I was aware Reflection was an issue but I didn't realise just how much I used it. Rather than trying to flag everything in the obfuscation program setup, I've been adding code to Aurora to tell the obfuscation which parts to ignore. This is mainly DisplayMember for data binding and using typeof with enums.

An obfuscated build is now launching and running turns from the installation directory. I'll test that in the next day or two to find anything obvious but I am probably going to miss something so there may be some obfuscation-related bugs (which will either cause object missing errors or put weird data into a dropdown). It should get sorted fairly quickly though.

BTW I checked it in NET Reflector and it looks pretty horrible. I wouldn't know where to start :)

« Last Edit: April 06, 2020, 12:24:18 PM by Steve Walmsley »
 

Offline Demonides

  • Gold Supporter
  • Warrant Officer, Class 1
  • *****
  • Posts: 94
  • Thanked: 145 times
  • 2021 Supporter 2021 Supporter : Donate for 2021
    2022 Supporter 2022 Supporter : Donate for 2022
    2023 Supporter 2023 Supporter : Donate for 2023
    2024 Supporter 2024 Supporter : Donate for 2024
Re: Update on Progress
« Reply #713 on: April 06, 2020, 01:19:41 PM »
what is the probability that it will be release on Friday  ;D
 

Offline Erik L

  • Administrator
  • Admiral of the Fleet
  • *****
  • Posts: 5657
  • Thanked: 372 times
  • Forum Admin
  • Discord Username: icehawke
  • 2020 Supporter 2020 Supporter : Donate for 2020
    2022 Supporter 2022 Supporter : Donate for 2022
    Gold Supporter Gold Supporter : Support the forums with a Gold subscription
    2021 Supporter 2021 Supporter : Donate for 2021
Re: Update on Progress
« Reply #714 on: April 06, 2020, 01:26:23 PM »
It's like Schrödinger's Release. Until it is released, it is both ready and not ready to be released.
 
The following users thanked this post: vorpal+5, BAGrimm, Aquilae

Offline Inglonias

  • Lieutenant
  • *******
  • I
  • Posts: 170
  • Thanked: 69 times
Re: Update on Progress
« Reply #715 on: April 06, 2020, 01:36:36 PM »
Yeah, at some point in every software project you start to gain a new appreciation for Zeno's Paradox.
 
The following users thanked this post: Alsadius

Offline Aquilae

  • Leading Rate
  • *
  • A
  • Posts: 5
Re: Update on Progress
« Reply #716 on: April 06, 2020, 02:07:46 PM »
To play or not to play on friday, that's the question! :P
 

Offline littleWolf

  • Warrant Officer, Class 1
  • *****
  • l
  • Posts: 76
  • Thanked: 13 times
Re: Update on Progress
« Reply #717 on: April 06, 2020, 03:08:08 PM »
To play or not to play on friday, that's the question! :P

Abandon all hope, ye who enter here...
 
The following users thanked this post: Awazruk, Aquilae

Offline Deutschbag

  • Sub-Lieutenant
  • ******
  • Posts: 109
  • Thanked: 17 times
  • Discord Username: Pwnzerfaust
Re: Update on Progress
« Reply #718 on: April 06, 2020, 03:10:07 PM »
fraaaakk I can't handle the hype. This quarantine won't be so bad once I have my grubby little hands on C#.
 

Offline Aquilae

  • Leading Rate
  • *
  • A
  • Posts: 5
Re: Update on Progress
« Reply #719 on: April 06, 2020, 03:13:46 PM »
Quote from: littleWolf link=topic=10096. msg120500#msg120500 date=1586203688
Quote from: Aquilae link=topic=10096. msg120498#msg120498 date=1586200066
To play or not to play on friday, that's the question! :P

Abandon all hope, ye who enter here. . .

good that i am a hopeful person with persistence :)