[Answered] Can't find plugin image

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
fintattis
Villager
Reactions:
Posts: 11
Joined: 11 Jan 2020, 17:45
Plugins: Showcase Store

Plugin Creator

Platform

[Answered] Can't find plugin image

#1

Post by fintattis »

Apparently it can't find the plugin image. I'm certain I included it in the plugin file (I'm the creator of the plugin).
What's puzzling me is why it tries to search for the image from my steamapps folder, since none of the plugins seem to be there
20200119130559_1.jpg

User avatar
fintattis
Villager
Reactions:
Posts: 11
Joined: 11 Jan 2020, 17:45
Plugins: Showcase Store

Plugin Creator

Platform

Re: Can't find plugin image

#2

Post by fintattis »

Everything worked perfectly when testing the plugin with the exact same files before publishing it

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5730
Joined: 10 Feb 2017, 14:53
Location: L2 cache
Plugins: Showcase Store

Plugin Creator

Platform

Re: [Asked] Can't find plugin image

#3

Post by Bearbear76 »

Maybe it's some sort of compression error. :bt

Code: Select all

The file that was uploaded to the store
---------------------------------------------
asphalt_black_bottom.json.zip.gz <- no error
asphalt_black_bottom.json.gz <- no error
asphalt_black_bottom.json.zip <- cannot find image
Maybe you saved it as asphalt_black_bottom.json.zip,
but your program forced it into a .gz compression file.

Code: Select all

asphalt_black_bottom.json.zip --saved--> asphalt_black_bottom.json.zip.gz
Also why is there .json in the name too?
Also I've suspended the plugin for now as it might cause further problems.

User avatar
fintattis
Villager
Reactions:
Posts: 11
Joined: 11 Jan 2020, 17:45
Plugins: Showcase Store

Plugin Creator

Platform

Re: [Answered] Can't find plugin image

#4

Post by fintattis »

I used notepad ++ to write the code

Code: Select all

[
  {
    "id":"$diagonalasphaltblackbottom00",
    "type":"terrain",
	"title":"Diagonal black asphalt bottom",
    "author":"fintattis",
    "width":1,
    "height":1,
	"draw ground": true,
    "frames":[{"bmp":"asphalt_black_bottom.png"}]
  }
]
As I said everything worked perfectly prior to publishing it. As there doesn't seem to be any problems regarding the code should I just try reuploading?
Pure files example:
pulma.JPG
I can't recall whether I selected the pure files or a zip (I had both available). Shouldn't the pure file way work?

User avatar
CommanderABab
AB
Reactions:
Posts: 11107
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [Answered] Can't find plugin image

#5

Post by CommanderABab »

You should submit the zip as published in your topic, as it contains all the images and json files.

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5730
Joined: 10 Feb 2017, 14:53
Location: L2 cache
Plugins: Showcase Store

Plugin Creator

Platform

Re: [Answered] Can't find plugin image

#6

Post by Bearbear76 »

Maybe turn the extensions on.

Code: Select all

foobar <- what your file explorer displays
foobar.json <- more easier to read
This might prevent errors like below in the future

Code: Select all

foobar.zip <- no extension
foobar.zip.gz <- with extensions
Also, yes, try to reupload a new file

User avatar
fintattis
Villager
Reactions:
Posts: 11
Joined: 11 Jan 2020, 17:45
Plugins: Showcase Store

Plugin Creator

Platform

Re: [Answered] Can't find plugin image

#7

Post by fintattis »

I did but it got disapproved, couldn't find a reason.

User avatar
CommanderABab
AB
Reactions:
Posts: 11107
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [Answered] Can't find plugin image

#8

Post by CommanderABab »

It was missing some files.

Post Reply Previous topicNext topic

Return to “Problems”