xboxscene.org forums

Author Topic: Time To Add Ps1 Lightgun Support  (Read 364 times)

shorty

  • Archived User
  • Full Member
  • *
  • Posts: 156
Time To Add Ps1 Lightgun Support
« on: August 18, 2007, 06:57:00 PM »

You're funny, in a strange and special kind of way  tongue.gif

Anyway, programming for the xbox is very very similar to programming for x86 in C/C++. You need an XDK (Illegal, don't ask) to do so... there is lots of info in the forums about what you need to get started.

 Shorty
Logged

Speedy2K7

  • Archived User
  • Newbie
  • *
  • Posts: 2
Time To Add Ps1 Lightgun Support
« Reply #1 on: August 18, 2007, 07:48:00 PM »

I can get the XDK, I just need to know if it would be worth the while, like the xbox can handle it and will enough games work with it, (If only a few will work, forget about it.)
Logged

shorty

  • Archived User
  • Full Member
  • *
  • Posts: 156
Time To Add Ps1 Lightgun Support
« Reply #2 on: August 18, 2007, 09:59:00 PM »

I don't know, but i'd venture a guess that you are probably wasting your time. I'm sure if it was easy enough/worthwhile, xport would have done this already.

 Shorty
Logged

mtsaint

  • Archived User
  • Jr. Member
  • *
  • Posts: 98
Time To Add Ps1 Lightgun Support
« Reply #3 on: August 27, 2007, 01:41:00 PM »

some mame versions have lightgun support added as well i think zsnes and fceultra have lightgun supportry to see how they handle the code. mame is probably the simplest to look at cause the calibration is stored in the ini file and very easy to access. you should definitly try.

[Input]
Lightgun1_Left = 4294934529
Lightgun1_CenterX = 0
Lightgun1_Right = 32767
Lightgun1_Top = 32767
Lightgun1_CenterY = 0
Lightgun1_Bottom = 4294934529
Lightgun2_Left = 4294934529
Lightgun2_CenterX = 0
Lightgun2_Right = 32767
Lightgun2_Top = 32767
Lightgun2_CenterY = 0
Lightgun2_Bottom = 4294934529
Lightgun3_Left = 4294934529
Lightgun3_CenterX = 0
Lightgun3_Right = 32767
Lightgun3_Top = 32767
Lightgun3_CenterY = 0
Lightgun3_Bottom = 4294934529
Lightgun4_Left = 4294934529
Lightgun4_CenterX = 0
Lightgun4_Right = 32767
Lightgun4_Top = 32767
Lightgun4_CenterY = 0
Lightgun4_Bottom = 4294934529

this is how mame handles it in the ini i tried to post the hex but my free hex editor is limited



Logged

IJTF_Cinder

  • Archived User
  • Newbie
  • *
  • Posts: 43
Time To Add Ps1 Lightgun Support
« Reply #4 on: August 27, 2007, 03:56:00 PM »

I'd wager a VERY large bet that most of us that are into the homebrew scene, don't have lightguns because we have HDTVs (Which lightguns don't work with).

I'd love it, but due to the fact that I have an HDTV, the last lightgun I own is for Dreamcast.
Logged

mtsaint

  • Archived User
  • Jr. Member
  • *
  • Posts: 98
Time To Add Ps1 Lightgun Support
« Reply #5 on: August 27, 2007, 07:01:00 PM »

i got my tv at a strange time pre hdtv revolution but post flatscreenin fact i would go as far as to say that my tv is an anomoly its flatscreen support component video its a sanyo and i got it a wally world for 200 bucks like 5 years ago.
lcd top gun
you can play on hdtv and lcd with this i think.  i actually own a xbox lightgun mainly for house of the dead but guess what i bought it for originally ...homebrew. man i wish i had a psx lightgun timecrisis is bomb
Logged