When's Melty on Steam?
ahaha that's no--wait, what?

Author Topic: [Yet useless] Comedit, Melty AI tool [help!]  (Read 10523 times)

0 Members and 1 Guest are viewing this topic.

Offline abitofBaileys

  • zzz
  • Germaniac
  • *****
  • Posts: 2036
  • Magic Circuits: 159
    • View Profile
[Yet useless] Comedit, Melty AI tool [help!]
« on: June 21, 2010, 04:50:43 AM »
It was on the Melty ISO and I don't know what this is because I don't read moonspeak.



http://npshare.de/files/98d8dfa8/comedit2.png
http://npshare.de/files/94bdd353/comedit3.png
http://npshare.de/files/d410675a/comedit4.png

It's 45MB large.

:mystery:
« Last Edit: June 24, 2010, 01:16:24 AM by Rowanism »

Offline BurstOfAnger

  • Spellcaster
  • ***
  • Posts: 635
  • Magic Circuits: 13
  • Vatista's chest is 1 inch larger than Linne's
    • View Profile
Re: Comedit, moonspeak, what
« Reply #1 on: June 21, 2010, 05:18:40 AM »
I can't read the more complex ones but the ones that are in abundance are "nanimoshinai" which I assume in this context means "doesn't do anything"...
Immortalize! 1st Clause! DIVIDE!

Waldstein is pronounced wa-REN-shu-tain. French Bread trollin'.

Offline abitofBaileys

  • zzz
  • Germaniac
  • *****
  • Posts: 2036
  • Magic Circuits: 159
    • View Profile
Re: Comedit, moonspeak, what
« Reply #2 on: June 21, 2010, 05:26:05 AM »
So the prog doesn't do anything? :V

Offline Legendary Blue Shirt

  • Spellcaster
  • ***
  • Posts: 560
  • Magic Circuits: 170
  • Meanie
    • View Profile
    • Logical Bends
Re: Comedit, moonspeak, what
« Reply #3 on: June 21, 2010, 07:25:31 AM »
Requesting more details, where exactly was this?

Offline Erkz

  • Spellcaster
  • ***
  • Posts: 241
  • Magic Circuits: 127
  • ▄█ ' M ▒░
    • View Profile
Re: Comedit, moonspeak, what
« Reply #4 on: June 21, 2010, 10:31:06 AM »
If I remember correctly, it's the moveset editor.

Open a CPF [at least I think it was CPF] file from an older version of Melty with it and you'll get the idea.

I believe you use it to set things like blockstun, damage, the conditions for using a move, guard gauge damage and stuff like that.
"That's fine. That too is our way of the 'Night Sword'. Advancing even over mountains and rivers of corpses."

Offline ehrik

  • Magus
  • *****
  • Posts: 1555
  • Magic Circuits: 144
    • View Profile
Re: Comedit, moonspeak, what
« Reply #5 on: June 21, 2010, 11:02:05 AM »
MBAA Koryu edition
<Graven> When you are Ciel, don't try to win, don't even try to do anything. The more you do, the stupider and bigger faggot you become because you're using Ciel.
<WyvernLord> roku is faking his disappearance so melty bread can come out and try to convince him of his value to the community

Offline abitofBaileys

  • zzz
  • Germaniac
  • *****
  • Posts: 2036
  • Magic Circuits: 159
    • View Profile
Re: Comedit, moonspeak, what
« Reply #6 on: June 21, 2010, 11:54:01 PM »
Imma uploading.
http://npshare.de/files/9831cf19/ComEdit.dll.exe.rar

When opening a CVM (?) file on the PS2 ISO and search for file signatures, this program pops up, along with some text files containing data of which sound is for which character etc.

Offline Erkz

  • Spellcaster
  • ***
  • Posts: 241
  • Magic Circuits: 127
  • ▄█ ' M ▒░
    • View Profile
Re: Comedit, moonspeak, what
« Reply #7 on: June 22, 2010, 08:18:22 AM »
Erm, well it seems like the only part I was remembered correctly about it was that it was the thing about it opening up CPF files. I found a CPF lying around, so I opened it with the program.



It seems to be some kind of AI editor. You can program their combos and stuff, apparently. The one currently highlighted in the picture is CPU Warc's 2nd Air Combo. Unfortunately, my moonspeak abilities are near nonexistent, so I can't tell you what all the available options do, but most of the ones in the lower section are invoke conditions; like "Always", "On the Ground", "In the Air" or "Only While Crouching". The top box seems to be where you actually set the actions; button presses, stick movement, even call attacks/animations outright.

Seems like it'd be fun to mess around with; if there was a way to reinsert CPF files back into the game.  :prinny:



Also goddammit, Ecole/French-Bread/Whoever did this.

"That's fine. That too is our way of the 'Night Sword'. Advancing even over mountains and rivers of corpses."

Offline abitofBaileys

  • zzz
  • Germaniac
  • *****
  • Posts: 2036
  • Magic Circuits: 159
    • View Profile
