Special Aircraft Service

Please login or register.

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

Author Topic: Skins Folder Tool updated  (Read 30775 times)

0 Members and 1 Guest are viewing this topic.

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 9441
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Re: Skins Folder Tool updated
« Reply #12 on: April 02, 2010, 04:21:19 AM »

Attention !

Change the line :
IF EXIST %skins%\Hartman_Bf-109G-6 RD %skins%\Hartman_Bf-109G-6

to :
IF EXIST %skins%\Hartmann_Bf-109G-6 RD %skins%\Hartmann_Bf-109G-6

Sorry !

Epervier/BlackStaff
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -

Solo

  • member
  • Offline Offline
  • Posts: 22
Re: Skins Folder Tool updated
« Reply #13 on: April 02, 2010, 09:35:59 AM »

Another bug i haven't seen Epervier. Script corrected.
If i found time, i do tests with colors and perhaps the choice command.
To be continued.
Logged

Solo

  • member
  • Offline Offline
  • Posts: 22
Re: Skins Folder Tool updated
« Reply #14 on: April 05, 2010, 03:03:16 PM »

Some bugs fixed.
Some planes have "/" in her name. While the tool create the skin folders, an error occur and the folder is not build. This work now, the folder is build with "_" instead of "/".
Garbage lines (while line begining is "#" or ";") bug fixed.

I make some other minor adjustement like color, display arrangements, few new options on error warning........

Sorry for my poor english, my french ==> english translation is perhaps wrong. Tel me if you see some change to do or if you see some bugs, i will try to fix them (if i can  ::) ).

Solo.

Here is the new script:

Edited by Gerax: for long lists like this please use the # (code) option of the Standard Posting Options when editing the post (see the SMF-Help of this Site for further infos)  ;)

Code: [Select]
[i]@echo off

:choix
rem ****************************
rem * Menu de choix de version *
rem ****************************
cls
color 3F
set retour =
echo.
echo            ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
echo                      Welcome %username%
echo            ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
echo.
echo            ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo            º     IL2 Missing folders builder     º
echo            ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
echo            ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
echo            ³ ******* Choose your version ******* ³
echo            ³                                     ³
echo            ³  1. C6 Pack                         ³
echo            ³  2. Ultrapack original              ³
echo            ³  3. UltraPack with plane addons     ³
echo            ³  4. HSFX                            ³
echo            ³  5. AAA                             ³
echo            ³  6. Other version                   ³
echo            ³                                     ³
echo            ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
echo            ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo            º           Version choozen           º
echo            º          (1,2,3,4,5 ou 6)           º
echo            ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
set /P entre=                  Your choice  %username% ? :
echo.
echo.
if %entre% == 1 goto C6
if %entre% == 2 goto UP
if %entre% == 3 goto UPmod
if %entre% == 4 goto HSFX
if %entre% == 5 goto UPmod
if %entre% == 6 goto Autre

rem ***************************
rem *   message d'erreur      *
rem ***************************
cls
color CF
echo.
echo.
echo     ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
echo                  Incorrect choice [ %entre% ]
echo     ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
echo.
echo.
set /p retour=         Would you retry (Y/N) ? :
if %retour% == Y goto choix
if %retour% == y goto choix
cls
goto end



rem ***************************
rem * initialisation des path *
rem ***************************
:C6
set air=MODS\___Avions_nouveaux_slots\com\maddox\il2\objects\
set skins=Paintschemes\Skins
goto suite

:UP
set air=MODS\STD\com\maddox\il2\objects\
set skins=Paintschemes\Skins
goto suite

:UPmod
set air=-MODS\STD\com\maddox\il2\objects\
set skins=Paintschemes\Skins
goto suite

:HSFX
set air=\Files\com\maddox\il2\objects\
set skins=Paintschemes\Skins
goto suite

:Autre
cls
color 3F
echo.
echo   ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
echo                 air.ini file path exemple :
echo           MODS\MyPlanes\com\maddox\il2\objects\
echo   ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
echo.
set /p air=           Enter air.ini path :
echo.
echo   ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
echo                  Skin folder path exemple:
echo                      Painschemes\Skins
echo   ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
echo.
set /p skins=       Enter skins folder path:
echo.


:suite
rem ****************************
rem *   un peu de securite     *
rem ****************************
if not exist %air%air.ini goto end1
if not exist %skins% goto end2

