Skip to content

Latest commit

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date

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.

  • Wpk_snd_analyzer Skrypt s艂u偶acy do sprawdzenia najd艂u偶szych mo偶liwych wpis贸w w wavepackach w postaci .json (wpk)(sounds).

  • Bin_file_to_csv Skrypt s艂u偶膮cy do eksportowania surowych bajt贸w z pliku binarnego do pliku .csv. Posiada wiele przydatnych prze艂膮cznik贸w.


馃嚞馃嚙 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.

  • Wpk_snd_analyzer A script for checking the longest possible entries in WavePack files in .json format (wpk)(sounds).

  • Bin_file_to_csv A script for exporting raw bytes from a binary file to a .csv file. It has many useful options.


About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages