0neGal / viper

Launcher+Updater for TF|2 Northstar
https://0negal.github.io/viper
GNU General Public License v3.0
151 stars 21 forks source link

My mod doesn't work #219

Closed Saxilesteam closed 10 months ago

Saxilesteam commented 10 months ago

Viper won't allow my mod, saying "An unknown error occurred while trying to install the mod. This may be the author's fault, and it may also by Viper's fault."

My Mod: https://northstar.thunderstore.io/package/MeepMerpMan/Saxile/

Jigsaw159 commented 10 months ago

Also having the same issue. Switched from Thunderstore because I thought there was an issue with mods on there but now I'm thinking there's a problem in general

JMM889901 commented 10 months ago

Viper won't allow my mod, saying "An unknown error occurred while trying to install the mod. This may be the author's fault, and it may also by Viper's fault."

My Mod: https://northstar.thunderstore.io/package/MeepMerpMan/Saxile/

Your mod is uploaded in the wrong format and cant be read by Northstar, nor by Viper a Thunderstore mod is a package containing mods A Northstar mod must contain at least a mod.json, alongside the mod/keyvalues folders a Thunderstore package must contain an icon.png, a manifest.json, a readme and a folder named "mods" Your Northstar mod goes INSIDE this mods folder

The correct mod format would look like this (In order to meet GitHub file size limits I had to remove the contents of the audio folder so I wouldn't upload this without putting those files back lol)

JMM889901 commented 10 months ago

To clarify becuase the empty folders got removed by compressing to a zip, the location of your /audio folder would be in \mods\MeepMerpMan-Saxile\mod\audio

0neGal commented 10 months ago

Just to completely clarify, this is the file structure of your mod:

├── README.md
├── icon.png
├── manifest.json
└── mod/
    └── audio/
        └── extra things here

When it instead should be as follows:

├── README.md
├── icon.png
├── manifest.json
├── mod.json
└── mods/
    └── MeepMerpMan-Saxile/
        ├── mod/
        │   └── audio/
        │       └── extra things here
        └── mod.json

And an example of what should be in the mod.json file:

{
    "Name": "MeepMerpMan-Saxile",
    "Description": "I'm Ion Prime",
    "Version": "1.2.0",
    "LoadPriority": 0
}

Hope this clarifies the problem at hand and by extension solves it, I'll be closing this issue as it should be solved, if you've anymore questions or you believe it isn't solved feel free to leave more comments or re-open it if need be.

Saxilesteam commented 10 months ago

Thanks! Northstar seems to accept it, though I can't open it, so ill try when I get the chance.

Saxilesteam commented 10 months ago

alright, so the mod is accepted, but doesn't change anything. Any suggestions/solutions? 1.3.0 is the current version: https://northstar.thunderstore.io/package/MeepMerpMan/Saxile/

0neGal commented 10 months ago

1.3.0 has the correct structure as described earlier, and it is different from the other version I checked.

Saxilesteam commented 10 months ago

different? different good or different bad? I just need to know how to fix it, I have no clue what I am doing

0neGal commented 10 months ago

1.3.0 has the correct structure, making it different in a good way. I'm not sure what you're trying to fix, as 1.3.0 should install correctly, does it not?

Saxilesteam commented 10 months ago

It does install correctly, but it doesn't do what I want it to do. I want it to change Ion Prime's voice lines, but when I try it in game it doesn't change it.

0neGal commented 10 months ago

I would want to remind you that, Viper is simply a mod manager, it's not responsible for actually doing any of the modding, all that is done by Northstar, and as such, asking for help regarding an issue pertaining to Northstar on a Viper GitHub issue, wouldn't quite be the correct place to ask.

Further more, I frankly don't have too much experience with modding through Northstar's modding system, and therefore couldn't help, even if I wanted to.

Instead it'd be more appropriate to ask in the #modding-chat channel on the Northstar Discord server or a similar channel in that server.

Saxilesteam commented 10 months ago

Ok, thanks for the help though