APwin v2012 + Popeye (Windows graphical front for Alybadix and Popeye) (New version Apwin v2012.04! Updated 2012-07-19)

After a tremendous work Paul H. Wiereyn (NL) has completed APwin v2012 - the first APwin version,
which supports also the popular free chess problem solving program Popeye!

-APwin v2012 works in co-operation with Alybadix and Popeye so that Alybadix or Popeye can be used as solving 'engine'.
-Converts chess problems very quickly between Alybadix and Popeye formats.
-Compatible with Windows 95/98/ME/NT/2000/XP/Vista/7.
-Easy to enter chess problems with normal and fairy men/conditions.
-Menus and Help in 3 languages: english, german and dutch (the Popeye part in english only).
-Includes much help about  fairy rules and fairy piece moving rules etc.
-Supports near all Alybadix / Popeye options.
-Nice display of the solving moves.
-Preview of printing.
-Prints diagrams and solutions on different printer models installed in Windows.
-Loads and saves chess problems in Alybadix / Popeye text format.
-Easy to exchange chess positions with other chess programs via file or Windows clipboard
  in epd/fen/pgn/yaml/Fritz formats.
-Versatile Search options with Duplicate test .
-Very quick Duplicate/Plagiarism testing.
-Huge chess problem collection added (v2010-).

APwin v2012 is freeware!


Contents:

1. Example of APwin v2005, Main screen
2. Example of APwin v2005, Show solution screen

3. Example of APwin v2005, Print preview screen

4. Information regarding APWin/Popeye v2012   (by Paul H. Wiereyn)
5. Installing APwin v2012 + Popeye



1. Example of APwin v2005, Main screen
(click mouse left on the diagram for viewing the normal size)



2. Example of APwin v2005, Show solution screen
(click mouse left on the diagram for viewing the normal size)



3. Example of APwin v2005, Print preview screen
(click mouse left on the diagram for viewing the normal size)




4. Information regarding APWin/Popeye 2012  (by Paul H. Wiereyn)

After installing APwin 2012 the newest info files are found in 3 languages in the folder c:\aly\apwin. The file names are:
infoAPWin2012-English.doc, infoAPWin2012-Deutsch.doc and  infoAPWin2012-Nederlands.


FIRST A REQUEST

APWin has been developed in the course of more than 10 years. To include Popeye was, however, a tremendous and very complicated task.
Popeye has many fairy-rules and pieces. It was also a time consuming task to collect all required info. Again APWin is free, but you would oblige me,
to send me (Paul Wiereyn) a postcard, or E-mail whether you like it (or not).
Bug reports are also very welcome (nothing is perfect in this world, and certainly not a program of nearly 6 MB).

A1. NEW FEATURES OF APWIN 2012

- ATTENTION

It is essential that the instructions in the part C. INSTALLATION are executed exactly!

The present Popeye screen is based on Popeye-version 4.55. Shortly before I finished APWin 2012, Popeye-version 4.59 was published,
with to 2 new pieces: db = doublebishopper and dk = doublerookhopper. Also 2 new conditions, i.e. contraparrain and football were included.
Since it is very tricky to change a program in the last minute, above new features have not yet been added to APWin 2012.
However, the 2 new conditions can be filled in in the conditions-field by yourself.
Please note that Vaclav Kotesovec does not recommend this new Popeye version, since it contains many bugs according to him.
He advises to use the stable version 4.55. I observe, however, that many old errors are corrected in the new version.

- 6-DIAGRAMS

It is easier now to make a page with 6 diagrams, since you can select the displayed problems in practically all screens.

- CONVERSIONS

Conversions between problems in various formats take place automatically. Alybadix has 7 formats. PGN, EPD, FEN, YAML
and Popeye text files also can be opened in APWin.

- HELP

Help screens are no longer displayed IN APWin, but next to the screens. Further the headings in the help text are dark blue for a better overview.

- PIECES

