# Corrupted .pde?

**URL:** <https://discourse.processing.org/t/corrupted-pde/8789>\
**Category:** Processing\
**Created:** [February 28, 2019, 9:09am UTC](https://discourse.processing.org/t/corrupted-pde/8789 "2019-02-28T09:09:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kigro](https://avatars.discourse-cdn.com/v4/letter/k/e36b37/32.png) [@kigro](https://discourse.processing.org/u/kigro)\
**Post date:** [February 28, 2019, 9:09am UTC](https://discourse.processing.org/t/corrupted-pde/8789/1 "2019-02-28T09:09:20Z")

</div>

So after working on a project for 5 hours on my Ubuntu laptop, I get home and try to open it on my pc:

 ![imagen](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/0/01b85788b4b7d28c7aac2d6375056fb54a66cc9c.png)

Is the file simply corrupt? Any way of recovering it?

EDIT: Someone suggested checking for temp files on a Windows directory. I forgot to mention that I did see some temp files appear in the project folder. They just disappeared when shutting down the laptop.

---

<div class="post-metadata">

**Author:** ![quark](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/quark/32/26_2.png) [@quark](https://discourse.processing.org/u/quark)\
**Post date:** [February 28, 2019, 10:22am UTC](https://discourse.processing.org/t/corrupted-pde/8789/3 "2019-02-28T10:22:00Z")

</div>

pde files are simple text files try and open it in notepad. If it opens then try and save it back as plain text

---

<div class="post-metadata">

**Author:** ![kigro](https://avatars.discourse-cdn.com/v4/letter/k/e36b37/32.png) [@kigro](https://discourse.processing.org/u/kigro)\
**Post date:** [February 28, 2019, 10:23am UTC](https://discourse.processing.org/t/corrupted-pde/8789/4 "2019-02-28T10:23:36Z")

</div>

It still looks like a corrupted file 😕

---

<div class="post-metadata">

**Author:** ![quark](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/quark/32/26_2.png) [@quark](https://discourse.processing.org/u/quark)\
**Post date:** [February 28, 2019, 10:26am UTC](https://discourse.processing.org/t/corrupted-pde/8789/5 "2019-02-28T10:26:57Z")

</div>

I assume you still have the sketch on your laptop so not all is a total loss.

What happens when you create a sketch on your PC does Processing display the text OK?

If it does try running a sketch created on your PC opn your laptop i.e. reverse the process

---

<div class="post-metadata">

**Author:** ![kigro](https://avatars.discourse-cdn.com/v4/letter/k/e36b37/32.png) [@kigro](https://discourse.processing.org/u/kigro)\
**Post date:** [February 28, 2019, 11:54am UTC](https://discourse.processing.org/t/corrupted-pde/8789/6 "2019-02-28T11:54:30Z")

</div>

Thing is I’m a dumbass and instead of copying the sketch from my laptop I cut it… But I’m pretty sure that even if I tried opening it on the laptop it would be corrupted because the temp files were already gone.

It’s weird because only the first 2 tabs are corrupted, but I don’t really care anymore since I spent the last 3 hours rewriting the corrupted part…
