Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > CSDb Discussions > How to autofire in vice ?
2020-05-26 16:02
Oswald

Registered: Apr 2002
Posts: 5017
How to autofire in vice ?

anyone ? I'd like to play turrican, but without autofire its a pain in the ass.
2020-05-26 16:26
TWW

Registered: Jul 2009
Posts: 541
dam, I'd like to autofire in REAL LIFE :-D

Joke aside, I tried Vice 3.3, could not find it and tried 2.4 and the settings were greyed out.

However in the 3.4 changes the following was stated:

** MS-Windows changes
---------------------

- New joystick autofire feature.


I didn't try it out though and I saw something about this being for controllers only in some old forum posts.
2020-05-26 16:35
chatGPZ

Registered: Dec 2001
Posts: 11108
First time i hear about autofire in VICE :=P
2020-05-26 16:47
Oswald

Registered: Apr 2002
Posts: 5017
hmm maybe I have a joy with autofire I'll try it on real thing later :P
2020-05-26 17:06
Compyx

Registered: Jan 2005
Posts: 631
I think there was a lot extra buttons and perhaps 'autofire' for Win32, which was never actually implemented, nor was there any Win32 UI code to ever set that up. So I ripped that out when writing the Gtk3 UI and archdep.
2020-05-26 17:22
Oswald

Registered: Apr 2002
Posts: 5017
yeah tried the GTK vice, and autfire is gone not even greyed out gui for it.
2020-05-26 17:28
Compyx

Registered: Jan 2005
Posts: 631
Like I said, never implemented, and thus useless.
2020-05-26 17:39
Smasher

Registered: Feb 2003
Posts: 512
+1 for autofire
2020-05-26 17:53
Walt

Registered: May 2004
Posts: 47
AutoHotKey on Windows and similar on *nix ? ;)
2020-05-26 18:33
Oswald

Registered: Apr 2002
Posts: 5017
someone reading this please implement it. soci ? :)
2020-05-26 19:23
Compyx

Registered: Jan 2005
Posts: 631
Quoting Walt
AutoHotKey on Windows and similar on *nix ? ;)


I don't understand, does this have to do with custom keybindings or autofire?
2020-05-26 19:24
chatGPZ

Registered: Dec 2001
Posts: 11108
Its an extra tool =P
2020-05-26 20:11
Compyx

Registered: Jan 2005
Posts: 631
So... basically the Gtk3 UI isn't awesome? I thought I was protected here, no lemon64 or forum64 bullshit, just arrogant sceners like me.

I shall take this to Lemon64, this is definitely NOT okay.
2020-05-26 22:02
JackAsser

Registered: Jun 2002
Posts: 1989
Quote: So... basically the Gtk3 UI isn't awesome? I thought I was protected here, no lemon64 or forum64 bullshit, just arrogant sceners like me.

I shall take this to Lemon64, this is definitely NOT okay.


:D Haters gonna hate!
2020-05-27 05:56
ccr

Registered: May 2002
Posts: 25
CSDb isn't our safe space after all? :O
2020-05-27 09:42
Count Zero

Registered: Jan 2003
Posts: 1821
You are all doing it wrong anyhow.
Grab a proper USB-2-C64 Joystick adapter and enable autofire on your Competition Pro.

Sigh ... it's only Turrican!
2020-05-27 09:59
chatGPZ

Registered: Dec 2001
Posts: 11108
What Countzero said! Good he gave his one to me! =)
2020-05-27 10:31
Smasher

Registered: Feb 2003
Posts: 512
what? we customers pay a lot of money for your product and you ignore our requests like that?
emuautofire! emuautofire!!
2020-05-27 11:28
chatGPZ

Registered: Dec 2001
Posts: 11108
Outrageous!

(actually compyx is playing around with joystick mapping things atm.... there is also 2/3 button support that needs proper GUI, and perhaps even a feature to map arbitrary things like in the SDL port. adding autofire on top should be easy enough. later :))
2020-05-31 16:49
Oswald

Registered: Apr 2002
Posts: 5017
Logiker was kind enough to write this AutoHotkey script, work like a charm:

(you need to install AutoHotKey to get it run)

#MaxThreadsPerHotkey 2

