All Projects → rusty-bits → Oc Tool

rusty-bits / Oc Tool

Licence: gpl-3.0
POSIX shell script that builds an OpenCore EFI folder from an OpenCore config.plist

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Oc Tool

Unix Permissions
Swiss Army knife for Unix permissions
Stars: ✭ 106 (-35.37%)
Mutual labels:  posix
Asus Fan Control
🌀 Fan control for ASUS devices running Linux.
Stars: ✭ 120 (-26.83%)
Mutual labels:  posix
Shell Tricks
Simple bash tricks which make your life easier.
Stars: ✭ 153 (-6.71%)
Mutual labels:  posix
Nvm
nvm is a version manager for node.js, designed to be installed per-user, and invoked per-shell. nvm works on any POSIX-compliant shell (sh, dash, ksh, zsh, bash), in particular on these platforms: unix, macOS, and windows WSL.
Stars: ✭ 53,926 (+32781.71%)
Mutual labels:  posix
Polyglot
Color, ASCII-only Git prompt for zsh, bash, ksh93, mksh, pdksh, dash, and busybox ash
Stars: ✭ 118 (-28.05%)
Mutual labels:  posix
Hxbaseprojectdemo
一个项目的基类工程
Stars: ✭ 126 (-23.17%)
Mutual labels:  plist
Freeradius Server
FreeRADIUS - A multi-protocol policy server.
Stars: ✭ 1,379 (+740.85%)
Mutual labels:  posix
Persistentstorageserializable
Swift library that makes easier to serialize the user's preferences (app's settings) with system User Defaults or Property List file on disk.
Stars: ✭ 162 (-1.22%)
Mutual labels:  plist
User Startup
Auto start commands when you log in (cross-platform)
Stars: ✭ 119 (-27.44%)
Mutual labels:  plist
Ytdlrc
☁️ Downloads videos and metadata with youtube-dl and moves each file on completion to an rclone remote
Stars: ✭ 140 (-14.63%)
Mutual labels:  posix
Ytfzf
A posix script to find and watch youtube videos from the terminal. (Without API)
Stars: ✭ 2,212 (+1248.78%)
Mutual labels:  posix
Libarchive
Multi-format archive and compression library
Stars: ✭ 1,625 (+890.85%)
Mutual labels:  posix
Mksh
MirBSD Korn Shell Source Code Mirror – This is a publish-only repository and all pull requests are ignored. This repository is a mirror and may receive forced (non-fast-forward) updates. Please contribute to the CVS repository of The MirOS Project instead.
Stars: ✭ 130 (-20.73%)
Mutual labels:  posix
Xwm
A tiny XCB floating window manager.
Stars: ✭ 107 (-34.76%)
Mutual labels:  posix
Seaweedfs
SeaweedFS is a fast distributed storage system for blobs, objects, files, and data lake, for billions of files! Blob store has O(1) disk seek, cloud tiering. Filer supports Cloud Drive, cross-DC active-active replication, Kubernetes, POSIX FUSE mount, S3 API, S3 Gateway, Hadoop, WebDAV, encryption, Erasure Coding.
Stars: ✭ 13,380 (+8058.54%)
Mutual labels:  posix
Speedtest Linux
Get download/upload speeds via speedtest.net or fast.com from command line using Bash script -- suitable for logs. POSIX OSX Linux
Stars: ✭ 103 (-37.2%)
Mutual labels:  posix
Jwalk
Streaming JSON parser for Unix
Stars: ✭ 121 (-26.22%)
Mutual labels:  posix
Quant
QUIC implementation for POSIX and IoT platforms
Stars: ✭ 162 (-1.22%)
Mutual labels:  posix
Nos
RTOS for microcontrollers
Stars: ✭ 160 (-2.44%)
Mutual labels:  posix
Vcsh
config manager based on Git
Stars: ✭ 1,836 (+1019.51%)
Mutual labels:  posix

OC-tool

POSIX shell script that builds an OpenCore EFI folder from an OpenCore config.plist

Can also be double-clicked in macOS Finder which will run as ./OC-tool -o

see either the OC-tool wiki pages for more detailed information
or the Docs/tool-changelog.md


Installation

git clone https://github.com/rusty-bits/OC-tool
cd OC-tool

copy your config.plist file into the INPUT folder, or copy and edit one of the sample plist files.

e.g. cp Docs/Sample.plist INPUT/config.plist

NOTE: If you use the Clone or download button OC-tool's files will be downloaded, but it won't be a repo and will error out when run since it can't update itself from github


Requirements

  • access to a POSIX shell such as sh, bash, ksh, ash, or dash should all work. I myself use zsh with no problems, even though it's not strictly POSIX compliant.

It will also run on Windows under WSL or by using Git for Windows

That's it, nothing more is needed. OC-tool will make a working EFI folder by getting what it needs from the stable releases on Acidanthera's github or the daily build on Dortania if you so choose. git, grep, curl, cp, cut, tr, etc used by OC-tool should already exist on those shells.

Now, if you want OC-tool to build the latest from source you will need additional tools/dependencies, and as far as I know will have to use macOS as well. If there is a good way to run Xcode on Linux let me know ...

  • To build from source Xcode with xcodebuild, nasm, and mtoc need to be installed and configured to run from the command line. You can build/install these yourself, or you can run the get-deps.sh in the .tool-files folder which uses code from acidanthera to get prebuilt dependencies.
    .tool-files/get-deps.sh while in the OC-tool directory

Credits

vit9696, PMheart, and cattyhouse
for parts of macbuild.tool used in .tool-files/get-deps.sh

DhinakG for the daily build repo that OC-tool now uses if you use the -d option

elliptic-shiho for the parse_json.sh gist on github


Acknowledgements

The folks at r/hackintosh such as dracoflar, midi1996, Beowolve, slandeh, and of course CorpNewt for help, guides and tools to get my hack up and running in the first place.

u/ChrisWayg for pointing out the script for prebuilt mtoc and nasm

u/nyhtml for making me realize the Clone button on github will cause OC-tool to error out since it won't be cloned as a repo. aka the nyhtml bug ;)

The folks at acidanthera for making OpenCore possible such as vit9696, vandroiy2013, Download-Fritz, Andrey1970AppleLife, PMheart and on and on ...

I probably forgot a number of people, sorry.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].