Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Lazarus 3.0 here!  (Read 3264 times)

0 Members and 1 Guest are viewing this topic.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Today at 11:01:57 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Lazarus 3.0 here!
« on: August 31, 2002, 11:54:42 pm »
I added so many things this version I'm too tired to type them here.  Go check out the better than ever lazarus 3.0

www.oscarcontrols.com/lazarus/

)p(

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 964
  • Last login:March 27, 2009, 03:38:15 am
  • We are the Galaxians...
    • Emulaxian:cabinet and frontend
Re:Lazarus 3.0 here!
« Reply #1 on: September 01, 2002, 02:57:14 am »
Great work HC!    ;D


so no it is time to remind you about that general wrapper  8)

Peter

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:Today at 03:37:24 pm
  • The Bears Still Suck!
Re:Lazarus 3.0 here!
« Reply #2 on: September 01, 2002, 04:01:17 am »
This is when I say F U!  Man, I need ot go change my directory manager.  I will get it working with 3.0, then it's yours!  It might be awhile until I get to it though.  if you want it now, the only thing you need to do is add filters and the ability to have more than one additional artwork dir.  Wait,t hat;s just some copy and paste and extra code.  I;ll try and squeeze it in.

Now that I have figured out how to get around some flash issues I am REALLY busy rewriting yapfe...

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:Today at 03:37:24 pm
  • The Bears Still Suck!
Re:Lazarus 3.0 here!
« Reply #3 on: September 01, 2002, 04:36:19 am »
AHHHH, need update to readme on website!!

searchstrings:11=*players 4 control joy8way*;11=*players 3 control joy8way*

I can only go up to 7 right now since THAT'S all you have documented!!

Give me an email with the new key values and what they are for.  I have the dirs.ini manager updated.  It was really easy to update.  But I don't have the new key values for the searchstrings anf filters.

Demon-Seed

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1521
  • Last login:April 04, 2022, 09:51:02 am
    • DemonCade (WORKING URL!)
Re:Lazarus 3.0 here!
« Reply #4 on: September 01, 2002, 10:23:08 am »
No Joystick support??

Can u explain this?
Life is like a video game, a good one never dies..

Demon-Seed

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1521
  • Last login:April 04, 2022, 09:51:02 am
    • DemonCade (WORKING URL!)
Re:Lazarus 3.0 here!
« Reply #5 on: September 01, 2002, 11:05:08 am »
does the mp3 playback work now??? can u explain how to do it.

thx
Life is like a video game, a good one never dies..

Demon-Seed

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1521
  • Last login:April 04, 2022, 09:51:02 am
    • DemonCade (WORKING URL!)
Re:Lazarus 3.0 here!
« Reply #6 on: September 01, 2002, 11:10:40 am »
sweet i got it working!! f*cking right!
Life is like a video game, a good one never dies..

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Today at 11:01:57 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Lazarus 3.0 here!
« Reply #7 on: September 01, 2002, 12:28:34 pm »

No Joystick support??

Can u explain this?


The joystick support has always been totally seperate from the keyboard support and I have to duplicate all event functions for it.  This time I added a shift key and I honestly don't know how to do it for a joystick.  You see the joystick data I get back from buttons pressed is simply a number.  The number is the total of all the scancodes of all the buttons.  It's easy to see if one button is pressed but a bit harder to tell which two are pressed if two are held down.  If anyone has some experience with joystick scancodes then prehaps they can help me.   Really it just doubles my work at this point and I'm not that interested unless I can find a better way to do it.  

Yarb

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 113
  • Last login:December 26, 2019, 01:18:30 pm
Re:Lazarus 3.0 here!
« Reply #8 on: September 03, 2002, 11:53:24 pm »
Any chance the scan codesmap to binary bits? if they do you could isolate them with boolean logic

Yarb

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Today at 11:01:57 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Lazarus 3.0 here!
« Reply #9 on: September 04, 2002, 04:00:43 pm »
No they actually map to integers.. multiples of two actually... button1 =0 button2=2 button3=4 ect

Yarb

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 113
  • Last login:December 26, 2019, 01:18:30 pm
Re:Lazarus 3.0 here!
« Reply #10 on: September 05, 2002, 12:40:08 am »
Ahh that is binary so you can use boolean to isolate them. In a binary word, say 4 bits for a joystick each switch would map to one of the bits. Since each bit is a power of 2 it would work like this

Assuming left right up down

L R U D
1 1 1 1   4 Bits read 1 if pressed and 0 if not
1 2 4 8   Their Decimal values

If the joy is pressed left the value would be 1, if up it would be 4 if left and up it would be 5 (The sum of the two bits).You can test a single switch with the boolean AND function, if you wanted to test if the up switch is pressed just AND the word with 0010 or Decimal 4. Since in binary the and function requires a 1 in the corrisonding bit of both arguments to return a one in that position the 0's effecively mask out the unwanted bits. If the result is 0 then the button is not pressed regardless of the other buttons, if it is non zero then it is pressed. You can easily make a table of values for all combinations as well. I'm not sure how you need to read and use the informations but if you want add more info or drop an e-mail I'd be glad to help.

Yarb

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Today at 11:01:57 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Lazarus 3.0 here!
« Reply #11 on: September 05, 2002, 02:04:45 am »
Yeah that'll work, but there is an odd thing about the buttons which make them hard to isolate....  Usually they do go by powers of two but i've found that on some they jump around.  It makes no sense to me and seems to depend upon the type of joystick.  Anyway when I feel like starting joystick support again I'll drop you a line... thanks for your advice.  :)

mhoward211

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 23
  • Last login:April 09, 2003, 10:31:25 am
Re:Lazarus 3.0 here!
« Reply #12 on: September 05, 2002, 12:41:30 pm »
If I am reading this correctly the joystick in our cabinets is not supported?  Would this mean not supported when you needed to scroll this list of games and whatnot?  How is one suppose to navigate your front end when it is used within a cabinet?

)p(

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 964
  • Last login:March 27, 2009, 03:38:15 am
  • We are the Galaxians...
    • Emulaxian:cabinet and frontend
Re:Lazarus 3.0 here!
« Reply #13 on: September 05, 2002, 12:48:38 pm »

If I am reading this correctly the joystick in our cabinets is not supported?  Would this mean not supported when you needed to scroll this list of games and whatnot?  How is one suppose to navigate your front end when it is used within a cabinet?


it uses keyboard strokes for input. As you know most of us use keyboard encoders like the ipac for our arcade joysticks.. If you use a joystick there are programs like joytokey to make lazarus, and also 3darcade,  work with them...

Peter

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:Today at 03:37:24 pm
  • The Bears Still Suck!
Re:Lazarus 3.0 here!
« Reply #14 on: September 05, 2002, 01:15:04 pm »
Those with gamepad hacks will have to get driver software that maps buttons to keys.  Yeah, it sucks.

mhoward211

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 23
  • Last login:April 09, 2003, 10:31:25 am
Re:Lazarus 3.0 here!
« Reply #15 on: September 05, 2002, 01:53:51 pm »
I follow you now, sorry for that brain fart.