Skip to content

A-t-l-as/Small_scripts_in_Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Small Scripts in Python

🇵🇱 Opis

Tutaj będę wrzucać małe skrypty napisane w Pythonie, które dużo robią.

Zawartość

  • Convert_audio_to_tws
    Mały skrypt, który konwertuje audio na format TopWare Sound (.tws).
    Skrypt uruchamia proste GUI do wyboru pliku audio i dokonuje konwersji.

  • Terraforming-Png_to_grayscale
    Ten skrypt w pythonie służy do konwersji obrazków png na bitmapy .bmp w 8 bitowej skali szarości 72 dpi. Wprowadzamy input z formatem .png, a następnie output z formatem .bmp i powinno przejść. Plik wyjściowy z tego skryptu normalnie jest przyjmowany przez KnightShift.

  • Terraforming-Png_to_grayscale_gui
    Ten sam skrypt co wyżej ale z interfejsem do wyboru pliku z dysku.

  • Compare_two_directories
    Skrypt do masowego porównywania plików z dwóch katalogów.

  • Apply_border_script
    Skrypt służy do nakładania obramówek na bitmapki mapek do KnightShift. Skrypt jest o tyle intuicyjny, że zapisuje plik wynikowy do pliku .bmp o takich samych parametrach.

  • Apply_border_script_gui
    Skrypt służy do nakładania obramówek na bitmapki mapek do KnightShift. To jest ten sam skrypt co wyżej ale z interfejsem do wyboru pliku z dysku.

  • Convert_dds_to_image
    Skrypt służy do konwersji plików textur .dds do formatu .png.

  • Decompress_Zlib
    Skrypt służy do dekompresji plików spakowanych zlibem.

  • Repair_map_name_script
    Skrypty służą do pozbywania się znaków, które uniemożliwiają uruchomienie mapy w edytorze Ks.


🇬🇧 Description

Here I will post small scripts written in Python that do a lot.

Contents

  • Convert_audio_to_tws
    A small script that converts audio to TopWare Sound (.tws) format.
    The script runs a simple GUI to select an audio file and perform the conversion.

  • Terraforming-Png_to_grayscale
    This python script is used to convert png images to bmp bitmaps in 8 bit grayscale 72 dpi. Input with .png format and then output with .bmp format and it should go through. The output file from this script is normally accepted by KnightShift.

  • Terraforming-Png_to_grayscale_gui
    The same script as above, but with an interface for selecting a file from the disk.

  • Compare_two_directories
    A script for mass comparison of files from two directories.

  • Apply_border_script
    The script is used to apply borders to KnightShift map bitmaps. The script is intuitive in that it saves the resulting file to a .bmp file with the same parameters.

  • Apply_border_script_gui
    The script is used to apply borders to KnightShift map bitmaps. This is the same script as above, but with an interface for selecting a file from the disk.

  • Convert_dds_to_image
    This script is used to convert .dds texture files to .png format.

  • Decompress_Zlib
    This script is used to decompress files packed with zlib.

  • Repair_map_name_script
    These scripts are used to remove characters that prevent the map from running in the Ks editor.


Releases

No releases published

Packages

 
 
 

Contributors

Languages