Jump to content


Photo

Skin Downloader tool


  • Please log in to reply
44 replies to this topic

#1 taleks

taleks
  • Developer
  • Posts: 295

Posted 21 January 2015 - 06:15

Attached is proof of concept tool, that downloads skinlist and can install selected skin.

DISCLAIMER: It is my personal project used to test idea, it has no relations to my job in 1CGS (means: it is not developed or supported in any way by 1CGS).

 

How to use:

1. Download zip, unpack and copy two files to bin/game folder.

2. Run SkinCollection.exe, wait while skin list is downloaded.

3. Double click on skin, there you will see screenshot (may take some time to be downloaded) and install button.

 

I've added several skins from forums, 3 skins were added by authors, all skins should be installable without any issues.

 

bonus:

Spoiler

 

Attached File  skindownloader.zip   96.64KB   780 downloads


  • 16

#2 Dakpilot

Dakpilot
  • Founder
  • Posts: 4142
  • Location:Afrika

Posted 21 January 2015 - 08:03

Thankyou for your work! :)

 

Cheers Dakpilot


  • 0

i5 3570K at 4,40Ghz//H100i//Asus maximus Gene V//16GB 1600mhz ram//Galax GTX1080 8GB EXOC//Samsung Evo840 128gbSSD x2//LG 49" 3840 X 2160//MSFFB2// Saitek throttle quadrant//Win10-64bit


#3 DD_Arthur

DD_Arthur
  • Founder
  • Posts: 2186
  • Location:South West England

Posted 21 January 2015 - 13:10

Nice one Taleks.  This will be a great help for everyone.  :salute:


  • 0

#4 Dakpilot

Dakpilot
  • Founder
  • Posts: 4142
  • Location:Afrika

Posted 21 January 2015 - 13:36

Tried it out, and it seems to work when clicking install button it says 'working' then reverts to install, however the skins have not shown up in game, could this be because I have game installed on separate "d" drive SSD and not the default path, it is non steam game.

 

Looks very slick and professional though :)


  • 0

i5 3570K at 4,40Ghz//H100i//Asus maximus Gene V//16GB 1600mhz ram//Galax GTX1080 8GB EXOC//Samsung Evo840 128gbSSD x2//LG 49" 3840 X 2160//MSFFB2// Saitek throttle quadrant//Win10-64bit


#5 Yakdriver

Yakdriver
  • Founder
  • Posts: 1638
  • Location:Як-1б

Posted 21 January 2015 - 13:38

so i can upload my skins there.
and when people run the program, the skins are downloaded into the game after a check every 5 minutes.

Okay...
wow.

Hmm.
before i try, some spontaneous thoughts:
it would be cool to run this program when the player starts a campaign mission. [when the request for new mission goes to master server, trigger execution of the program]
- the player is not online, so the connection can be used to download.

 

 

will make a few skins based on the 3 tona default and see if this works.
wow wow wow. this could be great, could be a way to organize skins distribution.


  • 0

sig.png


#6 taleks

taleks
  • Developer
  • Posts: 295

Posted 21 January 2015 - 13:50

Tried it out, and it seems to work when clicking install button it says 'working' then reverts to install, however the skins have not shown up in game, could this be because I have game installed on separate "d" drive SSD and not the default path, it is non steam game.

 

Looks very slick and professional though :)

Check, if there are some .dds files in updates folder. If yes, then it downloaded skin, but something gone wrong after downloading.


  • 0

#7 taleks

taleks
  • Developer
  • Posts: 295

Posted 21 January 2015 - 13:59

when people run the program, the skins are downloaded into the game after a check every 5 minutes.

No, skins are not downloaded to game folder automatically every 5 minutes.

 

Once per 3 minutes server starts rebuilding of zipped skin list if there are any changes in database.

Thus uploaded to servers skins are added to list of skins in a short period (< 5 minutes).

When tool starts, it downloads skin list if there is newer version of list than saved during previous start.

Then those skins can be downloaded manually from tool by clicking install button. At least, it is expected behaviour :)


  • 0

#8 Jaws2002

Jaws2002
  • Founder
  • Posts: 1443

