nesdev.com
http://forums.nesdev.com/

YY-CHR can clear your chr file
http://forums.nesdev.com/viewtopic.php?f=21&t=12033
Page 1 of 2

Author:  Tsutarja [ Tue Nov 18, 2014 6:06 am ]
Post subject:  YY-CHR can clear your chr file

I just found out that if YY-CHR crashes, the chr file you were working on will be completely empty next time you open it. I don't know how commonly known this is, but backup your chr file before you start working on it! I lost a lot of progress because of this and wanted to let others know so the same thing wouldn't happen to them.

Author:  Hamtaro126 [ Tue Nov 18, 2014 11:06 am ]
Post subject:  Re: YY-CHR can clear your chr file

Which OS version are you using?
Also, Which version of YY-CHR are you using

if you're using YY-CHR.NET, Things can be glitchy

YYCHR.NET is still being made as a WIP by the author, so it should still be bugfixed a bit before the first release

The Linux-Wine Method was an assumption by me, so some things will not work out a bit!

Author:  Bregalad [ Tue Nov 18, 2014 1:00 pm ]
Post subject:  Re: YY-CHR can clear your chr file

Personally I still use version 0.98 because all the newer ones have been buggy and unstable.

Besides I always have a dozen of backup of the games I'm working on, so it's not that much of a problem if a file should be lost.

Author:  tokumaru [ Tue Nov 18, 2014 1:03 pm ]
Post subject:  Re: YY-CHR can clear your chr file

Tsutarja wrote:
backup your chr file before you start working on it!

Actually, backup your entire projects regularly, regardless of the tools you're using. This is common sense. If you don't make backups, you're asking to lose data, no matter how stable and bug-free your tools are.

Author:  Bregalad [ Tue Nov 18, 2014 2:52 pm ]
Post subject:  Re: YY-CHR can clear your chr file

Actually backups are not here just to recover lost data, but also to have a re-starting point if you mess up something to the point that fixing it would take more time than taking back an old version.

This happened to me quite a few times, where I wanted to add some functionality but messed up very badly.

Author:  tepples [ Tue Nov 18, 2014 4:18 pm ]
Post subject:  Re: YY-CHR can clear your chr file

And at that point, it becomes worth it to learn git. In fact I need to do that myself; so far, I've been just working from the previous release as my backup.

Author:  nintendo8 [ Tue Nov 18, 2014 4:30 pm ]
Post subject:  Re: YY-CHR can clear your chr file

Yes I agree git is very good to use. It is nice to have a history of what you have changed in your project. Also as for bugs in programs is the author aware of them? I know for my project Retro Graphics Toolkit I want to hear about bugs in my program so that I can fix them. I have fixed some bugs that caused me to think if only someone would have told me about that. I would have fixed it sooner. I fixed some bugs after releasing a new version but have held off due to no one has complaining.

Author:  Sik [ Tue Nov 18, 2014 7:40 pm ]
Post subject:  Re: YY-CHR can clear your chr file

tokumaru wrote:
Tsutarja wrote:
backup your chr file before you start working on it!

Actually, backup your entire projects regularly, regardless of the tools you're using. This is common sense. If you don't make backups, you're asking to lose data, no matter how stable and bug-free your tools are.

I think the point was to back-up before every time you open the program. Regularly will not be good enough, e.g. if your last back-up is from yesterday but you edited the file several times today and then the file gets corrupted, you will lose all of today's progress (and it can be a lot).

The git suggestion would help in this case (or any version control system, for that matter). In fact this is very much the main point of them, to be able to easily roll back in case the changes to the file end up breaking something. But they still have the downside that you need to be explicitly commiting every change and here you may actually forget to do that (so you'll need to find a way to automate this if possible).

Author:  snarfblam [ Tue Nov 18, 2014 8:45 pm ]
Post subject:  Re: YY-CHR can clear your chr file

FWIW I've been using YY CHR.NET for some time without problem. Maybe I just haven't been using the bugged bits?

Author:  thefox [ Tue Nov 18, 2014 9:05 pm ]
Post subject:  Re: YY-CHR can clear your chr file

I've never had data loss occur with YY-CHR. I'm not sure if op was saying that YY-CHR actively deleted his data, or that he just forgot to save (and YY-CHR didn't automatically back it up, which it indeed does not).

Version control systems are good, but they work better if the data is textual.

Author:  Sik [ Tue Nov 18, 2014 9:42 pm ]
Post subject:  Re: YY-CHR can clear your chr file

I think he meant that YY-CHR completely nuked the file (truncating it to 0 bytes), not only losing the current work but also all the previous work on it as well.

Author:  rainwarrior [ Tue Nov 18, 2014 10:20 pm ]
Post subject:  Re: YY-CHR can clear your chr file

I would strongly recommend setting up source control and use it for your project, whatever it is. I like subversion, personally, but git is also very popular. They are both free tools.

git: http://git-scm.com/
subversion: https://subversion.apache.org/

You can create free repositories here:
https://www.assembla.com/

Author:  mikejmoffitt [ Tue Nov 18, 2014 11:12 pm ]
Post subject:  Re: YY-CHR can clear your chr file

For the last few years all my projects have been on git, and while I haven't had any disasters having a remote to push to is relieving. It also makes moving between machines very easy.

Author:  thefox [ Wed Nov 19, 2014 1:53 am ]
Post subject:  Re: YY-CHR can clear your chr file

rainwarrior wrote:
You can create free repositories here:
https://www.assembla.com/

Also: https://bitbucket.org/

Author:  Tsutarja [ Wed Nov 19, 2014 2:46 am ]
Post subject:  Re: YY-CHR can clear your chr file

Hamtaro126 wrote:
Which OS version are you using?
Also, Which version of YY-CHR are you using


I'm using Windows 8.1 on my laptop. My YY-CHR version seems to be YY-CHR.NET ver.0.99

Sik wrote:
I think he meant that YY-CHR completely nuked the file (truncating it to 0 bytes), not only losing the current work but also all the previous work on it as well.


Yeah, this was exactly what happened. The crash has occurred only once, but I did lose a lot of work because of that.

Page 1 of 2 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/