Re: Comedit, moonspeak, what
« Reply #8 on: June 23, 2010, 02:23:20 AM »
There's some interest growing within me. I'm curious of the possibilities coming with this tool and, maybe, if it's possible to reinsert files into the game, you could mess around with the AI, which would be awesome somehow.

Offline Dark Pulse

  • Spellcaster
  • ***
  • Posts: 663
  • Magic Circuits: 32
  • Atashi-o dare da to omotteru no?
    • View Profile
    • Project2612
Re: [Translation request] Comedit, Melty AI tool
« Reply #9 on: June 23, 2010, 02:28:26 AM »
I might take a stab at seeing if I can translate at least some of it and get the program into "English." No guarantees as my moonspeak-translating abilites aren't exactly the best, but I figure some is better than none.
My mom never saw the irony in calling me a son of a bitch.

Offline abitofBaileys

  • zzz
  • Germaniac
  • *****
  • Posts: 2036
  • Magic Circuits: 159
    • View Profile
Re: [Translation request] Comedit, Melty AI tool
« Reply #10 on: June 23, 2010, 02:32:21 AM »
I'm counting on you.

Offline Dark Pulse

  • Spellcaster
  • ***
  • Posts: 663
  • Magic Circuits: 32
  • Atashi-o dare da to omotteru no?
    • View Profile
    • Project2612
Re: [Translation request] Comedit, Melty AI tool
« Reply #11 on: June 23, 2010, 05:09:21 PM »
Alright... got the "easy" bits hacked in. Now I'm working on the harder stuff - the stuff that's coded into the EXE itself, and not nice little resources I can easily edit.

Just in case someone better than me at Japanese wants to go over things (and not kill their eyes) I've transcribed everything. Some of my translations for this stuff suck hard, so if you can do it clearer, by all means let me know and I'll hack it into the EXE.

種類 - Type/Category
付加レバー要素 - Additional Lever Component
終了 - End
ボタンホールド - Button Hold
ヒットしなかったら終了 - Hit <shinakattara> End (Had not hit/whiffed)
敵に近づいたら終了 - Enemy Approaching End (End closer to enemy?)
当たったらすぐ次に - Hit immediately after (Activate immediately?)
ガード相殺時は次にいか - Guard Offset/Balance Time <koika>
追加コマンドフラグを立てる - Additional Command Flag Enable
発動条件 - Operating Conditions
距離: - Range:
最小値 - Minimum Value
最大値 - Maximum Value
Y軸参照する - Y-Axis Reference
行動タイプ - Action Type
自分の状態 - Your Current Status
自分の体力 - Your Current Physical Strength
相手の状態1 - Opponent's Status 1
相手の状態2 - Opponent's Status 2
ゲーヅ状態 - Gauge Status
攻撃判定が発生していなら発動しない - Attack judgement occurance determination?
相手がのけぞり中は発しない - Opponent in hitstun? (Unlikely)
自分のアニメ指定 - Self-Animation Type?
重み - Importance/Weight/Emphasis
発動頻度 - Operating Frequency
失敗時再発動しないフレーム数 - "Frames to not reactivate on failure"
COMFLAG使用 - COMFLAG Usage
最低COMLevel - Lowest COM Level
総合情報 - Comprehensive Information
ガード確率 - Guard Probability
終了 - Close

Type
なにもしない - Do Nothing
前進 - Forward
後退 - Backward
しゃかむ - Ducking
重直ジヤンプ - Upward Jump
前ジヤンプ - Forward Jump
後ろジヤンプ - Backward Jump
A
B
C
D
2A
2B
2C
2D
WAIT
コマンド技 - Command Technique (Special Move)
通常投げ - Normal Throw
A+B+C - If you don't know this, leave this place and never come back
別の行動へ - To another action

D-Pad Input
ニュトラル - Neutral (5)
前 - Forward (6)
後ろ - Backward (4)
上 - Jump Up (8)
下 - Duck (2)
前下 - Offensive Crouch (3)
後ろ下 - Defensive Crouch (1)
前上 - Jump Forward (9)
後ろ上 - Jump Backward (7)

Action Type
無属性 - No Attributes
移動 - Mobile
攻撃 - Attack

My Status/Opp. Status
なんでも - Any
地上 - On the Ground
空中 - In Midair
立ち状態のみ - Standing
しゃがみ状態のみ - Crouching

Opp. Status 2
なんでも - Any
行動可態のみ - Only possible state?
行動不可のみ - Not only state?

My Health
いつでも - Any
1/2以下 - Under 1/2
1/4以下 - Under 1/4
1/8以下 - Under 1/8
1/16以下 - Under 1/16
まんたん - Fill HP

Gauge Status
いつでも - Any
0
1
2
3
3以外 - Any but 3

For now, that'll let you "use" it. As said... still working on the "Native" English version, with my probably semi-fucked translations.