Posted 21 January 2015 - 16:20

Check, if there are some .dds files in updates folder. If yes, then it downloaded skin, but something gone wrong after downloading.

Thank you for this tool Taleks. it looks good. It downloaded the skins, but it didn't install them in the game. All the stuf is in the updates folder as you predicted.

 

I have the game on an extra  ssd, not the default location.

 

I have a question about this tool. If I uploaded a skin and then did some fixes, is it possible to update the skin? Basically make and upload the new skin with the same name?

 

Thank you.


  • 0

NZXT-Phantom 820 case; Asus Sabertooth Z77; i7 3770k@4.3GHz+ Noctua NH D14 cooler; Gigabyte Aorus GTX 1080 Ti Xtreme 11G; Dell Ultrasharp 2713H @2560x1440; 32GB G.Skill ripjaws DDR3-1600; Crucial M4 128GB SSD+Crucial M4 256GB SSD+2TB HD; Cooler Master V1200 platinum  psu; Corsair vengeance K70 keyboard; Razer Deathadder mouse; CH Fighterstick+CH Pro pedals+Saitek X45


#9 F/JG300_Touch

F/JG300_Touch
  • Founder
  • Posts: 224

Posted 21 January 2015 - 18:06

Nice addition : works smooth !

THX


  • 0

#10 taleks

taleks
  • Developer
  • Posts: 295

Posted 22 January 2015 - 02:24

All the stuf is in the updates folder as you predicted.

I'll add error log to find out what is the cause, may be access to skins folder is denied for some reason.

Tool works with relative to game binaries paths, not absolute paths, thus it shouldn't matter where game is installed.

 

 

 

I have a question about this tool. If I uploaded a skin and then did some fixes, is it possible to update the skin? Basically make and upload the new skin with the same name?

Although skin versions tracking is supported in skin list format (you can open updates/skindb/skindb.xml and find VersionsHistory tag), updating is not implemented on server yet. Should be available this week a bit later.

 

I guess it will be in implemented in this way:

1. During skin submission for the first time you will get PIN, some random number like 9253.

2. When updating skin you will enter this PIN, base name, new image/description data and optional comment about changes in the skin.

PIN is required to avoid skin updating by someone else to avoid unintended mistakes or abusing, skin base name/PIN will work like login/password pair.

It may be not the best solution, but I don't like idea of forced user registration.

 

Originally, skin downloader idea was to develop skin list file format and tool which can work with it.

Having both of them, anyone can provide own skin hosting server and force own politics in skin submission, etc.


  • 1

#11 Jaws2002

Jaws2002
  • Founder
  • Posts: 1443

Posted 22 January 2015 - 03:35

Awesome. Thank you. :salute:


  • 0

NZXT-Phantom 820 case; Asus Sabertooth Z77; i7 3770k@4.3GHz+ Noctua NH D14 cooler; Gigabyte Aorus GTX 1080 Ti Xtreme 11G; Dell Ultrasharp 2713H @2560x1440; 32GB G.Skill ripjaws DDR3-1600; Crucial M4 128GB SSD+Crucial M4 256GB SSD+2TB HD; Cooler Master V1200 platinum  psu; Corsair vengeance K70 keyboard; Razer Deathadder mouse; CH Fighterstick+CH Pro pedals+Saitek X45


#12 Jaws2002

Jaws2002
  • Founder
  • Posts: 1443

Posted 22 January 2015 - 03:47

Hey It works. :biggrin:

 

No idea what happened, but it works and I installed them all. :salute:

 

Thank you.


  • 0

NZXT-Phantom 820 case; Asus Sabertooth Z77; i7 3770k@4.3GHz+ Noctua NH D14 cooler; Gigabyte Aorus GTX 1080 Ti Xtreme 11G; Dell Ultrasharp 2713H @2560x1440; 32GB G.Skill ripjaws DDR3-1600; Crucial M4 128GB SSD+Crucial M4 256GB SSD+2TB HD; Cooler Master V1200 platinum  psu; Corsair vengeance K70 keyboard; Razer Deathadder mouse; CH Fighterstick+CH Pro pedals+Saitek X45


