Skip to content

Tools for rendering Chu Shogi diagrams (and other Shogi variants), and other useful programs

License

Notifications You must be signed in to change notification settings

colin-adams/chu-shogi-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chu-shogi-tools

Tools for rendering Chu Shogi diagrams (and other Shogi variants), and other useful programs

Prerequisites

You need to install the programs bash, perl, latex, dvipng and dvisvgm. On Fedora 27 that means doing:

  • sudo dnf install texlive-latex-bin
  • sudo dnf install texlive-dvipng-bin
  • sudo dnf install texlive-dvisvgm-bin
  • sudo dnf install texlive-mfware-bin
  • sudo dnf install 'tex(cmr10.tfm)'
  • sudo dnf install 'tex(colordvi.sty)'
  • sudo dnf install 'tex(epic.sty)'
  • sudo dnf install texlive-hyphen-base

For the tools written in Eiffel, you should also install EiffelStudio from Eiffel Software.

Installation

  1. Create an installation directory. E.g.:

mkdir ~/chu-tools

  1. Copy all files from the sub-directories (bash, example, latex, perl) to the installation directory.

  2. Change to the eiffel directory: cd eiffel

  3. cd fen2fsy

  4. ec -finalize -config fen2fsy.ecf

If promoted to compile pre-compiled libraries, reply y

  1. cd EIFGENs/fen2fsy/F_code

  2. finish_freezing

  3. cp fen2fsy ~/chu-tools

  4. cd ../../..

  5. rm -rf EIFGENs

  6. cp start.fen ~/chu-tools

  7. Change to the installation directory (cd ~/chu-tools) and type the command:

./forsyth2svg stampede.fsy

This should create a file stampede.svg[*] - one of my mating problems.

  1. Type the commands:

./fen2fsy start.fen start.fsy

./forsyth2png start.fsy

This should create a file start1.png - the start position obtained by doing File -> Save Position from the xboard menu

[*] This is hanging at 100% CPU busy. Bummer

About

Tools for rendering Chu Shogi diagrams (and other Shogi variants), and other useful programs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published