Importing from PGN Files
PGN (Portable Game Notation) is the standard format for chess games. You can import PGN files into databases or profiles.Import to Database
Create or Select Database
Either create a new database or select an existing one to import games into.
Import to Profile
Select Profile
Choose the profile where games should be imported. This defaults to your active profile.
Set Source Player Name
Enter the player name to identify which games belong to this profile:
- Used to filter games where you are White or Black
- Defaults to the profile name
- Important for accurate statistics
Optional: Link to Event
Toggle “Event” if these games are from a specific tournament or league:Use Existing Event:
- Select from previously created events
- Enter event name (e.g., “Club Championship 2024”)
- Select event type:
- OTB Tournament: Over-the-board tournament
- Online Tournament: Online competition
- League: Team or individual league
Importing large PGN files (thousands of games) may take a few moments. Progress is displayed during the import.
Automatic Syncing from Online Platforms
Lichess Integration
Lichess offers robust API access for downloading your game history.- Public Access
- OAuth Login
Without OAuth Login:
- Add your Lichess account to a profile (see Profiles)
- The app will:
- Use the Lichess API to fetch your games
- Download games in batches (newest first)
- Import into your profile database
- Only public games are accessible
- Slightly slower download speeds
Chess.com Integration
Chess.com provides a Public API for accessing your games.Automatic Archive Download
The app will:
- Fetch your player statistics (ratings, game counts)
- Download monthly game archives
- Parse each game and import to your profile
Importing Over-the-Board (OTB) Games
For tournament games that aren’t on Lichess or Chess.com:From Tournament Organizers
- Download the PGN file from the tournament website
- Use the Import Games feature
- Link to a new or existing event
- Set your player name to filter your games
From Chess-Results or FIDE
Manual Entry
For games you played that weren’t recorded:- Create a new analysis board
- Enter the moves manually or set up the position
- Fill in game headers:
- Save the PGN file
- Import to your profile
Importing Online Tournament Games
Obsidian Chess Studio has a special flow for importing entire online tournaments:Online tournament databases are read-only and linked to their source. They can be merged with your local databases if needed.
Import Progress and Feedback
Progress Notifications
During import, you’ll see:- Processing Games: Initial parse and validation
- Batch X of Y: Progress through large PGN files
- Optimizing Database: Post-import indexing
- Complete: Total games imported
Import Summary
After import completes:- Total games imported
- Duplicates skipped
- Errors (if any)
- Database size update
Advanced Import Options
Batch Importing Multiple Files
You can select multiple PGN files at once:Handling Large PGN Files
For very large PGN files (100,000+ games):- The import happens in batches to avoid memory issues
- Database is optimized after import for fast querying
- Consider splitting extremely large files if import is too slow
Automatic Deduplication
The app automatically prevents duplicate games using:- Player names (White and Black)
- Game date
- Site/Event
- Opening moves
Troubleshooting
PGN Parse Errors
Invalid PGN Format
Invalid PGN Format
Issue: PGN file has syntax errors or non-standard tags.Solution:
- Use a PGN validator tool
- Check for missing brackets or quotes
- Ensure move numbers are formatted correctly
Encoding Issues
Encoding Issues
Issue: Player names or comments have garbled characters.Solution:
- Ensure PGN file is UTF-8 encoded
- Re-export from source with UTF-8 encoding
Incomplete Games
Incomplete Games
Issue: Some games have no moves or headers.Solution:
- These games will be skipped
- Check the original source file
- Manual entry may be required
Online Sync Issues
Rate Limit Exceeded
Rate Limit Exceeded
Issue: Too many requests to Chess.com or Lichess.Solution:
- The app will automatically wait and retry
- For Chess.com: Expect delays, especially for large accounts
- For Lichess: Use OAuth login for better limits
Network Timeout
Network Timeout
Issue: Slow or unstable internet connection.Solution:
- The app will retry with exponential backoff
- Check your connection and wait for retry
- Restart sync manually if needed
Best Practices
Organize by Event
Use the Event feature to group tournament games together for better organization and analysis.
Regular Syncs
Link your online accounts for automatic syncing rather than manual PGN exports.
Backup PGN Files
Keep original PGN files as backups before importing, especially for important tournament games.
Verify Player Names
Ensure player names in PGN match your profile name exactly for accurate statistics.
