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

DAT file is missing when running on MacOS M1 chip #36

Closed
brandenc40 opened this issue Oct 15, 2021 · 7 comments
Closed

DAT file is missing when running on MacOS M1 chip #36

brandenc40 opened this issue Oct 15, 2021 · 7 comments
Labels
question Further information is requested

Comments

@brandenc40
Copy link

brandenc40 commented Oct 15, 2021

Error is displayed when running on Mac M1 apple silicone

Screen Shot 2021-10-14 at 9 52 13 PM

@brandenc40 brandenc40 changed the title DAT file is missing when running on MacOS DAT file is missing when running on MacOS M1 chip Oct 15, 2021
@k4zmu2a
Copy link
Owner

k4zmu2a commented Oct 15, 2021

This error is shown when the game cannot find main game resource: PINBALL.DAT or CADET.DAT.
Resources should be in the same folder as game executable.
Resources are not included in this project, you have to provide them yourself.

@k4zmu2a k4zmu2a added the question Further information is requested label Oct 15, 2021
@k4zmu2a
Copy link
Owner

k4zmu2a commented Oct 15, 2021

Lack of game resources in this repo is by design.
It is to make the project seem more legal than it really is.
This concept is widely used in similar game projects.

Lack of sound is understandable; you need to download the sounds and music if you want them to play.
Consider downloading the whole game data set.

@eggplants
Copy link
Contributor

eggplants commented Oct 15, 2021

Note: FmasterofU/WinXP-Pinball does not appear to comply with rights laws, so please use it at your own risk when you clone and use it.

Below code worked in Ubuntu 21.04. Also it may work well in other environments such as Mac and other Linux dists.

# sudo apt install freepats libsdl2-dev libsdl2-mixer-dev timidity
git clone --depth 1 https://github.com/k4zmu2a/SpaceCadetPinball
cd SpaceCadetPinball
cmake . && cmake --build .
git clone --depth 1 https://github.com/FmasterofU/WinXP-Pinball
mv WinXP-Pinball/Pinball/* bin
rm -rf WinXP-Pinball
./bin/SpaceCadetPinball

@ghost
Copy link

ghost commented Oct 15, 2021

Is that redistribution of WIndows XP games legal?

@brandenc40
Copy link
Author

This error is shown when the game cannot find main game resource: PINBALL.DAT or CADET.DAT.
Resources should be in the same folder as game executable.
Resources are not included in this project, you have to provide them yourself.

Lack of game resources in this repo is by design. It is to make the project seem more legal than it really is. This concept is widely used in similar game projects.

Lack of sound is understandable; you need to download the sounds and music if you want them to play. Consider downloading the whole game data set.

Thank you this is helpful, I'd recommend explaining this in the README to avoid this confusion for others in the future.

@k4zmu2a
Copy link
Owner

k4zmu2a commented Oct 15, 2021

README already has this info:

“How to play: Place compiled executable into a folder containing original game resources (not included).”

It must be this succinct to stay easily readable.

@0x5066
Copy link

0x5066 commented Oct 15, 2021

RTFM, it's that simple.

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

No branches or pull requests

4 participants