Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COMPOSER: Remove leading dots from file paths read from book.ini #1056

Closed
wants to merge 1 commit into from

Conversation

bgK
Copy link
Member

@bgK bgK commented Nov 15, 2017

book.ini in the French version of Gregory has file paths with this format: '../data/page99.rsc'.

According to the data structure described in bug #6548, removing the leading '../' should allow the engine to find the resource file where it is located, in the data folder.

I can't test this fix because I don't have the game. I would be glad if someone could test it or at least verify it does not break the other games.

book.ini in the French version of Gregory has file paths with this
format: '../data/page99.rsc'.

According to the data structure described in bug #6548, removing the
leading '../' should allow the engine to find the resource file in the
data folder.

Fixes #6548.
@sev-
Copy link
Member

sev- commented Nov 25, 2017

Actually, the game works well for me without this patch. With the patch the game asserts on:

failed to open 'page99.rsc'!

@sev-
Copy link
Member

sev- commented Nov 25, 2017

...and the original bugreport is incorrect.

@sev- sev- closed this Nov 25, 2017
@bgK bgK deleted the perhaps-fix-gregory-fr branch November 29, 2017 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants