Skip to content

Commit

Permalink
Merge branch 'hotfix/correct-game-ini-location'
Browse files Browse the repository at this point in the history
  • Loading branch information
pathartl committed Dec 9, 2018
2 parents b4ec285 + c8133fd commit f01416e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion BleemSync.Services/GameService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,19 @@ public GameInfo GetGameInfo(int gameId)
{
var gamesDirectory = Utilities.Filesystem.GetGamesDirectory();

var config = Configuration.LoadFromFile($"{gamesDirectory}\\{gameId}\\Game.ini");
Configuration config = null;

try
{
config = Configuration.LoadFromFile($"{gamesDirectory}\\{gameId}\\Game.ini");
} catch { }

try
{
config = Configuration.LoadFromFile($"{gamesDirectory}\\{gameId}\\GameData\\Game.ini");
}
catch { }

var section = config["Game"];

var game = new GameInfo()
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ BleemSync is a relatively safe way to add games to your PlayStation Classic.
1. Supports multi-disc games

## Installation
1. Download the ZIP file from the [release page](https://github.com/pathartl/BleemSync/releases/tag/0.2.0)
1. Download the ZIP file from the [release page](https://github.com/pathartl/BleemSync/releases/latest)
1. Extract the contents to the root of your FAT32 or ext4 formatted USB flash drive
1. Name your flash drive `SONY`. This is a requirement.

Expand Down

0 comments on commit f01416e

Please sign in to comment.