WerewolfCustoms / ModsStudio2IssueBoard

Task board and bug tracker for Mods Studio 2 project
10 stars 1 forks source link

Certain mods not uploading to Steam Workshop (SCS Uploader error 00012 and 00002) #135

Closed pete-agreatguy closed 1 year ago

pete-agreatguy commented 2 years ago

Describe the bug When creating an AI Traffic with multiple vehicle skins in it; if you try to upload to steam workshop, the SCS uploader does not allow you to upload due to errors 00012 and 00002.

However, from testing me and m1key have discovered that if you have 1x traffic skin OR the maximum of x10, the mod is accepted by the SCS Uploader.

See the discussion on discord between me and m1key here. Note: Other conversations will also be present in the dev channel so just read around those.

So a mod which includes a number between 2 and 9 vehicle skins will not upload. Evidence = discord dev channel

Seems to be the same with vehicle mud flap mods too.

m1key suspects an issue with the array.

Example screen shot:

image

error code 2 is file not found (so uploader is looking for skin tobj files which haven't been created by MS2 as there are no skins present in the project). This error is the key to this bug.

error code 12 is basically the same message regarding the tobj file not being present so uploader cannot verify.

Source = here

To Reproduce Create an AI Traffic mod which includes between 2 to 9 vehicle skins and attempt to upload to the steam workshop using the scs uploader. Errors 00012 and 00002 will be provided. Same with a mud flap mod.

Expected behavior Mod should upload to steam workshop without errors.

Screenshots Provided above.

Desktop (please complete the following information): Since the AI Traffic, Mud flap mods were added as a feature of MS2.

Additional context See discord conversations from links provided above for details; included what I and m1key have tried.

Conversation end date in dev channel = 14/09/2021 !

Many patreon users are requesting a fix to this bug :) So maybe it should be prioritised in the next version (v2021.04)?

pete-agreatguy commented 2 years ago

Andi#0942 has claimed to be able to have uploaded the Scania

https://discord.com/channels/611134812471820348/611135209525608488/964568544744460319

Hello, everyone because I have problems with the traffic scania over workshop and I'm looking for errors.

I noticed that the /automat/00/003b3491af401cb1.mat in the pmd files were renamed to automat/3b/3b3491af401cb1.mat when creating a mod.

doesn't always have to be 16 characters

Mfg with andi other Google Translator

this is how the scania 6x2 high roof is uploaded by ai traffic.

I renamed all mat files with the scseditor in the lod_01.pmd and truck.pmd

from /automat/3b/3b3491af401cb1.mat

to

/automat/00/003b3491af401cb1.mat

and it works

hehe, I'd rather see the AI ​​than looking at myself with the outside camera

but everyone as he wants.

oh ps. simply copy the skin_01.tobj several times and number it from skin_01.tobj to skin_10.tobj, they also run

Mfg with andi other Google Translator

Araras Studio Elias Nunes#9250

to send my mods to the workshop, I compress the mod via SCS_archiver locking for scs_extractor, so I can upload the mod that has traffic was the way I found to temporarily solve in this mod, i have +- 30 different combinations in traffic

pete-agreatguy commented 2 years ago

pete_someguy Those who have done AI mods and wish to upload them to steam ...

If you have 1 ai template in your project or a total of 10; then your mod will upload to the steam workshop.

If you have any number of templates from 2 to 9; then you will encounter errors and not be able to upload ... however ...

There is a way around it by adding a temp skin (can be a simple 4x4 colour) and set spawn ratio to 0.

TsiSp0rt - Grandad You can also achieve the same thing by editing the truck.pmd file to only relate to the number of templates you have in your AI mod if you desire to make the mod cleaner.