#13 Jaws2002

Jaws2002
  • Founder
  • Posts: 1443

Posted 22 January 2015 - 04:40

Works like a charm. I uploaded a skin already and worked perfectly. :salute:


  • 0

NZXT-Phantom 820 case; Asus Sabertooth Z77; i7 3770k@4.3GHz+ Noctua NH D14 cooler; Gigabyte Aorus GTX 1080 Ti Xtreme 11G; Dell Ultrasharp 2713H @2560x1440; 32GB G.Skill ripjaws DDR3-1600; Crucial M4 128GB SSD+Crucial M4 256GB SSD+2TB HD; Cooler Master V1200 platinum  psu; Corsair vengeance K70 keyboard; Razer Deathadder mouse; CH Fighterstick+CH Pro pedals+Saitek X45


#14 =69.GIAP=MYATA

=69.GIAP=MYATA
  • Founder
  • Posts: 35
  • Location:AUSTRIA

Posted 22 January 2015 - 06:21

Spasibo!

Edited by =69.GIAP=MYATA, 22 January 2015 - 06:22.

  • 0

S! MYATA
GvBaP T-O
69giap_badge_myata.jpg


#15 SPEKTRE76

SPEKTRE76
  • Founder
  • Posts: 2397
  • Location:Lake Stevens, WA - United States of America

Posted 29 January 2015 - 18:21

Excellent work! This will help get my mega skin pack out that I am doing for the SYNDICATE server.


  • 0

#16 Yakdriver

Yakdriver
  • Founder
  • Posts: 1638
  • Location:Як-1б

Posted 30 January 2015 - 17:57

i am having problems with this.

 

when downloading, i get an error "Skincollection has stopped working"

 

Problem signature:
  Problem Event Name:    APPCRASH
  Application Name:    SkinCollection.exe
  Application Version:    1.0.0.0
  Application Timestamp:    54bf2d25
  Fault Module Name:    d3d9.dll

==========================================

ok, i messed around, and the solution is fairly simple: renamed the d3d9.dll to d3d9.dllOLD

Good!


can it be that this tool "could potentially be integrated" in the game, in the year 2020?
the screenshots could be used in a similar manner than the screenshots for the "default skin preview":

lagg3.713c0cc6b139.jpg
 


Edited by Yakdriver, 30 January 2015 - 18:07.

  • 0

sig.png


#17 taleks

taleks
  • Developer
  • Posts: 295

Posted 03 February 2015 - 06:44

Sorry for delay with answer, I'm a little bit busy with recent work on other tools last days.

 

 

when downloading, i get an error "Skincollection has stopped working"

That is caused by SweetFX/FlightFX. There was similar crash in launcher earlier, thus it work in software rendering mode now.

Roots of issue are in conflict between WPF (GUI related framework for .NET) and modified d3d9.dll which is used by sweetfx to inject shaders. I'll force software rendering in next version of skin downloader.

 

 

 

can it be that this tool "could potentially be integrated" in the game, in the year 2020?

Not sure about this. There are a lot of other things to tweak and actively support now.

It's more flexible to keep it separate personal project. It will be open sourced on github soon.

 

 

 

the screenshots could be used in a similar manner than the screenshots for the "default skin preview

Well, it depends on submitter of skin. I'm sure author chooses the best angle and scene for skin.

To make it more convenient, it would be possible to upload up to three screenshots in next version of the tool.


  • 0

#18 Nankeen

Nankeen
  • Founder
  • Posts: 471

Posted 03 February 2015 - 14:52

Thank you taleks


  • 0

#19 Jaws2002

Jaws2002
  • Founder
  • Posts: 1443

Posted 05 February 2015 - 15:10

I messed up. I tried to upload an updated version of the last skin I made, but looks like the downloader tool posted it as new skin. Now if that's not bad enough, I forgot to change the plane to FW190 and the downloader got the marked version as Bf-109F4 skin. :wacko:

Is there a way I can fix that?


  • 0

NZXT-Phantom 820 case; Asus Sabertooth Z77; i7 3770k@4.3GHz+ Noctua NH D14 cooler; Gigabyte Aorus GTX 1080 Ti Xtreme 11G; Dell Ultrasharp 2713H @2560x1440; 32GB G.Skill ripjaws DDR3-1600; Crucial M4 128GB SSD+Crucial M4 256GB SSD+2TB HD; Cooler Master V1200 platinum  psu; Corsair vengeance K70 keyboard; Razer Deathadder mouse; CH Fighterstick+CH Pro pedals+Saitek X45


#20 MF-beepee

MF-beepee
  • Founder
  • Posts: 399
  • Location:Noiseyland

Posted 08 February 2015 - 04:48

Thanks!


  • 0

                                                  14slh1i4.cek.png


#21 SharpeXB

SharpeXB
  • Founder
  • Posts: 2835
  • Location:Dallas, TX

Posted 17 February 2015 - 02:38

This looks like a really great idea. Definitely there needs to be an easy automatic way for players to get all the hundreds of skins for the game without having to download them individually.
  • 0
Velocity Micro PC | Asus Z97-A | i7-4790K o.c.@4.7GHz | Corsair H80iGT Liquid CPU Cooler | 32GB DDR3-1600MHz Memory | EVGA GTX 1080 Ti SC 11GB | 240gb Intel 520 Series SSD | 850 W Corsair PSU | Windows 10 Home | Samsung U28D590D UHD 28” Monitor | Bose Companion 5 Speakers | CH Fighterstick | Ch Pro Throttle | CH Pro Pedals | TrackIR 5

#22 6./ZG26_Gielow

6./ZG26_Gielow
  • Founder
  • Posts: 1213

Posted 17 February 2015 - 14:20

That is what I am talking about :) I will create some skins for me then I will upload it later. Great tool !!! Lets make a kickstarter of it heheh


  • 0

rIxsRrw.png   Owf62ze.png

 


#23 taleks

taleks
  • Developer
  • Posts: 295

Posted 19 February 2015 - 05:48

I messed up. I tried to upload an updated version of the last skin I made, but looks like the downloader tool posted it as new skin. Now if that's not bad enough, I forgot to change the plane to FW190 and the downloader got the marked version as Bf-109F4 skin. :wacko:

Is there a way I can fix that?

I'll look at server data this weekend and remove earlier submitted skin.

Actually, interface to update skin is almost completed, but last weeks are too busy, I can't find time to finish it.


  • 0

#24 Wandalen

Wandalen
  • Founder
  • Posts: 242
  • Location:Norway

Posted 20 February 2015 - 18:54

Amazing work Taleks, thanks a lot! 


  • 0

A young man who is poor and wise is better than an old, foolish king who won't take advice any longer.

*Ecclesiastes*

 


#25 CZEforzamike

CZEforzamike
  • Founder
  • Posts: 107
  • Location:Prague, Czech republic

Posted 02 May 2015 - 11:39

So great tool, but it does not working for me :mellow:

It is working when clicking install button it says 'working' then reverts to install, however the skins have not shown up in game.

And dds files are not in the game update folder.

 

What is wrong?


  • 0

#26 taleks

taleks
  • Developer
  • Posts: 295

Posted 06 May 2015 - 13:18

Most probably executable has no permissions to write files in updates and data folder.

Try to start it with elevated privileges (Right mouse button click on executable, Run As Administrator).


  • 0

#27 -LaFrench-bexhausted

-LaFrench-bexhausted
  • Founder
  • Posts: 354
  • Location:France (Oise)

Posted 09 May 2015 - 06:59

So great tool, but it does not working for me :mellow:

It is working when clicking install button it says 'working' then reverts to install, however the skins have not shown up in game.

And dds files are not in the game update folder.

 

What is wrong?

I have the same problem.

 

Most probably executable has no permissions to write files in updates and data folder.

Try to start it with elevated privileges (Right mouse button click on executable, Run As Administrator).

No effect.

In fact in the 'Bin / Update' i have the screen 'PNG' and a file 'DDS'.
So I guess it's the skin not installed  in the right place ?
I wonder if by installing this file in the right place (wich one please, data folder ?) skin would be available in the game? 
Thank you for sharing this tool !

