How to Use dnSpy to Reverse Engineer Unity Games [ TUNIC ]

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ส.ค. 2024

ความคิดเห็น • 117

  • @StephenChapman
    @StephenChapman  2 ปีที่แล้ว +81

    Always make a backup of your files before you modify them! Oh, and brush your teeth twice a day and wear deodorant! :D

    • @dyonis5143
      @dyonis5143 2 ปีที่แล้ว +1

      Where can i download this Tunic demo it's not available on steam anymore ? I like the game and a good one to test on :)

    • @StephenChapman
      @StephenChapman  2 ปีที่แล้ว +5

      @@dyonis5143 You'll unfortunately have to wait until the next time they make the demo available again. But there are lots of Unity game demos on Steam to practice with! Steam lets you filter by games with demos, so it's easy to find them. =)

    • @dyonis5143
      @dyonis5143 2 ปีที่แล้ว +1

      @@StephenChapman Super thanks for the info

    • @shaiksaif4304
      @shaiksaif4304 2 ปีที่แล้ว

      Hello sir, can you make a video on assassin's creed odyssey hack with cheat engine 🙏

    • @Bloopblop1
      @Bloopblop1 2 ปีที่แล้ว

      Be amazing if you can show us how to code the main addresses and offsets in c++ or C# that way i can make hacks that my friends can use be amazing love your explanation ❤️

  • @DrGold-ks1mp
    @DrGold-ks1mp 2 ปีที่แล้ว +11

    Super easy to understand and helpful! Cheat Engine is nice, but it's even cooler to just edit the code of the game. Excellent presentation as well, I really like this new setup, showing the magnified points of interest of the game. Fantastic work, Stephen

  • @Fligger
    @Fligger 2 ปีที่แล้ว +8

    Awesome Introduction into dnSpy!
    The screen layout is perfect!
    Nice to see some new videos. :)

  • @yorzengaming
    @yorzengaming 2 ปีที่แล้ว +6

    Funny when you explained some stuff about "Door" class someone was actually knocking on your door :D

  • @IllIl
    @IllIl 2 ปีที่แล้ว +4

    Great video! Definitely going to try this out on some Unity games.
    In reference to 17:20 it could be cool to see your full approach including all mistakes and the entire figuring out process. I learn a lot from seeing someone's problem solving process.
    Thanks for the video!

  • @Hyginx
    @Hyginx ปีที่แล้ว +2

    Saved my life in a CTF, man. Thank you so much!

  • @whocares6763
    @whocares6763 2 ปีที่แล้ว +2

    First like then watch. The Content is always worth it.

  • @Cryptonat
    @Cryptonat 2 ปีที่แล้ว +16

    Is there a way to use dnSpy in conjunction with Cheat Engine to find the method in memory for making cheats? If so, I'd love to see some sort of tutorial or information for that.

    • @StephenChapman
      @StephenChapman  2 ปีที่แล้ว +16

      Absolutely! Chris over at Cheat The Game did a video showing a good technique for that: th-cam.com/video/ZRxoimkScs0/w-d-xo.html
      You could also use the Mono Dissector in CE itself. There is a LOT that has been updated with it since I did this video, but I give a basic intro to it here: th-cam.com/video/YYpl4WHpcS4/w-d-xo.html

    • @Cryptonat
      @Cryptonat 2 ปีที่แล้ว +6

      @@StephenChapman Awesome! Thanks Stephen. I'll check them out.

  • @anjat0
    @anjat0 2 ปีที่แล้ว +6

    would you possibly be able to show a Unity game that uses IL2CPP? I'm trying to figure out The Last Stand Aftermath but when I think something could work, either nothing happens or the game crashes. I currently have been able to make an infinite health and infinite ammo AOB script but I'm looking to create a DLL injection and try different things using mono dissector / .NET info

  • @pogo7201
    @pogo7201 2 ปีที่แล้ว +1

    This is really underrated! Thank you a lot. You might have inspired me for a new passion.

  • @_CryptoCat
    @_CryptoCat 2 ปีที่แล้ว +2

    super clear and detailed, love it bro! 😻

  • @invincibleHunter
    @invincibleHunter 2 ปีที่แล้ว +1

    whenever i put dll in the dnspy it loads as pe what should i do?

  • @dewmi4403
    @dewmi4403 2 ปีที่แล้ว

    Very happy to see you just again😎

  • @niravukani1371
    @niravukani1371 2 ปีที่แล้ว +3

    Hello sir,
    Hope you are doing well. I have one question.
    Can we reverse engineering IL2CPP build games? If yes please let me know how to do.

  • @chrisfayte8482
    @chrisfayte8482 2 ปีที่แล้ว +1

    Amazing lesson Stephen, I learned some things I didnt even realize. Thank you for this!

  • @JasonPegasus
    @JasonPegasus 2 ปีที่แล้ว +2

    do you know what i should to do if theres not "managed" folder?

    • @okamivs6494
      @okamivs6494 ปีที่แล้ว +1

      did you find the solution?

    • @Starrs_mods
      @Starrs_mods ปีที่แล้ว

      @@okamivs6494 i have not Did you?

  • @chrisfayte8482
    @chrisfayte8482 2 ปีที่แล้ว +5

    Sorry Im a little late work has been hectic. Amazing vid bro!! Also is it Ok if I use your free cam script to make my vid and share with others? You know Ill give you full credit and everything.. Thank you pal.

    • @StephenChapman
      @StephenChapman  2 ปีที่แล้ว +3

      Of course! Use it however you'd like, pal. :)

    • @chrisfayte8482
      @chrisfayte8482 2 ปีที่แล้ว +3

      @@StephenChapman Thank you so much pal I really appreciate it.. Im still playing around with it plus I want give your instructions another run through but Im getting there. I appreciate everything you do bro.

    • @StephenChapman
      @StephenChapman  2 ปีที่แล้ว +3

      @@chrisfayte8482 Looking forward to seeing what you make with it! I have a sort of 2.0 cam script to do some videos on at some point, so once you get the current stuff under your belt, I think you'll enjoy what's to come! :)

    • @chrisfayte8482
      @chrisfayte8482 2 ปีที่แล้ว +3

      @@StephenChapman I look forward to it bro.

  • @DARK-SKY1337
    @DARK-SKY1337 2 ปีที่แล้ว +1

    This doesn’t have anything to do with dnspy but with Minecraft. How do I make an AOB script that I can turn on or off or just turn on using a pointer with a set aob value. I can’t check the cheat or it locks my location with moving aob value. I want to be able to put the values I want in each cheat aob script so that it doesn’t lock me.
    I found someone that found a way to teleport to the places they’ve been and found aob value using cheat engine but they didn’t find the pointer. Someone made a cheat engine table with the xyz cords on it also with the pointer so I backup the aob values for it, then I went to another spot and pasted the data back in and it worked and send me back where I backup the aob values of 66 bytes.
    What I’m asking in short is to make an aob script that injects 66 bytes of data from the pointers location?

  • @russneho
    @russneho 2 ปีที่แล้ว +1

    Nice work mate, easy to understand and follow.

  • @ShadowMax2K
    @ShadowMax2K 2 ปีที่แล้ว +2

    Thank you, really wanted this kind of guides. If you have Patreon, I will sure follow and subscribe. Let us know.

  • @Mythtician
    @Mythtician 2 ปีที่แล้ว

    This is by far the best debugger.
    Question: Comments I make in the debugger, after you click Compile, it vanishes from view. What setting allows me to view commentations? and prevent them from being deleted?

  • @amimirmimir512
    @amimirmimir512 ปีที่แล้ว

    thanks for helping me change the bpm in space invaders extreme

  • @NightfallChease
    @NightfallChease 2 ปีที่แล้ว +1

    We need more videos!

  • @ErichDAtriGuiran1
    @ErichDAtriGuiran1 2 ปีที่แล้ว

    keep putting out videos homie!!

  • @Starrs_mods
    @Starrs_mods ปีที่แล้ว

    Thank you for this video Im trying to figure out how to undisable something in a game when its disabled on certain parts of the game

  • @krzysztofjarzyna4225
    @krzysztofjarzyna4225 2 ปีที่แล้ว

    Instant subscription. You are welcome!

  • @djsvrlaivwfofj
    @djsvrlaivwfofj ปีที่แล้ว

    @Stephen Chapman Some unity games do not have a managed folder or asssembly-csharp.dll in its folders, but cheat engines mono features still show them loaded into the game, how do we find and edit those with dnspy?

  • @furryfan87243
    @furryfan87243 2 ปีที่แล้ว +1

    So could this be used to extract GameCube models and levels from an ISO file?

  • @ThaimachineFilms
    @ThaimachineFilms 2 ปีที่แล้ว

    what if dnspy cant read the dll or there will be only a few things to be edit. maybe its packed in anyway. how to find or how to depacked it ?

  • @bigsweaterman8142
    @bigsweaterman8142 2 ปีที่แล้ว

    I'm trying to decompile a game that uses "YarnSpinner" for dialogue. It seems like it turns a text file into json or some other file type that I don't even recognize. Any suggestions?

  • @perguto
    @perguto 2 ปีที่แล้ว +2

    Where did you get the Mono version of Tunic? My version seems to be compiled via il2cpp

    • @StephenChapman
      @StephenChapman  2 ปีที่แล้ว +2

      Yeah, the demo version was what I used (since that's all that was out when I made the video). While you can still use dnSpy for modding IL2CPP binaries, it's pretty messy to do and has a fairly high barrier to entry. So instead of dnSpy, Cheat Engine's IL2CPP features are recommended. The tradeoff is that you will end up with a cheat table for use with Cheat Engine each time you play the game as opposed to a patched DLL, but something's better than nothing!

    • @StephenChapman
      @StephenChapman  2 ปีที่แล้ว

      @@user-pv4vi6fg2w They could be doing any number of things. If it's browser-based, then there's a whole world of server connectivity you're not going to see with Cheat Engine. You can use a web proxy like Fiddler to MITM data, or a traffic monitor like Wireshark to deeply inspect/craft packets.
      You could try a cursory view of the game's API endpoints via Chrome's devtools -> Network tab -> Toggle XHR and see what pops up as you play. Those will be requests/responses to/from servers (but that includes everything, like social media sites or whatever else they bake into their game/page).
      You can potentially glean a lot about the approach they're using just by the name of the endpoints they use. They might have custom integrity checks implemented that makes it easy to see when you've done something to artificially bloat your score. Consider a different approach than what you're doing and see what happens. Maybe your score contains an illegal number (like ending in 5 if it's not possible to have a score ending with that number because all values are even). It could literally be anything.
      Anyway, if this is all unfamiliar territory that I'm mentioning, then I would expect to spend many months/years researching and getting good at it. It's a completely separate skill from everything you do with Cheat Engine, but a very good one to have in your toolkit if you're interested enough in it.

    • @StephenChapman
      @StephenChapman  2 ปีที่แล้ว

      @@user-pv4vi6fg2w They can't detect applications due to browser sandboxing (if you're actually playing in a Chromium-based browser, Firefox, etc.). It sounds like timing/session/window focus integrity implementations in JS, possibly obfuscated.

  • @androidlogin3065
    @androidlogin3065 2 ปีที่แล้ว

    Since TUNIC SaveGame has a lot of lines with a pair (nave|value) for a lot of elements, how can dnSpy be used to find chests? I had seen 243 chests by now and not sure (after 13 full passes on the game) if are any more.
    By 'find' i mean two basic things:
    1.- Know if an specific chest name 'chest open #' (that not yet appears on the SaveGame) really exists on the game
    2.- If it is possible, where on the map is that chest (firstly i love to find them on the map by myself)
    Just to start as an example of one chest i can not yet find: 'chest open 1009' ... from 1008 it jumps to 1010.
    Also there are other 'elements' on the SaveGame that i can not find inside the game, they appear on the SaveGame with a value of 0 (not finded/used), some has DEMO as part of the name, others has 'ladder', etc., are things that may be on the game but i can not reach/find.
    How all this stuff can be found with dnSpy?
    Any help is wellcome, thanks in advance.
    P.D.: I hope you know that the iin-game menu optios has two optios to activate no damage recieved and no stamina lost.

  • @dreadedascendance2005
    @dreadedascendance2005 ปีที่แล้ว

    Could you possibly make more in depth videos about using dnspy with some other games like perhapse for when a user presses alt-f9 they get their hp reset to max as well as their stamina if possible it would be appreciated since I'm new to dnspy

  • @TraceguyRune
    @TraceguyRune ปีที่แล้ว

    Subtracting 1 from 0 on something like that wouldn't crash the game,
    but instead of deleting you should use a ternary condition.
    Item.Quantity = (quantity - 1 < 0) ? 0 : quantity - 1

  • @6Iack
    @6Iack 2 ปีที่แล้ว

    Could you point me in the right direction to where I can find out how to find interface windows in code so I can remotely trigger an interface from any location?

  • @ChaosCrischen
    @ChaosCrischen 2 ปีที่แล้ว

    Interesting but I think not really what I need. Is there a way to read the values of variables of a Unity Game while it's running?

  • @alexanderher7692
    @alexanderher7692 2 ปีที่แล้ว

    I tried this, but after saving module and running exe it has no effect? How can devs detect people doing this

  • @notforvideoschannel
    @notforvideoschannel ปีที่แล้ว

    Hello, I have problem. I tried to update unity mono source code from 2019.2.1-mbe to 2019.2.19 with Git, but when I wrote umpatcher 2019.2.19 f93c5973976e4bec5e769a31a73f00003f0a32dc "D:\GitRep\mono" "D:\GitRep\dnSpy-Unity-mono" it says that it's Copying files from D:\GitRep\mono to D:\GitRep\dnSpy-Unity-mono\unity-2019.2.19, but nothing happens, I checked it in Task Manager. It just stays still and says Copying files forever. How to fix that?

  • @gauravthapa4380
    @gauravthapa4380 2 ปีที่แล้ว

    Bro I always get a error while Compiling when I double click the error then it shows the Red colour code text Please help me..

  • @storiesofvalue
    @storiesofvalue 2 ปีที่แล้ว

    i play this attack on titan fanbase game
    i want to make titans walk through
    i found the body parts assembly but i dont know how to edit them to make myself pass through the titan's body
    help pls

  • @dave8650
    @dave8650 ปีที่แล้ว

    Hi, do you know sir how i can prevent myself from chat block from mmorpg. Im shouting world 5x and it blocks me from chatting in game for 1min.

  • @angryman9333
    @angryman9333 ปีที่แล้ว

    You didn't do any runtime debugging...

  • @LastRoze
    @LastRoze 2 ปีที่แล้ว +1

    Legend! thanks man.

  • @MysticAlankar
    @MysticAlankar 2 ปีที่แล้ว

    Thanks a lot for this tutorial!

  • @ivanosei6360
    @ivanosei6360 2 ปีที่แล้ว

    Please I have a question.. can a game like Vikings war of clans be hacked?

  • @phitc4242
    @phitc4242 2 ปีที่แล้ว

    hey I was wondering if you have/could explain how to call lua functions from asm?

  • @jake_dev1046
    @jake_dev1046 2 ปีที่แล้ว

    How could i get the Assembly-CSharp TUNIC game

  • @user-pf9jv1fl2n
    @user-pf9jv1fl2n 2 ปีที่แล้ว

    Stephen Chapman You should try a game on steam called Squally it teaches you X86 and X64 you may like it since the idea of it is to basically hack the game to gain a advantage etc.

  • @nr4873
    @nr4873 2 ปีที่แล้ว

    Do you think you could take a look at crab game? I'm pretty new to game modding, i had a look in the game files and there doesn't seem to be much in the game assembly file :(

  • @lythrongaming
    @lythrongaming 2 ปีที่แล้ว

    Yo, i wanna ask for help. Did anyone knows how to extract the string/addresss into an image by using Cheat Engine? I think it is possible

  • @hebrux
    @hebrux ปีที่แล้ว

    how do you bring up searchbar?

  • @JoeFay_Tech
    @JoeFay_Tech ปีที่แล้ว

    i have a little request. we want a simple tutorial video on how to create craft without materials cheat.

  • @speedifix919
    @speedifix919 2 ปีที่แล้ว

    do you can create criticals hack in minecraft java? this it could even be a challenge

  • @majiddeveloper9237
    @majiddeveloper9237 2 ปีที่แล้ว

    Wow, that's great.. Can I suggest you a game for you to modify.. It will help us a lot ❤️

  • @robsonm7016
    @robsonm7016 2 ปีที่แล้ว +1

    GREAT VIDEO, TANK YOU!!!!

  • @Akshitguleria7
    @Akshitguleria7 2 ปีที่แล้ว

    i need your help with some RE on some game, how can i get in touch?

  • @markwasfy9230
    @markwasfy9230 2 ปีที่แล้ว +1

    does it work on mobile unity games too ?

    • @StephenChapman
      @StephenChapman  2 ปีที่แล้ว

      Yep!

    • @markwasfy9230
      @markwasfy9230 2 ปีที่แล้ว

      @@StephenChapman i tried to decompile a apk file and the developer some how got the assembly in Managed file hidden

    • @markwasfy9230
      @markwasfy9230 2 ปีที่แล้ว +2

      @@StephenChapman i just digged around and found out that he using ll2Cpp as a backend can you make a video about how we can deal with that and how we can dump the files and get assembly files and mod it thanks in advance :D

  • @blubms8593
    @blubms8593 2 ปีที่แล้ว

    only for offline games right?

  • @GAMEBR0VIP2462
    @GAMEBR0VIP2462 ปีที่แล้ว

    is this il2cpp ?. jw because when i compile i get 10K errors even if i change nothing

  • @MultiJtx
    @MultiJtx 2 ปีที่แล้ว

    as well with dnSpy you can unlock unowned DLC..

  • @chengyue1269
    @chengyue1269 2 ปีที่แล้ว

    Can you help me crack an APK compiled by Unity Editor? I would like to import the game into Android Studio, modify packagename and make it work. I'm willing to pay a lot of money for that.

  • @gamerstech8185
    @gamerstech8185 2 ปีที่แล้ว

    Hello sir please could give us a tutorial on how to cheat mortal kombat 11 skins and other unlockables of game with cheat engine?

  • @dangerx6979
    @dangerx6979 2 ปีที่แล้ว

    does it work with apk files?

  • @Hoi-art
    @Hoi-art ปีที่แล้ว

    Do you also have a discord channel by any chance?

  • @antonellabellucci
    @antonellabellucci ปีที่แล้ว

    can i get full unity project with this?
    please let me know
    Thanks for the video

  • @JackAdams0
    @JackAdams0 2 ปีที่แล้ว

    can you please show how to hack Red Dead Redemption 2, for stuff like infinite health, stamina and deadeye. I cannot for the life of me figure this game out. I think the values might be encrypted...or not. Would very much appreciate if you could look into it, pal

  • @sksarker7343
    @sksarker7343 2 ปีที่แล้ว

    Can you make a video about hacking and making script of serious Sam hd 1,2 or 3. There is a problem when it

  • @adelxa9879
    @adelxa9879 2 ปีที่แล้ว

    Can u hack cuphead with new dlc ??

  • @cpaussiemods4252
    @cpaussiemods4252 2 ปีที่แล้ว

    can u do a video on how to hack kings of avalon on ios and android, hacking gold mainly

  • @micheallovis5369
    @micheallovis5369 2 ปีที่แล้ว

    Can You Make A game Trainer For Me For a Price If yes how can we get in Touch thanks

  • @muhammadfawadali129
    @muhammadfawadali129 2 ปีที่แล้ว

    Does it (dnspy) is available in mobile. Please.

    • @StephenChapman
      @StephenChapman  2 ปีที่แล้ว +1

      You can use it on mobile games made with Unity. Look up "dnSpy Android" on TH-cam to see. You'll still need to run dnSpy on a computer, though.

    • @muhammadfawadali129
      @muhammadfawadali129 2 ปีที่แล้ว +1

      @@StephenChapman So much love from Pakistan.

  • @florsolussoglia
    @florsolussoglia ปีที่แล้ว

    hola como estas? puedes hackear con cheat engine el juego para android evony the kings return? utilizo Memu. thx

  • @colinshack552
    @colinshack552 2 ปีที่แล้ว

    Do you make game trainer For a Price it is hard for me to do the value doesn't change if u can make a trainer for me for a price am ready sir

    • @Starrs_mods
      @Starrs_mods ปีที่แล้ว

      bro this dude could lowkey make a business making and selling these lol

  • @vchalls
    @vchalls 2 ปีที่แล้ว

    I have every dlc in 911 operator now 🤣🤣

  • @justforyoutube1319
    @justforyoutube1319 2 ปีที่แล้ว +1

    😁

  • @fuckingu
    @fuckingu ปีที่แล้ว

    Is it possible to use cheat engine's pointer scan with LD player?
    When I tried it did not work at all.
    I know Lin Engine but it needs to be rooted.
    When I find an exact value of a game, it's changed even though I modified.
    Is there anything that I can make any games of mod apk?

  • @hytalefanboi7471
    @hytalefanboi7471 2 ปีที่แล้ว

    Pro tip: if the game is made with IL2CPP instead of mono this method wont work.

  • @kiocode
    @kiocode 3 หลายเดือนก่อน

    Mono games brother

  • @theparashari5833
    @theparashari5833 2 ปีที่แล้ว

    Please make video on BGMI or PUBG mobile game. hack .

  • @MrZabidik
    @MrZabidik 2 ปีที่แล้ว

    pls make dragon mania legends hack

  • @PRINCE555YT100
    @PRINCE555YT100 2 ปีที่แล้ว

    How to make aimbot.exe

  • @mnageh-bo1mm
    @mnageh-bo1mm 2 ปีที่แล้ว +1

    great topic , but not we need more simplified and explanation
    i fell like i understood nothing

    • @StephenChapman
      @StephenChapman  2 ปีที่แล้ว

      What, in particular, were you confused about?

    • @mnageh-bo1mm
      @mnageh-bo1mm 2 ปีที่แล้ว +2

      @@StephenChapman all the video haha.
      i will try to watch it again maybe the problem is with me.

    • @dyonis5143
      @dyonis5143 2 ปีที่แล้ว +1

      It's easy bro he also teaches basic c# coding

    • @HunterAshner
      @HunterAshner 2 ปีที่แล้ว

      If you start working with unity to make games for fun this stuff will make sense very fast and it is a great way to pick up programming

  • @fuckingu
    @fuckingu ปีที่แล้ว

    I know how to decompile and make dll file.

  • @wa6
    @wa6 2 ปีที่แล้ว

    what do you think about this._damage = this.maxhp - this.maxhp

  • @AHOneOOne
    @AHOneOOne 2 ปีที่แล้ว

    Do you have discord i can speak to you on? i need a little help