AmanoJyaku

Members
  • Content Count

    243
  • Joined

  • Last visited

  • Days Won

    11

Status Updates posted by AmanoJyaku

  1. 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.

    1. DarthParametric

      DarthParametric

      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.

       

      K1 NCS Non-Decompilable.7z

  2. May the Fool be with you, always

    1. Malkior

      Malkior

      Happy Atton Day!

  3. WordPress? I'd rather kiss a rancor...

  4. That weird feeling when you're getting tons of paying work, but you really just want to finish your mod...

    1. DarthParametric

      DarthParametric

      Time to sub-contract!

    2. AmanoJyaku

      AmanoJyaku

      I've exactly 0 dollars for that, not if I don't want to feel like a Czerka slaver

    3. LDR

      LDR

      I feel this in my soul.

  5. Rewriting the program again. But, this time.. wow.

    1. DarthParametric

      DarthParametric

      Is that a good wow or a bad wow?

    2. AmanoJyaku

      AmanoJyaku

      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:

      Quote

              int 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.

  6. A time of joy, this is. Of friendship. Of family.

  7. Where are the Kreia underwear mods??? 😭😡🤡

    1. Show previous comments  2 more
    2. N-DReW25

      N-DReW25

      @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.

    3. DarthParametric

      DarthParametric

      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.

    4. N-DReW25

      N-DReW25

      Now THAT I can wait for!... (In a good way)

  8. 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.

  9. 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*

    1. Show previous comments  5 more
    2. Thor110

      Thor110

      So much in this game needs fixing! I have taken note of it but I expect someone else will get around to fixing it before me.

    3. Mephiles550

      Mephiles550

      Do you not get any rewards if you just use the energy cell from the Ithorian nearby?

    4. AmanoJyaku

      AmanoJyaku

      @Mephiles550

      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...)

  10. The Bad Batch is turning out to be a bad batch. It's a shame, because it started off great.

    1. LDR

      LDR

      Yeah it's definitely been meandering as of late.

  11. Nearly finished Nar Shaddaa

    Got good loot

    Realized I forgot to install M4-78

    ... FML

    1. DarthParametric

      DarthParametric

      I'm looking forward to the redux of this status update which will be something along the lines of "Got five minutes into M4-78. Realised the magnitude of my error. Formatting my HDD and throwing the computer out the window. FML.".

    2. AmanoJyaku

      AmanoJyaku

      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.

  12. 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.

    1. Show previous comments  4 more
    2. DarthParametric

      DarthParametric

      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.

    3. N-DReW25

      N-DReW25

      Reddit would like to know your location...

  13. Just got my second vaccine. DarthParametric, you can take your mask off. I'm not contagious anymore!!!

    1. Stormie97

      Stormie97

      So, feeling any urge to buy Microsoft products?

    2. DarthParametric

      DarthParametric

      What about the other 8 or 9 billion or so?

    3. Mr Ardvark

      Mr Ardvark

      enjoy your nano machines bro 

  14. The 4th will be with you. Always.

    1. DarthParametric

      DarthParametric

      Except on the 5th.

    2. Sith Holocron

      Sith Holocron

      For those not celebrating today, we'll see you tomorrow.

      ZhbzKbA.jpg

      We have margaritas and nachos!

  15. I just discovered Windows 10 virtual desktops...

    How have I lived without them all this time???

  16. Fear of nwnnsscomp leads to anger. Anger at nwnnsscomp leads to hate. Hatred of nwnnsscomp leads to suffering.

    Dammit, Yoda...

  17. Wakanda Forever

  18. Reading the Purple Dragon Book, and not happy about it...

    1. Sith Holocron

      Sith Holocron

      What book are you referring to?

    2. AmanoJyaku

      AmanoJyaku

      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!!!

    3. AmanoJyaku

      AmanoJyaku

      Loving the Mieruko-chan manga!