Jump to content

Home

KotOR and KotOR2 Savegame Editor (KSE) - Current Version: 3.3.3


tk102

Recommended Posts

@eagle235: I tell almost everyone to make a kse.log file -- KSE should report the number of bytes it successfully wrote to the hard disk with each "Commit Changes" button press. See post #846 above.

Link to comment
Share on other sites

  • Replies 1.2k
  • Created
  • Last Reply

thanks tk. Didn't know which of the previous posts would apply to my "issue" since I'm just a lowly fan and not a modder. /end self deprecation/ I'll try that when I get home from class today. Any other specifics I will post later. Thanks again!

 

EDIT:

 

At home now. Made kse.log, but wasn't prompted to change the extension. tried implementing changes with kse.log on desktop and later in kse file, but no bytes were reported to kse.log. Also, in my savegame file, all the files are read only, even though i try to change that. finally, whenever I hit the commit changes button, kse reports a successful save but nothing changes. Next step?

Link to comment
Share on other sites

he kse.log file should be in the same folder as KSE. If nothing is being written to it, there is something wrong.

 

If the savegame files are truly read-only, KSE should throw an error that says "Could not open file for writing" as a message box on your screen. :confused: At least that what it does for me on Win2K.

 

You might also try running KSE as administrator.

Link to comment
Share on other sites

kse.log is in the same folder as KSE. tried changing my name, and nothing went into kse.log. note that within kse itself, my changes remain from the last time I made changes. also, the entire saves folder is read only and unchecking the box has no effect, as it reverts when closed. How can I run KSE as an admin?

Link to comment
Share on other sites

Is KSE.log also readonly for some reason?

 

Create a shortcut for KSE and right-click on the shortcut to bring up its properites. There should be a checkbox or something that says "Run as Administrator". Then launch KSE using the shortcut.

Link to comment
Share on other sites

any more input, tk, or am i simply screwed?
The kse.log file should be in the same folder as KSE. If nothing is being written to it, there is something wrong.

I'm suspicious that your kse.log file might actually be named kse.log.txt. Delete it and follow these steps:

 

1. Open Notepad.

2. Choose File: Save As... "kse.log" (be sure to use the quotation marks!)

3. Exit notepad

Link to comment
Share on other sites

Mind if I make a feature suggestion? How about the ability to edit enemies?

Interesting idea. Each savegame contains a separate .sav file for each module. Inside each module is a .are, a .git, and an .ifo file. The .ifo file of the current module is what KSE typically tweaks. Your suggestion would involve changing the .git file instead.

 

I'm currently not planning any future releases of KSE under Perl/Tk due to the complexity it has introduced. The next KSE, v4.0.0, will be use Win32::GUI modules to make the application look and respond in a more Windows-native fashion. This will require a major rewrite. I'll keep your suggestion in mind. Thank you for it. :)

Link to comment
Share on other sites

I'm suspicious that your kse.log file might actually be named kse.log.txt. Delete it and follow these steps:

 

1. Open Notepad.

2. Choose File: Save As... "kse.log" (be sure to use the quotation marks!)

3. Exit notepad

 

it is indeed, tk. now it is showing that bites are being written, etc., but no effects take place in game.

 

05-16-2007 17:52:18 KSE startup v3.3.3

05-16-2007 17:52:18 KSE found KotOR2 saves directory in C:\Program Files\LucasArts\SWKotOR2

05-16-2007 17:52:25 #2#000002 - Game1 clicked

05-16-2007 17:52:25 Populating Level1 for #2#000002 - Game1

05-16-2007 17:52:26 Populating Feats: #2#000002 - Game1#Feats

05-16-2007 17:52:26 Populating Journal for #2#000002 - Game1

05-16-2007 17:52:27 #2#000002 - Game1#FirstName clicked

05-16-2007 17:52:27 #2#000002 - Game1#FirstName clicked

05-16-2007 17:52:29 Committing changes for 000002 - Game1

05-16-2007 17:52:29 Partytable updated. 34911 bytes written.

05-16-2007 17:52:29 Savenfo updated. 1032 bytes written.