rem ****************************
rem *   creation des dossiers  *
rem ****************************
cls
echo.
echo.
echo.
echo.
echo.
echo         ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
echo           *       Working, wait please        *
echo         ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
echo.
for /f "tokens=1" %%a in (%air%air.ini) do (echo %%a >> temp.txt)>Nul
for /f "eol=; tokens=1,2 delims=/" %%b in (temp.txt) do (if %%c neq "" echo %%b_%%c >> bis.txt)>Nul
for /f "eol=# tokens=1,2 delims=/" %%d in (temp.txt) do (if %%e equ "" echo %%d >> bis.txt)>Nul
for /f "tokens=1" %%d in (bis.txt) do ( if not exist %skins%\%%d md %skins%\%%d)>Nul

rem ****************************
rem * suppression des inutiles *
rem ****************************
cls
echo         ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
echo          *     Removing not needed folders      *
echo         ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
IF EXIST %skins%\[AIR] RD %skins%\[AIR]
IF EXIST %skins%\Durand_Yak-9T RD %skins%\Durand_Yak-9T
IF EXIST %skins%\Fabian_Bf-109G-10 RD %skins%\Fabian_Bf-109G-10
IF EXIST %skins%\Graf_Bf-109G-6 RD %skins%\Graf_Bf-109G-6
IF EXIST %skins%\Hans_Rudels_Ju-87G-2 RD %skins%\Hans_Rudels_Ju-87G-2
IF EXIST %skins%\Hartmann_Bf-109G-6 RD %skins%\Hartmann_Bf-109G-6
IF EXIST %skins%\Heppes_Bf-109G-6 RD %skins%\Heppes_Bf-109G-6
IF EXIST %skins%\Kojedubs_La-7 RD %skins%\Kojedubs_La-7
IF EXIST %skins%\Kovacs_Bf-109G-6 RD %skins%\Kovacs_Bf-109G-6
IF EXIST %skins%\Molnar_Bf-109G-6 RD %skins%\Molnar_Bf-109G-6
IF EXIST %skins%\Nowotnys_Me-262A-1a RD %skins%\Nowotnys_Me-262A-1a
IF EXIST %skins%\Pokryshkins_MiG-3 RD %skins%\Pokryshkins_MiG-3
IF EXIST %skins%\Pokryshkins_P-39N1 RD %skins%\Pokryshkins_P-39N1
IF EXIST %skins%\Rechkalovs_P-39Q15 RD %skins%\Rechkalovs_P-39Q15
IF EXIST %skins%\Safonovs_I-16_24 RD %skins%\Safonovs_I-16_24
IF EXIST %skins%\Sarvanto_DXXI RD %skins%\Sarvanto_DXXI
del temp.txt
del bis.txt
echo.
rem ******************************
rem * message de fin d'opération *
rem ******************************
echo.
echo               ******************************
echo               *    Operations finished     *
echo               *     Folders are build      *
echo               ******************************
goto end


:end1
rem ******************************
rem *   erreur de path air.ini   *
rem ******************************
cls
color CF
echo.
echo.
echo     ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
echo.
echo           Not air.ini file in folder %air% !
echo.
echo     ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
echo.
set /p retour=               Would you retry (Y/N) ? :
if %retour% == Y goto choix
if %retour% == y goto choix
cls
goto end


:end2
rem ******************************
rem *erreur de path dossier skins*
rem ******************************
cls
color CF
echo.
echo.
echo     ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
echo.
echo                         Wrong Skins folder path !
echo.
echo     ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
echo.
set /p retour=                Would you retry (Y/N) ? :
if %retour% == Y goto choix
if %retour% == y goto choix
cls

:end
rem ******************************
rem *     RAZ des variables      *
rem ******************************
echo.
echo.
color 5F
echo          ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
echo          ³     Thanks for using this tool       ³
echo          ³                                      ³
echo          ³           Epervier ^&^ Solo            ³
echo          ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
echo.
echo.
echo           ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
echo                      Hit a key to exit
echo           ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
set air=
set skins=
pause>nul
exit
[/i]

 
Logged

Solo

  • member
  • Offline Offline
  • Posts: 22
Re: Skins Folder Tool updated
« Reply #15 on: April 07, 2010, 02:24:06 PM »

Thx Gerax, i will use the correct way to post my code.

