Jump to content

Recommended Posts

Posted (edited)

Hey, I'm working on implementing the Annotation Config, which really makes configurations a lot easier, however, the file creation is incredibly rigid...
I'm manually creating a couple of other files, and placing them in a subfolder inside the config folder.
Now, I have the annotation config file in config/name, along with the other files in config/id/...
For the end user, having things scattered about like that, could be quite annoying, as they would likely expect everything to exist in the subfolder to begin with.

This could be solved with a rather simple approach of adding "makeSubDir" boolean to the annotation (default false), and if true, use the modid (already passed to the load method) as sub-folder name. It is a rather simple thing, as the File creation is the only thing that needs to be changed, as the Files path is cached.

Would all of this however, be welcome, or would a pull-req just be ignored?

Edited by Matryoshika

Also previously known as eAndPi.

"Pi, is there a station coming up where we can board your train of thought?" -Kronnn

Published Mods: Underworld

Handy links: Vic_'s Forge events Own WIP Tutorials.

Posted

Wrong subforum? :)

Besides this is possible with putting file separators in the name, though it would be great if there's handy method for config subfolders.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Posted
1 hour ago, Abastro said:

Wrong subforum? :)

...
God damn it -__- yeah. Switched tabs after hopping to Suggestions, then switched back to another tab with Modder Support

 

1 hour ago, Abastro said:

Besides this is possible with putting file separators in the name, though it would be great if there's handy method for config subfolders.

Don't I feel dumb now :blank:
Well, that solved that issue.

Also previously known as eAndPi.

"Pi, is there a station coming up where we can board your train of thought?" -Kronnn

Published Mods: Underworld

Handy links: Vic_'s Forge events Own WIP Tutorials.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.