Skip to content

Bolche/KSELinux

Repository files navigation

KSE (KotOR Savegame Editor) for Linux

This is a port of the original KSE by tk102 for Linux. Some assembly required. You can find the original in https://gitlab.com/kotorsge-team/kse

This is a quick-and-dirty hack made in a few hours. Probably there are errors. I just wanted to fix a small mistake in an ongoing save of KOTOR2 and spend a few hours messing with the original source code until it stopped showing errors. I'm sure there are omissions and missing features, but it worked enough for me and I thought it could be useful for someone else. No guarantee it will work for you.

It may also work on Mac OS if you mess with some paths.

Setting up

You need a up-to-date Perl5 installation. Most Linux distros come with one.

  1. Download this repository
  2. Create the file kse.ini in the directory your_home_dir/.config/kse/. You can use the file kse.ini.sample as a starting point

Note: KPF, the program that generates this file on Windows, can be easily compiled for Linux, but it usually gets the paths wrong and is uneeded for this hack.

  1. Install the needed perl modules, either with CPAN or with your repository's package manager. Most are shown in the original README (bellow), but I had to install some other modules not cited there. If you get an error about missing modules when you try to run, try to install it with CPAN. Obviously, ignore any module that start with "Win32".
  2. On the root of this repository, run perl -I. kse.pl

Running

Just execute perl -I. kse.pl on the root folder of this repository.

The original README.md follows.


KSE (KotOR Savegame Editor)

KSE is the save editor for KotOR and KotOR 2. This repository houses KSE's source code.

KSE on DeadlyStream

Building KSE

In order to build KSE, Perl5 and Qt are both required. Perl for KSE, and Qt for KPF. For best results, use Perl v5.28.1 (x64) and Qt 5.11.2 (MSVC 2017 x64)

KSE requires quite a few perl modules, so install all of the following using the cpan command. If any fail, try downloading a package from metacpan website and building it yourself.

The following modules are needed for KSE to run and build properly

With all perl modules installed and Qt installed (msvc2017) run build.bat to build KSE and KPF. clean.bat will clean KSE and KPF.

Building will output all binaries to a new dist\ directory, which can be used for distributing KSE.

Building a Perl Module Package

To build a module package from cpan, open a command line in the folder with the module's source, making sure perl works and run:

$ perl Makefile.PL
$ gmake
$ gmake install

Contributors

  • FairStrides - Current lead dev
  • Pazuzu156 - Current KSE/KPF dev
  • Chev Chelios - Original KPF author
  • tk102 - Original KSE author

About

KOTOR Save Game Editor for Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published