05-16-2007 17:52:29 C:\Program Files\LucasArts\SWKotOR2\saves\000002 - Game1\savegame.sav written (6032320 bytes total)

05-16-2007 17:52:29 Scalar of tmpsig is 0

05-16-2007 17:53:20 #2#000002 - Game1#Attributes clicked

05-16-2007 17:53:20 #2#000002 - Game1#Attributes clicked

05-16-2007 17:53:21 #2#000002 - Game1#Attributes clicked

05-16-2007 17:53:22 #2#000002 - Game1#Attributes#STR clicked

05-16-2007 17:53:22 #2#000002 - Game1#Attributes#STR clicked

05-16-2007 17:53:23 Committing changes for 000002 - Game1

05-16-2007 17:53:23 Partytable updated. 34911 bytes written.

05-16-2007 17:53:23 Savenfo updated. 1032 bytes written.

05-16-2007 17:53:23 C:\Program Files\LucasArts\SWKotOR2\saves\000002 - Game1\savegame.sav written (6032320 bytes total)

05-16-2007 17:53:23 Scalar of tmpsig is 0

05-16-2007 17:53:44 ---------Termination---------

05-16-2007 17:56:08 KSE startup v3.3.3

05-16-2007 17:56:08 KSE found KotOR2 saves directory in C:\Program Files\LucasArts\SWKotOR2

05-16-2007 17:56:14 #2#000002 - Game1 clicked

05-16-2007 17:56:14 Populating Level1 for #2#000002 - Game1

05-16-2007 17:56:14 Populating Feats: #2#000002 - Game1#Feats

05-16-2007 17:56:14 Populating Journal for #2#000002 - Game1

05-16-2007 17:56:16 #2#000002 - Game1#FirstName clicked

05-16-2007 17:56:16 #2#000002 - Game1#FirstName clicked

05-16-2007 17:56:19 Changing player name to Daynn Kuk

05-16-2007 17:56:21 #2#000002 - Game1#Attributes clicked

05-16-2007 17:56:23 #2#000002 - Game1#NPCs clicked

05-16-2007 17:56:23 AVAILNPC0 read into memory 33467 bytes). Parsing module

05-16-2007 17:56:23 AVAILNPC6 read into memory 24013 bytes). Parsing module

05-16-2007 17:56:23 AVAILNPC8 read into memory 353763 bytes). Parsing module

05-16-2007 17:56:25 #2#000002 - Game1#Globals clicked

05-16-2007 17:56:26 #2#000002 - Game1#NPCs#NPC0 clicked

05-16-2007 17:56:31 #2#000002 - Game1#NPCs#NPC6 clicked

05-16-2007 17:56:31 --- Power: Burst of Speed

05-16-2007 17:56:31 --- Power: Energy Resistance

05-16-2007 17:56:31 --- Power: Fear

05-16-2007 17:56:31 --- Power: Force Camouflage

05-16-2007 17:56:31 --- Power: Force Push

05-16-2007 17:56:31 --- Power: Shock

05-16-2007 17:56:31 --- Power: Stun Droid

05-16-2007 17:56:31 --- Power: Disable Droid

05-16-2007 17:56:31 --- Power: Heal

05-16-2007 17:56:34 #2#000002 - Game1#NPCs#NPC8 clicked

05-16-2007 17:56:36 #2#000002 - Game1#NPCs#NPC8#Classes clicked

05-16-2007 17:56:37 #2#000002 - Game1#NPCs#NPC8#Classes#Class0 clicked

05-16-2007 17:56:45 #2#000002 - Game1#NPCs#NPC8#Classes#Class1 clicked

05-16-2007 17:56:51 #2#000002 - Game1#Classes clicked

05-16-2007 17:56:51 Populating Classes: #2#000002 - Game1#Classes

05-16-2007 17:56:51 -- Jedi Guardian Level: 7

05-16-2007 17:56:51 --- Power: Precognition

05-16-2007 17:56:51 --- Power: Affect Mind

05-16-2007 17:56:51 --- Power: Stun Droid

05-16-2007 17:56:51 --- Power: Force Push

05-16-2007 17:56:51 --- Power: Burst of Speed

