One of the users asked me how to run it and only now I noticed that there was a problem with running the application in Explorer.
Instead of Explorer, I use Total Commander with administrator rights and if the del2.exe file was previously copied to the Windows directory, all I need to do is go to the folder with the add-on, type del2 and press Enter.
But when I do something similar in Explorer, the application starts with errors. Either it lacks administrator rights or it doesn't run in the add-on directory. For now, I don't know how to conveniently solve this.
For now, the only solution is to first copy the del2.exe file in Explorer to the directory with the add-on, and then right-click its icon and select Run as Administrator.
I don't know if I'll find time to deal with it today. I apologize for the problems.
In the latest update, the liveries list also displays the folder size at the end of each livery line. However, I recommend deleting only those liveries that are smaller in size and not deleting the largest ones. This may prevent us from deleting liveries that share textures with other liveries.
--------------------------------------------------------------
App facilitates managing liveries for a specific aircraft add-on. Upon execution, it presents a numbered list of available liveries found within the aircraft's liveries directory. Users can select a livery by inputting the corresponding number.
Upon selection, the app displays a thumbnail image of the chosen livery. When the user closes the thumbnail, he will be asked if he confirms the deletion. With any key other than Y, the user can cancel and return to the list.
If confirmed, the app deletes the livery along with its associated files and updates the livery list accordingly. Users can then continue browsing and deleting liveries as needed.
Execution:
To utilize the app, place it in a directory listed in the system's PATH variable for convenient access from any location. Navigate to the directory containing the liveries of the target aircraft using Windows Explorer, where the aircraft.cfg file is located. Then, in the Explorer's address bar, type "del2", and press Enter. IMPORTANT: Turns out this doesn't work in Windows Explorer. This method only works in Total Commander (or similar) with administrator rights.
For now, the only solution is to first copy the del2.exe file in Explorer to the directory with the add-on, and then right-click its icon and select Run as Administrator.
You can place the app file in C:\Windows\System32. You can also add your own directory to the PATH environment variable and place the app file there. Then the system will know where to look for the script when you want to invoke it. You can also place the file in the directory where liveries is located immediately before use and run it from there. Although that will be a bit of a hassle.
The zipped file also includes the del2.py source file, written in Python. You can compile it yourself and then use it.
Due to the lack of a similar program, I wrote it for myself and thought of sharing it. It has simple protections against idiotic user actions, but it is not a stable, well-tested version.
NOTE: Sometimes developers place a livery in a 'texture' folder used to share textures with other liveries. If the developer does this, such a directory will also be displayed in the script. So do not delete the folder "Texture", "Texture.base", "Texture.share".
8 days ago
8 days ago
skandalsky
AMEC1987
16 days ago
16 days ago
skandalsky
deHavilland
Piet de Geus
Netherlands
17 days ago
17 days ago
skandalsky
degeuspiet
20 days ago
18 days ago
skandalsky
leoleo12321
21 days ago
20 days ago
skandalsky
leoleo12321
1) Is there any possibility to delete the texture folders with your program? As far as I can see, only the aicraft.cfg file is corrected but the texture folders themselves are not removed. This must be done manually!
2) I unfortunately do not understand " Then, in the Explorer's address bar, type the full name of the script including the extension - "del2.py", and press Enter." Maybe you can give a fictitious example step by step? I have used placing the two files del2.exe and del2.py in the respective folder where aircraft.cfg is and it works.
3) Is there any way to remove multiple textures at once in your command file instead of one at a time? If so: what would such a command look like?
1 months ago
1 months ago
skandalsky
imb12
1 months ago
1 months ago
skandalsky
pgilbr