Go Back   Wiremod Forums > Wiremod > Wiremod General Chat

Wiremod General Chat All general wiremod discussion/chat.

Reply
 
LinkBack Thread Tools Display Modes
Old 06-07-2008   #1 (permalink)
cpf
Advanced Member

 
cpf's Avatar
 
Join Date: Nov 2007
Posts: 341
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; 1 Week Ago at 09:06 AM. Reason: Updating!
cpf is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-08-2008   #2 (permalink)
Wiremod Supporter

 
dnifan's Avatar
 
Join Date: Mar 2007
Location: Amersfoort, the Netherlands
Posts: 250
dnifan is on a distinguished road
Default Re: WireSim- The Scriptable WireMod Simulator

Nice. I wanted to make this a long time ago! However, the fact that the crash report is encrypted, freaks me out. Also, what language did you use? I hope not some thing like C# or whatever.
__________________

[03:32] <ITSBOT> lua serializing function to be intergrated into xbox live
[03:34] <ITSBOT> no girlfriend for a pineapple under the Channels
dnifan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-08-2008   #3 (permalink)
cpf
Advanced Member

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

Eeek, c# it is. What's so bad about it?
The crash dump is encrypted to protect your privacy, a "view the contents of the report" button is coming soon

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

Last edited by cpf; 06-08-2008 at 06:53 AM.
cpf is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-08-2008   #4 (permalink)
Wire Guru

 
Black Phoenix's Avatar
 
Join Date: Feb 2007
Location: Kyiv, Ukraine
Posts: 1,842
Black Phoenix is on a distinguished road
Send a message via ICQ to Black Phoenix Send a message via MSN to Black Phoenix Send a message via Yahoo to Black Phoenix
Default Re: WireSim- The Scriptable WireMod Simulator

C# is nice, but slow and has "microsoft" tag on it
__________________
I'm a wire-crazy person with a tail.

Take a journey into my brain

D2K5

Black Phoenix is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-08-2008   #5 (permalink)
cpf
Advanced Member

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

Slow, maybe, but "microsoft tag" :s

Has anyone actually tried it?
__________________
WireSim.com
Why does everybody say CPF? it's cpf :P
Hey, look! It's a tutorial on using LuaInterface!
cpf is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-08-2008   #6 (permalink)
Wire Guru

 
Black Phoenix's Avatar
 
Join Date: Feb 2007
Location: Kyiv, Ukraine
Posts: 1,842
Black Phoenix is on a distinguished road
Send a message via ICQ to Black Phoenix Send a message via MSN to Black Phoenix Send a message via Yahoo to Black Phoenix
Default Re: WireSim- The Scriptable WireMod Simulator

I completed C# course from M$
__________________
I'm a wire-crazy person with a tail.

Take a journey into my brain

D2K5

Black Phoenix is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-08-2008   #7 (permalink)
cpf
Advanced Member

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

Ooops! I've been misreading the title of this thread all along! Its not "WireSim-The Scriptable Wiremod Simulator!" It's "relative merits of microsoft programming languages!"

>sarcasm<

Has anyone tried the program?
__________________
WireSim.com
Why does everybody say CPF? it's cpf :P
Hey, look! It's a tutorial on using LuaInterface!
cpf is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-08-2008   #8 (permalink)
Flux's Assistant

 
Anticept's Avatar
 
Join Date: Feb 2008
Location: Ohio, USA
Posts: 241
Anticept is on a distinguished road
Send a message via AIM to Anticept Send a message via MSN to Anticept Send a message via Yahoo to Anticept Send a message via Skype™ to Anticept
Default Re: WireSim- The Scriptable WireMod Simulator

I will check it out later.

EDIT:

lua51.dll was loaded, but the DllRegisterServer entry point was not found. This file cannot be registered.

Same with LuaInterface.dll
__________________
[1 Minute Ago] Flux: ERAUHFSDHFUS
[1 Minute Ago] Anticept: Flux, PAY ATTENTION TO YOUR OWN DAMN FORUM. http://www.wiremod.com/5142-attachments-help.html
[1 Minute Ago] Anticept: Posting
[2 Minutes Ago] Flux: I MIGHT CURSE YOU OUT BUT AT LEAST I KNOW ABOUT IT
[3 Minutes Ago] Flux: WHY CANT YOU PEOPLE JUST POST A THREAD OR PM ME WHEN SOMETHING GOES WRONG
[3 Minutes Ago] Flux: whats wrong with the attachments
[3 Minutes Ago] Flux: wat
[3 Minutes Ago] Anticept: Flux, fix the attachments :P

Last edited by Anticept; 06-08-2008 at 07:30 PM.
Anticept is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-08-2008   #9 (permalink)
cpf
Advanced Member

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

If that happens, just try running wiresim. Some people get that error :\
__________________
WireSim.com
Why does everybody say CPF? it's cpf :P
Hey, look! It's a tutorial on using LuaInterface!

Last edited by Anticept; 06-08-2008 at 07:29 PM.
cpf is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-08-2008   #10 (permalink)
cpf
Advanced Member

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

Just committed a new build, a plethora of advantages await the brave SVN Update-r :P

  • Fixed major bug with creating gates
  • Added tooltips! (use of these in the standard chips to be expanded in the future)
  • Added basic arithmetic gates to default set
  • Redid Addons list
  • Help menu item now goes somewhere
  • You can now look at what the crash report contains
  • Chips can now define the Y position that each input/output "connects" to
  • Improved various Default chips
  • Added millisecond timestamp to log entries (see main post for details)
__________________
WireSim.com
Why does everybody say CPF? it's cpf :P
Hey, look! It's a tutorial on using LuaInterface!
cpf is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -7. The time now is 04:43 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.

Page top