05-16-2007 17:56:51 --- Power: Disable Droid

05-16-2007 17:56:51 --- Power: Dominate Mind

05-16-2007 17:56:52 #2#000002 - Game1#Classes#Class0 clicked

05-16-2007 17:56:54 #2#000002 - Game1#Classes#Class0 clicked

05-16-2007 17:56:54 #2#000002 - Game1#Classes#Class0 clicked

05-16-2007 17:56:57 #2#000002 - Game1#Classes clicked

05-16-2007 17:56:57 #2#000002 - Game1#Classes clicked

05-16-2007 17:56:59 #2#000002 - Game1#Classes#Class0 clicked

05-16-2007 17:56:59 #2#000002 - Game1#Classes#Class0 clicked

05-16-2007 17:57:14 Committing changes for 000002 - Game1

05-16-2007 17:57:14 Partytable updated. 34911 bytes written.

05-16-2007 17:57:14 Savenfo updated. 1032 bytes written.

05-16-2007 17:57:14 GLOBALVARS.res updataed. 52338 bytes written.

05-16-2007 17:57:14 Writing AVAILNPC8.utc

05-16-2007 17:57:15 C:\Program Files\LucasArts\SWKotOR2\saves\000002 - Game1\savegame.sav written (6032368 bytes total)

05-16-2007 17:57:15 Scalar of tmpsig is 0

05-16-2007 17:57:21 #2#000002 - Game1 clicked

05-16-2007 17:58:06 #2#000002 - Game1 clicked

05-16-2007 17:58:07 #2#000002 - Game1#Attributes clicked

05-16-2007 17:58:07 #2#000002 - Game1#Attributes clicked

05-16-2007 17:58:08 #2#000002 - Game1#Attributes#STR clicked

05-16-2007 17:58:08 #2#000002 - Game1#Attributes#STR clicked

05-16-2007 17:58:10 Changing STR value to 99 using field # Str

05-16-2007 17:58:11 #2#000002 - Game1#Attributes#DEX clicked

05-16-2007 17:58:11 #2#000002 - Game1#Attributes#DEX clicked

05-16-2007 17:58:11 Changing DEX value to 99 using field # Dex

05-16-2007 17:58:12 #2#000002 - Game1#Attributes#CON clicked

05-16-2007 17:58:12 #2#000002 - Game1#Attributes#CON clicked

05-16-2007 17:58:13 Changing CON value to 99 using field # Con

05-16-2007 17:58:14 #2#000002 - Game1#Attributes#INT clicked

05-16-2007 17:58:14 #2#000002 - Game1#Attributes#INT clicked

05-16-2007 17:58:15 Changing INT value to 99 using field # Int

05-16-2007 17:58:16 #2#000002 - Game1#Attributes#WIS clicked

05-16-2007 17:58:16 #2#000002 - Game1#Attributes#WIS clicked

05-16-2007 17:58:17 Changing WIS value to 99 using field # Wis

05-16-2007 17:58:18 #2#000002 - Game1#Attributes#CHA clicked

05-16-2007 17:58:18 #2#000002 - Game1#Attributes#CHA clicked

05-16-2007 17:58:19 Changing CHA value to 50 using field # Cha

05-16-2007 17:58:20 #2#000002 - Game1#CurrentParty clicked

05-16-2007 17:58:20 #2#000002 - Game1#CurrentParty clicked

05-16-2007 17:58:20 #2#000002 - Game1#CurrentParty clicked

05-16-2007 17:58:27 Committing changes for 000002 - Game1

05-16-2007 17:58:27 Partytable updated. 34911 bytes written.

05-16-2007 17:58:27 Savenfo updated. 1032 bytes written.

05-16-2007 17:58:27 GLOBALVARS.res updataed. 52338 bytes written.

05-16-2007 17:58:28 Writing AVAILNPC8.utc

05-16-2007 17:58:28 C:\Program Files\LucasArts\SWKotOR2\saves\000002 - Game1\savegame.sav written (6032368 bytes total)

05-16-2007 17:58:28 Scalar of tmpsig is 0

05-16-2007 17:58:50 #2#000002 - Game1#Attributes clicked

