Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (498)
Games in Android Showcase (117)
games submitted by our members
Games in WIP (564)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Files wiped to null  (Read 409 times)
0 Members and 1 Guest are viewing this topic.
Offline CopyableCougar4

Senior Member


Medals: 8
Exp: 1 year



« Posted 2014-08-21 00:02:26 »

So I was working on a project, but shifting around some packages containing lots of class files. However, some things went way wrong and now half of the files I created (13000 lines of my code, 10000 lines of vorbis), are wiped to null. I was wondering if there was a way to recover the files. I had been making backups daily, but I kept them in my workspace (which caused them to all be wiped null too). I'm probably screwed but I wanted to know if anybody had a way to fix my issue.
Also, I tried the local history but it was empty..

Hope somebody can help...

CopyableCougar4

Either wandering the forum or programming. Most likely the latter Smiley

Github: http://github.com/CopyableCougar4
Offline CogWheelz
« Reply #1 - Posted 2014-08-21 01:27:47 »

http://www.java-gaming.org/topics/lost-my-code/34071/msg/321153/view
Offline CopyableCougar4

Senior Member


Medals: 8
Exp: 1 year



« Reply #2 - Posted 2014-08-21 01:30:25 »

Thanks for the link but Eclipse local history is empty and I didn't have windows file history enabled. I had backups, but they were in my workspace so all the backups back to like 3 weeks ago were wiped...

CopyableCougar4

Either wandering the forum or programming. Most likely the latter Smiley

Github: http://github.com/CopyableCougar4
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline CogWheelz
« Reply #3 - Posted 2014-08-21 01:31:39 »

Did you do any system back ups to your PC? Or did you use Git Hub or something
Offline CopyableCougar4

Senior Member


Medals: 8
Exp: 1 year



« Reply #4 - Posted 2014-08-21 01:32:53 »

No. I was stupid and only backed up my game files in a directory in my eclipse workspace, so many of my backups got corrupted.

CopyableCougar4

Either wandering the forum or programming. Most likely the latter Smiley

Github: http://github.com/CopyableCougar4
Offline CogWheelz
« Reply #5 - Posted 2014-08-21 01:33:35 »

If it was a virus or something you installed you can restore windows to a previous time.
Offline CopyableCougar4

Senior Member


Medals: 8
Exp: 1 year



« Reply #6 - Posted 2014-08-21 01:43:08 »

It wasn't a virus. There was an issue when moving some packages containing class files that resulted in a bad close.

CopyableCougar4

Either wandering the forum or programming. Most likely the latter Smiley

Github: http://github.com/CopyableCougar4
Offline CogWheelz
« Reply #7 - Posted 2014-08-21 01:44:13 »

Um, did you try to access that workspace through documents and check it out?
Offline CopyableCougar4

Senior Member


Medals: 8
Exp: 1 year



« Reply #8 - Posted 2014-08-21 01:45:32 »

I opened the files even outside of eclipse and the files were filled with null characters.

CopyableCougar4

Either wandering the forum or programming. Most likely the latter Smiley

Github: http://github.com/CopyableCougar4
Offline Longarmx
« Reply #9 - Posted 2014-08-21 02:37:17 »

Unless you can restore from a previous version, there is no way to convert the null characters back into your code.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Gibbo3771
« Reply #10 - Posted 2014-08-21 07:55:54 »

It takes literally 10-15 minutes to setup a repo and learn how to do the basics. Push every time you finish coding.

I see another one of these threads I am going to go insane.

EDIT: Wester Digital MyPassport harddrives start at around £40 and come with an automatic backup app, constantly copies over files that have changed. I haven't looked back.

"This code works flawlessly first time and exactly how I wanted it"
Said no programmer ever
Pages: [1]
  ignore  |  Print  
 
 

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Grunnt (23 views)
2014-09-23 14:38:19

radar3301 (14 views)
2014-09-21 23:33:17

BurntPizza (31 views)
2014-09-21 02:42:18

BurntPizza (22 views)
2014-09-21 01:30:30

moogie (20 views)
2014-09-21 00:26:15

UprightPath (30 views)
2014-09-20 20:14:06

BurntPizza (34 views)
2014-09-19 03:14:18

Dwinin (48 views)
2014-09-12 09:08:26

Norakomi (75 views)
2014-09-10 13:57:51

TehJavaDev (108 views)
2014-09-10 06:39:09
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!