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

How can I use this to build a Mac pack? #20

Open
acroca opened this issue Oct 27, 2017 · 1 comment
Open

How can I use this to build a Mac pack? #20

acroca opened this issue Oct 27, 2017 · 1 comment

Comments

@acroca
Copy link

acroca commented Oct 27, 2017

The latest mac pack is a bit old and not updated frequently, it'd be great to have a tool to generate it.
I've tried to use this to generate the mac version but I get some errors.

First I had to add the extract_to for PyLNP:

        os-osx:
            extract_to: |
                PyLNP.app:build/starter-pack-launcher

and TwbT:

        os-osx:
            extract_to: |
                {DFHACK_VER}/mousequery.plug.dylib:plugins/
                {DFHACK_VER}/twbt.plug.dylib:plugins/

The builder now runs and I get the following error:

ERROR:  Could not extract: Dwarf Fortress, curr_baseline, graphics/ASCII, Legends Browser

Configuring pack...
Traceback (most recent call last):
  File "main.py", line 19, in <module>
    stage.main()
  File "/starter_pack/starterpack/build.py", line 419, in main
    build_lnp_dirs()
  File "/starter_pack/starterpack/build.py", line 318, in build_lnp_dirs
    overwrite_dir(paths.lnp('extras'), paths.df())
  File "/starter_pack/starterpack/paths.py", line 64, in df
    return build('Dwarf Fortress ' + df_ver(), *paths)
  File "/starter_pack/starterpack/paths.py", line 44, in df_ver
    ver = component.ALL['Dwarf Fortress'].version
KeyError: 'Dwarf Fortress'

And I also get a warning: WARNING: "PyLNP.app" not found in "PyLNP_0.12b-OSX.zip", I guess the extract operation doesn't accept folders?

Has anyone succeeded building the mac pack?

Thanks!

@alexchandel
Copy link

@rgov has made a forked version with lots of macOS improvements: https://github.com/rgov/starter-pack/

@PeridexisErrant could you merge his changes into this repo?

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