pax icon indicating copy to clipboard operation
pax copied to clipboard

Development Environment

Open maradotwebp opened this issue 4 years ago • 5 comments

Automatically sync files between a minecraft instance and the pax project.

maradotwebp avatar Jun 17 '21 11:06 maradotwebp

There are two ways that you could do this:

  1. Symlink/Junction the pax project directories to the MC instance ones, with the .minecraft folder location specified in a config file (like .pax.json)
  2. Put the instance directory in a config file and have a pax sync command to copy any changed files.

egelja avatar Jul 05 '21 17:07 egelja

I was thinking more along the lines of your second option + a file watcher: With ./pax sync <location> you would be able to copy changed config files between the pax project and your instance (only copying actually important files, like mod configs), with ./pax sync <location> --watch it would do that while your instance is running.

maradotwebp avatar Jul 05 '21 19:07 maradotwebp

Regarding putting stuff in a config file, I'll think about a general system that would let you specify options as config variables which are automatically read from, so that that will stay consistent across different commands.

maradotwebp avatar Jul 05 '21 19:07 maradotwebp

I was thinking more along the lines of your second option + a file watcher: With ./pax sync <location> you would be able to copy changed config files between the pax project and your instance (only copying actually important files, like mod configs), with ./pax sync <location> --watch it would do that while your instance is running.

Hey, kind of hijacking this thread since my problem seems related: Nowhere in the wiki or README it states, where to put any config files, custom mod jars or game options. Can you please add a section for this and/or tell me?

Chaos02 avatar Jul 30 '22 15:07 Chaos02

Now that I've found out how CF modpacks work - maybe we could also instead of downloading the mods ourselves have a command that exports and then uses a curseforge install link (like from the website) but on a zip! It might work if the URL is file://Modpack.zip

Chaos02 avatar Aug 01 '22 21:08 Chaos02