Skip to content
New issue

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

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

Already on GitHub? # to your account

FF8: Enable support for the override_path option #705

Merged

Conversation

myst6re
Copy link
Contributor

@myst6re myst6re commented Jun 8, 2024

Summary

Enable override_path option for FF8

Motivation

override_path option in FF7 allows modders to put files and LGP archives in another directory than the game data.
It is quite useful when a modder want to edits LGP archives without change original files from FF7 installation.

The FF8 version is basically the same thing, but simpler: any file that is opened by the game (for reading or writing) is firstly checked in the override_path. For example for .\ff8input.cfg, FFNx checks for the existence of .\override\ff8input.cfg, and for .\Data\field.fs, FFNx checks for the existence of .\override\Data\field.fs, and so on.

The Steam version of the game try to look to some files like saves in Documents/Square Enix (the user directory), for the lack of simplicity and uniformity between the 2000 and the Steam version, the redirection attempt is made with the 2000 path.

ACKs

  • I have updated the Changelog.md file
  • I did test my code on FF7
  • I did test my code on FF8

@myst6re myst6re force-pushed the feature/ff8-override-path branch 2 times, most recently from 206714f to 3d72fd2 Compare June 8, 2024 22:16
@myst6re myst6re marked this pull request as ready for review June 8, 2024 22:17
@myst6re myst6re marked this pull request as draft June 8, 2024 22:26
@myst6re myst6re force-pushed the feature/ff8-override-path branch from 3d72fd2 to 32c399d Compare June 9, 2024 07:18
@myst6re myst6re marked this pull request as ready for review June 9, 2024 15:04
@myst6re myst6re marked this pull request as draft June 9, 2024 16:40
@myst6re
Copy link
Contributor Author

myst6re commented Jun 9, 2024

Sorry new bug found

@myst6re myst6re force-pushed the feature/ff8-override-path branch from 32c399d to 20c7886 Compare June 9, 2024 16:47
@myst6re myst6re marked this pull request as ready for review June 10, 2024 19:26
@myst6re
Copy link
Contributor Author

myst6re commented Jun 10, 2024

Ready

@julianxhokaxhiu julianxhokaxhiu added the enhancement New feature or request label Jun 10, 2024
@julianxhokaxhiu julianxhokaxhiu added this to the 1.20.0 milestone Jun 10, 2024
@julianxhokaxhiu julianxhokaxhiu changed the title FF8: Enable override_path option for FF8 FF8: Enable support for the override_path option Jun 10, 2024
@julianxhokaxhiu julianxhokaxhiu merged commit d31a603 into julianxhokaxhiu:master Jun 10, 2024
@julianxhokaxhiu
Copy link
Owner

Thank you!

@myst6re myst6re deleted the feature/ff8-override-path branch June 10, 2024 19:57
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants