[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Bearoff databases

From: Ian Shaw
Subject: Re: [Bug-gnubg] Bearoff databases
Date: Fri, 13 Jul 2012 16:56:17 +0000

I don't think makebearoff will successfully create files larger than 6 * 11, 
although it's not the file size itself that is the problem, as I understand it.

When I tried it (years ago now), it ran into trouble when the position index 
exceeded 2^31, and rolled over to give negative numbers. 

Or maybe makebearoff did work, but it was gnubg itself that interpreted the 
value as a signed 32-bit word. 

I ran into the same issue when trying to extend the single-sided database 
beyond the midpoint.

This is all from memory; the details will be in the mailing list archive. 

-- Ian

-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Michael Petch
Sent: 13 July 2012 17:43
To: address@hidden
Subject: Re: [Bug-gnubg] Bearoff databases

On 2012-07-13 10:32, William Wright wrote:
> Hi,
> I was wondering if I can get a two sided Bearoff database that is bigger than 
> 6x11. Makebearoff won't create any two sided database bigger than 2GB. If 
> such a database was available on a disk  I would be willing to buy it for a 
> reasonable price. I just wondering if anyone knows anything about this or has 
> any ideas.

Makebearoff will create databases bigger than 2gb but GNUBG apparently can't 
use them.

As far as I am aware at this point in time the 2gb limit is still an issue. As 
you know there is a caveat in the current documentation.

I haven't personally invested any time in investigating what it would take to 
support larger ones. I don't know if the issue is OS specific, file system 
restrictions, 32 bit signed integer limitation with current implementation, or 
some issue with memory mapping.

I'd be willing to look at it, but I'm curious is anyone on this list has any 
insights before I expend the energy starting from scratch.

Michael Petch
CApp::Sysware Consulting Ltd.
OpenPGP FingerPrint=D81C 6A0D 987E 7DA5 3219 6715 466A 2ACE 5CAE 3304

Bug-gnubg mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]