05-16-2007 17:58:51 #2#000002 - Game1#NPCs#NPC0 clicked

05-16-2007 17:58:52 #2#000002 - Game1#NPCs#NPC6 clicked

05-16-2007 17:58:53 #2#000002 - Game1#NPCs#NPC8 clicked

05-16-2007 17:58:54 #2#000002 - Game1#NPCs clicked

05-16-2007 17:58:58 #2#000002 - Game1#Classes#Class0 clicked

05-16-2007 17:59:02 #2#000002 - Game1#Credits clicked

05-16-2007 17:59:02 #2#000002 - Game1#Credits clicked

05-16-2007 17:59:03 Changing Credits to 999999999

05-16-2007 17:59:09 #2#000002 - Game1#NPCs clicked

05-16-2007 17:59:11 #2#000002 - Game1#NPCs#NPC8 clicked

05-16-2007 17:59:14 #2#000002 - Game1#NPCs#NPC8#Classes#Class1 clicked

05-16-2007 17:59:14 #2#000002 - Game1#NPCs#NPC8#Classes#Class1 clicked

05-16-2007 17:59:18 #2#000002 - Game1#NPCs#NPC8#Classes clicked

05-16-2007 17:59:18 #2#000002 - Game1#NPCs#NPC8#Classes clicked

05-16-2007 17:59:19 #2#000002 - Game1#NPCs#NPC8#Classes#Class0 clicked

05-16-2007 17:59:19 #2#000002 - Game1#NPCs#NPC8#Classes#Class0 clicked

05-16-2007 17:59:20 #2#000002 - Game1#NPCs#NPC8#Classes#Class1 clicked

05-16-2007 17:59:20 #2#000002 - Game1#NPCs#NPC8#Classes#Class1 clicked

05-16-2007 17:59:21 #2#000002 - Game1#NPCs#NPC8#Classes#Class1#Level clicked

05-16-2007 17:59:21 #2#000002 - Game1#NPCs#NPC8#Classes#Class1#Level clicked

05-16-2007 17:59:27 Changing Level value to 6 using field # Level

05-16-2007 17:59:29 Committing changes for 000002 - Game1

05-16-2007 17:59:29 Partytable updated. 34911 bytes written.

05-16-2007 17:59:29 Savenfo updated. 1032 bytes written.

05-16-2007 17:59:30 GLOBALVARS.res updataed. 52338 bytes written.

05-16-2007 17:59:30 Writing AVAILNPC8.utc

05-16-2007 17:59:30 C:\Program Files\LucasArts\SWKotOR2\saves\000002 - Game1\savegame.sav written (6032368 bytes total)

05-16-2007 17:59:30 Scalar of tmpsig is 0

05-16-2007 17:59:52 ---------Termination---------

Link to comment
Share on other sites

05-16-2007 17:52:18 KSE startup v3.3.3

05-16-2007 17:52:18 KSE found KotOR2 saves directory in C:\Program Files\LucasArts\SWKotOR2

...

05-16-2007 17:52:29 C:\Program Files\LucasArts\SWKotOR2\saves\000002 - Game1\savegame.sav written (6032320 bytes total)

...

05-16-2007 17:53:23 C:\Program Files\LucasArts\SWKotOR2\saves\000002 - Game1\savegame.sav written (6032320 bytes total)

...

05-16-2007 17:56:19 Changing player name to Daynn Kuk

...

05-16-2007 17:57:15 C:\Program Files\LucasArts\SWKotOR2\saves\000002 - Game1\savegame.sav written (6032368 bytes total)

...

05-16-2007 17:58:28 C:\Program Files\LucasArts\SWKotOR2\saves\000002 - Game1\savegame.sav written (6032368 bytes total)

...

05-16-2007 17:59:30 C:\Program Files\LucasArts\SWKotOR2\saves\000002 - Game1\savegame.sav written (6032368 bytes total)

This log file looks perfectly fine to me. You see how the file size changed when you changed your name? That's correct... the other changes merely modified values without adding/subtracting bytes so the file size stayed the same.

 

