WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Trying to make a Script for Virtual-On PC
Goto page 1, 2  Next
 
Post new topic   Reply to topic    WiiLi.org Forum Index -> GlovePie
View previous topic :: View next topic  
Author Message
the_importer



Joined: 03 May 2007
Posts: 17

Digg It
PostPosted: Sat May 12, 2007 10:06 pm    Post subject: Trying to make a Script for Virtual-On PC

Hey there,


For those of you who don't know, Virtual-On was a unique arcade game that was ported to SEGA Saturn and to PC. The game made use of a special control configuration called TwinSticks.

With two joysticks and 3 buttons (there was 4, but 2 were the same), you could perform a variety of action. See GameFaqs for more details:
http://www.gamefaqs.com/coinop/arcade/game/583650.html

Anyway, the purpose would be to use a Wiimote and Nunchuk to simulate the TwinSticks by holding them like joysticks. Although the fire and dash buttons will be easy enough to emulate, question remains, when holding the Wiimote and Nunchuk vertically, is it possible to move them forward, backward, left and right and having each of these motions emulate a keyboard stroke?


Thanks
Back to top
View user's profile Send private message
TigerGD



Joined: 16 Apr 2007
Posts: 71
Location: SoCal

Digg It
PostPosted: Sun May 13, 2007 5:21 am    Post subject:

I've been wanting to make a script for the Dreamcast port of VOOT, but I haven't been able to get the game to work right in emulation. I was going to do it just as you described, and it should be quite easy. I think in the arcade you tilt the left stick to the left and the right stick to the right to jump, so in GlovePIE, you'd make a statement to the effect:

Code:
If (Wiimote.RawForceX < -30 and Nunchuk.RawForceX > 30)
   key.J = True   //or whatever the 'jump' key is
Else
   key.J = False
EndIf

You may have to add some more conditions to that to get it to behave right. Z-axis controls (back and forth on the arcade sticks) may be easier, since you can map them to a position range (Pitch) instead of checking forces.

Could you please PM me to let me know where you got VO for PC? I saw it on the store shelf 10 years ago, but I could have sworn it was only for PowerVR 3D accelerators or something.
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
the_importer



Joined: 03 May 2007
Posts: 17

Digg It
PostPosted: Sun May 13, 2007 5:55 am    Post subject:

TigerGD wrote:
I've been wanting to make a script for the Dreamcast port of VOOT, but I haven't been able to get the game to work right in emulation. I was going to do it just as you described, and it should be quite easy. I think in the arcade you tilt the left stick to the left and the right stick to the right to jump, so in GlovePIE, you'd make a statement to the effect:

Code:
If (Wiimote.RawForceX < -30 and Nunchuk.RawForceX > 30)
   key.J = True   //or whatever the 'jump' key is
Else
   key.J = False
EndIf

You may have to add some more conditions to that to get it to behave right. Z-axis controls (back and forth on the arcade sticks) may be easier, since you can map them to a position range (Pitch) instead of checking forces.

Could you please PM me to let me know where you got VO for PC? I saw it on the store shelf 10 years ago, but I could have sworn it was only for PowerVR 3D accelerators or something.


PM doesn't work here.

Anyway, I found it on an old abandonware website which no longer seems to be online. If you can't find, I can upload it somewhere along with the custom made soundtrack from other Virtual-On games (that abandonware was a setup file, so no CD soundtrack came with it).

Mind you, if I do this, I will expect some help from you in making a script for it. I'm new in the Wiimote hacking scene and you seem to be good at it.

The real controls for Virtual-On were as followed:

-Left on either sticks: Move to the Left
-Right on either sticks: Move to the Right
-Backward on either sticks: Move backward
-Forward on either sticks: Move Forward (your opponent)
-Left on both sticks: Run to the Left
-Right on both sticks: Run to the Right
-Backward on both sticks: Run away
-Forward on both sticks: Run forward (your opponent)
-Left stick Forward and Right stick Backward (and Vice-Versa) Rotate the camera view
-Left and Right sticks apart: Jump
-Left and Right sticks close: Jump Cancel/Block
-Fire Button on Left stick: Left Weapon
-Fire Button on Right stick: Right Weapon
-Both Fire Buttons: Center Weapon
-Dash Button: Boost the speed of the direction your going

These are the basics so as you can see, the biggest part of doing such a script would be to pretend that the Nunchuk is the left stick and the Wiimote the right stick.
Back to top
View user's profile Send private message
TigerGD



Joined: 16 Apr 2007
Posts: 71
Location: SoCal

Digg It
PostPosted: Sun May 13, 2007 6:05 am    Post subject:

Email me at the address in my profile. I'd be glad to help with this script, as the only thing holding me back from doing one for VOOT was my inability to run the game. If you send me or post the keyboard controls for VO, I can get started on scripting.
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
the_importer



Joined: 03 May 2007
Posts: 17

Digg It
PostPosted: Fri May 18, 2007 4:14 am    Post subject:

TigerGD wrote:
Email me at the address in my profile. I'd be glad to help with this script, as the only thing holding me back from doing one for VOOT was my inability to run the game. If you send me or post the keyboard controls for VO, I can get started on scripting.



Sent you an e-mail. Make sure to look in your junkmail folder since this is Hotmail.
Back to top
View user's profile Send private message
TiagoTiago



Joined: 20 Jan 2007
Posts: 710
Location: Brasil

Digg It
PostPosted: Fri May 18, 2007 4:46 am    Post subject:

since there are rules regarding stuff like this in this forum I think, I'll try not to break any rules by asking the following


could you recommend me a place were I could get the official game at an inexpensive price, or perhaps clone of the game with enough similarities for me to get a true feeling of what that game is about?
_________________
please put the scripts on the wiki so they dont get lost as new stuff is posted!
phpBB doesnt like me,somtimes it will forget to warn me about new replies to threads I asked it to,if you see a thread I should have responded, could please email me?
Back to top
View user's profile Send private message Send e-mail
the_importer



Joined: 03 May 2007
Posts: 17

Digg It
PostPosted: Fri May 18, 2007 12:31 pm    Post subject:

TiagoTiago wrote:
since there are rules regarding stuff like this in this forum I think, I'll try not to break any rules by asking the following


could you recommend me a place were I could get the official game at an inexpensive price, or perhaps clone of the game with enough similarities for me to get a true feeling of what that game is about?



Virtual-On is rather unique, so there hasn't been clones (not to my knowledge) with the same type of control besides the sequels. You won't find it in any stores since it's 10 years old, but you can find one on eBay right now: http://tinyurl.com/ypdlxx

But trust me, it's not even worth the shipping price after I tell you what's wrong with it when you run it on Windows NT technology:

Virtual-On is a very old PC game that was designed for Windows 95. The fact that it actually runs on XP is a miracle itself. This basically means that it's not without flaws:

Problem #1: When running on XP and 2000, the Split Screen Mode will crash whenever a player dies.

Solution: Avoid this mode, it's a pain anyway to play this game in split screen when it was supposed to be played on different screens and Network Mode does that without any problems.

Problem #2: When running on XP and 2000, The 2nd Stage of the game will have a major graphic glitch that will affect both ATI and NVIDIA graphic chips, making objects hide the Robots.

Solution: Don't know about 2000, but if you have SP2 on XP, that problem is mysteriously solved.

Problem #3: When running on XP and 2000, the Single Player Mode will crash when you're Game Over with 4 of the 8 characters (don't recall which ones).

Solution: Play with the 4 Robots that don't crash the game if you run on XP or 2000. If you dual boot with Windows 98/95/ME, simply use one of those OS.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> GlovePie All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group