Go Back   Wiremod Forums > Wiremod > Wiremod General Chat

Wiremod General Chat All general wiremod discussion/chat.

Reply
 
LinkBack (2) Thread Tools Display Modes
Old 06-07-2008   2 links from elsewhere to this Post. Click to view. #1 (permalink)
cpf
Advanced Member
 
cpf's Avatar
 

Join Date: Nov 2007
Posts: 371
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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 06-08-2008   #2 (permalink)
Advanced Member
 
dnifan's Avatar
 

Join Date: Mar 2007
Location: Amersfoort, the Netherlands
Posts: 266
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.
__________________


^ 51mbps Fiber ftw [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: 371
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 07: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: 2,132
Black Phoenix will become famous soon enough
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 daily 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: 371
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: 2,132
Black Phoenix will become famous soon enough
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 daily 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: 371
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: 396
Anticept will become famous soon enough
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
__________________
Quote:
Originally Posted by tad2020
TAD2ô2ô says: on the logical scale on 1 to 10
TAD2ô2ô says: it was a basket of napalm flavored kittens
Quote:
Originally Posted by tad2020
<@TAD2020> and flux has a kryptonite penis! my asbestos pants is no match to that monster!
Anticept: Flux, fix the attachments :P
Flux: wat
Flux: whats wrong with the attachments
Flux: WHY CANT YOU PEOPLE JUST POST A THREAD OR PM ME WHEN SOMETHING GOES WRONG
Flux: I MIGHT CURSE YOU OUT BUT AT LEAST I KNOW ABOUT IT
Anticept: Posting
Anticept: Flux, PAY ATTENTION TO YOUR OWN DAMN FORUM. http://www.wiremod.com/5142-attachments-help.html
Flux: ERAUHFSDHFUS

Last edited by Anticept; 06-08-2008 at 08: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: 371
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 08: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: 371
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
Sponsored Links
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

LinkBacks (?)
LinkBack to this Thread: http://www.wiremod.com/forum/wiremod-general-chat/5263-wiresim-scriptable-wiremod-simulator.html
Posted By For Type Date
cpfx.ca - My Work This thread Refback 07-06-2008 02:11 PM
Garry's Mod 2007: We can build it. We have the Orange Box technology - The Something Awful Forums This thread Refback 06-12-2008 06:22 AM


All times are GMT -7. The time now is 03:58 PM.


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

Page top