Some Fairy pieces with combined powers have been redesigned. Since many fairies are represented by the same picture,
an abbreviation of 2 (= Popeye abbreviation), 3 or 4 characters is added on the board.

- POPEYE

New screens regarding the free solving engine POPEYE have been added, so Alybadix and Popeye are united in one GUI.
Both programs have their own strengths and together practically all (fairy) chess problems can be solved.
In this version the POPEYE screens are ONLY in the ENGLISH language.
In case your knowledge of English is not sufficient, I advise to select the relative text, press Ctrl + C and then Ctrl + V in the website: translate.google.com/#

Re downloading Popeye see C. INSTALLATION.


- SCREEN RESOLUTION

All screens of APWin are larger now, since the monitors have become larger in the last few years.
The lay-out is still more logical and the colours of the chess board are a little different to give APWin a new fresh look.
The resolution of the monitor should at least be 1280 x 1024 (or better). Ideal is: 1920 x 1080.
The absolute vertical minimum resolution is 768.
The absolute horizontal minimum resolution is 1152.
Further must the ratio vertical/horizontal be in accordance with the size of your monitor.When a vertical resolution of 768 is used,
then the drawback will be that the printing of a page with a diagram + solution is limited to short solutions.
Further only 4 diagrams on 1 page can be printed instead of 6.

- SEARCH

After (automatic) conversion of a file with many Popeye (or YAML) problems, the search screen of APWin can be used to look for certain problems,
or to find all possible duplicates.In the Popeye solution screen a simple search-screen is available with which e.g. a problem can be found with a certain text part, or move.

- SOLUTIONS

Solutions can be executed in the Popeye solution screen move by move (also including twins, grids, or a revolving board).
Moves of reborn Circe-men are shown on the solution board with a light blue line. The normal moves are – as usual – shown with a dark blue line.
Solutions of Alybadix/Popeye problems can be printed in 1, 2 or 3 columns (incl. the diagrams).

- YAML-FILES

Problems in YAML-format can also be opened in the Popeye screen.

From the site http://www.yacpdb.org/#searchhelp your can download a YAML-file with more than 300,000 problems
(already partly included in the collection, mentioned elsewhere). Opening of this huge file (contains also the solutions) is
only possible at the moment, when it is split in 2 parts (the maximum file APWin can open is about 315,000,000 bytes).
A small part consists of
Cyrillic characters, which cannot be shown in APWin. I intend to make a translation in due course (with the help of Google translate).


A2. NEW FEATURES OF APWIN
2011

1. A new option has been included in the File-menu, with which a file with new problems can be compared with an opened collection of problems.
APWin then produces 2 files, viz. one with duplicate problems and one with new problems, which do not occur in the existing collection.

2. The solution screen (normal format) was always situated in the middle of the monitor automatically. Now it can be placed everywhere on the monitor
and it remains there. This is easier when you are working with several programs at the same time.

3. Three extra buttons have been added in the solutions screen, i.e. “Arena”, “Nalimov-test (max. 6 men)” and “FEN pos. to clipb.”.

4. During the opening of files with problems a delaying message was displayed. This message was required to give the computer sufficient time to save
a temporary file. Now another method was devised, so this message no longer is required. Hopefully this works for ALL computers.

5. During the conversion of PGN- to Alybadix-problems, now setplay is set when black starts.

6. During the duplicate-tests a.o. a file is produced with the removed duplicates. Now the name of the author, who published this problem before,
is stated in each duplicate (incl. year + place). You can add this file to the collection again, if wished, because everybody now can see that these problems were composed before.

7. Two extra buttons have been added in the solutions screen, i.e. “show problem nr...” and “show selection nr...”. With these buttons you can jump to numbered studies.

8. All buttons, with which the previous, or next problem can be shown, now have the extra property, that shift + click left, jumps 100 problems further and shift + click right 1000.


A3. NEW FEATURES OF APWIN 2010

1. How (fairy) men move can be shown on the board, when you click on a man.

2. A new search screen has been developed, in which a.o. one or more men can be put on the board and then all positions in a collection,
which fulfil the conditions are found very fast. Many other search-possibilities are also present.

3. The search for duplicates in Alybadix- or PGN-format in a big collection has become 80x faster than in the former version of APWin.
Mirrored and turned positions are also found. These can automatically be removed (several files are saved to document each ‘cleaning’).
In this way many wrong and/or plagiarized problems can be discovered. Duplicates with different stipulations are saved separately,
so wrong stipulations can be discovered very fast.

4. PGN-files containing solutions or games can be played in the solution screen.
Conversions between PGN- and Alybadix-format are possible. Duplicates can also be found in problem collections in PGN-format.

5. When a file with PGN-endgame-studies has been opened, APWin can connect to Nalimov-tables in the Shredder-site (max. 6 men)
on the internet and see if the present position is solvable. APWin can also start Arena (= a free chess-program), after which the present
position can be solved by an engine in Arena. Of course you must first download Arena from the internet. (see C. INSTALLATION)

In Arena you can best use the free engine Houdini 1.5a, that is one of the strongest in the world at the moment (ELO about 3400)! (Houdini 2.0 costs money).


B. HUGE PROBLEM-COLLECTION

In the internet several free problem collections could be downloaded. These were in CMG-, CSV-, PBM-, PBZ-, and PGN-format (the website re PBZ-problems no longer exists).
APWin converted these problems to Alybadix-format. These conversion-programs are no longer present in APWin V2012, since I combined all problems in 1 huge collection,
containing
344,948 chess problems!
Of course all duplicates have been removed.

The last 18,492 problems of this file are made by Peter Vogel (= Pevo = Player = Chessmaster = Spieler) and are for the greater part exercises to mate.
These problems are mostly Positions from chess-games.

APWin can also test collections in PGN-format. In the endgame studies collection (76,132), sold by Harold van der Heijden,
APWin found that 495 studies had each 1 or more duplicates (many of them were plagiarized).

WARNINGS

1. A memory of 3GB is probably the minimum for this huge collection.

2. In the path where solutions are saved or opened, there may not be a folder with more than 8 characters (in connection with the limitations of the DOS-program AP.exe).
   Therefore C:\Program files\Sol\ is not allowed.
   However, C:\Aly\APWin\Demo\Sol\ is allowed.

3. Alybadix is a 16-bit program, that CANNOT run in a 64-bit system. However, APWin can be used in a 64-bit system, since it is 32-bit, but solving is not possible.
   However, now you can solve with Popeye!

4. In January 2012 Ilkka Blom made 32-bits versions of AR.EXE and AW.EXE. Now SOL-files can also be opened on a 64-bits-system! (solving not yet possible).


C. INSTALLATION (3 PARTS!)

- APWIN

For APWin version 2012, a completely new set-up must be executed. The following steps must be taken:

a. The file SetupAPWin2012 must be unzipped in a new folder C:\TempAP. In case you unzipped it on another drive,
unzip it as yet in the folder \TempAP on drive C (essential!).

b. First study the part re – SCREEN RESOLUTION, whether your monitor can support APWin.

c. Start SetupAPWin.exe with administrator's rights. In the second screen that appears during this set-up you must click on the picture
in order to continue (do not change the folder). First your folder c:\Aly (when present) will be renamed to c:\AlyOld12.
Then all APWin files will be copied to the right subdirectories and at the end the required system-files will be installed.

Should a warning appear, just follow the instructions. When you can start APWin later on, the set-up was OK.
On some new computers, a warning can appear, that MSVBVM50.dll is missing.
Run in that case MSVBVM50.EXE (also in folder TempAP) with administator-rights, and then start SetupAPWin2012.exe again.

d. After the set-up, a folder “Temp” in the Program Files may be present. It aided with the installation and can be deleted
(if wished) through the Configuration screen of Windows.

