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

RTP distribution problem #11

Open
qnighy opened this issue Sep 17, 2017 · 4 comments
Open

RTP distribution problem #11

qnighy opened this issue Sep 17, 2017 · 4 comments

Comments

@qnighy
Copy link
Owner

qnighy commented Sep 17, 2017

To run games, we definitely need the RTPs distributed by Enterbrain. It's not surprising that they're proprietary. We want a non-troublesome and legal way to install RTPs into user's /usr/local.

For now, the only possible way is to install RTPs in their Windows and copy it to their Linux machine (or use Wine).

Is it safe to create an installer for Linux, similarly to msttcorefonts? According to StackExchange, msttcorefonts are legal.

@take-cheeze
Copy link

We can let users install RTP with wine and it can be referred by registry.
Wine's registry is like a extended INI file so it'll need a INI parser.
And the path is Windows styled so it needs to be converted to unix styled path.

I've done some kind of it for RPG Maker 2k in EasyRPG few years ago.

@qnighy
Copy link
Owner Author

qnighy commented Oct 6, 2017

@take-cheeze Automatically looking-up Wine's registry seems to be a good idea. Thank you!

For now we don't have INI parser, but we already analyzed INI spec since we need to load Game.ini.

@qnighy
Copy link
Owner Author

qnighy commented Oct 6, 2017

However, I'm still thinking of non-Wine-dependent installation of RTPs... It would be more convenient.

The installers seem to be based on InnoSetup. The header of the archive is marked InnoSetup Setup Data, although it is embedded as a constant. Therefore extraction is not impossible. It is though cumbersome to analyze header, which is version-dependent and LZ compressed...

@take-cheeze
Copy link

At least via-Wine user needs to agree to the terms of use by the installer so to avoid unnecessary legal issue I'd like to let user install it by themselves.
After installing RTP, wine can be removed since the data we need is left in $WINEPREFIX .

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

2 participants