The Mugen Fighters Guild

M.U.G.E.N Central => M.U.G.E.N Discussion => Development => Topic started by: Just No Point on January 27, 2017, 09:01:00 pm

Title: Swiss Army Knife Debugger App
Post by: Just No Point on January 27, 2017, 09:01:00 pm
Link to download site
http://jbbs.shitaraba.net/bbs/read.cgi/game/54714/1340533542/135

Link to MFG hosted program
http://network.mugenguild.com/justnopoint/SAKnifeWM-v108.zip

@Byakko: How much would it cost to commission you to translate this thing?! serious

XGargoyle - Today at 1:08 PM
I've been using it for some time
so extract the zip
you will see an exectuable
launch it
program is in japanese, but it's really easy to use

JustNoPoint - Today at 1:10 PM
It says it's for winmugen but I assume it still works on 1.0
Okay running it go ahead

XGargoyle - Today at 1:10 PM
you will have 3 windows

JustNoPoint - Today at 1:10 PM
It's asking me a question
Left option is OK right is cancel

XGargoyle - Today at 1:10 PM
a big black one, one totally white
and the main one with the menu
the main screen, will have several lines
these are the profiles
select one, and click on the big button on the right
it will open a new screen

(http://network.mugenguild.com/justnopoint/SwissCapture.PNG)

first line is name of profile
second line is whereyour mugen.exe is located
third line is where yuor select.def is located
leave the rest of options as is, and click on the left button in the bottom part to save the changes
let me know if you have any question so far

XGargoyle - Today at 1:17 PM
in the picture
so, after saving the profile, it will be displayed on the list in main screen
select it and then click on the big button on the right
this will launch mugen with the debugger enabled
let me know when you get to this step

JustNoPoint - Today at 1:19 PM
got it going
XGargoyle - Today at 1:19 PM
perfect
now, in main screen, top menu
second option is "window" menu
pull down tthe menu and select the last 2 lines of that menu
it will open the actual debug and the variables windows
let me know when you have done so

JustNoPoint - Today at 1:21 PM
Holy hell we need this in english!
Got them going
whoa

XGargoyle - Today at 1:21 PM
ok, now just slect versus o any play mode
select characters ang into the fight

JustNoPoint - Today at 1:22 PM
Yeah I got that going
It's showing me all kinds of info

XGargoyle - Today at 1:22 PM
that's the great part
debug window has 4 tabs
player, explod, proj and trigger
self explanatory
it says all the active players/helpers
if you click on them, in the ddisplay to debug (within mugen) it will automatically display the info you have for DTC
so you can select a helper, without having to press Ctrl+D several times
once you have a player/helper selected, in the bottom screen you could see all variables ans other data he's using
this is the screen with several radio buttons
this is pure gold!!! :smiley:

JustNoPoint - Today at 1:25 PM
Yeah I'm clicking like crazy!

XGargoyle - Today at 1:25 PM
as you can see, you can get all data such as variables damage values, statetypes, sysvars, superapsue times
everything
XGargoyle - Today at 1:27 PM
expldo tab, will display the active explods
really useful to check if your explod spawns or not
and when it is removed

XGargoyle - Today at 1:27 PM
keeping the reversed commands stuck
the projectile tab is self explanatory
in that same window, first checkbox in the top is the pause button
and the button next to it is the step frame
the radio buttons in the middle, will apply an envcolor to the stage
each radio button is a different color
but you need the checkbox ticked
it is useful for example if your stage is white or makes it difficult to read the debug
so, this is the basic course on swiss army
what I do for developing is to keep this open and FF as well
and instead of launching the character from FF
I just press shift+F4 on swiss army to reload the character and test

JustNoPoint - Today at 1:31 PM
Ah thank you
XGargoyle - Today at 1:32 PM
you can play with the other options and find out what they do
but what I show you is the basic framework to use
the debugger
having full access to all variables and being able to directly access the player/helepr info and explods is basically all you need
forget about the displaytoclipboard from mugen
you no longer have to keep editing it everytime you want to check a variable or if a explod existed
:smiley:
and it's really useful to check on the helper's variables as well

JustNoPoint - Today at 1:35 PM
Yeah I need that

XGargoyle - Today at 1:35 PM
I bet you're now feeling an orgasm lol

Spoiler: me (click to see content)
Title: Re: Swiss Army Knife Debugger App
Post by: Amidweiz on January 27, 2017, 11:01:19 pm
I think I remember seeing this on a Japanese mugen video before, a translation would be excellent for this even screwing around with some settings found some could stuff with it like having a frame step option, (though mugen 1.1 has this in the debug commands, this version even though it's just imputing pause button commands is was more advanced) speedup option, variable display, etc.
Title: Re: Swiss Army Knife Debugger App
Post by: Vans on February 25, 2017, 11:42:30 am
(http://i.imgur.com/kjP5K2j.png)

Holy crap, this is absolutely incredible. It can display variables in binary as well. I think this might be made in CheatEngine (maybe?)

Here's a collection of more Japanese mugen tools, in case anyone is interested.  (http://mugenbinran.web.fc2.com/tool_introduction.html)

@Jesuszilla:
Title: Re: Swiss Army Knife Debugger App
Post by: Memo on February 25, 2017, 12:22:40 pm
Any chance of this app getting a translation?
Title: Re: Swiss Army Knife Debugger App
Post by: Vans on February 25, 2017, 12:35:53 pm
I could not find a source, so that might be a bit difficult.

I found no trace of contact information in any of the files, either.
Title: Re: Swiss Army Knife Debugger App
Post by: Odb718 on February 26, 2017, 01:35:06 am
I dont know how much this would be asking, But anyone who knows Japanese could take an alt+prt scrn snapshot of each menu, then use paint to translate each button?
You could make a gallery on imgur and people could use it as a simple guide.
Title: Re: Swiss Army Knife Debugger App
Post by: Jesuszilla on February 26, 2017, 01:46:27 am
I've taken a look at it and it seems it's written in .NET. If he didn't use an obfuscator, it may be possible to get the source code using a .NET decompiler. That's one way to do it.

Hard way: Hex editor.


EDIT: hah
(http://i.imgur.com/KPauTYZ.png)


And since I now conveniently have the source (which is written into C#), I can implement it into Dude Mugen with ease. @XGargoyle: @Just No Point:
Title: Re: Swiss Army Knife Debugger App
Post by: Just No Point on February 26, 2017, 02:31:59 am
 :love:
Title: Re: Swiss Army Knife Debugger App
Post by: Memo on February 26, 2017, 02:34:09 am
I've taken a look at it and it seems it's written in .NET. If he didn't use an obfuscator, it may be possible to get the source code using a .NET decompiler. That's one way to do it.

Hard way: Hex editor.


EDIT: hah
(http://i.imgur.com/KPauTYZ.png)


And since I now conveniently have the source (which is written into C#), I can implement it into Dude Mugen with ease. @XGargoyle: @Just No Point:

Fuck yea, very much appreciated. Now I'll just wait until your finish with dudemugen to check it out.
Title: Re: Swiss Army Knife Debugger App
Post by: Flowrellik on February 26, 2017, 02:38:39 am
so wait, what exactly is this tool in a nutshell? I'm confused on what this new "holy grail" is.
Title: Re: Swiss Army Knife Debugger App
Post by: Iced on February 26, 2017, 02:41:45 am
so wait, what exactly is this tool in a nutshell? I'm confused on what this new "holy grail" is.

It tracks everything.

Quote
debug window has 4 tabs
player, explod, proj and trigger
self explanatory
it says all the active players/helpers
if you click on them, in the ddisplay to debug (within mugen) it will automatically display the info you have for DTC
so you can select a helper, without having to press Ctrl+D several times
once you have a player/helper selected, in the bottom screen you could see all variables ans other data he's using
this is the screen with several radio buttons
this is pure gold!!! :smiley:
 as you can see, you can get all data such as variables damage values, statetypes, sysvars, superapsue times
everything
XGargoyle - Today at 1:27 PM
expldo tab, will display the active explods
really useful to check if your explod spawns or not
and when it is removed
Title: Re: Swiss Army Knife Debugger App
Post by: Flowrellik on February 26, 2017, 02:54:17 am
so it's a tracker of sorts? Can you actually edit characters and whatnot with this?
Title: Re: Swiss Army Knife Debugger App
Post by: Jesuszilla on February 26, 2017, 02:55:54 am
It does IINM since it lets you point to a text editor to use but it's not really the point.
Title: Re: Swiss Army Knife Debugger App
Post by: XGargoyle on February 26, 2017, 02:36:45 pm
This tool is basically a glorified DisplayToClipboard, as you can have global access to every variable  and other data type, an to every player/helper/explod/proejctile.
In the past, I had to constantly edit the DTC to display a new variable or to verifiy the status of NumExplod. With SwissArmy, I have direct access to these data all the time. Also, I can easily change the background color so that debug display information is read easier in some stages
Title: Re: Swiss Army Knife Debugger App
Post by: Vans on March 03, 2017, 02:53:00 am
I am currently working on a full translation of this tool, including all of its help features.

I am about 60% done, this application has an incredible amount of text due to the help function. It takes me approximately 14 to 16 hours to fully translate one of the main forms.

Some screens:

(http://i.imgur.com/VQKVEt4.png)
(http://i.imgur.com/nqNvXG3.png)
(http://i.imgur.com/ISqcFiz.png)
Title: Re: Swiss Army Knife Debugger App
Post by: Just No Point on March 03, 2017, 02:59:35 am
where are the happy penguin smileys I was supposed to install months ago when I need them?!
Title: Re: Swiss Army Knife Debugger App
Post by: Jmorphman on March 03, 2017, 03:03:33 am
way ahead of you:

(http://i.imgur.com/wGNvMsl.gif)(http://i.imgur.com/wGNvMsl.gif)(http://i.imgur.com/wGNvMsl.gif)
Title: Re: Swiss Army Knife Debugger App
Post by: Iced on March 03, 2017, 03:04:09 am
http://network.mugenguild.com/iced/P/


(http://network.mugenguild.com/iced/P/images/penguin-emoticon-1-050.gif)
Title: Re: Swiss Army Knife Debugger App
Post by: XGargoyle on March 03, 2017, 05:21:05 am
Awesome work!!
Title: Re: Swiss Army Knife Debugger App
Post by: PeXXeR on March 03, 2017, 07:17:37 am
Thats awesome as hell.
Title: Re: Swiss Army Knife Debugger App
Post by: Vans on March 14, 2017, 05:10:07 am
A quick update!

After many, many hours a full English translation of the tool has been now completed!

There's still a couple of things that have to be fixed (such as text box size), but all the text used within the application and its help functions are now fully translated.

(http://i.imgur.com/LC7kyMV.png)
Title: Re: Swiss Army Knife Debugger App
Post by: Just No Point on March 14, 2017, 05:23:17 am
Hellz to the yeah!!!
Title: Re: Swiss Army Knife Debugger App
Post by: Websta on March 14, 2017, 07:33:28 am
and now to find out if i kind use this
Title: Re: Swiss Army Knife Debugger App
Post by: XGargoyle on March 14, 2017, 09:24:11 am
download link for the translated version?
Title: Re: Swiss Army Knife Debugger App
Post by: Vans on March 14, 2017, 09:53:48 am
There isn't one, we want to fix a couple of things first.
Title: Re: Swiss Army Knife Debugger App
Post by: Odb718 on March 15, 2017, 09:57:52 am
(https://media.giphy.com/media/11t9sYRP19MFd6/giphy.gif)
But seriously, this is going to suck... having to switch to windowed for this awesome tool! I can't wait!
Title: Re: Swiss Army Knife Debugger App
Post by: Vans on March 16, 2017, 04:18:38 am
I am now looking into adjusting the forms for the English text.
Title: Re: Swiss Army Knife Debugger App
Post by: Vans on March 19, 2017, 08:53:03 am
Hey everyone, after finally getting the text to look properly I have released the fully translated version here. (http://mugenguild.com/forum/msg.2337165)

This was an amazing project for me, but it was also a very difficult one that took many hours to complete (around 220 hours real time).

The help function within this tool is absolutely ridiculous with its explanations and examples, this feature accounts for over 70% of the total text contained within the tool. I encourage everyone to use it to learn more about its functions, it is very thorough.

If anyone feels like helping a non-sponsored mexican mathematician to eat another bowl of rice for a day, there's a paypal link in my site (http://www.vans.trinitymugen.net/). Any help is greatly appreciated.

Hope you guys enjoy it!