-
Content Count
243 -
Joined
-
Last visited
-
Days Won
11
Status Updates posted by AmanoJyaku
-
It's been a while, but I figured I'd drop a quick note about the NCS reverse compiler. I have, in fact, been working on it and documenting it. I needed a distraction from all that's happened over the last year and a half, which I won't get into as I don't want to spoil a day of celebration. I have some personal things that need to be done by July, so I won't have any time in May and June.
The good news is I expect to finish soon after. I've solved the problems other people have been stuck on, like recursive functions and finding structures. I need to perform extensive testing, and each test requires documentation, a review of the documentation, and identifying potential tests to perform. Additionally, as I've discovered errors in NCS files (not sure if vanilla or from mods), I also need to write a reverse compiler that can handle those errors to determine if it can produce usable output.
Long story short, I'm targeting a release date in September.
May the 4th be with you, always.
-
Glad to hear you are still chipping away. In your absence, @JCarter426 and I have taken a more brute force approach to things. JC hacked DeNCS to allow it to batch process both games and bypass certain common problems. We then manually reconstructed those that couldn't be decompiled by looking at the bytecode. We have decompiled almost all of K1's scripts in this manner, with only about a dozen or so remaining now (I've attached them if you are interested). The results are up on Github:
https://github.com/KOTORCommunityPatches/Vanilla_KOTOR_Script_Source
Most are just the straight output from DeNCS, but it also includes those that were manually cleaned up in the course of working on the Community Patches and other mods.
Things have stalled a little lately, so TSL is still somewhat incomplete. Although it didn't have quite as many issues as K1 did.
There were some interesting stats to come out of the process. Perhaps the most interesting tidbit was that - for K1 at least - seemingly all the reports of a bytecode mismatch were due to Bioware apparently using an older version of ActionStartConversation with one less variable.
-
-
That weird feeling when you're getting tons of paying work, but you really just want to finish your mod...
-
Rewriting the program again. But, this time.. wow.
-
Good wow. The old code wouldn't have passed a professional review, it had dangerous things like pointer arithmetic.
Which is fine since I'm not submitting this to an employer. But, the danger meant the program could and did develop bugs. These bugs might occur at an early phase in the reverse compilation process, but only present themselves later. This made it difficult to figure out what was wrong, and often meant fixing several layers of code.
The new code is 10% smaller, and 100% clearer. Here's an example:
Quoteint Val;
if (_at_least(CurPos, EndFile, sizeof(int)))
{
std::reverse_copy(CurPos, CurPos + sizeof(int), _to_byte_ptr(Val));return Val;
}
else { throw CurPos; }The contents of _at_least, std::reverse_copy, and _to_byte_ptr were all in one big function. Yuck.
Finally, I can get back to solving what appears to be the last two problems for the reverse compiler.
-
Where are the Kreia underwear mods??? 😭😡🤡
- Show previous comments 2 more
-
@DarthParametricIf you can just slice off her hand and add it as part of your Kreia Visible Body Models mod then we might finally be able to make the "Kreia dances for Vogga" mod.
-
It will need to wait until we get working deepfake VO generation. Then it can be part of the Kreia romance mod that @Snigaroo has been dreaming about for years.
-
Seems someone at Disney realized The Bad Batch is at its best when it's telling the core story. The last two episodes were damn good.
-
Reached level 32.
Went to Fassa to finish the pylon quest...
... He doesn't give you quest rewards once you're past level 25.
*sigh*
- Show previous comments 5 more
-
Fassa doesn't reward you for fixing the power distribution. You can get XP, but only if you choose the right option (computer skills) and do it in the right order (fix the power before speaking with Fassa or Lasavvou).
Fassa only rewards you for prioritizing the freighters, and it's based purely on your level.
I suspect the rushed development is what led to this. I don't blame Obsidian, I blame LucasArts for every obstacle they put in place (short development window, tiny budget, no access to K1 information, etc...)
-
The Bad Batch is turning out to be a bad batch. It's a shame, because it started off great.
-
Nearly finished Nar Shaddaa
Got good loot
Realized I forgot to install M4-78
... FML
-
lol I beat the game when it came out in 2004. Haven't yet beat it with RCM or M4-78, so I want to try them both.
Anyway, I backed up the saves. I can always go back to them, although starting the game with three Trandoshan swords, Krath holy armor, and Jal Shey Advisor Armor feels like cheating. The random loot generator was so good to me.
-
Just rewatched the prequel trilogy. It was worse than I remembered. George Lucas has no talent as a writer.
Star Wars must be an accident.
- Show previous comments 4 more
-
Quote
The Ewoks were originally going to be Wookies
Yeah, that's why they included that Kashyyyk fight in ROTS, a recycling of the original idea.
As to writing, remember that the OT scripts were heavily edited by other authors, mostly uncredited. For example. Again, the PT more clearly shows what Lucas was capable of when left without adult supervision.
-
Just got my second vaccine. DarthParametric, you can take your mask off. I'm not contagious anymore!!!
-
The 4th will be with you. Always.
-
I just discovered Windows 10 virtual desktops...
How have I lived without them all this time???
-
Fear of nwnnsscomp leads to anger. Anger at nwnnsscomp leads to hate. Hatred of nwnnsscomp leads to suffering.
Dammit, Yoda...
-
Reading the Purple Dragon Book, and not happy about it...
-
Compilers: Principles, Techniques, and Tools
Excellent book, actually. Just long and information-dense. I haven't had the time to play KOTOR for at least two months!!!