Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: How to automatically create all skin folders you need  (Read 1596 times)

0 Members and 1 Guest are viewing this topic.

SAS~crazyflak

  • Big Mouth
  • SAS Team
  • member
  • Offline Offline
  • Posts: 3200
  • We aaall live in a modding submarine, modding...
How to automatically create all skin folders you need
« on: June 11, 2010, 07:49:40 AM »

The very usefull tricks shared by WWSandman and Solo are bit hidden, so I decided to put it as a sticky right here.

You're not sure if you have all the required skin folders or you know you miss some of them? There's an easy way to get them all in one shot  ;)

Use this tool: http://www.sas1946.com/main/index.php/topic,4278.0.html
or even better:

Use Solo suggestion to create a 'bat' file. By pointing it to your air ini file, it will create every skin folder your install needs (and only those, so no extra skin folders unless you have garbage in your air.ini). I quote (Solo):

"Just a little MsDos command to extract the names of \Skins folders directly from air.ini
Copy the following line into a *.txt file and rename it *.bat

for /f "tokens=1" %%a in (air.ini) do md Paintschemes\Skins\%%a

Put your air.ini and the *.bat file in the same folder and launch the *.bat file
Magic !!  , for each plane listed in air.in ==> his Skin folder
Delete the Paintschemes\Skins\[air] folder and copy the Paintschemes directory in your IL2 install
That's all."

EDIT: I add Bravo's link to C6 batch file as well:

"There is a Batch File for creating Skins folders at C6  http://www.checksix-forums.com/showthread.php?t=160057 Post #19  "Skin4.zip" "

Logged

Jonesinator

  • Modder
  • member
  • Offline Offline
  • Posts: 346
  • I'll be back... WITH MOD'S
    • eaglesofwar
Re: How to automatically create all skin folders you need
« Reply #1 on: September 27, 2010, 03:09:26 PM »

This is a cool method of creating your skin folders. Heres the code i use, theres no need to copy your air.ini. if you use the MODS/STD/bla bla bla method this will work for you.

Just create the batch file with this code in it and place it into your il2 Root
Code: [Select]
@echo off

SET /P ANSWER= Would you like to create your il2 skin folder directories (Y/N)?
echo You chose: %ANSWER%
if /i {%ANSWER%}=={y} (goto :yes)
if /i {%ANSWER%}=={yes} (goto :yes)
goto :no
:yes
echo You pressed yes!

for /f "tokens=1" %%a in (MODS\STD\com\maddox\il2\objects\air.ini) do md Paintschemes\Skins\%%a

rmdir /s /q "PaintSchemes\Skins\[AIR]"

pause

:no
echo You pressed no!
exit /b 1




Logged

HundertzehnGustav

  • 20mm, 30mm King
  • member
  • Online Online
  • Posts: 1369
  • enfant terrible of da SAS
Re: How to automatically create all skin folders you need
« Reply #2 on: January 30, 2012, 02:04:18 PM »

achhhh nainnn nische funktioniere... nischte finde the right folders...
anyone have a matching code for UP3RC4 DBW1.6?
Logged

hguderian

  • Modder
  • member
  • Offline Offline
  • Posts: 589
Re: How to automatically create all skin folders you need
« Reply #3 on: January 30, 2012, 02:07:43 PM »

Change the word MODS with #DBW

Quote
....
for /f "tokens=1" %%a in (#DBW\STD\com\maddox\il2\objects\air.ini) do md Paintschemes\Skins\%%a
....
Logged

HundertzehnGustav

  • 20mm, 30mm King
  • member
  • Online Online
  • Posts: 1369
  • enfant terrible of da SAS
Re: How to automatically create all skin folders you need
« Reply #4 on: January 30, 2012, 02:36:34 PM »

burp- skoll!!
thx!
*beer*
Logged

Milantarik

  • Wannabe King of the Fw190
  • member
  • Offline Offline
  • Posts: 605
Re: How to automatically create all skin folders you need
« Reply #5 on: January 30, 2012, 02:44:30 PM »

Ok at the risk of appearing stupid :

How do I create a .bat ? I tried like crazyflak said by creating a txt and renaming to .bbat, but it then appears as skinfolders.bat.txt  :o

I remember that in XP you could change the files simpy by changing extensions but apparently in Win7 you can't
Logged

HundertzehnGustav

  • 20mm, 30mm King
  • member
  • Online Online
  • Posts: 1369
  • enfant terrible of da SAS
Re: How to automatically create all skin folders you need
« Reply #6 on: January 30, 2012, 02:53:14 PM »

hold on... you need to make the extrension appear first.
you in your folder with the bat.txt?
top left corner "organize"->folder options->view->UNcheck "hde extensions for known file types"

you will see all extensions and can cut/edit them.
Logged

HundertzehnGustav

  • 20mm, 30mm King
  • member
  • Online Online
  • Posts: 1369
  • enfant terrible of da SAS
Re: How to automatically create all skin folders you need
« Reply #7 on: January 30, 2012, 02:54:31 PM »

and bloody hell mine is calles skinfolder too...
 :D
Logged

Milantarik

  • Wannabe King of the Fw190
  • member
  • Offline Offline
  • Posts: 605
Re: How to automatically create all skin folders you need
« Reply #8 on: January 30, 2012, 11:50:20 PM »

Cool thanks  ;D
Logged
Pages: [1]   Go Up