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

Load the save games made with the original G2 #410

Open
Nindaleth opened this issue Feb 15, 2023 · 4 comments
Open

Load the save games made with the original G2 #410

Nindaleth opened this issue Feb 15, 2023 · 4 comments

Comments

@Nindaleth
Copy link
Contributor

I noticed GothicKit/ZenKit#16 which implies that OpenGothic could load saves of the original G2, allowing to migrate from G2 to OG mid-playthrough. As far as G2 format goes, limiting to load only is assumed, saving would be done only in OG-native format.

Is this something that would be desirable in the future?

@Try
Copy link
Owner

Try commented Feb 15, 2023

Hi, @Nindaleth !

I haven't thought much about supporting original saves. It nice to have it, if we can keep it simple in terms of code and workflow.

On side of workflow: G2 original saves are folders with multiple files. Any suggestions how user side can look-like?

@lmichaelis
Copy link
Contributor

Quick context:

Support for save-games in phoenix is currently limited, though a lot of things do already work. The sky controller, for example, is parsed from the file but not actually stored anywhere (admittedly that is a small fix).

I did experiment a bit with loading them into OpenGothic but I ran into some quite annoying quirks, like G2 world save files not including the world mesh. This would mean having to load the world twice, once from the VDF, keeping the mesh and once from the save, keeping the Vob-tree.

I am not sure about the Vob-tree either. It might not actually contain all Vobs so some merging might be required.

@Nindaleth
Copy link
Contributor Author

Any suggestions how user side can look-like?

I was thinking similar to how OG saves work, since we already have to provide G2 installation folder and the structure is saves/<slot>/*.

To the existing -save something like -gsave parameter could be added to allow loading. If changing the main menu items is possible, there could also be "Load Gothic2 Game" in GUI. If main menu is set in stone, well... an additional CLI parameter that switches Load Game location between OG and G2?

@PoetaKodu
Copy link
Contributor

I think a better way would be to create a separate program that would convert the saves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants