th3w1zard1

Members
  • Content Count

    22
  • Joined

  • Last visited

  • Days Won

    3

th3w1zard1 last won the day on November 14

th3w1zard1 had the most liked content!

Community Reputation

15 Jedi Padawan

About th3w1zard1

  • Rank
    Jedi Apprentice

Recent Profile Visitors

1,729 profile views
  1. It do be feeling like I do more testing than actually making things. That resonated deeply with me. Thank you for sharing your experience.
  2. View File Kotor AutoTranslate Tool Translate an entire mod or KOTOR install to 80 languages using Google Translate! This is a very powerful tool that can modify TLK strings and CExoLocStrings in GFFs in bulk quickly. Simply follow the prompts, point it to the GFF/TLK/Kotor directory/whatever and have it automatically translated to the language of your choice! This tool can also create those bitmap 'font packs' that users have been using to play the game in non-released languages (Many thanks to Drazgar and DarthParametric for providing the insight into the TXI files). This means the in game text will show the correct characters when playing the game. How to use: Simply run the executable. It'll ask you many things. There are 3 actions you can do with this: Set all dialog unskippable sets all dialog found in dlgs, at the chosen path, to unskippable. Includes every node. Not recommended lol Translate Will translate All CExoLocStrings (localized strings) and TLK entries at the path to the language(s) of your choice Create Fonts Will create fonts of the chosen languages to your current directory in a folder named after the language. Just drag and drop these files to your Override folder once it completes. If you point PATH1 to a KOTOR install, it will ONLY patch the Override folder, the Modules folder, the rims folder (if exists), and the dialog.tlk file. This was a design choice to improve how long the patcher takes to finish. This includes any subfolders within the aforementioned folder names. The patched files will be in the same directory as the original files with the appended language suffixed to the end of the file. For example, 'dialog_de.tlk'. Supported filetypes/formats: TalkTable files (TLK) Any GFF file (DLG, UTC, etc) TGA/TXI (non-translateable obviously) Any capsule (ERF, MOD, etc) DBCS languages such as Japanese/Korean/Chinese might have other problems. If you are interested in testing, please reach out. This program is in beta. Please report any bugs you encounter. Source code: https://github.com/NickHugi/PyKotor/tree/master/Tools/k_batchpatcher Credit: @Cortisol for creating the PyKotor library @DarthParametric for extensive testing and feature recommendations. @Drazgar for providing a ton of knowledge in regard to the TXI/TGA font packs The project would not be possible without these awesome modders. K1-translated dialog files: dialog_sq.tlk dialog_af.tlk dialog_ar.tlk dialog_ay.tlk Submitter th3w1zard1 Submitted 11/14/2023 Category Modding Tools  
  3. View File Duplicate your modded GUIs for other resolutions If you've ever created a GUI you know how tedious it must be to create them for other resolutions and monitor sizes. This is a tool that allows you to simply input a GUI and export around new GUIs with the desired resolutions to an output folder, updating the necessary GFF fields with the correct math. A very simple CLI-based tool. Please report any bugs. Credit: Cortisol for PyKotor DarthParametric for testing and brainstorming the idea Submitter th3w1zard1 Submitted 11/14/2023 Category Modding Tools  
  4. View File Amazon Games's K1 Release sounds/movies fix As some of you know, K1 was released free on Amazon Games for Prime users recently. Unfortunately, the release is bugged and partially broken. Here are the steps to fix it: First, find out where your game is located on disk. Default path is: C:\Amazon Games\Library\Star Wars - Knights of the Old Download and extract the provided ZIP, and copy and replace those files into your game's miles folder, backing up if you ever want to revert the changes. backup and delete the following files from your miles folder: mssds3d.flt, msseax.flt, mssogg.asi **copy** mss32.dll from the miles folder into the same directory as swkotor.exe, overwriting when prompted. Back up the original if you want to revert. The Editable EXE is required from here on out, the amazon swkotor.exe will **not** work after these changes. Download it, backup swkotor.exe, and replace Remove Disable Movies=1 and Disable Sound = 1 from the swkotor.ini (or set them to 0) Your game should now have fully working audio and movies! The files provided here in the .zip are from the steam version of the game, other versions of the game have the exact same files. For some reason only the Amazon release is different. Submitter th3w1zard1 Submitted 11/17/2023 Category Modder's Resources  
  5. Version 0.0.0

    103 downloads

    As some of you know, K1 was released free on Amazon Games for Prime users recently. Unfortunately, the release is bugged and partially broken. Here are the steps to fix it: First, find out where your game is located on disk. Default path is: C:\Amazon Games\Library\Star Wars - Knights of the Old Download and extract the provided ZIP, and copy and replace those files into your game's miles folder, backing up if you ever want to revert the changes. backup and delete the following files from your miles folder: mssds3d.flt, msseax.flt, mssogg.asi **copy** mss32.dll from the miles folder into the same directory as swkotor.exe, overwriting when prompted. Back up the original if you want to revert. The Editable EXE is required from here on out, the amazon swkotor.exe will **not** work after these changes. Download it, backup swkotor.exe, and replace Remove Disable Movies=1 and Disable Sound = 1 from the swkotor.ini (or set them to 0) Your game should now have fully working audio and movies! The files provided here in the .zip are from the steam version of the game, other versions of the game have the exact same files. For some reason only the Amazon release is different.
  6. This is very accurate. I'd like to point out this is not just a Python problem, I have the same problems compiling my stuff in C#. Many users use Python because of it's flexibility and how quick it is to setup. Due to the ease it has a very abstract and a varying community. Many users do compile projects to an EXE. Enough people do this, and eventually someone compiles something purposefully malicious. Well... byte signatures within the file are going to match the only main Python compiler in existence, which of course isn't ran by a large industry like Microsoft, causing everyone to have this problem. The reason you don't hear about this happening much on other languages is due to the professional culture that usually surrounds compiled languages like C/C# and Java. Many of those are used by larger industries, school, and of course they have the funds to pay for signing. With python, you're more likely to run across, in an effort to bridge this back to gaming, indie-like development. Personal projects and quickly developed projects. It's a very pythonic language, for a lack of a better term. Languages such as C#/C take a bit of time to setup and install all the requirements. With python you can be setup and writing code in a couple of minutes. The volatile nature of pythonic culture is what causes the false positives. And there's nothing devs can really do besides shoveling money into signing their releases. You are always rolling the dice when you download something from the internet. As far as protection goes, Windows Defender is all you need. I'm serious. Maybe you worry about something you installed a few days ago and of some problems happening, so you download and run a malwarebytes scan. Perfectly normal, let it do its thing and then we remove it because Windows defender is all you need
  7. Version 0.2

    3 downloads

    If you've ever created a GUI you know how tedious it must be to create them for other resolutions and monitor sizes. This is a tool that allows you to simply input a GUI and export around new GUIs with the desired resolutions to an output folder, updating the necessary GFF fields with the correct math. A very simple CLI-based tool. Please report any bugs. Credit: Cortisol for PyKotor DarthParametric for testing and brainstorming the idea
  8. Version v0.5.1

    10 downloads

    Translate an entire mod or KOTOR install to 80 languages using Google Translate! This is a very powerful tool that can modify TLK strings and CExoLocStrings in GFFs in bulk quickly. Simply follow the prompts, point it to the GFF/TLK/Kotor directory/whatever and have it automatically translated to the language of your choice! This tool can also create those bitmap 'font packs' that users have been using to play the game in non-released languages (Many thanks to Drazgar and DarthParametric for providing the insight into the TXI files). This means the in game text will show the correct characters when playing the game. How to use: Simply run the executable. It'll ask you many things. There are 3 actions you can do with this: Set all dialog unskippable sets all dialog found in dlgs, at the chosen path, to unskippable. Includes every node. Not recommended lol Translate Will translate All CExoLocStrings (localized strings) and TLK entries at the path to the language(s) of your choice Create Fonts Will create fonts of the chosen languages to your current directory in a folder named after the language. Just drag and drop these files to your Override folder once it completes. If you point PATH1 to a KOTOR install, it will ONLY patch the Override folder, the Modules folder, the rims folder (if exists), and the dialog.tlk file. This was a design choice to improve how long the patcher takes to finish. This includes any subfolders within the aforementioned folder names. The patched files will be in the same directory as the original files with the appended language suffixed to the end of the file. For example, 'dialog_de.tlk'. Supported filetypes/formats: TalkTable files (TLK) Any GFF file (DLG, UTC, etc) TGA/TXI (non-translateable obviously) Any capsule (ERF, MOD, etc) DBCS languages such as Japanese/Korean/Chinese might have other problems. If you are interested in testing, please reach out. This program is in beta. Please report any bugs you encounter. Source code: https://github.com/NickHugi/PyKotor/tree/master/Tools/k_batchpatcher Credit: @Cortisol for creating the PyKotor library @DarthParametric for extensive testing and feature recommendations. @Drazgar for providing a ton of knowledge in regard to the TXI/TGA font packs The project would not be possible without these awesome modders. K1-translated dialog files: dialog_sq.tlk dialog_af.tlk dialog_ar.tlk dialog_ay.tlk
  9. Large work has gone into ensuring the patcher can mirror TSLPatcher 1:1. Some additional features have been added by request and some TSLPatcher bugs have been fixed. Source code can be found here: https://github.com/NickHugi/PyKotor/tree/master/pykotor/tslpatcher If you've ever wondered why TSLPatcher is throwing an error with your mod or why certain patches don't seem to be applied correctly with TSLPatcher, this is a great resource to finding the problem. If you don't understand or want to learn Python, large work has gone into documenting each function and public classes. Just read the docstrings. If you ever needed to install a TSLPatcher mod on Mac or Linux, the library will run natively (without wine) on most distros of Mac and Linux - and resolve case-sensitivity issues. The PyKotor library is the same library used for the HoloPatcher and the Holocron Toolset projects. - both are inherently cross-platform KOTOR tools. This post isn't made to be a plug to HoloPatcher or the toolset, but more a general resource for users and modders alike.
  10. Aren't the StreamWaves/StreamVoices folders just .wavs? You can already diff those by pointing it to that folder and/or wav file. To clarify, there's basic pattern recognition in there that'll look for chitin.key, dialog.tlk, and several required folders to be considered an install. if you point the differ towards two installation folders, it won't diff *every* file/folder by default as that's a lot of unwanted data to diff. It'll diff Modules, Override, and the dialog.tlk. You can *absolutely* diff any file or *any* folder with the CLI by pointing it to a non-installation folder or a specific file. If PyKotor recognizes the filetype it will use its internal methods to diff them, recursing into nested DLG lists for instance. If it doesn't recognize the file, it'll compare file hashes. Lips aren't in that v0.1.0 but they're done and will be added in v0.2.0. Let me know if there's any other filetypes I forgot.
  11. View File KotorDiff A simple CLI to easily compare KOTOR file formats. This is a very simple CLI to PyKotor. If you find TSLPatcher isn't patching the resulting files in the way you want, you can use this tool to compare your manual changes to the resulting TSLPatcher result. You can also use it to compare entire installations, directories, or single files. How to use: Simply run the executable. It'll ask you for 3 paths: PATH1 Path to the first K1/TSL install, file, or directory to diff. PATH2 Path to the second K1/TSL install, file, or directory to diff. OUTPUT_LOG File name/path of the desired output logfile (defaults to log_install_differ.log in the current directory) If you point PATH1 and PATH2 to two KOTOR installs, it will ONLY compare the Override folder, the Modules folder, the Lips folder, the rims folder (if exists), the StreamWaves/StreamVoices folder, and the dialog.tlk file. This was a design choice to improve how long the differ takes to finish. This includes any subfolders within the aforementioned folder names. Supported filetypes/formats: TalkTable files (TLK) Any GFF file (DLG, UTC, etc) Any capsule (ERF, MOD, etc) Not supported: NCS, NSS Any file format that's not supported will have its SHA256 hash compared instead. CLI Support: This is a very flexible tool. You can send it command line arguments if you would like to use it in a 3rd party tool. Run `kotordiff.exe --help` to get a full syntax. If there's an error, the exit code will be 1. If the two paths match, the exit code will be 0. If the two paths don't match, exit code will be 2. FAQ: Couldn't I just open my two files with Holocron Toolset/ERFEdit/K-GFF etc? You could, but for me it became tedious to manually compare them side by side, expanding every node etc. Leave alone completely multiple files. This tool allows you to simply input two paths and have the full differences outputted and logged. A main benefit is it'll show you the exact GFF paths that differ. Output such as `Missing struct: "EntryList\5\RepliesList\3" {contents of the struct}` has been very useful. Why is my antivirus is flagging this? This is a false-positive and there's nothing I can do. Python source scripts are compiled to executables using PyInstaller, but unfortunately some antivirus's have been known to flag anything compiled with PyInstaller this way. The problem is similar to why your browser may warn you about downloading any files with the .EXE extension. This whole tool is open source, feel free to run directly from the source script: https://github.com/th3w1zard1/PyKotor/blob/master/scripts/kotordiff/__main__.py There's a well-written article explaining why the false positives happen on their issue template: https://github.com/pyinstaller/pyinstaller/blob/develop/.github/ISSUE_TEMPLATE/antivirus.md TLDR: PyInstaller is an amazing tool, but antiviruses may flag it. This is not the fault of PyInstaller or my tool, but rather the fault of how some scummy users have chosen to use PyInstaller in the past. Please report any false positives you encounter to your antivirus's website, as reports not only improve the accuracy of everybody's AV experience overall, but also indirectly supports the PyInstaller project. Source code: https://github.com/th3w1zard1/PyKotor/blob/master/scripts/kotordiff/__main__.py Credit: @Cortisol for creating the PyKotor library (i.e., 90% of the code for this tool) Submitter th3w1zard1 Submitted 09/30/2023 Category Modder's Resources  
  12. Version v0.5.0

    9 downloads

    A simple CLI to easily compare KOTOR file formats. This is a very simple CLI to PyKotor. If you find TSLPatcher isn't patching the resulting files in the way you want, you can use this tool to compare your manual changes to the resulting TSLPatcher result. You can also use it to compare entire installations, directories, or single files. How to use: Simply run the executable. It'll ask you for 3 paths: PATH1 Path to the first K1/TSL install, file, or directory to diff. PATH2 Path to the second K1/TSL install, file, or directory to diff. OUTPUT_LOG File name/path of the desired output logfile (defaults to log_install_differ.log in the current directory) If you point PATH1 and PATH2 to two KOTOR installs, it will ONLY compare the Override folder, the Modules folder, the Lips folder, the rims folder (if exists), the StreamWaves/StreamVoices folder, and the dialog.tlk file. This was a design choice to improve how long the differ takes to finish. This includes any subfolders within the aforementioned folder names. Supported filetypes/formats: TalkTable files (TLK) Any GFF file (DLG, UTC, etc) Any capsule (ERF, MOD, etc) Not supported: NCS, NSS Any file format that's not supported will have its SHA256 hash compared instead. CLI Support: This is a very flexible tool. You can send it command line arguments if you would like to use it in a 3rd party tool. Run `kotordiff.exe --help` to get a full syntax. If there's an error, the exit code will be 1. If the two paths match, the exit code will be 0. If the two paths don't match, exit code will be 2. FAQ: Couldn't I just open my two files with Holocron Toolset/ERFEdit/K-GFF etc? You could, but for me it became tedious to manually compare them side by side, expanding every node etc. Leave alone completely multiple files. This tool allows you to simply input two paths and have the full differences outputted and logged. A main benefit is it'll show you the exact GFF paths that differ. Output such as `Missing struct: "EntryList\5\RepliesList\3" {contents of the struct}` has been very useful. Why is my antivirus is flagging this? This is a false-positive and there's nothing I can do. Python source scripts are compiled to executables using PyInstaller, but unfortunately some antivirus's have been known to flag anything compiled with PyInstaller this way. The problem is similar to why your browser may warn you about downloading any files with the .EXE extension. This whole tool is open source, feel free to run directly from the source script: https://github.com/th3w1zard1/PyKotor/blob/master/scripts/kotordiff/__main__.py There's a well-written article explaining why the false positives happen on their issue template: https://github.com/pyinstaller/pyinstaller/blob/develop/.github/ISSUE_TEMPLATE/antivirus.md TLDR: PyInstaller is an amazing tool, but antiviruses may flag it. This is not the fault of PyInstaller or my tool, but rather the fault of how some scummy users have chosen to use PyInstaller in the past. Please report any false positives you encounter to your antivirus's website, as reports not only improve the accuracy of everybody's AV experience overall, but also indirectly supports the PyInstaller project. Source code: https://github.com/th3w1zard1/PyKotor/blob/master/scripts/kotordiff/__main__.py Credit: @Cortisol for creating the PyKotor library (i.e., 90% of the code for this tool)
  13. I am sorry about all the issues caused by v0.8 I've released v0.8.4 which I've tested on k1 and k2. If anyone runs into an issue, please ensure your app says 'KOTORModSync v0.8.4' or a later version at the top.
    With mod retextures, it seems like even just adding one retexture causes all the other textures to feel very out of place. So naturally, you go searching for more, as if you're trying to solve the puzzle. While you don't see the default hilts in the game very often (hidden by the holder's hands), when you do, they are very bland and boring, and really stick out like a sore thumb in a playthrough with multiple other ai upscales and other various retextures. This mod does a great job of adding yet another piece to the puzzle. The screenshots do not do this mod justice, this retexture is great.