OpenBagTwo / FoxNap

A survival-, multiplayer- and copyright-friendly mod for adding custom music discs to your world
GNU General Public License v3.0
2 stars 1 forks source link

Resource Pack Maker #1

Closed OpenBagTwo closed 1 year ago

OpenBagTwo commented 1 year ago

I've successfully prototyped the process for creating a FoxNap-compatible resource pack entirely based on the data encoded in ffmpeg-compatible audio tracks. Explicitly, if a user creates a folder containing a series of mp3s, aac files, etc., this program will automatically create a full resource pack zip, extracting:

The process in the notebook also allows the user to explicitly set track numbers and choose whether to make the record item textures using a standard (black) record template or colored vinyl, but that's just sugar.

The work that remains is:

  1. Create a stand-alone script from the code in the notebook.
  2. Turn that script into a user-friendly executable (see below)
  3. Create written instructions for downloading and running this resource pack creator

Executable Requirements

Interface

Installation

Supported Operating Systems

Implementation Challenges

Note that the prototype does not use pure python and explicitly requires installation of ffmpeg. Luckily, there are pre-built versions of ffmpeg available for all of the supported platofrms

Implementation Ideas

Running this as a service in "the cloud" or a hosted server is the obvious suggestion, but I'd rather not have this program rely on an external infrastructure.

If I were to design a GUI, some web framework like pyjs or anvil would probably be the way to go, but since the required interface is literally just "run this script on the files in this folder with zero user input" I'm thinking double-click or drag'n'drop is probably the only "interface" needed