Skip to content
This repository has been archived by the owner on Oct 5, 2024. It is now read-only.

unshield commands to extract RCT2 files on Linux from Retail CD version are wrong #44

Open
njourdane opened this issue Sep 24, 2023 · 3 comments

Comments

@njourdane
Copy link

On this page, on the Retail CD version section, there are these commands:

unshield -g Minimum -d "PATH-TO-EXTRACT-FILES-TO" x "INSTALLER-LOCATION/data1.hdr"
cp -R "$INSTALLDIR/Data/" "$EXTRACTDIR/Minimum/Data"
mv "$EXTRACTDIR/Minimum" "$EXTRACTDIR/RCT2"

which are not correct, because $INSTALLDIR and $EXTRACTDIR are never defined.

Instead it should be something like:

INSTALL_DIR=path/to/installer/location
EXTRACT_DIR=path/to/extract/files/to
unshield -g Minimum -d "$EXTRACT_DIR" x "$INSTALL_DIR/data1.hdr"
cp -R "$INSTALL_DIR/Data/" "$EXTRACT_DIR/Minimum/Data"
mv "$EXTRACT_DIR/Minimum" "$EXTRACT_DIR/RCT2"
@duncanspumpkin
Copy link
Contributor

You've linked to an unrelated website i assume you meant to link to https://openrct2.io/getting-started/index.html. I would hardly say it was wrong but yes it could be improved to make it clear you need to define INSTALL_DIR and EXTRACT_DIR.

<div class="terminal">unshield -g Minimum -d "PATH-TO-EXTRACT-FILES-TO" x "INSTALLER-LOCATION/data1.hdr"<br />cp -R "$INSTALLDIR/Data/" "$EXTRACTDIR/Minimum/Data"<br />mv "$EXTRACTDIR/Minimum" "$EXTRACTDIR/RCT2"</div>
and the preceding line is what needs updating.

@njourdane
Copy link
Author

Thanks.
Btw, if the openrct2.org source is not in this repository, where is it then?

@duncanspumpkin
Copy link
Contributor

Thanks. Btw, if the openrct2.org source is not in this repository, where is it then?

I think it's https://github.com/Limetric/OpenRCT2.org

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

No branches or pull requests

2 participants