DrShadowKnight / spraygen

Automatically exported from code.google.com/p/spraygen
0 stars 0 forks source link

Can't upload sprays. #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Attempting to upload a VTF file.
2.That is
3.about it.

What is the expected output? What do you see instead?
For it to upload the spray used by the converter. I see my previous spray still 
there.

What version of the product are you using? On what operating system?
1.3.4, Windows XP

Please provide any additional information below.
I transferred the VTF items into a file, and attempt to import them, however it 
goes to no avail.

Original issue reported on code.google.com by xXRainbo...@yahoo.com on 25 Jul 2011 at 7:34

GoogleCodeExporter commented 8 years ago
Sorry, it was 1.3.2

Original comment by xXRainbo...@yahoo.com on 25 Jul 2011 at 7:35

GoogleCodeExporter commented 8 years ago
This happened to me too. I looked at the error message generated and it said 
this:
Traceback (most recent call last):
  File "spraygen.py", line 476, in convert
  File "shutil.pyo", line 88, in copy
  File "shutil.pyo", line 52, in copyfile
IOError: [Errno 2] No such file or directory: 
'vtex\\materialsrc\\vgui\\logos\\output-0.tga'
It seems that it is missing the file output-0.tga, but the file isn't inlcuded. 
I'll see if there is an earlier version that has this file.

Original comment by monkey...@gmail.com on 29 May 2012 at 11:53

GoogleCodeExporter commented 8 years ago
where did you extract the zip file?  did you extract it with all the folder 
structure in tact?

make sure the program has access to write to where you extracted it.  also make 
sure your .gif file is valid.

the output.tga files are extracted frames from the gif that it assembles into 
the texture .vtex.  if it can't find them, either the gif isn't valid or 
working with the extraction process, or maybe the program can't write the 
output files due to permissions?

Original comment by aaronwcu...@gmail.com on 29 May 2012 at 12:11

GoogleCodeExporter commented 8 years ago
Okay, I had a look and it turns out that the files that are decompiled are 
moved to the tga folder instead of the vtex/materialsrc... folder. This is not 
too much of a problem though. All you have to do is change where the output 
goes and the rest should work.

Original comment by monkey...@gmail.com on 29 May 2012 at 12:25

GoogleCodeExporter commented 8 years ago
Sorry for all the comments, I found this is the easiest way to make sprays.
First, download the most recent version of spraygen.
Decompile the files by opening spragen.exe.
When the process is complete, close the window.
It will appear up with an error message, but ignore it.
Open up VTFEdit and Import all the .tga files in the tga folder.
VTFEdit will recompile it into .vtf, all that needs to be done is to open up 
the spray resource folder (C:/Program 
FIles(x86)/Steam/steamapps/"username"/teamfortress2/tf/materials/vgui/logos) 
and save it there. Open TF2 and it should be there.

Original comment by monkey...@gmail.com on 29 May 2012 at 12:52

GoogleCodeExporter commented 8 years ago
Can't load in Animated gifs, I keep getting this message and can't figure out 
how to fix it myself please help me

Traceback (most recent call last):
  File "spraygen.py", line 191, in importdialog
  File "spraygen.py", line 213, in fileselected
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 
58: ordinal not in range(128)
Traceback (most recent call last):
  File "spraygen.py", line 298, in typechanged
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 
19: ordinal not in range(128)

Original comment by Acaly...@gmail.com on 18 Dec 2013 at 4:36