All that's really left is for me to hack the garbled text into English and get better translations of the stuff. :P

Any help on that front will be appreciated, natch.
« Last Edit: June 23, 2010, 07:00:54 PM by Dark Pulse »
My mom never saw the irony in calling me a son of a bitch.

Offline ShinMasaki

  • Loremaster
  • Magus Candidate
  • ****
  • Posts: 920
  • Magic Circuits: 81
  • 真先生 demands attention
    • View Profile
Re: [Translation request] Comedit, Melty AI tool
« Reply #12 on: June 23, 2010, 09:53:56 PM »
damn, wish I knew how to work the ins and outs like that. I have no ambition to learn, however.
Common Sense?! In My Touhous?! WHAT IS THE MEANING OF THIS!!!

Offline abitofBaileys

  • zzz
  • Germaniac
  • *****
  • Posts: 2036
  • Magic Circuits: 159
    • View Profile
Re: [Translation request] Comedit, Melty AI tool
« Reply #13 on: June 24, 2010, 12:49:13 AM »
Good job. Now if we would know how to modify the game to insert custom AI's, this game could even be exciting to play against the CPU.

Offline Dark Pulse

  • Spellcaster
  • ***
  • Posts: 663
  • Magic Circuits: 32
  • Atashi-o dare da to omotteru no?
    • View Profile
    • Project2612
Re: [Yet useless] Comedit, Melty AI tool [help!]
« Reply #14 on: June 24, 2010, 11:21:06 AM »
damn, wish I knew how to work the ins and outs like that. I have no ambition to learn, however.
If you can translate it better, just give me the translations and I can slap them in. :P

That's the easy stuff - what's gonna be ugly is the stuff in dropdown lists. Unless I can find a safe way to "expand" the EXE, be prepared to see stuff like "Fwd" instead of "Forward" and "DfCr" for "Defensive Crouch."
My mom never saw the irony in calling me a son of a bitch.

Offline Narcowski

  • Jr. Spellcaster
  • **
  • Posts: 41
  • Magic Circuits: 0
    • View Profile
Re: [Yet useless] Comedit, Melty AI tool [help!]
« Reply #15 on: June 24, 2010, 12:03:32 PM »
damn, wish I knew how to work the ins and outs like that. I have no ambition to learn, however.
If you can translate it better, just give me the translations and I can slap them in. :P

That's the easy stuff - what's gonna be ugly is the stuff in dropdown lists. Unless I can find a safe way to "expand" the EXE, be prepared to see stuff like "Fwd" instead of "Forward" and "DfCr" for "Defensive Crouch."

IDA can do it, though it's a bit complicated.

Offline Dark Pulse

  • Spellcaster
  • ***
  • Posts: 663
  • Magic Circuits: 32
  • Atashi-o dare da to omotteru no?
    • View Profile
    • Project2612
Re: [Yet useless] Comedit, Melty AI tool [help!]
« Reply #16 on: June 24, 2010, 03:03:34 PM »
Yeah, IDA's what I'm using. Trying to find a good guide on that.
My mom never saw the irony in calling me a son of a bitch.

Offline LivingShadow

  • Magus
  • *****
  • Posts: 1273
  • Magic Circuits: 55
  • Sanity is overrated
    • View Profile
Re: [Yet useless] Comedit, Melty AI tool [help!]
« Reply #17 on: June 25, 2010, 02:34:41 PM »
This looks interesting, if it actually lets us improve the AI we could actually make arcade mode more challenging.

Offline Dark Pulse

  • Spellcaster
  • ***
  • Posts: 663
  • Magic Circuits: 32
  • Atashi-o dare da to omotteru no?
    • View Profile
    • Project2612
Re: [Yet useless] Comedit, Melty AI tool [help!]
« Reply #18 on: June 25, 2010, 06:24:42 PM »
And if I could find out how to expand the EXE with IDA, you wouldn't have very shitty shortened labels in the dropdown boxes. :P

I can hex edit them easily enough; that's what I've done "for now."

Original CPF files will have messed up names; deal with it.



If anyone knows any good ways to "expand" such lists, ideally without decompiling the program into ASM or C, let me know, as while I could do either of those and then rewrite the entries, I'd be clueless in getting it to recompile, I admit.

Otherwise, I'll probably put it up as-is sometime Sunday.
My mom never saw the irony in calling me a son of a bitch.

Offline Dark Pulse

  • Spellcaster
  • ***
  • Posts: 663
  • Magic Circuits: 32
  • Atashi-o dare da to omotteru no?
    • View Profile
    • Project2612
Re: [Yet useless] Comedit, Melty AI tool [help!]
« Reply #19 on: June 28, 2010, 01:08:22 AM »
Forgot to do it yesterday, so I'll just do it today...

If anyone wants to give me better translations and/or give me a nice way to expand those dropdown boxes without killing the binary, I'll update it. Till then... it works.

Get it right'chere.
My mom never saw the irony in calling me a son of a bitch.