View Single Post
Old 06-07-2008   #1 (permalink)
cpf
Advanced Member
 
cpf's Avatar
 

Join Date: Nov 2007
Posts: 370
cpf is on a distinguished road
Send a message via MSN to cpf Send a message via Skype™ to cpf
Default WireSim- The Scriptable WireMod Simulator

Before you go and complain "WTF U D1Dn't M@k3 a11 teh gatez!" (),
This is in DEVELOPMENT

So, you've probably seen -Orb-'s flash emulator, or that other persons one (no offense, I just forget your name, and it's late at night), and thought "It would be nice if I could customize this," or "I wish I could mod this like real WireMod." Well, I thought that too, and since I have just too much time on my hands (), I thought I would make something to fix that.

So here, I present WireSim, the fully scriptable WireMod emulator for PC.

Here's a nice screenshot of just about all that it can do now:
>Waits for FTP client to upload<


Before you get too disappointed, here's a feature list:
  • Lua! Write your chips in it, and instantly see them in action
  • Fast-loading
  • Fully OOP
  • Multiple addon support (almost-but-not-quite like gmod )
  • SAVES!

So how would you go about getting your hands on this? It's very simple (if you have the latest .net framework):

  • Make a new directory somewhere DO NOT SKIP THIS STEP UNLESS YOU WANT FILES IRREVOCABLY DELETED!
  • Go download this file:Launcher.exe Clarification for less assumption-prone readers: and place it inside step 1's folder
  • Start that file, and wait for the ultra-slick Launcher to retrieve needed files, and start WireSim
  • Use it! Don't worry if you're internet connection isn't working, the Launcher is fine with that


Some basic instructions are here:
To spawn a chip:
Right click on the canvas, and select the chip from one of the categories in the treeview that pops up.
To wire chips:Once that you have two chips (Button and LED say), right click on the Outputing entity (the button), select the output (the outputs are the ones above the "Edit" item). Then click on the Inputing entity (the LED), and select an input ("A" in this case"). A line should appear between the two. They are now linked. Click the button a few times just for fun :P.
To open the "Console":
Press the ~ key, just like GMod
Customization:
Check out the lua files in the addons/default/lua/ directory for info on making chips, they are fairly self-explanatory if you have a bit of lua knowledge. Right now the reload addons button doesn't work, and saving has been disabled temporarily, so just restart the program.

If the program crashes:
Please click "Send Report" on the dialog that comes up, the encrypted crash report (w/o and personal data, see for yourself in that screen) is then uploaded to my website to I can improve wiresim

FAQ:
  • The FPS is low!-The screen only updates when needed, hence the FPS is lower. The FPS is capped at 40FPS though (hence the percentage)
  • I can't open saves!-Make a bug report
  • The wires disapear when I move chips around!-Suck it up, the graphics go down the toilet without that modification.
  • IT CRASHES AT STARTUP!!!1!1!- Make sure you have .net3.5 installed. If you already do, please submit a bug report
To Be Implemented:
  • All the standard WM chips << Getting clooose thanks to people like IEF and blob202
  • More lua-accessible functions (serial port, web request, draw pixel to screen, etc)
  • Anything else that I didn't think of
Home of documentation:
WireSim - Home

Hope you enjoy, please post any suggestions/bug reports here, or at the WireSim Issue Tracker


And -Orb-, please don't kill me because I used your graphics in some places


__________________
WireSim.com
Why does everybody say CPF? it's cpf :P
Hey, look! It's a tutorial on using LuaInterface!

Last edited by cpf; 08-20-2008 at 10:06 AM.. Reason: Updating!
cpf is offline   Reply With Quote
Sponsored Links