Edited by bexhausted, 09 May 2015 - 07:01.

  • 0

#28 12F_Blue

12F_Blue
  • Founder
  • Posts: 25
  • Location:Nantes France

Posted 11 May 2015 - 18:48

Thanks a lot i'ts works perferct :cool:

 

one idea for a next version, a choice by squad  it would be great ;)

i just found the answer :biggrin:

Thank's again


Edited by 12F_Blue, 11 May 2015 - 19:00.

  • 0

CdP_low.jpg


#29 CZEforzamike

CZEforzamike
  • Founder
  • Posts: 107
  • Location:Prague, Czech republic

Posted 13 May 2015 - 11:09

Most probably executable has no permissions to write files in updates and data folder. Try to start it with elevated privileges (Right mouse button click on executable, Run As Administrator).


Still no effect for me. No working  :(  
  • 0

#30 taleks

taleks
  • Developer
  • Posts: 295

Posted 13 May 2015 - 12:59

I wonder if by installing this file in the right place (wich one please, data folder ?) skin would be available in the game?

 

Downloader works in this way:

1. it downloads if needed latest information about skins.

2. you select skin, click install

3. skin is downloaded to updates folder.

4. Downloader verifies skin checksum to be sure no downloading errors occured. Usualy it is safe to assume, it was downloaded correctly.

5. skin is copied to data/graphics/Skins folder. There are several subfolders there (like Bf109F4, Yak1s69), each one for exact plane model.

 

Seems like step 5) was not completed for some reason. You can copy related .dds to appropriate folder and it should work in game.

 

@CZEforzamike

Hm, probably I need to add log to find out reasons of this issue. Will add this week.


  • 0

#31 -LaFrench-bexhausted

-LaFrench-bexhausted
  • Founder
  • Posts: 354
  • Location:France (Oise)

Posted 24 May 2015 - 11:16

Yes i copy manually the dds file in the right subfolder and it's fine !

I 'll try again to see if it 's running in the right way .

Thank you !


  • 0

#32 DDSnacko

DDSnacko
  • Founder
  • Posts: 52

Posted 24 December 2015 - 22:22

Does this work if the game folder is not in the normal location?  I have my game folder here: 

C:\My Programs\IL-2 Sturmovik Battle of Stalingrad\data\graphics\skins

 

Notice, it is 'My Programs' not 'Program Files'.

 

This does not seem to work.  You mention it downloads to some 'Update' folder?  I don't see that folder either.  This just does not work.

 

Oh well, this looks like an old dead thread.  


  • 0

#33 Strider

Strider
  • Member
  • Posts: 18

Posted 24 December 2015 - 23:12

@DDSnacko ~S~ mate!

 

My game is in C://IL2 Battle of Stalingrad and this works for me. Check the destination path or do a delete and d/l again. Very convenient for a skin whore like me, lol!

 

Still remember our online rolling scissors dogfight when practicing in JO Advanced Fighter 3, with 7 revolutions! Best of the season and Merry Christmas mate!

 

DDStrider


  • 0

NCIX Katana---i5 4690k unlocked Quad core 3.5/3.9GHZ, MSI Z97M G-43, GTX 970 OC 4GB DDR3, Kingston HyperX 120GB SSD, WD Caviar 1TB 7200 RPM, 8GB Kingston HyperX DDR3,Corsair Cooling Hydro Series H60, Corsair CS650M 650W


#34 DDSnacko

DDSnacko
  • Founder
  • Posts: 52

Posted 25 December 2015 - 00:49

Thanks Strider.  I never took JO Advanced Fighter 3.  Just Basic Training..  But I do remember many scissor fights.  Those are great!  I remember one once on the dogz server where me and my opponent were the last two alive in some I16's I believe.  That one went on for about 5 minutes!  

 

Well, since you say this thing works in a non-normal path, that helps.  But one post mentioned something about an 'Updates' folder.  I don't have a clue what that is.  I don't have one.  Not in the game.  Not in the download file.  So what the heck is that..?

 