Menu, Tray, Icon, c:\windows\syswow64\msctf.dll, 21,
Menu, Tray, Tip, AutoFire

SetKeyDelay, 0, 50

Gui, Add, Text,, AutoFire activator:
Gui, Add, Hotkey, vOutputVar, F12

Gui, Add, Text,, AutoFire key:
Gui, Add, Hotkey, vKey

Gui, Add, CheckBox, vSpaceIsFire, Use Space as fire (and not AutoFire key)!

Gui, Add, Text,, AutoFire delay.
Gui, Add, Edit, Number vDelay, 500

Gui, Add, Button, Default w80, OK

Gui Show, Center w250, AutoFire ;w200
return

ButtonOK:
Gui, Submit  ; Save the input from the user to each control's associated variable.
Hotkey,%OutputVar%,DoIt
Return
ExitApp


DoIt:
Toggle := !Toggle
while Toggle
{
if SpaceIsFire
Send, {Space}
Else
Send, %Key%
Sleep, %Delay%
}
Return
2020-05-31 18:01
Compyx

Registered: Jan 2005
Posts: 631
That's Windows-only and won't help our Linux, MacOS or *BSD user much.

As groepaz mentioned, I'm working on the joystick code to allow mapping buttons, including auto-fire at some point. This however will take some time, merging the threaded branch takes priority.
Also, since the joystick code is different on Windows, MacOS, *BSD and Linux, this will take some time. I'm not much of a Windows hacker so to me the Windows DirectInput code looks like it'll open a portal to Hell.

So, patience please. I like working on VICE, but I'd occasionally also like to work on C64 code/gfx.
2020-05-31 20:35
Oswald

Registered: Apr 2002
Posts: 5017
Quote: That's Windows-only and won't help our Linux, MacOS or *BSD user much.

As groepaz mentioned, I'm working on the joystick code to allow mapping buttons, including auto-fire at some point. This however will take some time, merging the threaded branch takes priority.
Also, since the joystick code is different on Windows, MacOS, *BSD and Linux, this will take some time. I'm not much of a Windows hacker so to me the Windows DirectInput code looks like it'll open a portal to Hell.

So, patience please. I like working on VICE, but I'd occasionally also like to work on C64 code/gfx.


thanks man, it will be awesome to have it, waiting patiently until then :)
2020-05-31 23:26
hedning

Registered: Mar 2009
Posts: 4595
Quote: anyone ? I'd like to play turrican, but without autofire its a pain in the ass.

Buy a joystick with autofire and an adaptor to usb - play. :D

Bah. C0 was faster. He is a known cheater.. ;)
2020-06-02 11:43
Oswald

Registered: Apr 2002
Posts: 5017
FYI

I've contacted the "moderators" to remove the trollposts from here, as rules say " if you don't have anything valueable to add to a thread, do not post" they did nothing, no wonder them and an ex mod is doing the trolling. + friends ?
2020-06-02 11:45
chatGPZ

Registered: Dec 2001
Posts: 11108
are you saying i have friends?
2020-06-02 11:50
Oswald

Registered: Apr 2002
Posts: 5017
Quote: are you saying i have friends?

definition of trolling. all the valuable thing you had to add here you put into ( ) while your trolling was the important part.
2020-06-02 11:56
CreaMD

Registered: Dec 2001
Posts: 3034
Oswald, please, make another message to mods with list of posts. So we know what posts you see as "trolling", I can't guarantee they will be moderated (very probably not), but at least I will understand what's bugging you here. So far I skimmed through the debate and it seems you guys were getting somewhere, so it's working the way how it should work, more or less.

And yeah, Groepaz is pita.
2020-06-02 12:09
Adam

Registered: Jul 2009
Posts: 321
Quote: FYI

I've contacted the "moderators" to remove the trollposts from here, as rules say " if you don't have anything valueable to add to a thread, do not post" they did nothing, no wonder them and an ex mod is doing the trolling. + friends ?


In the time it took to you write posts and complain to "moderators" you could have walked to the shops and bought a controller with autofire :o ;) I've never had any need for autofire. I find it useful for some shoot'em up arcade titles but that's about it. I've always seen it as cheating, so, I doubt I'll get much support for that belief :)
2020-06-02 12:14
chatGPZ

