On 06/14/2010 07:03 PM, Mark Cooper wrote:

Hi.

> Hi,
>
> I have a small database that has become corrupted. Attempting a repair
> has left me with an empty (zero bytes) index (.si4) file. There
> appears to still be data remaining in the .sg4 and .sn4 files.
>    

Sad news. How did this happen? Can you reproduce it, or sheer bad-luck?

> Is there any way to recreate the index file?
>    

I am not the expert here, Pascal may be able to help better, but notice 
the following:

When you open an old-format database (sn3, sg3, si3, etc), scid will 
convert this database to the new format (s*4). This means a simple 
rename of the sg and sn files. Interesting for you is that the si3 file 
is deleted and re-generated from scratch...

So you may be lucky with the following:
1) Copy your sg4 and sn4 files to <try>.sg3 and <try>.sn3
2) Copy your (empty) si4 file to <try>.si3
3) Start scid and open database <try>

If I read the code well, scid will immediately do the "conversion" based 
on the file names, even without seeing what is inside the dbase files....

Good luck.
Joost.

> Thanks,
>
> Mark
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> Scid-users mailing list
> Scid-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scid-users
>
>    

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to