Coder Social home page Coder Social logo

starter-pack's Introduction

PeridexisErrant's Starter Pack Manager

This project is NOT an actual pack, or intended for public use. See here for that.

See the hourly build log here.

There is no support for using this tool - it is designed for my own use, and released in the hope that others might find it useful. Bug reports are most welcome; feature requests are not (missing OS support is considered a bug - it should work on Windows, macOS, and Linux).

What it does:

  • Read a config file that describes the pack
  • Check the latest version released on on DFFD or Github
  • Download stuff if an update or missing file is detected
  • Assemble it all in the correct directory structure
  • Configure all the paths etc. that can be set automatically
  • Create some components at runtime; eg ASCII graphics
  • Zip up the built pack, ready to upload
  • Generate or manage changelogs, contents list, and forum post

For anyone using these tools to assemble their own pack:

  • Note that the license (Affero GPL 3+) applies to all the code, and to the code only.

    Some files in ./base/ are mine; some are by other people in the Dwarf Fortress community. Treat this files as if they are under an informal version of the CC-BY-SA license.

    Any outputs you produce with this software are entirely your own, subject to licenses of the components you downloaded. The pack I publish is shared under the informal system above.

  • Check out config.yml and components.yml. The system is set up and configured via these files, which are also commented.

  • You will need Python 3.5+, as I make extensive use of several new features. Dependencies can be installed with pip install -r requirements.txt.

  • Many items in the provided config will only work on Windows (or when building for windows on another OS; tested on Debian). If you are interested in helping support macOS or Linux, please get in touch with my handle at gmail.

starter-pack's People

Contributors

ianlintner avatar nc-z avatar peridexiserrant avatar rgov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

starter-pack's Issues

Dist failure due to symlink that doesn't point anywhere

When I do a build I get a failure to zip up the entire package because of the dead symlink in the DF SDL: df/libs/SDL_image.framework/Frameworks

Compressing pack... Traceback (most recent call last): File "./main.py", line 19, in <module> stage.main() File "/Volumes/Imperium/starter-pack/starterpack/dist.py", line 97, in main zip_pack() File "/Volumes/Imperium/starter-pack/starterpack/dist.py", line 60, in zip_pack zf.write(fname, os.path.relpath(fname, paths.build())) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/zipfile.py", line 1688, in write zinfo = ZipInfo.from_file(filename, arcname) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/zipfile.py", line 483, in from_file st = os.stat(filename) FileNotFoundError: [Errno 2] No such file or directory: 'build/Dwarf Fortress 0.44.12/libs/SDL_image.framework/Frameworks'

Why was concurrent extraction removed?

Concurrent extraction was added long ago in fc0c007. Why was it removed in f004f65?

The commit claimed to "fix some bugs," which I assume were something related to preserving symlinks and splitting newlines. But I can't see any impetus for removing parallel extraction.

Update Time!

The Starter Pack has updated to 0.44.12-r01!

"0.44.12-r01

  • updated Dwarf Fortress
  • updated DFHack to 0.44.12-r1
  • updated TwbT to v6.53
  • updated Dwarf Therapist to v40.1.2
  • updated Legends Viewer to 1.19.09
  • updated graphics: Ironhand, Obsidian, Spacefox, Phoebus

SHA256: 1b5d95b2310fc1311a6a7b12a7b08c2daadd8b01c8b0892d53303a230ede3f6d"

http://www.bay12forums.com/smf/index.php?topic=126076.msg7807930#msg7807930

Thanks for your work!

Terminal command terminated my game play

I'll try to make this short. I don't know what info is important so I'll just give the brief rundown. I installed this on an older iMac utilizing OSx 10.6.8. Was using the LAZY MAC PACK but heard the MAC STARTER PACK was more up to date so I uninstalled the previous and installed the latter. I entered the Terminal line, replacing the directory as requested, and when hitting "play Dwarf Fortress, Terminal pops up and dumps this on me:

Last login: Wed Jan 23 15:41:48 on console
/Users/bmitch10/Desktop/Mac\ Starter\ Pack\ 2/Dwarf\ Fortress\ 0.44.12/dfhack ; exit;
James-Mitchells-iMac:~ bmitch10$ /Users/bmitch10/Desktop/Mac\ Starter\ Pack\ 2/Dwarf\ Fortress\ 0.44.12/dfhack ; exit;
dyld: Library not loaded: /opt/local/lib/libz.1.dylib
Referenced from: /Users/bmitch10/Desktop/Mac Starter Pack 2/Dwarf Fortress 0.44.12/hack/libdfhack.1.0.0.dylib
Reason: image not found
/Users/bmitch10/Desktop/Mac Starter Pack 2/Dwarf Fortress 0.44.12/dfhack: line 15: 809 Trace/BPT trap DYLD_INSERT_LIBRARIES=./hack/libdfhack.dylib ./dwarfort.exe "$@"

logout

[Process completed]

I obviously have no idea what I'm looking at. Would love to get it cleared up so I can actually run the game again as the Lazy Mac Pack will also not run and gives me the Terminal dump. Thanks for the time.

Need to include the updated SDL TTF library for 10.8+

The bundled SDL_ttf framework includes links to freetype which is not included with macOS since 10.8. Updating to 2.0.11 fixes this.

dyld: Library not loaded: @rpath/freetype.framework/Versions/2.6.3/freetype
Referenced from: /Volumes/Imperium/starter-pack/dist/Dwarf Fortress 0.44.12/libs/SDL_ttf.framework/Versions/A/SDL_ttf
Reason: image not found

Terminal command listed on main page doesn't work

Returns this: xattr: No such file: /Users/slimegirl/Downloads/Mac Starter Pack/Dwarf Fortress 0.44.12/libs/SDL_image.framework/Frameworks

Upon inspection, where that file should be there's an alias that leads to a nonexistent destination.

Screenshot 1
Screenshot 2

Apologies if I'm missing something obvious here - again, I have no tech experience beyond playing the game itself. Hope this helps.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.