Iyouboushi's Home

イヨウボウシの宅

Archive for the ‘Programs’ Category

Posted by Iyouboushi on February - 24 - 2014 1 COMMENT

It’s another release of my C# Emulation Control programs!

Release 006 includes versions 1.3 of the IRC client and 1.2 of the console bot.

In this release I’ve added support for the “C” button that SEGA Genesis uses (set it to keyboard key I) and added support for the PSX buttons (you’ll have to look at the readme text for that though as there’s many buttons).  I’ve added fceux to the IRC emulation list and cleaned that up a little (it’s by console -> emulator available  now instead of just a list of emulators).  On the code side of the IRC client, I’ve fixed a bug that would cause the program to crash if you hit “SEND” before you were connected to a channel. Speaking of channels, I’ve changed the client to check for the “#” in the channel name and add it if it’s missing.

Perhaps the best change to both versions is better window handle search functionality.  This means it’s now possible to use pretty much any emulator with both programs.  In the IRC version you can use the command /setemu (emulator name) to manually select an emulator that isn’t in the official menu list (such as /setemu ePSXe).  The console version already has a menu option you can choose and follow the prompts.  To make this work with the console version I had to include a bunch of default control config files, so please don’t remove these.  You can still use custom ones for certain games though but if you don’t have one for a specific game use the default config for the console you’re trying to play.

Just as a quick warning, the better window search functionality seems to be working pretty good but there’s still a chance that it might not be able to find the emulator that you’re trying to use.  It’s still experimental, so keep that in mind.  Also you still have to set the keys up the way you would normally.

My next goal in this program is to make it so you can define the keys used by the programs instead of it being forced to use the built-in ones.  This might take some time though, so for now just enjoy release 006.

Download
Emulation Control – release 006 (contains version 1.3 of the IRC client, version 1.2 of the Console Bot)



As a bonus, here’s a video of the console bot playing Devil’s Castle Dracula X: Nocturne in the Moonlight (Castlevania: Symphony of the Night).

 

Posted by Iyouboushi on February - 21 - 2014 Comments Off on Emulation Control – Release 005

It seems there are still some issues with version 1.1 of the IRC emulation control. Sorry everyone. This is what I get for being rusty at C# and making minor stupid human errors.

For version 1.2 of the IRC client I’ve hopefully fixed that error for good (a, b, x, y, l, and r shouldn’t be ignored sometimes now).  I’ve also added a pause button that will hopefully make it so commands stop working when pressed (and resume when pressed again).  I didn’t test it in a very active channel but it worked in a smaller channel.

For both the IRC client and bot control I’ve also changed the DOWN/RIGHT/LEFT/UP display to show arrows rather than the names of the keys.

Finally, I’ve also found an updated copy of the InputManager.dll that makes all of this possible.  With this update both projects have been updated to .NET framework 4.5.1, which might actually solve a few other problems I’ve been having as well (as well as work on Windows 8.1 better).  Of course that means it’ll only work on computers that are running that framework but it should be the standard by now.  I highly recommend upgrading to it if you haven’t already.

Assuming I didn’t make any more minor human errors and it works properly, I will probably be taking a break from the project for a little bit.  If another error pops up and you discover it, feel free to tweet me about it and I’ll check into it as soon as I can.

Download
Emulation Control – release 005 (contains version 1.2 of the IRC client, version 1.1 of the Console Bot)\

I’ll make new demo videos of both programs soon.

Posted by Iyouboushi on February - 20 - 2014 Comments Off on Emulation Control – Release 004

I honestly wasn’t expecting to release another version of this so soon but due to a small oversight on my part I felt it necessary to go ahead and release version 1.1 of the IRC Emulation Control Client.  (I seriously need a catchier name than this).

I’ve made a few GUI changes in 1.1 of the IRC client.  I figure most people who will be running this won’t be using the thing as an actual IRC client (as it loses focus too much once the game starts getting played anyway).  So I shrunk the window for that, which made the entire client smaller.  Also fixed a mistake I had in which lowercase commands weren’t being recognized.

Download
Emulation Control – release 004 (contains version 1.1 of the IRC Client, version 1.0 of the Console Bot)

 

And here’s a video of this in action.  The command window is a little laggy/behind the actual commands though (it does the commands before it shows them in the window).  But it works!

For testing I tried Pokemon Red and Link’s Awakening (a little over a minute of each).

Pokemon Red:


Link’s Awakening:

Posted by Iyouboushi on February - 18 - 2014 Comments Off on Control Emulators via IRC — Also via a Bot!

For those who have been living in the dark, Twitch Plays Pokemon  (Direct link to stream) has taken the Internet by storm! An anonymous programmer created a way for Twitch users to interact using the Twitch chat and they’ve been trying to collectively play the first Pokemon game (to some funny and frustrating results).  You can click on the first link to learn more about that or the stream to watch it happen live.

After seeing that I said “I bet I can do that in C#!” and set out on a frustrating journey to get it to work.  However, I’m happy to report that thanks to a guy on the Tech Life Forum for providing a quick IRC GUI client demo and to the Input Manager Library, I’ve managed to get it to work.

After spending several days working on it, I now have a release that I’m feeling rather proud of and want to share with the world.  I’m providing a few different things here with this 7z.  First, I’m providing the IRC version of the project.  It still  isn’t perfect but it does work 99% of the time now.  Second, I’m providing a console bot version that randomly selects keys and attempts to play games on its own (no AI behind it, it’s all random baby).  Third, the source codes of both programs are included.  I honestly don’t mind if someone downloads these and improves them/gets them to work better (I would like at least some credit for starting this project though if you choose to do that).  Fourth, I’ve included a few emulators that both programs are designed to run with.  These are just the emulators themselves, no ROMS are included (and won’t be included).

With all that in mind, there are two readme files inside the 7z, one for each program, and I highly recommend you read both in order to learn how to make the programs work.  Alternatively, you can head on over to this topic on my forum where I talk more about it.

I remind everyone that this is really a rough release.  I’m not trying to steal the Twitch pokemon guy’s thunder or run a stream of my own (as I can’t leave my computer on 24/7 anyway).  If you can, great, feel free to edit the source code and get it to connect to your Twitch stream and try your luck.  I just thought it’d be fun to try and replicate the idea and see if I could do it.

I’ll also add that there’s probably better ways to do certain things in the code.  I’ll be trying to improve it as I go along, should I continue this project.  It’s been a long time since I’ve messed with C# and I’m a little rusty.  But it works regardless.


DOWNLOAD

Emulation Control – release 003 (contains versions 1.0 of both programs)

As a bonus, here’s a youtube video of version 0.2 of the console bot attempting to play the NES game Ice Hockey.  It’s not that great at it, but it’s still amusing.

 

Posted by Iyouboushi on December - 9 - 2013 Comments Off on Battle Arena 2.3.1 Released

Version 2.3.1 has been released to address a few issues that have popped up since 2.3’s release three days ago.

CHANGES

  • Changed the way Curse Chance works to try to make Divine Blessing work better.
  • Changed the old character check to not remove bot admins to prevent security holes.
  • Changed !id to show a message if the character is not found
  • Changed AbsorbIG to only work on the first hit for AOEs

FIXES

  • Fixed an issue of the multi-hit message showing on every hit in AOE techniques
  • Fixed an issue of not being able to use items even after a no-item limitation battle ended until the next battle began

As mentioned, it’s just a quick patch to fix these issues.  Please download the update and apply it.  Thanks!  Version 2.4 will begin work now that these issues have been addressed.

Categories: Battle Arena, Programs
Posted by Iyouboushi on December - 6 - 2013 Comments Off on Battle Arena 2.3 Release

The release of 2.3 is finally here!  This version fixes a lot of issues, starts to change the battle formula (which will probably be a work in progress), adds a bunch of new stuff and otherwise tries to improve on the game as a whole.  Hopefully everyone will enjoy this one!  As usual, the changelog and download link is below the jump.

Read the rest of this entry »

Categories: Battle Arena, Programs
Posted by Iyouboushi on October - 3 - 2013 Comments Off on Battle Arena 2.2 Release

This version took me a little longer than I would’ve liked but regardless, it’s here!  There’s lots of improvements this time around, although the changelog isn’t quite as long as some of the previous versions.  It has 29 additions, 25 changes and 13 fixes.   Still, I think if you’re a fan of this bot you’ll like this version.   As always, the download link and the changelog are below the cut.

Read the rest of this entry »

Categories: Battle Arena, Programs
Posted by Iyouboushi on August - 11 - 2013 Comments Off on Kon SVN Updated

Hey everyone! This is just a quick post to say that I’ve gotten around to updating my C# Chatterbot, Kon, and posted the updates to the SVN I set up for it.

This update fixes Twitter so that it works again (due to Twitter changing their API a little), adds a !haiku command (which works..okay but not great) and changed the “Answer Search” code slightly so that it tries to find more than one answer to the same line.  This may or may not  help/improve anything.

The bot is occasionally unstable though.  I seriously need help in recoding the entire thing. I just don’t know who can help me do it though lol.  No one on my message board knows C# and I imagine it’s going to require a lot of work to fix up as I’m sort of learning as I go here.

If anyone sees this and is interested please e-mail me (iyouboushi (at) gmail dot com)

Categories: Kon, Programs
Posted by Iyouboushi on July - 3 - 2013 Comments Off on Battle Arena 2.1 Release

The version update is finally here!  Version 2.1 has 21 additions, 23 changes and 22 fixes.   The download link and changelog are below the jump!

Read the rest of this entry »

Categories: Battle Arena, Programs
Posted by Iyouboushi on April - 29 - 2013 Comments Off on Battle Arena 2.0 Released

The version update is finally here!  Version 2.0 has 69 additions, 26 changes and 13 fixes.   The download link and changelog are below the jump!

Read the rest of this entry »

Featured Posts

Battle Arena 4.0 – Release

Version 4.0 has been in development for almost three full years but it’s finally ready to be officially released. As you can imagine it’s full of additions, changes and fixes. Look after the jump for the changelog and the download link. Moving forward I am not sure if I’ll continue to post “full versions” here […]

Battle Arena 3.2 – Release

It took over a year but it’s finally here! Battle Arena 3.2 is done and is now available for download.  As usual it’s chalk full of additions, changes and fixes — most of which will be listed after the jump.  Hope everyone has happy holidays.  See you in 2017.

Battle Arena version 3.2 Is Almost Done!

It’s been nine long months and Battle Arena has undergone a lot of various new additions, changes and fixes.  The final release of version 3.2 is drawing closer but still has a little ways to go.  As it stands today, here’s some of the main highlights:   ADDITIONS: Added the Supply Run type battle. In […]

Bleach 666 – EMPTY HALL OF THE PUPPET TEMPLE

Chapter 666 – EMPTY HALL OF THE PUPPET TEMPLE [Unix] [MangaStream] The chapter was released a day earlier than usual! Woohoo! Though, was it really a chapter to get excited over? Click the read more and see the summary and some thoughts (as usual).

Search my site

Twitter Updates