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

Singularity: Add recipe #7028

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

win8linux
Copy link
Contributor

Endgame: Singularity is a game where players become a self-aware artificial intelligence with the goals of covertly taking over the world and achieving technological singularity.

This is a re-do of #5630 after an attempted rebase went horribly wrong there. This PR contains the original commits atop master as of the time of creating this PR.

@win8linux
Copy link
Contributor Author

With the updated texts, this is the output when attempting to run the game from Terminal:

Traceback (most recent call last):
  File "./Singularity", line 10, in <module>
    from importlib.metadata import distribution
ModuleNotFoundError: No module named 'importlib.metadata'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./Singularity", line 13, in <module>
    from importlib_metadata import distribution
ModuleNotFoundError: No module named 'importlib_metadata'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./Singularity", line 15, in <module>
    from pkg_resources import load_entry_point
  File "/packages/python3-3.7.12-3/.self/lib/python3.7/vendor-packages/pkg_resources/__init__.py", line 3242, in <module>
    @_call_aside
  File "/packages/python3-3.7.12-3/.self/lib/python3.7/vendor-packages/pkg_resources/__init__.py", line 3226, in _call_aside
    f(*args, **kwargs)
  File "/packages/python3-3.7.12-3/.self/lib/python3.7/vendor-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/packages/python3-3.7.12-3/.self/lib/python3.7/vendor-packages/pkg_resources/__init__.py", line 568, in _build_master
    ws.require(__requires__)
  File "/packages/python3-3.7.12-3/.self/lib/python3.7/vendor-packages/pkg_resources/__init__.py", line 886, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/packages/python3-3.7.12-3/.self/lib/python3.7/vendor-packages/pkg_resources/__init__.py", line 772, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'polib>=0.7' distribution was not found and is required by Endgame-Singularity

@win8linux win8linux force-pushed the singularity branch 2 times, most recently from 0cf8b56 to fc2dbe0 Compare April 15, 2023 13:55
@win8linux
Copy link
Contributor Author

win8linux commented Apr 15, 2023

After updating to Python 3.9 the game works now (x86_64):
singularity
singularity2
singularity3
singularity4

An icon is ready, however attempting to add it to the binary via the typical method (addResourcesToBinaries) results in making the game non-executable. Otherwise, the game's fine now.

Copy link
Contributor

@Begasus Begasus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix architecture requirements for 32bit.

games-simulation/singularity/singularity-1.00.recipe Outdated Show resolved Hide resolved
games-simulation/singularity/singularity-1.00.recipe Outdated Show resolved Hide resolved
games-simulation/singularity/singularity-1.00.recipe Outdated Show resolved Hide resolved
games-simulation/singularity/singularity-1.00.recipe Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants