Skyth Profile picture
Aug 27 8 tweets 2 min read Twitter logo Read on Twitter
god, i hate denuvo.

so denuvo obfuscates functions in the game executable, right? presumably to add legibility checks into them. but this comes with a performance cost, and I got an extreme case that I want to talk about
project diva mega mix+ is infamous for having an extremely slow leftover debug mode that drops your FPS to single digits. see the video. i thought this was the developers trolling us but it doesn't seem to be the case
i started to get convinced this was due to denuvo and started looking into the code to see if I could find any obfuscated functions, and I found this one liner from the original version of the game. denuvo obfuscated this so HARD that it was taking several milliseconds to execute
Image
Image
this function gets called each time the UI elements want to set their color, so it kept getting stacked up and ruin the FPS. after rewriting similar other denuvo infected functions, the FPS hit still happens but not as bad. there are probably more I need to rewrite
my assumption is that denuvo does profiling while the game is being played to see which functions get called the most. hot paths don't get obfuscated, functions that are barely or never called get severe obfuscation. debug mode got the worst of it as it's never accessible
i'd guess the game's stupid stutters are due to this. not thoroughly profiled parts of the game get obfuscated a lot causing these performance issues... but again this is just a pure guess as I absolutely have no idea what goes into denuvo proceedings lol
see ya again when I have another BS to show or complain about
typo in first tweet, i didn't mean to say legibility, i mean like checking whether you own the game legally

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Skyth

Skyth Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @bsthlc

Sep 3, 2021
Sonic Colors Ultimate is out for early access!

There's this rumor that the game utilizes Godot Engine, and it's indeed true. However, that's not where it all ends.

In this thread, I'm going to clarify a few misconceptions, and show some interesting results of our datamining.
Godot Engine is a Free Open Source Software (FOSS) for creating games: godotengine.org

In the game's executable, there are many references to Godot Engine's classes and strings.

Here is every virtual class from the game if you are interested: 0bin.net/paste/fRjGCrPp… ImageImage
Does this mean the game was completely rewritten in Godot Engine?

Not at all, it seems Godot Engine is mostly used as a graphical backend. The original C++ code is still used, and Hedgehog Engine's Base/Database/Universe libraries are still here, too: ImageImage
Read 12 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(