Check the file timestamp of C:\Program Files\LucasArts\SWKotOR2\saves\000002 - Game1\savegame.sav

is it recent or old?

 

Are you sure you're loading "Game1" in KotOR?

 

Are you attempting to modify a game while you have KotOR running in the background? (that's a no-no)

Link to comment
Share on other sites

I don't know firsthand how Perl performs on Vista, but I can tell you that it is attempting an unbuffered file write operation that is returning successfully with the number of bytes that it thinks it has actually written (link).

 

If KotOR can successfully save over the top of that slot, KSE should be able to as well.

 

Can you not change the files from being read-only?

Link to comment
Share on other sites

Interesting idea. Each savegame contains a separate .sav file for each module. Inside each module is a .are, a .git, and an .ifo file. The .ifo file of the current module is what KSE typically tweaks. Your suggestion would involve changing the .git file instead.

 

I'm currently not planning any future releases of KSE under Perl/Tk due to the complexity it has introduced. The next KSE, v4.0.0, will be use Win32::GUI modules to make the application look and respond in a more Windows-native fashion. This will require a major rewrite. I'll keep your suggestion in mind. Thank you for it. :)

Thanks for that and can't wait tell the next version, this program is pretty cool. :)

Link to comment
Share on other sites

tk: i have been informed that vista has 7 layers fo security to it, and that as an admin I can only access the bottom 4, whle tsl can obviously access a higher one. for whatever reason, kse cannot access the files either. if you've run across anyone with a solution to this, let me know, cuz no one I know has. by the way, vista:blast5:

Link to comment
Share on other sites

Let me start by saying thanks for a great tool. I had never used KSE until a few days ago, when I tried to solve a problem with my current savegame. I'm still having trouble, and I'm looking for any ideas on how to fix it. I apologize if this is the wrong place to post this. Please direct me to the appropriate place if that is the case.

 

I recently started playing KOTOR again (for probably the dozenth time), and I decided to give Weapons of the Old Republic a try. I installed it before starting my new game (this was a fresh KOTOR 1.03 install, too), and everything seemd to be working fine. However, once I was ready to

leave the Unknown World for the Star Forge,

I started having problems. As soon as I clicked on

the Star Forge on the galaxy map,

the game would freeze. Specifically, the screen would go blank and I'd just see the KOTOR mouse cursor. I could hear the music from the in-game cutscene

where Carth contacts Admiral Dodonna

as well. The game wouldn't continue past that point. I decided that WotOR might be responsible, so I left the Ebon Hawk and found a container where I could dump all of my WotOR items. Once I had done that, I removed the mod (by clearing my override folder). In addition, I tried reinstalling the game to make sure no other files were affected by the mod (I believe "dialog.tlk" is changed by the mod too). However, I still had the same problem. I had noticed that one item had stayed in my inventory

