Jump to content

WHAT!!!!!!!!!!!!

Members
  • Posts

    5
  • Joined

  • Last visited

  • Country

    Finland

Files posted by WHAT!!!!!!!!!!!!

  1. AI Generator 0.761 by Netyzh

    A recent version of Netyzh's AI Generator.
    (DeepL translation of Netyzh's Baidu post about it)
    Improvements to the previous 0.3 half-baked version
    Directly post the description file
    AI Code Generator v0.75
    Used to automatically read mugen's character related data to generate ai code. Handles a lot of repetitive work in ai production.
    There are 2 kinds of usage
    1 Throw ai.exe to the folder containing the character def, note that all files in the def must exist. common1.cns can be ignored.
    2 run ai.exe. the program will automatically identify the code and decode the text file, saved as utf-8 encoding, decoding failure will be read directly, or failure on the flashback.
    There will be several options
    If there are more than 1 def, it will let you choose which def file to use.
    Choose to use winmugen(use the var legacy ai switch, it will let people input a non-occupied var by themselves, default var(59)) or mugen 1.0+(use the AILevel switch directly).
    Choose whether to read helper and proj type attacks (distance is very inaccurate, too many changes in helper, all kinds of variables, and trigonometry spinning, swinging, and it's more time consuming)
    Enter aihelperID, not occupied can be, the default 33000
    Choose whether to add ai switch less than or equal to 0 in all cmd's state, limit mugen comes with ai action, default is no. If it is for ornamental use, some stateno can't recognize the attack judgment, so don't write ai switch and leave it to mugen's own ai to deal with casually, choose not to write ai switch in all states. If it is to write ai auxiliary use, it is recommended to add ai switch in all states, and modify it later.
    Anyway, if you don't understand the above, except for def, just enter all the way back to choose the default value, probably not a big problem?
    3 Wait for the message "Press enter to exit" to appear. Press enter to end the program. If the program flashes back, it means it failed to run.
    If it succeeds, aisummary.txt and some other files with the original filename + '-AI' will be generated in the directory.
    4 Check the def file with -AI and AIsummary.txt for obvious problems.
    5 First see if the stcommon in def is common1.cns, if it is and common1.cns doesn't exist in the character folder, then just copy common1.cns from the zip. If helperID is not 33000, change all the helpers (33000) in common1.cns to the aihelper ID you entered
    6 check whether the newly generated def file is normal (all files in def should exist, if the st file is larger than 10, the program will automatically merge, it only affects the files with -AI suffix, it will not affect the original file), if it is normal, load this def in select.def and test it in mugen.
    7 can do a bat file, add a pause, if the error can check the error message, save flashback nothing to see.
    The second way to do it is to download the latest version of python and install it, install the chardet package (run pip install chardet on the command line), and throw ai.py into the directory where the character def is located instead of running it as an exe. The rest of the steps are the same.
    Current problems:
    1 can not completely replace the human written ai, strength is general, best only as a secondary.
    2 character def and cns write a variety of ways, the program may fail to run.
    3 If there is ai in cmd, it must be deleted or transferred, otherwise there will be a lot of unnecessary code in the result. This means that it is better to use it for characters without ai.
    4 The moves without hitdef or reversaldef or helper in the first storedef will not be recognized, and the distance of the attack with helper will not be recognized, only the first storedef with helper with attack decision will be recognized, and important parameters will be abandoned if they are not recognized.
    5 Partial invincibility and dangling techniques can be recognized, but only those with invincibility in the 1st F will be chosen to be written into the ai.
    6 Combos are randomized.
    7 Attack distances for moves with large displacements are inaccurate.
    8 Not suitable for vicious characters that are out of fighting performance, probably, haven't tested it, but such characters don't use ai anyway.
    9 Dash, air dash, jump and other basic moves are only recognized if they are in cmd.
    v0.75
    Add proj reading
    Fixed various bugs.
    v0.7:
    Auto-coding
    Remove helper type ai switch and replace it with dissimilarity type ai switch, add AILevel, ai level adjusted to max 8, corresponding values adjusted
    Try to recognize invincibility and body
    Try to recognize helper.
    Merge too many st files
    aihelper is written directly to the file, you can customize the aihelper number.
    Fixed the problem that xscale didn't take effect
    v0.3:
    Sort by stateno from smallest to largest, except for the ritsu codes of casting techniques.
    Separate the codes for cutback, stance, and stretches.
    Fixed some bugs
    v0.2:
    Defensive codes in cns are automatically improved.
    Cut the code under stattedef-3 into aisummary.txt automatically.
    Auto generate def.
    v0.15:
    Add ai switch.
    v0.1:
    Read data function is almost complete

    4 downloads

       (0 reviews)

    0 comments

    Updated

×
×
  • Create New...