This is the last version, with bug fix and new feature.

A little bug fixed, Up original and Up modded was switched ==> fixed

New feature added ==> now the tool make a backup of removed plane skin folder, if exists, in a new \SkinBackup folder and add missing skin folders.

Minor changes, i try (my english is allready to bad) to translate the comments (rem lines) in english for those who want to see more easily what the tool is supposed to do on each step.

If you see something wrong please tell me what, i will try to correct.

Code: [Select]
@echo off

:choix
rem ****************************
rem *    Version choice menu   *
rem ****************************
cls
color 3F
set retour =
echo.
echo            ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
echo                      Welcome %username%
echo            ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
echo.
echo            ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo            º     IL2 Missing folders builder     º
echo            ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
echo            ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
echo            ³ ******* Choose your version ******* ³
echo            ³                                     ³
echo            ³  1. C6 Pack                         ³
echo            ³  2. Ultrapack 2.0 original          ³
echo            ³  3. UltraPack 2.0 with addons       ³
echo            ³  4. Ultrapack 2.01                  ³
echo            ³  5. HSFX                            ³
echo            ³  6. AAA                             ³
echo            ³  7. Other version                   ³
echo            ³                                     ³
echo            ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
echo            ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo            º           Version choozen           º
echo            º         (1,2,3,4,5,6 or 7)          º
echo            ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
set /P entre=                  Your choice  %username% ? :
echo.
echo.
if %entre% == 1 goto C6
if %entre% == 2 goto UP
if %entre% == 3 goto UPmod
if %entre% == 4 goto HSFX
if %entre% == 5 goto HSFX
if %entre% == 6 goto UPmod
if %entre% == 7 goto Autre

rem ***************************
rem *    choice menu error    *
rem ***************************
cls
color CF
echo.
echo.
echo     ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
echo                  Incorrect choice [ %entre% ]
echo     ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
echo.
echo.
set /p retour=         Would you retry (Y/N) ? :
if %retour% == Y goto choix
if %retour% == y goto choix
cls
goto end



rem ***************************
rem *   Path initialisation   *
rem ***************************
:C6
set air=MODS\___Avions_nouveaux_slots\com\maddox\il2\objects\
set skins=Paintschemes\Skins
goto suite

:UP
set air=MODS\STD\com\maddox\il2\objects\
set skins=Paintschemes\Skins
goto suite

:UPmod
set air=-MODS\STD\com\maddox\il2\objects\
set skins=Paintschemes\Skins
goto suite

:HSFX
set air=Files\com\maddox\il2\objects\
set skins=Paintschemes\Skins
goto suite

:Autre
cls
color 3F
echo.
echo   ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
echo                 air.ini file path exemple :
echo           MODS\MyPlanes\com\maddox\il2\objects\
echo   ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
echo.
set /p air=           Enter air.ini path :
echo.
echo   ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
echo                  Skin folder path exemple:
echo                      Painschemes\Skins
echo   ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
echo.
set /p skins=       Enter skins folder path:
echo.


:suite
rem ****************************
rem *     Some security        *
rem ****************************
if not exist %air%air.ini goto end1
if not exist %skins% goto end2
cls
echo.
echo.
echo.
echo.
echo.
echo         ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
echo          *      Tool at work, please wait      *
echo         ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

rem ****************************
rem *   Actual folders list    *
rem ****************************
dir %skins% /B /N >> backup.txt

rem ****************************
rem * New air.ini folders list *
rem ****************************
for /f "eol=# tokens=1" %%a in (%air%air.ini) do (echo %%a >> temp.txt)>Nul
for /f "eol=; tokens=1,2 delims=/" %%b in (temp.txt) do (if %%c neq "" echo %%b_%%c >> air.txt)>Nul
for /f "tokens=1,2 delims=/" %%d in (temp.txt) do (if %%e equ "" echo %%d >> air.txt)>Nul

rem ****************************
rem *   Building new folders   *
rem ****************************
md New
for /f "tokens=1" %%f in (air.txt) do (md new\%%f)>Nul

rem ****************************
rem *  Backup not used folders *
rem ****************************
md SkinBackup
for /f "tokens=1" %%g in (backup.txt) do (if not exist new\%%g xcopy %skins%\%%g SkinBackup\%%g /E /I /Y)>Nul
dir /B /N skinbackup >> backSkin.txt
for /f "tokens=1" %%h in (backskin.txt) do RD %skins%\%%h /S /Q >Nul

