# AppData Recovery

**URL:** https://discourse.processing.org/t/appdata-recovery/6041
**Category:** Processing
**Created:** [November 28, 2018, 7:24pm UTC](https://discourse.processing.org/t/appdata-recovery/6041 "2018-11-28T19:24:54Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Aleksi](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/aleksi/32/11065_2.png) [@Aleksi](https://discourse.processing.org/u/Aleksi)
#### Post date: [November 28, 2018, 7:24pm UTC](https://discourse.processing.org/t/appdata-recovery/6041/1 "2018-11-28T19:24:54Z")

</div>

Some time ago I discovered that whenever I execute a sketch it saves all the sketch tabs in a new `C:/Users/me/AppData/Local/Temp/sketchName_[randomnumbers]temp` directory. (I’m obviously using Windows.) Inside the folder each tab is saved with the name of the sketch suffxed by `.class`. Thus a sketch named `Test` with tabs `Hello` & `Goodbye` would be look like this:

```auto
C:/Users/me/AppData/Local/Temp/Test_82388472834823temp/
                                                       Test_.class
                                                       Test_$Hello.class
                                                       Test_$Goodbye.class

```

I wrote a little batch script that cleans this Temp directory out, because it can get quite bloated quite quickly.

But I was wondering: is it possible to recover one of these sketches? If so (and I expect it must be somehow), how does one recover it? (I ask because I would like to see how I did something in an earlier iteration.)

Thank you.

---

<div class="post-metadata">

### Author: ![hamoid](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/hamoid/32/58_2.png) [@hamoid](https://discourse.processing.org/u/hamoid)
#### Post date: [December 2, 2018, 4:45pm UTC](https://discourse.processing.org/t/appdata-recovery/6041/2 "2018-12-02T16:45:00Z")

</div>

You need a java decompiler. ~~I just tested this one online and it worked:  
www . javadecompilers . com~~ You can find one online 🙂

In IntelliJ Idea (the IDE) you can just put the files into your current project and double click them to see their decompiled source code.

---

<div class="post-metadata">

### Author: ![Aleksi](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/aleksi/32/11065_2.png) [@Aleksi](https://discourse.processing.org/u/Aleksi)
#### Post date: [December 2, 2018, 5:16pm UTC](https://discourse.processing.org/t/appdata-recovery/6041/3 "2018-12-02T17:16:39Z")

</div>

Hello hamoid, thank you for the reply!

It’s good to know that all I need is a decompiler, and that I can find one online for free.

The url you supplied sent me to a site that was insanely insistent that I turn off my ad-blocker. I normally never do that, but I made an exception this time just to try it. I was amazed by how much real-estate was taken over by ads, especially related to purchasing things I had been duck-duck-going (I don’t use Google) the past few days.

I’m also quite wary of downloading things from such sites, but I gave it a whirl. I didn’t have the success you did, but now I at least know what I need to look for, so thank you again!

---

<div class="post-metadata">

### Author: ![hamoid](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/hamoid/32/58_2.png) [@hamoid](https://discourse.processing.org/u/hamoid)
#### Post date: [December 2, 2018, 5:44pm UTC](https://discourse.processing.org/t/appdata-recovery/6041/4 "2018-12-02T17:44:11Z")

</div>

Oops sorry about that. I use uBlock + uMatrix, so I had not noticed any ads and it did not even ask me to disable my ad-blocker, since I probably had blocked their script.

I think I’ll remove the link above so anyone searching for this knows that it is possible to convert a .class file to .java (even if the variable names may be lost) and that you only need a java decompiler.

---

<div class="post-metadata">

### Author: ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)
#### Post date: [December 3, 2018, 10:27pm UTC](https://discourse.processing.org/t/appdata-recovery/6041/5 "2018-12-03T22:27:49Z")

</div>

For Eclipse, I believe the latest plugin is the Enhanced Class Decompiler:

> **[Enhanced Class Decompiler](https://marketplace.eclipse.org/content/enhanced-class-decompiler)**
>
> Enhanced Class Decompiler integrates JD, Jad, FernFlower, CFR, Procyon seamlessly with Eclipse and allows Java developers to debug class files without source code directly. It also integrates with the eclipse class editor, m2e plugin, supports...