e. New users can create a short-cut in the normal way (click right on APWin.exe etc.) and copy it to the desk.

Should the new version of APWin not work to your satisfaction (perhaps the resolution of your monitor is not right for APWin),
it is easy to change to the former situation, by removing the folder Aly. Then the folder AlyOld12 should be renamed to Aly.

In case the set-up did not succeed at all, just send me an E-mail (p.wiereyn@hccnet.nl) and you will get help.

- ARENA

Go to http://www.playwitharena.com and download Arena Chess GUI 3.0. Unzip the files in c:\Aly\Arena\ (no installation is required).
Arena can be started with a command button in APWin.
With Arena you can e.g. test/solve endgame studies in PGN-format.
When you never look at endgame studies, there is no need to add Arena to APWin.

- POPEYE

Go to http://popeye-chess.sourceforge.net and download the latest version of Popeye (at this moment 4.59-windows.zip, 550 KB of December 2011).
Unzip this file in c:\Aly\Popeye\ (no installation required).
Rename pywin32.exe, or pywin64.exe (depends whether your system is 32-, or 64-bits), to py.exe.
Now APWin will be able to use Popeye for solving.


D. AUTHOR

APWin is FREEWARE and has been developed by:

Paul Wiereyn
M. Nijhoffstraat 202
1382 TW Weesp
Holland
E-mail: p.wiereyn@hccnet.nl
telephone: 0294-410722

Please report bugs to above mentioned E-mail address and an update will be sent to you by E-mail.

It is meant to be used as a Windows front for the DOS solving programs AP.exe (= Alybadix/ Fairybadix) and Popeye.
AP.exe is since many years the standard for solving chess problems (inclusive fairy conditions/men).
The set-up program of APWin contains a free demo program of AP.exe (for new users). This has, however, certain limitations.
If you want the complete solving program, you can buy it from Ilkka Blom. who developed it.

Ilkka Blom
Salmikatu 27 A 16
FI-65200 Vaasa
FINLAND

E-mail: iblom@saunalahti.fi
Website: http://alybadix.wippiespace.com/


Weesp, July 2012



5. Installing APwin v2012 + Popeye

Please at first read this installation info above by Paul H. Wiereyn!


5a) Full installation of APwin v2012 + Popeye  (+ Alybadix demo)

a) APwin 2012 must be installed in the folder c:\Aly\APWin! If you already have Alybadix installed
in drive c, folder Aly, you can rename Aly to AlyOld12 before installing (although APwin installing
is generally able to do this automatically)!

b) Make (temporary) empty folder TempAP to hard disc drive c. Thus its path will be c:\TempAP.

c) Download setupapwin-2012.zip (updated 2012-07-19).

d) Unzip (use Winzip or PKzip or WinRAR etc) all files of the downloaded zip-file to this folder c:\TempAP.

e) Open the folder TempAP and run APwin installing program SetupAPWin.exe.

f) Setup suggests installing APwin to the (temporary) folder Program files\Temp. Accept this - do not change!

g) After successful installing apwin.exe will situate in the folder c:\Aly\apwin. Also the 3 document
files situate in the same folder. Make a shortcut icon from the desktop to apwin.exe in the normal way as follows:
Click Mouse-right on apwin.exe icon -> Send  to -> Desktop.

h) If you have not the full Alybadix version already installed in c:\Aly, APwin installs Alybadix demo
solving engine (renamed from apd.exe to ap.exe) instead.
If you already have Alybadix demo solving program installed (folder Apdemo generally),
you will find there many short example problems, which can be solved using this demo program.
Also the huge Sadier 2# collection can be solved with the help of Alybadix demo program (see below)!

i) If you already have the full Alybadix version installed in some other than c:\aly partition, copy ap.exe
from there (or from Aly-CD or Aly-USB) to c:\aly!

j) On some new computers, a warning can appear, that MSVBVM50.dll is missing. Run in that case MSVBVM50.EXE
(also in folder TempAP) with administator-rights, and then start SetupAPWin.exe again.