rem ****************************
rem * Copying missing folders  *
rem ****************************
xcopy new\* %skins%\* /E /I /Y >Nul

rem ****************************
rem * Removing unneeded folder *
rem ****************************
cls
echo         ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
echo          *      Removing unneeded folders      *
echo         ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
IF EXIST %skins%\[AIR] RD %skins%\[AIR]
IF EXIST %skins%\Durand_Yak-9T RD %skins%\Durand_Yak-9T
IF EXIST %skins%\Fabian_Bf-109G-10 RD %skins%\Fabian_Bf-109G-10
IF EXIST %skins%\Graf_Bf-109G-6 RD %skins%\Graf_Bf-109G-6
IF EXIST %skins%\Hans_Rudels_Ju-87G-2 RD %skins%\Hans_Rudels_Ju-87G-2
IF EXIST %skins%\Hartmann_Bf-109G-6 RD %skins%\Hartmann_Bf-109G-6
IF EXIST %skins%\Heppes_Bf-109G-6 RD %skins%\Heppes_Bf-109G-6
IF EXIST %skins%\Kojedubs_La-7 RD %skins%\Kojedubs_La-7
IF EXIST %skins%\Kovacs_Bf-109G-6 RD %skins%\Kovacs_Bf-109G-6
IF EXIST %skins%\Molnar_Bf-109G-6 RD %skins%\Molnar_Bf-109G-6
IF EXIST %skins%\Nowotnys_Me-262A-1a RD %skins%\Nowotnys_Me-262A-1a
IF EXIST %skins%\Pokryshkins_MiG-3 RD %skins%\Pokryshkins_MiG-3
IF EXIST %skins%\Pokryshkins_P-39N1 RD %skins%\Pokryshkins_P-39N1
IF EXIST %skins%\Rechkalovs_P-39Q15 RD %skins%\Rechkalovs_P-39Q15
IF EXIST %skins%\Safonovs_I-16_24 RD %skins%\Safonovs_I-16_24
IF EXIST %skins%\Sarvanto_DXXI RD %skins%\Sarvanto_DXXI
rd new /S /Q >Nul
del temp.txt
del air.txt
del backup.txt
del backskin.txt
echo.
echo.
echo               ******************************
echo               *     Operations finised     *
echo               *   The folders are build    *
echo               ******************************
goto end
:end1
rem ******************************
rem *     air.ini path error     *
rem ******************************
cls
color CF
echo.
echo.
echo     ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
echo.
echo           Not air.ini file in folder %air% !
echo.
echo     ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
echo.
set /p retour=               Would you retry (Y/N) ? :
if %retour% == Y goto choix
if %retour% == y goto choix
cls
goto end


:end2
rem ******************************
rem *  Skin folders path error   *
rem ******************************
cls
color CF
echo.
echo.
echo     ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
echo.
echo                         Wrong Skins folder path !
echo.
echo     ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
echo.
set /p retour=                Would you retry (Y/N) ? :
if %retour% == Y goto choix
if %retour% == y goto choix
cls

:end
rem ******************************
rem *   Variables go to blank    *
rem ******************************
echo.
echo.
color 5F
echo          ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
echo          ³      Thanks for using this tool      ³
echo          ³                                      ³
echo          ³           Epervier ^&^ Solo            ³
echo          ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
echo.
echo.
echo           ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
echo                      Hit a key to exit
echo           ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
set air=
set skins=
pause>nul
exit


[EDIT]

New UltraPack v2.01 choice (n°7) added
2 minor bugs fixed

[\EDIT]
Logged

saab ja26

  • member
  • Offline Offline
  • Posts: 343
Re: Skins Folder Tool updated
« Reply #16 on: August 23, 2012, 12:17:26 PM »

Thanks for this! Downloading now.
Logged
Ryzen 5 2600/Wraith Prism, 32GB RAM, Gigabyte B450 Ds3h RGB, 8gb Radeon RX 580 4TB HDD

BravoFxTrt

  • "BIGFOOT"
  • Modder
  • member
  • Offline Offline
  • Posts: 13433
  • Flying Ass Clown #13
Re: Skins Folder Tool updated
« Reply #17 on: August 23, 2012, 12:31:44 PM »

