DSgf: Difference between revisions

From GameBrew
No edit summary
No edit summary
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox homebrew
{{Infobox DS Homebrews
| title      = DSgf
| title      = DSgf
| image      = [[File:Dsgf.jpg]]
| image      = dsgf.jpg
| type        = Other
| type        = Other
| version    = Alpha 2.1
| version    = Alpha 2.11
| licence     = Mixed
| license     = Mixed
| author      = nio101
| author      = nio101
| website    = http://sourceforge.net/forum/forum.php?forum_id=783146
| lastupdated = 2008/02/10
| download    = Media:Dsgfalpha21.zip
| website    = http://sourceforge.net/projects/dsgf
| source      = http://sourceforge.net/forum/forum.php?forum_id=783146
| download    = https://dlhb.gamebrew.org/dshomebrew/dsgf.7z
| source      = http://sourceforge.net/projects/dsgf
}}
}}


A basic SGF editor for DS that allows recording and reviewing go board games.
A basic SGF editor for DS that allows recording and reviewing go board games. It is available in French and English.


French and English languages are available.
==Installation==
Download and extract file.


==Installation==
[[DLDI|DLDI]] patch .nds file according to needs and copy it to the root directory of the card.
#Download and extract file
 
#[http://chishm.drunkencoders.com/DLDI/ DLDI patch] .nds file according to needs and copy it to the root directory of the card
Copy both directories /DSgf/ and /SGF/ on root of the flash cart, then add your own SGF files in the /SGF/ directory if want.
#Copy both directories, /DSgf and /SGF, on root of the flash cart, then add your own SGF files in the /SGF directory if want.


==User guide==
==User guide==
===Main menu===
===Main menu===
:“Edit…”: review a previously recorded game along with commentaries
* Edit - Review a previously recorded game along with commentaries.
:“Create…”: record a new game with commentaries
* Create - Record a new game with commentaries.
:“Options…”: change default
* Option - Change default language.
:“Edit an SGF file…”: select SGF file and validate.
* Edit an SGF file - Select SGF file and validate.
:“Quit”: go back to the main menu.
* Quit - Go back to the main menu.
:“Create an SGF file…”: select and change the names for the game and the players by selecting them with the stylus (an input keyboard will appear).
* Create an SGF file - Select and change the names for the game and the players by selecting them with the stylus (an input keyboard will appear).


===Create SGF file===
Select the handicap value. For this first release, the komi is set to 7.5 (french official value) but in the next release, it will appear as a parameter.
Select the handicap value. For this first release, the komi is set to 7.5 (french official value) but in the next release, it will appear as a parameter.


Validate to create the game and view the goban. We assume that
Validate to create the game and view the goban. We assume that the placement of the handicap stones are the regular ones (no manual placement at this time).
the placement of the handicap stones are the regular ones (no
manual placement at this time).


The handicap stones are automatically placed. It's white's turn to
The handicap stones are automatically placed. It's white's turn to play.  
play.  


If go backward and then change the selection, all nodes after
If go backward and then change the selection, all nodes after this one will be automatically deleted (no variations are handled at this time).
this one will be automatically deleted (no variations are handled at this time).


Use the commentary icon menu to add a commentary to the current move (using the input keyboard).
Use the commentary icon menu to add a commentary to the current move (using the input keyboard).