Registered: Dec 2001
Posts: 11108
Quote:
definition of trolling.

please read up on your internet lingo. its a simple joke. really. and we are still allowed to joke around here.
2020-06-02 14:30
hedning

Registered: Mar 2009
Posts: 4595
We discussed it, and humour is allowed. Nothing harmful, hurtful or provoking has been said. And C0's and my comments about USB-joystick solution was supposed to be fun, but it also works. It will give you autofire in Vice, just like on the real thing.
2020-06-02 16:40
Oswald

Registered: Apr 2002
Posts: 5017
Quote: In the time it took to you write posts and complain to "moderators" you could have walked to the shops and bought a controller with autofire :o ;) I've never had any need for autofire. I find it useful for some shoot'em up arcade titles but that's about it. I've always seen it as cheating, so, I doubt I'll get much support for that belief :)

Ive opened this topic to get help in why the autofire in vice is greyed out / missing / not working. I thought its somehow configurable only I'm missing something.

Telling me to buy this or that (for the 4th time in a row) with subtle hints I'm such an idiot for not doing that, or asserting I'm acting here like an idiot customer and demanding autofire (hi zesmasher) doesnt help.

Somehow I dont feel making fun of politely asking for help is funny, or having to swimm through all this shit to finally learn that autofire was never done. Better not ask here next time.
2020-06-02 19:36
chatGPZ

Registered: Dec 2001
Posts: 11108
then again, your question was answered *before* the joking started (posts number #3, #5, #7)
2020-06-03 20:58
Compyx

Registered: Jan 2005
Posts: 631
Actually, I just got a Logitech f710 to further test the joystick code. But that one seems to need 2 AA batteries and no way to recharge via USB.
So I'll be setting up a Patreon to keep me provided with batteries. A stretch goal will be Auto-Fire, but first I need lots of money for "batteries".
2020-06-03 21:07
chatGPZ

Registered: Dec 2001
Posts: 11108
Those damn expensive green batteries....
2020-06-03 23:26
Smasher

Registered: Feb 2003
Posts: 512
Quote:
or asserting I'm acting here like an idiot customer and demanding autofire (hi zesmasher) doesnt help.

hi Oswald! misunderstanding from your side: actually I was defending you and trolling those who said "plug an usb joy.."
man, you really contacted the mods to remove the trollposts when the mods are the trollposters in this topic? :P
2020-06-04 09:18
Count Zero

Registered: Jan 2003
Posts: 1821
Dudes,

my post on the USB joystick adapter was meant serious and works out of the delivery box. Also I was NOT talking of USB Competition Pro clones which have a terrible delay and are no good for quick players. So IMHO a well thought advise if you want an original joystick and cannot draw back to some modern USB PC controller.

Now we get complains that a solution __IN__ Vice was desired but a crappy AutoHotkey Windows ONLY solution is a well accepted reply?

I dont want an answer to that rhetorical question but maybe ask yourself whether Lemon or Reddit are made for $YOU.
2020-06-04 09:21
hedning

Registered: Mar 2009
Posts: 4595
Quote: Quote:
or asserting I'm acting here like an idiot customer and demanding autofire (hi zesmasher) doesnt help.

hi Oswald! misunderstanding from your side: actually I was defending you and trolling those who said "plug an usb joy.."
man, you really contacted the mods to remove the trollposts when the mods are the trollposters in this topic? :P


No trolling. Just like C0, my first solution to the problem was to plug in a joystick that has autofire in the first place.
2020-06-05 16:13
Compyx

Registered: Jan 2005
Posts: 631
First off: as I mentioned before, I am working on improving the joystick code, allowing for more input events: axes for mouse/paddles, extra buttons to map to keyboard. This might include auto-fire *inside* VICE, though I personally consider that cheating.

Second: I realized the "green" batteries probably referred to weed rather than Heineken. Which is funny and not trolling.
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Core/VPN
Guests online: 126
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Webmasters
1 Slaygon  (9.7)
2 Perff  (9.6)
3 Morpheus  (9.5)
4 Sabbi  (9.5)
5 CreaMD  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.082 sec.