One good way to use this file is create a new Skins folder of all your aircraft, then compare your new Skins folder to your present skins folder then you can remove or delete the Skins folders of Aircraft you dont have from your present Skin Folder. Very time consuming but its much neater and finally  have only those skins for only the aircraft you physically have in your game. After which now you have a very clean skins folder! ;) Enjoy! :)
Logged
MSI R9 280X 6GB x2/Crossfire /ASUS M5A99FX PRO R2.0 Mobo/AMD FX 4170 Bulldozer 4core CPU/RAM Kingston HyperX FURY 16GB/ Corsair RM 1000WATT PSU/Windows 10 Enterprise 64bit

Spinnetti

  • member
  • Offline Offline
  • Posts: 467
Re: Skins Folder Tool updated
« Reply #18 on: September 03, 2012, 09:24:33 AM »

One good way to use this file is create a new Skins folder of all your aircraft, then compare your new Skins folder to your present skins folder then you can remove or delete the Skins folders of Aircraft you dont have from your present Skin Folder. Very time consuming but its much neater and finally  have only those skins for only the aircraft you physically have in your game. After which now you have a very clean skins folder! ;) Enjoy! :)

Great minds think alike! - Just did this... What would be cool is a .bat that would compare two directories and say what is "in a and missing in B" and visa-versa..... That would take the tedium out of it....
Logged

52Zebra

  • 52Zebra
  • Modder
  • member
  • Offline Offline
  • Posts: 184
  • Standby for incoming transmission from 52Zebra
    • 10thWorld
Re: Skins Folder Tool updated
« Reply #19 on: May 20, 2013, 10:36:30 PM »

I have two questions, How do I add a Squadron name and how can I edit an object like a quonset hut
to make it green or camo and to put a sign on it like Radio shack or Officers Club ?
Logged

SAS~Malone

  • flying as #46 with the FAC
  • Editor
  • member
  • Offline Offline
  • Posts: 14562
  • proud member of that 'other' site
Re: Skins Folder Tool updated
« Reply #20 on: May 20, 2013, 11:43:54 PM »

wow, both those questions are totally unrelated to this thread - i hope someone sees it, but you'd be better off asking that in the lounge, methinks.
Logged
.....taking fun seriously since 1968.....  8)

52Zebra

  • 52Zebra
  • Modder
  • member
  • Offline Offline
  • Posts: 184
  • Standby for incoming transmission from 52Zebra
    • 10thWorld
Re: Skins Folder Tool updated
« Reply #21 on: May 20, 2013, 11:52:06 PM »

What section should I ask those questions in ?
Logged

SAS~Malone

  • flying as #46 with the FAC
  • Editor
  • member
  • Offline Offline
  • Posts: 14562
  • proud member of that 'other' site
Re: Skins Folder Tool updated
« Reply #22 on: May 21, 2013, 01:27:55 AM »

as i said, the lounge is the best place to get the quickest relevant replies. ;)
Logged
.....taking fun seriously since 1968.....  8)

BravoFxTrt

  • "BIGFOOT"
  • Modder
  • member
  • Offline Offline
  • Posts: 13433
  • Flying Ass Clown #13
Re: Skins Folder Tool updated
« Reply #23 on: December 19, 2013, 10:48:09 AM »

Here is an old Batch file I use to copy all my aircraft Entries of Skin Folder Names, in my Air.ini, Im posting here if you want to utilise this handy little tool.

Just paste it to your  C:\Desktop\IL-2  1946\#DBW\STD\com\maddox\il2\objects\Skin4 then double click it, and it will produce a Paintschemes/Skins folder of every aircraft you have in your Air.ini 

                                                                                         
Here is a new Link to the Batch.File for Skin's Folders, Same Instructions apply!

https://www.mediafire.com/download/876fpzmq72lxt6y/Skin4.zip


                                                                                                      Cheers, "Bravo" :)
Logged
MSI R9 280X 6GB x2/Crossfire /ASUS M5A99FX PRO R2.0 Mobo/AMD FX 4170 Bulldozer 4core CPU/RAM Kingston HyperX FURY 16GB/ Corsair RM 1000WATT PSU/Windows 10 Enterprise 64bit
Pages: 1 [2] 3 4   Go Up
 

Page created in 0.081 seconds with 25 queries.