I have run as Admin.  No good.  I have turned off my Firewall; Antivirus; Web Protection; Antispam; and Intrusion Detection from BitDefender.  No good.  And I have tried running for compatability with Windows 7, 8, and run the Windows 10 Compatability Troubleshooter.  No good.  It does not work.  

 

 

Downloader works in this way:

1. it downloads if needed latest information about skins.

2. you select skin, click install

3. skin is downloaded to updates folder.

4. Downloader verifies skin checksum to be sure no downloading errors occured. Usualy it is safe to assume, it was downloaded correctly.

5. skin is copied to data/graphics/Skins folder. There are several subfolders there (like Bf109F4, Yak1s69), each one for exact plane model.

 

Seems like step 5) was not completed for some reason. You can copy related .dds to appropriate folder and it should work in game.

 

@CZEforzamike

Hm, probably I need to add log to find out reasons of this issue. Will add this week.

 

And where is this Phantom 'Updates Folder'?  Oh well..


  • 0

#35 DD_Arthur

DD_Arthur
  • Founder
  • Posts: 2186
  • Location:South West England

Posted 25 December 2015 - 01:05

 

And where is this Phantom 'Updates Folder'?  Oh well..

 

Go to your path;

 

C:\My Programs\IL-2 Sturmovik Battle of Stalingrad\

 

and to the right of the data folder is the Update Folder.

 

@ Strider!  Hey, happy christmas man :salute: 


  • 0

#36 DDSnacko

DDSnacko
  • Founder
  • Posts: 52

Posted 25 December 2015 - 01:14

Thanks.  Yes I see that updates folder now.  But there is nothing in it for skin downloads.

 

Thanks for trying to help guys.  But I think it does not work on my pc for some reason.    :wacko:


  • 0

#37 Strider

Strider
  • Member
  • Posts: 18

Posted 25 December 2015 - 01:31

~S~mate. I don't know what to say. You have tried all the usual suspects. Mine worked out of the box.

 

I have no "Updates" folder in my install. I pinned  an .exe icon to the taskbar and hit it once in a while, click d/l all and it happens.

 

Great memories flying at JO. I know it was you in the incident. ~S~ mate.

 

DDStrider


Go to your path;

 

C:\My Programs\IL-2 Sturmovik Battle of Stalingrad\

 

and to the right of the data folder is the Update Folder.

 

@ Strider!  Hey, happy christmas man :salute: 

 

Merry Christmas Arthur! I'll be back soon. Getting sharp from a long layoff. Happy Holidays, Mate!

 

Strider


  • 0

NCIX Katana---i5 4690k unlocked Quad core 3.5/3.9GHZ, MSI Z97M G-43, GTX 970 OC 4GB DDR3, Kingston HyperX 120GB SSD, WD Caviar 1TB 7200 RPM, 8GB Kingston HyperX DDR3,Corsair Cooling Hydro Series H60, Corsair CS650M 650W


#38 DDSnacko

DDSnacko
  • Founder
  • Posts: 52

Posted 25 December 2015 - 01:41

Thanks..

 

I also have never seen anything called download all.    Must be a button or toolbar? I have neither.  Don't worry about it..  It don't work.


  • 0

#39 II./JG53_Badger

II./JG53_Badger
  • Founder
  • Posts: 338
  • Location:Galloway, NJ

Posted 18 February 2016 - 20:26

Nice thanks

I going to watch this thread very close to see the updates come out on this!


Edited by II./JG53_Badger, 18 February 2016 - 20:31.

  • 0

Badg_Sig_1.jpg


#40 taleks

taleks
  • Developer
  • Posts: 295

Posted 25 December 2016 - 03:09

After 2 years of somewhat dull existence skin downloader tool is going to retire.

 

I'd no enough time to implement what I wanted, and there is no need anymore for the tool, e.g. there is a collection of skins on il2skins.de for a long period of time and well populated forum threads for skins.

Server will be shut down in a few hours because of my greed and a lot of potentially exploitable vulnerabilities, for scanning of which bots spend more time than pilots for skin downloading.

 

Archive of all uploaded skins is available here (~240 Mb).


  • 3




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users