Save SGF file by selection the save icon menu and typing in a
Save SGF file by selection the save icon menu and typing in a filename (don't add the .sgf extension, it will be done automatically).
filename (don't add the ".sgf" extension, it will be done automatically).


===Limitations===
===Limitations===
For now, DSgf doesn’t handle variations, even in read-only mode, so such SGF files are useless for now.
For now, DSgf doesn’t handle variations, even in read-only mode, so such SGF files are useless for now.


Furthermore, if you are trying to load big SGF files (>100Ko), the loading time will be quite long and you could even get some “memory full” error if there isn’t enough RAM to handle the SGF (the NDS has only 4MB of RAM, and DSgf already uses 1.5MB!).
Furthermore, if you are trying to load big SGF files (>100Ko), the loading time will be quite long and you could even get some memory full error if there isn’t enough RAM to handle the SGF (the NDS has only 4MB of RAM, and DSgf already uses 1.5MB).


DSgf analyzes the SGF files at loading time, to ensure afterwards a smooth navigation/display of the game. The drawback is that the data structure uses a lot of memory.
DSgf analyzes the SGF files at loading time, to ensure afterwards a smooth navigation/display of the game. The drawback is that the data structure uses a lot of memory.


==Controls==
==Controls==
Start - help with key mapping
Start - Help with key mapping


Left/Right - go forward/backward in the game
Left/Right - Go forward/backward in the game


'''Edit SGF file:'''
'''Edit SGF file:'''
:Left/right - move forward/backward in the game (keep pressed to go faster)
 
:Up/Down - scroll the commentary in the upper screen
Left/right - Move forward/backward in the game (keep pressed to go faster)
:X/Y - go to the next/previous commentary
 
:Select - show the help screen
Up/Down - Scroll the commentary in the upper screen
:Start - show/hide the menu icons (quit/save/commentary)
 
:L - view the goban with two zoom levels, switch between them  
X/Y - Go to the next/previous commentary
 
Select - Show the help screen
 
Start - Show/hide the menu icons (quit/save/commentary)
 
L - View the goban with two zoom levels, switch between them  


'''Global view:'''
'''Global view:'''
:Stylus - make menu icon appear (left and right edges of screen)
 
:A - select an intersection on the goban, validate the move
Stylus - Make menu icon appear (left and right edges of screen)
:B - cancel the current selection
 
A - Select an intersection on the goban, validate the move
 
B - Cancel the current selection


'''Zoom mode:'''
'''Zoom mode:'''
:L or Stylus - scroll the goban
 
:R - switch upper screen to Global view
L or Stylus - Scroll the goban
:Stylus - select the blinking stone to validate the move
 
R - Switch upper screen to Global view
 
Stylus - Select the blinking stone to validate the move


==Changelog==
==Changelog==
'''Alpha 2.1 - 9 february 2008'''
'''Alpha 2.11 2008/02/10'''
 
Fixed Bugs:
* Parsing error when non escaped chars where encoutered in commentaries.
 
'''Alpha 2.1 2008/02/09'''


New Features:
New Features:
*Basic « memory full » alert when loading big files
* Basic « memory full » alert when loading big files.
*Custom application icon/banner and description (shown by some cart)
* Custom application icon/banner and description (shown by some cart).


Fixed Bugs:
Fixed Bugs:
*[ 1725845 ] corrupted graphics on M3 devices
* Corrupted graphics on M3 devices.
*[ 1726346 ] stone sounds without moves in end of game
* Stone sounds without moves in end of game.
*[ 1727142 ] pb when a player pass and the other continue to play
* pb when a player pass and the other continue to play.
*[ 1726350 ] move validating bug in recording mode
* Move validating bug in recording mode.
*When switching to zoom mode, the validation/tick sprite would stay on screen
* When switching to zoom mode, the validation/tick sprite would stay on screen.
*[ 1738072 ] checkmark icon unusable when outside the goban
* Checkmark icon unusable when outside the goban.
*[ 1824264 ] Name label
* Name label.
*[ 1838267 ] Wordwrapping bug
* Wordwrapping bug.
 
'''Alpha 2.0 2007/05/25'''
* Initial release.


'''Alpha 2.0 – 25 May 2007'''
==External links==
*Initial release
* SourceFoge - http://sourceforge.net/projects/dsgf
* GBADev - https://forum.gbadev.org/viewtopic.php?t=13298


[[Category:Homebrew applications]]
[[Category:DS homebrew applications]]
[[Category:Other DS applications]]

Revision as of 01:32, 22 October 2021

DSgf
File:Dsgf.jpg
General
Authornio101
TypeOther
VersionAlpha 2.11
LicenseMixed
Last Updated2008/02/10
Links
Download
Website
Source


A basic SGF editor for DS that allows recording and reviewing go board games. It is available in French and English.

Installation

Download and extract file.

DLDI patch .nds file according to needs and copy it to the root directory of the card.

Copy both directories /DSgf/ and /SGF/ on root of the flash cart, then add your own SGF files in the /SGF/ directory if want.

User guide

Main menu

  • Edit - Review a previously recorded game along with commentaries.
  • Create - Record a new game with commentaries.
  • Option - Change default language.
  • Edit an SGF file - Select SGF file and validate.
  • Quit - Go back to the main menu.
  • Create an SGF file - Select and change the names for the game and the players by selecting them with the stylus (an input keyboard will appear).

Create SGF file

Select the handicap value. For this first release, the komi is set to 7.5 (french official value) but in the next release, it will appear as a parameter.

Validate to create the game and view the goban. We assume that the placement of the handicap stones are the regular ones (no manual placement at this time).

The handicap stones are automatically placed. It's white's turn to play.

If go backward and then change the selection, all nodes after this one will be automatically deleted (no variations are handled at this time).

Use the commentary icon menu to add a commentary to the current move (using the input keyboard).

Save SGF file by selection the save icon menu and typing in a filename (don't add the .sgf extension, it will be done automatically).

Limitations

For now, DSgf doesn’t handle variations, even in read-only mode, so such SGF files are useless for now.

Furthermore, if you are trying to load big SGF files (>100Ko), the loading time will be quite long and you could even get some memory full error if there isn’t enough RAM to handle the SGF (the NDS has only 4MB of RAM, and DSgf already uses 1.5MB).

DSgf analyzes the SGF files at loading time, to ensure afterwards a smooth navigation/display of the game. The drawback is that the data structure uses a lot of memory.

Controls

Start - Help with key mapping

Left/Right - Go forward/backward in the game

Edit SGF file:

Left/right - Move forward/backward in the game (keep pressed to go faster)

Up/Down - Scroll the commentary in the upper screen

X/Y - Go to the next/previous commentary

Select - Show the help screen

Start - Show/hide the menu icons (quit/save/commentary)

L - View the goban with two zoom levels, switch between them

Global view:

Stylus - Make menu icon appear (left and right edges of screen)

A - Select an intersection on the goban, validate the move

B - Cancel the current selection

Zoom mode:

L or Stylus - Scroll the goban

R - Switch upper screen to Global view

Stylus - Select the blinking stone to validate the move

Changelog

Alpha 2.11 2008/02/10

Fixed Bugs:

  • Parsing error when non escaped chars where encoutered in commentaries.

Alpha 2.1 2008/02/09

New Features:

  • Basic « memory full » alert when loading big files.
  • Custom application icon/banner and description (shown by some cart).

Fixed Bugs:

  • Corrupted graphics on M3 devices.
  • Stone sounds without moves in end of game.
  • pb when a player pass and the other continue to play.
  • Move validating bug in recording mode.
  • When switching to zoom mode, the validation/tick sprite would stay on screen.
  • Checkmark icon unusable when outside the goban.
  • Name label.
  • Wordwrapping bug.

Alpha 2.0 2007/05/25

  • Initial release.

External links

Advertising: