Mod folder format on Git

cornernote
Member
 
Posts: 844
Joined: Wed Jul 11, 2012 15:02

Mod folder format on Git

by cornernote » Sat Sep 29, 2012 12:46

removed
Last edited by cornernote on Mon Nov 05, 2012 10:11, edited 1 time in total.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Sat Sep 29, 2012 14:05

-1 for this method.
It makes the repo look ugly. Renaming the folder is not hard work, IMO.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Sat Sep 29, 2012 14:07

There should be a little hint in "How to install mods" in the Mod release section for that.
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Sat Sep 29, 2012 14:36

PilzAdam wrote:There should be a little hint in "How to install mods" in the Mod release section for that.


There is.

8)
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Sat Sep 29, 2012 14:45

Calinou wrote:
PilzAdam wrote:There should be a little hint in "How to install mods" in the Mod release section for that.


There is.

8)

I mean in this post should be: "When downloading from GitHub rename the folder to what the mod is called in the [] at the end of the forum topic name."
 

cornernote
Member
 
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Sat Sep 29, 2012 16:46

how hard would it be to change the c++ to allow dashes in the filename? that would solve the issue at a core level.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Sat Sep 29, 2012 16:54

cornernote wrote:how hard would it be to change the c++ to allow dashes in the filename? that would solve the issue at a core level.

Not realy. The items have to use the modname as a prefix.
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Sat Sep 29, 2012 17:02

It isn't even the dashes that's the problem - the problem is that the game requires the folder name to exactly match the name of the mod. Frankly, it would have been more than enough to issue a warning to the user, and then only in the console, because it's just as irritating to someone who knows what they're doing as to a new user who doesn't even know how to dig a block of dirt yet (sorry c55, the folder name issue was not one of your better decisions).
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

cornernote
Member
 
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Sat Sep 29, 2012 17:10

VanessaE, whats your opinion on the folder format recommendation for Git repos ?
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Sat Sep 29, 2012 18:05

Well, like you said, too many users out there have the problem you've described, though to be perfectly blunt it's because they don't bother to read and understand how to install mods in the first place, even when the mod in question includes some simple install instructions.

In lieu of a better idea, adding modpack.txt seems like the best solution - but some way to detect multiple copies of a given mod is needed in the near future (say due to having two or more versions of a mod with different foldernames due to different git commit hashes).
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
tonyka
Member
 
Posts: 320
Joined: Sat Jun 16, 2012 04:08

by tonyka » Sat Sep 29, 2012 20:01

The easiest solution is the best:
create a folder with the correct name and files within ...

most people use this organization in Git:

textures
   | _ Texture1.png
   | _ Texture2.png
   | _ Other_textures.png

init.lua
Other. Lua
README.txt


I use:

mod_folder
   | _ Textures
   | | _ Texture1.png
   | | _ Texture2.png
   | | _ More_textures.png
   |
   | _ Init.lua
   | _ Other. Lua

README.txt
My mod: [MOD]3D Forniture 1.0
Download: 3DForniture_v_1.0.zip
Page development (European Castilian):
Moviliario 3D (proyecto 3D Forniture)
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

by Jordach » Sat Sep 29, 2012 21:32

Tonyka, my mod repos are like this.

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

cornernote
Member
 
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Sat Sep 29, 2012 23:36

Tonyka, simply add a modpack.txt to the top level folder, then the whole thing can be unzipped directly from git to mods folder.
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 25 guests

cron