(Ajunta Pall's sword)

. I wasn't able to drop it (probably because it was a quest item), so I thought that might be the culprit. I downloaded KSE and removed the item from my inventory. I then removed the mod and reinstalled KOTOR again. Now I could proceed, but not past the end of the previously not working cutscene. Once it's done, I get a black screen and a Windows error telling me KOTOR caused an error and has to be closed. Since then, I have tried numerous things to troubleshoot my problem. First, I unequipped everything from everyone in my party, and removed my entire inventory via KSE. No dice. I then tried removing all my quests, in case that was the problem. I still get the same error.

The only thing I haven't tried at this point is changing my global variables. However, I don't know much about them. Does anyone have any tips on how to proceed? I'd be willing to use a cheat to skip to the next area too, but I don't think there's a way to do that.

 

There is one other thing that may be a factor here.

 

Before I installed KSE, I dumped my WotOR-modified items in a container at The One's compound. Those items are therefore still in my game, but in a map that shouldn't be accessed during the transition to the Star Forge (I don't remember what happens after Carth's transmission to Dodonna, but I think it shows the Ebon Hawk flying to the Star Forge via a cutscene, then the actual Star Forge area is loaded). I think my game crashes if I leave the Ebon Forge and go back to The One's compound, because it can't load the items in the container there. If it will help, I can reinstall WotOR, pick up those items, use KSE to remove them, then uninstall WotOR again. But I don't think that's a factor.

 

Link to comment
Share on other sites

Actually that sounds just like this problem. I've looked at the decompiled scripts for that cutscene and haven't been able to determine the cause of the problem. At least one other person mentions WotOR, but I don't believe Gavroche had the mod installed.

:giveup:

Link to comment
Share on other sites

Actually that sounds just like this problem. I've looked at the decompiled scripts for that cutscene and haven't been able to determine the cause of the problem. At least one other person mentions WotOR, but I don't believe Gavroche had the mod installed.

:giveup:

That might be the case, but as I said, I got past the problem he ran into. I'm getting that cutscene fine now. The game crashes when the cutscene is done though.

 

 

By the way, as I already mentioned, I removed all of my inventory items. It's really funny to see Carth calling in the cavalry (Dodonna) in his underwear. :p

 

 

 

Anyway, thanks for trying to help. If I can't figure this out, I might just go on to TSL (I was in the mood to play both again, so I was going to play through TSL again as soon as I finished KOTOR). It's frustrating to get right up to the last area in the game and have to stop playing though. :mad:

Link to comment
Share on other sites

Personaly I'd like to see checkboxes that cover the following.

 

Select All Feets

 

Select All Powers

 

Select All Items.

 

Max All Feets/Atributes (all the above functions avail9ible for Both PC and NPC charecters)

Link to comment
Share on other sites

I'm having a problem with KSE after downloading Shem's Super-Enhanced Mod for TSL. Every time I open KSE, it encounters an error. At first, I thought it was because I mixed up baseitems.2da, but now I have the right .2da and it still encounters an error. My TSL save it right at the beginning, right after my Exile gets out of the kolto tank. I don't remember having this problem before, so I am stumped. The only other mods I installed so far since I had to re-install my TSL game are the Prequel Sabers and Ultimate Sound Mod, as well as the update patch.

Link to comment
Share on other sites

I bypassed my issue by warping to the next area of the game. I didn't encounter any side effects (I guess any global variables had already been set), and was able to finish the game after that single warp. Once again, thanks tk102 for trying to help. I'm now playing TSL again, with a few mods. I'll be sure to bug everyone again if I run into any other problems. :p

Link to comment
Share on other sites

  • 4 weeks later...
I'm having a problem with KSE after downloading Shem's Super-Enhanced Mod for TSL. Every time I open KSE, it encounters an error. At first, I thought it was because I mixed up baseitems.2da, but now I have the right .2da and it still encounters an error. My TSL save it right at the beginning, right after my Exile gets out of the kolto tank. I don't remember having this problem before, so I am stumped. The only other mods I installed so far since I had to re-install my TSL game are the Prequel Sabers and Ultimate Sound Mod, as well as the update patch.

 

I'm having the same problem. Standard windows "this program has crashed" stuff.

 

I read through a couple of posts on this page and resolved that Shem's Super Enhanced mod is the probable cause for it(as its the only one that modifies spells.2da)

I removed spells, skills, and baseitems 2da's from both override folders and replace skills and baseitems in both, which allowed KSE to run. At that point i placed spells.2da back into KoTOR's override. KSE still worked, however once i placed spells.2da back into KoTORII's override it gave me the error once again. I can only theorize that something about my TSL spells.2da is making KSE hate it to no end.

 

and in case you want to have a look at the spells.2da for TSL that i'm using(which is causing KSE to not like me or the game.)

 

Link to .rar file:

http://files.filefront.com//;7879222;;/

 

Link to .zip file:

http://files.filefront.com//;7879218;;/

 

 

I wasn't sure which file format you were used to so I included both. Hope this helps in resolving this issue for myself and others like SykoRevan

Link to comment
Share on other sites

I'm having the same problem. Standard windows "this program has crashed" stuff.

 

and in case you want to have a look at the spells.2da for TSL that i'm using(which is causing KSE to not like me or the game.)

That spells.2da works fine with my savegames. Strange that you are seeing a Windows error, and not a KSE error.

 

Make a kse.log file in the same directory as KSE and try it again. Then PM me the contents of the kse.log.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...