k) Popeye.
Download popeye-4.59-windows.zip.
Windows 32  bit: Unzip the file pywin32.exe to the folder c:\Aly\Popeye.
Windows 64  bit: Unzip the file pywin64.exe to the folder c:\Aly\Popeye.
Rename the unzipped file to py.exe.
Also you can download the newest Popeye files from the Popeye Homepage here: http://popeye-chess.sourceforge.net

l) At last you may delete the temporary installing folders and files:
c:\TempAP. Delete this by mouse in a normal way.
Program files\Temp. Via Windows Control Panel -> Uninstall a program (Temp).
Uninstalling is recommended since these folders may cause problems, when/if you make the full APwin installing again later!

5b) Update APwin v2012 to a newer version

a) If this is the first installation of APwin v2012, the full installation is needed before updating. See 5a) above!

b) Download apwin-v2012-04.zip  version 2012.04. (updated 2012-07-19).

c) Unzip apwin.exe to the folder c:\aly\apwin. This will replace the old apwin.exe.


5c) Huge chess problem collection

Below 9 chess problem collections in Alybadix format. Unzip them to any folder and load from APwin as txt-file.
Then you can solve the wished problems using the full version of Alybadix solving program (or use Alybadix
demo program for solving short problems only)!


Filename
Number of the problems
Length (zipped)
Added
aly.zip
31899
517 kB
11.06.2010
cmg.zip
69371
3257 kB 11.06.2010
fide.zip
17209
872 kB 11.06.2010
pbm.zip
57914
2864 kB 11.06.2010
pbz.zip 10741
945 kB 11.06.2010
sadier.zip 40011
1785 kB 18.02.2011
wiereyn.zip 88
5 kB 11.06.2010
vogel.zip 52856
1757 kB 11.06.2010
yacpdb.zip 284080
11710 kB
12.06.2010
Total
564169


Hint: At first solve the sadier collection of 2# problems (also Alybadix demo is able to solve them) . In Alybadix Main menu set V = Tree size = 0 and K = Keep tree.
Then all problems are solved without the position tree, which is quicker way for very short (2#) problems. Then in Disk menu select 6 or 7 = Solve all position files. 
Also in Disk menu you may select Y = Options for searching solutions with/without threats etc.
Alybadix solves these 40011 problems completely within 10 minutes if a modern computer!
After solving load all solution files (sol-extension) from APwin. Using its search option try text string "no solution" for finding the unsolved problems.
Try "<2>", "<3>", ... or shortly "<" or ">" for finding problems with multiple key-moves (generally cooked problems)!
Try "position error!" or shortly "error!" to find incorrect positions!
In addition APwin can find very quickly possible duplicates.

5d) New Sadier 2# collection of 123006 direct 2# problems


Unzip the file sadier2.zip (added 2012-04-07) to any folder. It includes 3 parts in Alybadix text format, proper for loading from APwin:
sadier2a.txt (117208 problems with 1 key move - thus probably correct).
sadier2b.txt (846 problems with 1# keymove(s) - thus probably misprint in the position).
sadier2c.txt (4952 problems with more than 1 key moves - thus probably cooked or misprint).

-You can solve this huge 2# collection completely using Alybadix (also Alybadix Demo version ok).
 Total solving time less than 30 minutes, if a modern computer!
-APwin search finds all problems with 1# key moves, if you use '#' as a search string!

The original Sadier 2# collection in PGN-format (updated 2012-02-27) is available here:
http://sites.google.com/site/edusadier/theartofdirectmateintwomoves

5e) New combined collection of 344948 problems (2012-07-19).

Paul H. Wiereyn has combined all previous collections to one huge collection of 344948 problems.
Also the duplicates were removed and new problems added!
Download the file allprobl.zip (12921 kB, added 2012-07-19) and unzip allprobl.txt to any proper folder.
Then you can open it from APwin file menu! 


Go to the begin of this page                                 Home