Author Topic: I think I broke something.  (Read 287 times)

0 Members and 1 Guest are viewing this topic.

Offline scient

Re: I think I broke something.
« Reply #15 on: February 25, 2019, 02:04:53 AM »
  • Publish
  • Is that this GitHub project?  Looks like no commits in 4 years.

    Yep, that's when I first started and realized I needed to do more work understanding internal structures before proceeding. Also, not really interesting code just some of core classes.

    Four years later, I pretty much have all the internal classes and structures mapped out. Out of the ~6000 functions, there are only about 850 I haven't been able to attribute to a class or identify original function name. There is still plenty of work to do. Example, there are a majority of class members I haven't identified other than variable type. However, I am in a good position to start working on each function. Everything ties in together. I've automated adding in the imports from my dll to a stock version of exe.

    Right now, I'm trying to completely finish read_rules() function including all the major sub-functions. This parses in alpha/x.txt and is a good starting position since it populates a lot of the structures used by the game. I think I have about 50 functions redirected at the moment to the dll. All of which have gone through rigorous testing.

    Release will include source along with exe/dll redirecting various functions to dll. Then I plan to continue targeting functions that I've patched as part of the unofficial patch (this includes so pretty large and complicated ones). After that, moving on to non-buggy code. I'm hoping to have something put together by end of March.

    Offline bvanevery

    • Emperor of the Tanks
    • Librarian
    • *
    • Posts: 2986
    • €657
    • View Inventory
    • Send /Gift
    • Allows access to AC2's quiz & chess sections for 144 hours from time of use.  You can't do without Leadship  Must. have. caffeine. -Ahhhhh; good.  
    • Planning for the next 20 years of SMACX.
    • AC Text modder Author of at least one AAR
      • View Profile
      • Awards
    Re: I think I broke something.
    « Reply #16 on: February 25, 2019, 02:21:34 AM »
  • Publish
  • Massive!  I'll take a look when my life permits.

    Offline BFG

    Re: I think I broke something.
    « Reply #17 on: March 04, 2019, 12:04:09 AM »
  • Publish
  • Well, I hate to say it but I'm not going to have the time to work on this after all.  I was hoping to do a full overhaul of the Help file, including checking every row for length and typos, but real life will prevent me from doing so anytime soon.  Is there anyone else who would be interested?

    Preferably, it would be someone who has more knowledge of the hidden mechanics than I do, and so can audit the additions made to this help file.

    EDIT: I suppose no one's in any hurry.  I will keep working on it as I have time, but it could be a looooong time before it's done.
    « Last Edit: March 04, 2019, 12:28:53 AM by BFG »


    * User

    Welcome, Guest. Please login or register.
    Did you miss your activation email?

    Login with username, password and session length

    Select language:

    * Community poll

    SMAC v.4 SMAX v.2 (or previous versions)
    14 (6%)
    XP Compatibility patch
    8 (3%)
    Gog version for Windows
    64 (27%)
    Scient (unofficial) patch
    24 (10%)
    Kyrub's latest patch
    14 (6%)
    Yitzi's latest patch
    82 (35%)
    AC for Mac
    2 (0%)
    AC for Linux
    5 (2%)
    Gog version for Mac
    9 (3%)
    No patch
    10 (4%)
    Total Members Voted: 232
    AC2 Wiki Logo

    * Random quote

    The Academician's private residences shall remain off-limits to the Genetic Inspectors. We possess no retroviral capability, we are not researching retroviral engineering, and we shall not allow this Council to violate faction privileges in the name of this ridiculous witch hunt!
    ~Fedor Petrov (Vice Provost for University Affairs)

    * Select your theme


    Facebook Comments