Model 2 & Retro Shooter Lightguns
3 posters
Page 1 of 1
Model 2 & Retro Shooter Lightguns
Hello,
I am trying to set Model 2 and the retro shooter light guns and I can't seem to have the guns hooked.
When I tried to just install Emulation Station and Model 2, it works without any problem, but when I use RetroBat, it doesn't work at all.
Can anyone help me on this subject?
All other systems work (NES, Model 3,...) but model 2
And when I run model 2 outside of RetroBat, it also works
I'm lost here.
Thank you so much
Eusebe32
I am trying to set Model 2 and the retro shooter light guns and I can't seem to have the guns hooked.
When I tried to just install Emulation Station and Model 2, it works without any problem, but when I use RetroBat, it doesn't work at all.
Can anyone help me on this subject?
All other systems work (NES, Model 3,...) but model 2
And when I run model 2 outside of RetroBat, it also works
I'm lost here.
Thank you so much
Eusebe32
Last edited by Eusebe32 on 17/09/24, 04:44 pm; edited 3 times in total
Eusebe32- Messages : 14
Date d'inscription : 2024-09-05
Re: Model 2 & Retro Shooter Lightguns
Hello,
Try and compare the model2 ini file when run from Retrobat and when run outside of Retrobat, I guess it's just a question of gun index, but without more details on what does not work it's difficult to answer.
Try and compare the model2 ini file when run from Retrobat and when run outside of Retrobat, I guess it's just a question of gun index, but without more details on what does not work it's difficult to answer.
tartifless- Admin
- Messages : 1642
Date d'inscription : 2021-04-27
Re: Model 2 & Retro Shooter Lightguns
Well, the funny thing is, if I run the emulator from the folders (from x:\rertobat\emulators) it works. When i run it from the retrobat.exe, I can't use the guns.tartifless wrote:Hello,
Try and compare the model2 ini file when run from Retrobat and when run outside of Retrobat, I guess it's just a question of gun index, but without more details on what does not work it's difficult to answer.
Eusebe32- Messages : 14
Date d'inscription : 2024-09-05
Re: Model 2 & Retro Shooter Lightguns
It is like if RetroBat overwrites the INI file for Model2
Eusebe32- Messages : 14
Date d'inscription : 2024-09-05
Re: Model 2 & Retro Shooter Lightguns
Hello,
It does change values in the file, this is why I asked you to compare.
It does change values in the file, this is why I asked you to compare.
tartifless- Admin
- Messages : 1642
Date d'inscription : 2021-04-27
Re: Model 2 & Retro Shooter Lightguns
Thank you I have found a solution. I have put the m2emulator EMULATOR.INI (located at \RetroBat\emulators\m2emulator) file in read only and now I can use the Retro Shooter guns without any problem.tartifless wrote:Hello,
It does change values in the file, this is why I asked you to compare.
Have a nice day
Eusebe32- Messages : 14
Date d'inscription : 2024-09-05
Re: Model 2 & Retro Shooter Lightguns
That is not at all a solution, in fact you do not want to help to improve RetroBat ! Let's close and no more help for you !
If you would just send us both files :
- The one you use and works
- The one created by RetroBat when ran from RetroBat
We could fix the issue instead of finding a bad way to fix (as this will disable all options like resolution, etc.)
If you would just send us both files :
- The one you use and works
- The one created by RetroBat when ran from RetroBat
We could fix the issue instead of finding a bad way to fix (as this will disable all options like resolution, etc.)
tartifless- Admin
- Messages : 1642
Date d'inscription : 2021-04-27
Re: Model 2 & Retro Shooter Lightguns
Let's not jump to conclusions and let's also not be agressive.tartifless wrote:..., in fact you do not want to help to improve RetroBat ! Let's close and no more help for you !
I was ill for 2 weeks, I didn't have the chance to work on this and I just shared a way that worked for me... if it's not the right way, I'm more than happy to help (otherwise I would not have come here, right?)
Now, here is what we find in the files,
the first one is the one that works, is in the m2emulator folder from retrobat
- m2emulator normal:
- ;Configuration file for the SEGA Model 2 emulator
;All text to the right of ; is ignored (use as comments)
;Add your rom directories here (max 10)
;ROMS subdirectory in the same folder than the exe is always scanned when searching for roms
;(remove the ; form Dir1)
[RomDirs]
Dir1=G:\RetroBat\roms\model2
Dir2=
Dir3=
Dir4=
Dir5=
[Renderer]
SoftwareVertexProcessing=0
Wireframe=0
FakeGouraud=0
Bilinear=1
Trilinear=0
FilterTilemaps=0 ;Enables bilinear filtering on tilemaps (looks good, but can cause some stretch artifacts)
ForceManaged=1 ;Forces the DX driver to use Managed textures instead of Dynamic. Use it if the emulator
;crashes after loading or doesn't show anything
ForceSync=0
FullScreenWidth=1280
FullScreenHeight=720
AutoMip=1
MeshTransparency=1
DrawCross=1 ;Show Crosshair in gun games
GammaR=1.0 ;Per Component Gamma correction (1.0 = no correction). Red
GammaG=1.0 ;Green
GammaB=1.0 ;Blue
WideScreenWindow=0 ;Set widescreen in windows mode: 0 - 4:3, 1 - 16:9, 2 - 16:10
FSAA=0 ;Enable full screen antialiasing in Direct3D
;These options are configured from menus so don't touch
FullMode=4
Sound=1
Frameskip=-1
AutoFull=1
Filter=1919
[Input]
XInput=1
EnableFF=1
HoldGears=0 ;Set to 1 to return to Neutral in driving games when the gear shift key is released
UseRawInput=0 ;Read mouse through Rawinput, allowing 2 mice
RawDevP1=0 ;Assign specific RawInput devices to players. If you have more than 2 mice
RawDevP2=1 ;set which one is assigned to each player (0-based)
;FORCE EFFECTS PARAMETERS
;FE_CENTERING Effect (Spring centering effect)
FE_CENTERING_Gain=0.5 ;Global gain
FE_CENTERING_Coefficient=10000 ;0-10000
FE_CENTERING_Saturation=10000 ;0-10000
FE_CENTERING_Deadband=1000 ;10%
;FE_CLUTCH Effect (Friction, wheel turn hardness)
FE_CLUTCH_Gain=1.0 ;Global gain
FE_CLUTCH_Coefficient=10000 ;0-10000
;FE_LEFT,FE_RIGHT (Constant force in a direction)
FE_LEFT_Gain=5.0 ;Global gain
FE_LEFT_Magnitude=10000 ;0-10000
FE_RIGHT_Gain=5.0 ;Global gain
FE_RIGHT_Magnitude=10000 ;0-10000
;FE_UNCENTERING (Sine force, wave the wheel, rumble)
FE_UNCENTERING_Gain=5.0 ;Global gain
FE_UNCENTERING_Magnitude=10000 ;0-10000
FE_UNCENTERING_Offset=-200
FE_UNCENTERING_Phase=0
FE_UNCENTERING_Period=56000
The second one is from retrobat, once the emulator is open.
- m2emulator Retrobat on:
- ;Configuration file for the SEGA Model 2 emulator
;All text to the right of ; is ignored (use as comments)
;Add your rom directories here (max 10)
;ROMS subdirectory in the same folder than the exe is always scanned when searching for roms
;(remove the ; form Dir1)
[RomDirs]
Dir1=G:\RetroBat\roms\model2
[Renderer]
SoftwareVertexProcessing=0
Wireframe=0
FakeGouraud=0
Bilinear=1
Trilinear=0
FilterTilemaps=0 ;Enables bilinear filtering on tilemaps (looks good, but can cause some stretch artifacts)
ForceManaged=0 ;Forces the DX driver to use Managed textures instead of Dynamic. Use it if the emulator
;crashes after loading or doesn't show anything
ForceSync=1
FullScreenWidth=3840
FullScreenHeight=2160
AutoMip=0
MeshTransparency=1
DrawCross=0 ;Show Crosshair in gun games
GammaR=1.0 ;Per Component Gamma correction (1.0 = no correction). Red
GammaG=1.0 ;Green
GammaB=1.0 ;Blue
WideScreenWindow=1 ;Set widescreen in windows mode: 0 - 4:3, 1 - 16:9, 2 - 16:10
FSAA=0 ;Enable full screen antialiasing in Direct3D
;These options are configured from menus so don't touch
FullMode=4
Sound=1
Frameskip=-1
AutoFull=1
Filter=1919
[Input]
XInput=1
EnableFF=0
HoldGears=0 ;Set to 1 to return to Neutral in driving games when the gear shift key is released
UseRawInput=1 ;Read mouse through Rawinput, allowing 2 mice
RawDevP1=0 ;Assign specific RawInput devices to players. If you have more than 2 mice
RawDevP2=2 ;set which one is assigned to each player (0-based)
;FORCE EFFECTS PARAMETERS
;FE_CENTERING Effect (Spring centering effect)
FE_CENTERING_Gain=0.5 ;Global gain
FE_CENTERING_Coefficient=10000 ;0-10000
FE_CENTERING_Saturation=10000 ;0-10000
FE_CENTERING_Deadband=1000 ;10%
;FE_CLUTCH Effect (Friction, wheel turn hardness)
FE_CLUTCH_Gain=1.0 ;Global gain
FE_CLUTCH_Coefficient=10000 ;0-10000
;FE_LEFT,FE_RIGHT (Constant force in a direction)
FE_LEFT_Gain=5.0 ;Global gain
FE_LEFT_Magnitude=10000 ;0-10000
FE_RIGHT_Gain=5.0 ;Global gain
FE_RIGHT_Magnitude=10000 ;0-10000
;FE_UNCENTERING (Sine force, wave the wheel, rumble)
FE_UNCENTERING_Gain=5.0 ;Global gain
FE_UNCENTERING_Magnitude=10000 ;0-10000
FE_UNCENTERING_Offset=-200
FE_UNCENTERING_Phase=0
FE_UNCENTERING_Period=56000
Eusebe32- Messages : 14
Date d'inscription : 2024-09-05
Re: Model 2 & Retro Shooter Lightguns
Is there another way to send the files? I've copied/pasted the info into the message and I marked the differences in the second part (see spoilers in my last message.tartifless wrote:
If you would just send us both files :
- The one you use and works
- The one created by RetroBat when ran from RetroBat
We could fix the issue instead of finding a bad way to fix (as this will disable all options like resolution, etc.)
I hope it helps
Eusebe32- Messages : 14
Date d'inscription : 2024-09-05
Re: Model 2 & Retro Shooter Lightguns
Ok, so all these options are available from Retrobat menu, i guess if you just put "force raw input" to on and "p2 gun id" to 2, it will fix.
tartifless- Admin
- Messages : 1642
Date d'inscription : 2021-04-27
tartifless- Admin
- Messages : 1642
Date d'inscription : 2021-04-27
Re: Model 2 & Retro Shooter Lightguns
Also please send me the emulatorlauncher.log file, as it finds 3 guns for your system, thus setting indexes 0 and 2 as per priority (i guess you have multiple mice connected + guns).
tartifless- Admin
- Messages : 1642
Date d'inscription : 2021-04-27
Re: Model 2 & Retro Shooter Lightguns
Thank you, I will try this and come back to you tomorrow at the latest
For the 3 guns, I guess it's because the Retro Shooters are seen as a mouse (from my understanding)
For the 3 guns, I guess it's because the Retro Shooters are seen as a mouse (from my understanding)
Eusebe32- Messages : 14
Date d'inscription : 2024-09-05
Re: Model 2 & Retro Shooter Lightguns
Ok, so I tried with the options, I now can see the crosshair, but I have the problem that it goes from one corner to another and I can't aim anything.
I will try to fiddle with the m2emulator while playing, but I'm not convinced it will help.
Here are the log info for the last 2 days:
I will try to fiddle with the m2emulator while playing, but I'm not convinced it will help.
Here are the log info for the last 2 days:
- emulatorlauncher.log:
- 2024-09-17 15:34:44.266 [INFO] --------------------------------------------------------------
2024-09-17 15:34:44.270 [INFO] [Startup] "G:\RetroBat\emulationstation\emulatorLauncher.exe" -gameinfo "H:\TEMP\emulationstation.tmp\game.xml" -p1index 0 -p1guid 030000005e040000e002000000007200 -p1path "BTHENUM\{00001124-0000-1000-8000-00805F9B34FB}_VID&0002045E_PID&02E0\D&EF04829&0&E417D80DDAB8_C00000000" -p1name "Xbox One S Controller" -p1nbbuttons 16 -p1nbhats 1 -p1nbaxes 6 -lightgun -system model2 -emulator m2emulator -core multicpu -rom "G:\RetroBat\roms\model2\vcop.zip"
2024-09-17 15:34:44.271 [INFO] [Startup] Loading configuration.
2024-09-17 15:34:44.274 [INFO] [Startup] Loading ES settings.
2024-09-17 15:34:44.283 [INFO] [GUNS] Lightgun game : setting default lightung value to true.
2024-09-17 15:34:44.304 [INFO] [Game] Virtua Cop
2024-09-17 15:34:44.306 [INFO] [Startup] Loading Controller configuration.
2024-09-17 15:34:44.839 [INFO] [Generator] Using Model2Generator
2024-09-17 15:34:44.907 [INFO] [Generator] Loading features.
2024-09-17 15:34:44.913 [INFO] [Generator] Getting m2emulator path and executable name.
2024-09-17 15:34:45.233 [INFO] Configuring input file G:\RetroBat\emulators\m2emulator\CFG\vcop.input
2024-09-17 15:34:45.234 [INFO] [INFO] Creating controller configuration for Model2
2024-09-17 15:34:45.541 [INFO] [WHEELS] Found 0 usable wheels.
2024-09-17 15:34:45.541 [INFO] [INFO] gamecontrollerdb.txt file found in tools folder. Controller mapping will be available.
2024-09-17 15:34:45.555 [INFO] [WHEELS] Input values all set.
2024-09-17 15:34:45.555 [INFO] [INFO] Assigned controller BTHENUM\{00001124-0000-1000-8000-00805F9B34FB}_VID&0002045E_PID&02E0\D&EF04829&0&E417D80DDAB8_C00000000 to player : 1
2024-09-17 15:34:45.555 [INFO] Saving input file G:\RetroBat\emulators\m2emulator\CFG\vcop.input
2024-09-17 15:34:45.556 [ERROR] [IniFile] Save failed Access to the path 'G:\RetroBat\emulators\m2emulator\Emulator.ini' is denied.
2024-09-17 15:34:45.556 [EXCEPTION] [UnauthorizedAccessException] Access to the path 'G:\RetroBat\emulators\m2emulator\Emulator.ini' is denied.
2024-09-17 15:34:45.560 [STACK] [StackTrace] at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path)
at EmulatorLauncher.Common.FileFormats.IniFile.Save()
2024-09-17 15:34:45.583 [INFO] [PadToKey] Loaded G:\RetroBat\emulationstation\.emulationstation\es_padtokey.cfg
2024-09-17 15:34:45.585 [INFO] [Running] G:\RetroBat\emulators\m2emulator\emulator_multicpu.exe vcop
2024-09-17 15:34:45.842 [INFO] [PadToKey] Add joystick Xbox One S Controller - Device:0, Player:1, Path:BTHENUM\{00001124-0000-1000-8000-00805F9B34FB}_VID&0002045E_PID&02E0\D&EF04829&0&E417D80DDAB8_C00000000
2024-09-17 15:37:39.760 [INFO] [SendKey] Send WM_CLOSE to emulator_multicpu
2024-09-17 15:37:40.263 [INFO] [Generator] Cleanup.
2024-09-17 15:37:40.278 [INFO] Xbox One S Controller - Device:0, Player:1, Path:BTHENUM\{00001124-0000-1000-8000-00805F9B34FB}_VID&0002045E_PID&02E0\D&EF04829&0&E417D80DDAB8_C00000000
2024-09-17 15:44:51.194 [INFO] --------------------------------------------------------------
2024-09-17 15:44:51.197 [INFO] [Startup] "G:\RetroBat\emulationstation\emulatorLauncher.exe" -gameinfo "H:\TEMP\emulationstation.tmp\game.xml" -p1index 0 -p1guid 030000005e040000e002000000007200 -p1path "BTHENUM\{00001124-0000-1000-8000-00805F9B34FB}_VID&0002045E_PID&02E0\D&EF04829&0&E417D80DDAB8_C00000000" -p1name "Xbox One S Controller" -p1nbbuttons 16 -p1nbhats 1 -p1nbaxes 6 -lightgun -system model2 -emulator m2emulator -core multicpu -rom "G:\RetroBat\roms\model2\hotd.zip"
2024-09-17 15:44:51.198 [INFO] [Startup] Loading configuration.
2024-09-17 15:44:51.201 [INFO] [Startup] Loading ES settings.
2024-09-17 15:44:51.209 [INFO] [GUNS] Lightgun game : setting default lightung value to true.
2024-09-17 15:44:51.229 [INFO] [Game] The House of the Dead
2024-09-17 15:44:51.232 [INFO] [Startup] Loading Controller configuration.
2024-09-17 15:44:51.605 [INFO] [Generator] Using Model2Generator
2024-09-17 15:44:51.670 [INFO] [Generator] Loading features.
2024-09-17 15:44:51.676 [INFO] [Generator] Getting m2emulator path and executable name.
2024-09-17 15:44:51.951 [INFO] Configuring input file G:\RetroBat\emulators\m2emulator\CFG\hotd.input
2024-09-17 15:44:51.954 [INFO] [INFO] Creating controller configuration for Model2
2024-09-17 15:44:52.264 [INFO] [WHEELS] Found 0 usable wheels.
2024-09-17 15:44:52.264 [INFO] [INFO] gamecontrollerdb.txt file found in tools folder. Controller mapping will be available.
2024-09-17 15:44:52.271 [INFO] [WHEELS] Input values all set.
2024-09-17 15:44:52.271 [INFO] [INFO] Assigned controller BTHENUM\{00001124-0000-1000-8000-00805F9B34FB}_VID&0002045E_PID&02E0\D&EF04829&0&E417D80DDAB8_C00000000 to player : 1
2024-09-17 15:44:52.271 [INFO] Saving input file G:\RetroBat\emulators\m2emulator\CFG\hotd.input
2024-09-17 15:44:52.272 [ERROR] [IniFile] Save failed Access to the path 'G:\RetroBat\emulators\m2emulator\Emulator.ini' is denied.
2024-09-17 15:44:52.272 [EXCEPTION] [UnauthorizedAccessException] Access to the path 'G:\RetroBat\emulators\m2emulator\Emulator.ini' is denied.
2024-09-17 15:44:52.273 [STACK] [StackTrace] at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path)
at EmulatorLauncher.Common.FileFormats.IniFile.Save()
2024-09-17 15:44:52.302 [INFO] [PadToKey] Loaded G:\RetroBat\emulationstation\.emulationstation\es_padtokey.cfg
2024-09-17 15:44:52.304 [INFO] [Running] G:\RetroBat\emulators\m2emulator\emulator_multicpu.exe hotd
2024-09-17 15:44:52.552 [INFO] [PadToKey] Add joystick Xbox One S Controller - Device:0, Player:1, Path:BTHENUM\{00001124-0000-1000-8000-00805F9B34FB}_VID&0002045E_PID&02E0\D&EF04829&0&E417D80DDAB8_C00000000
2024-09-17 15:56:11.550 [INFO] [SendKey] Send WM_CLOSE to emulator_multicpu
2024-09-17 15:56:12.011 [INFO] [Generator] Cleanup.
2024-09-17 16:30:16.430 [INFO] --------------------------------------------------------------
2024-09-17 16:30:16.434 [INFO] [Startup] "G:\RetroBat\emulationstation\emulatorLauncher.exe" -gameinfo "H:\TEMP\emulationstation.tmp\game.xml" -p1index 0 -p1guid 030000005e040000e002000000007200 -p1path "BTHENUM\{00001124-0000-1000-8000-00805F9B34FB}_VID&0002045E_PID&02E0\D&EF04829&0&E417D80DDAB8_C00000000" -p1name "Xbox One S Controller" -p1nbbuttons 16 -p1nbhats 1 -p1nbaxes 6 -lightgun -system model2 -emulator m2emulator -core multicpu -rom "G:\RetroBat\roms\model2\hotd.zip"
2024-09-18 09:55:41.567 [INFO] --------------------------------------------------------------
2024-09-18 09:55:41.571 [INFO] [Startup] "G:\RetroBat\emulationstation\emulatorLauncher.exe" -gameinfo "H:\TEMP\emulationstation.tmp\game.xml" -p1index 0 -p1guid 030000005e040000e002000000007200 -p1path "BTHENUM\{00001124-0000-1000-8000-00805F9B34FB}_VID&0002045E_PID&02E0\D&EF04829&0&E417D80DDAB8_C00000000" -p1name "Xbox One S Controller" -p1nbbuttons 16 -p1nbhats 1 -p1nbaxes 6 -lightgun -system model2 -emulator m2emulator -core multicpu -rom "G:\RetroBat\roms\model2\vcop.zip"
2024-09-18 09:55:41.572 [INFO] [Startup] Loading configuration.
2024-09-18 09:55:41.575 [INFO] [Startup] Loading ES settings.
2024-09-18 09:55:41.584 [INFO] [GUNS] Lightgun game : setting default lightung value to true.
2024-09-18 09:55:41.603 [INFO] [Game] Virtua Cop
2024-09-18 09:55:41.605 [INFO] [Startup] Loading Controller configuration.
2024-09-18 09:55:41.980 [INFO] [Generator] Using Model2Generator
2024-09-18 09:55:42.039 [INFO] [Generator] Loading features.
2024-09-18 09:55:42.045 [INFO] [Generator] Getting m2emulator path and executable name.
2024-09-18 09:55:42.324 [INFO] [PadToKey] Loaded G:\RetroBat\emulationstation\.emulationstation\es_padtokey.cfg
2024-09-18 09:55:42.326 [INFO] [Running] G:\RetroBat\emulators\m2emulator\emulator_multicpu.exe vcop
2024-09-18 09:55:42.595 [INFO] [PadToKey] Add joystick Xbox One S Controller - Device:0, Player:1, Path:BTHENUM\{00001124-0000-1000-8000-00805F9B34FB}_VID&0002045E_PID&02E0\D&EF04829&0&E417D80DDAB8_C00000000
2024-09-18 09:57:26.852 [INFO] Xbox One S Controller - Device:0, Player:1, Path:BTHENUM\{00001124-0000-1000-8000-00805F9B34FB}_VID&0002045E_PID&02E0\D&EF04829&0&E417D80DDAB8_C00000000
2024-09-18 09:57:26.854 [INFO] [Generator] Cleanup.
Eusebe32- Messages : 14
Date d'inscription : 2024-09-05
Re: Model 2 & Retro Shooter Lightguns
Ok and if you compare both .ini files are there still differences ?
Maybe force feedback or something else is generating this behaviour...
If the .ini files are identical, than there should be no differences between the way you did it (lock file for changes) and now
Maybe force feedback or something else is generating this behaviour...
If the .ini files are identical, than there should be no differences between the way you did it (lock file for changes) and now
tartifless- Admin
- Messages : 1642
Date d'inscription : 2021-04-27
Re: Model 2 & Retro Shooter Lightguns
So, I checked and I didn't find any differences.
The issue is that the mouse is moving from one corner to another and it's hard to have it to move anywhere else (besides if I move milimeter by milimeter). I tried changing values in m2emulator (F2 then gun settings) but nothing changed.
If I run the emulator by myself, it doesn't do this
I tried to change values in RetroBat (game options, controles, analogic deadzone & analogic sensitivity) and same here, no changes noticed
I'll continue to do some test, but if you have any other ideas... as I'm a bit lost here.
Thanks a lot
The issue is that the mouse is moving from one corner to another and it's hard to have it to move anywhere else (besides if I move milimeter by milimeter). I tried changing values in m2emulator (F2 then gun settings) but nothing changed.
If I run the emulator by myself, it doesn't do this
I tried to change values in RetroBat (game options, controles, analogic deadzone & analogic sensitivity) and same here, no changes noticed
I'll continue to do some test, but if you have any other ideas... as I'm a bit lost here.
Thanks a lot
Eusebe32- Messages : 14
Date d'inscription : 2024-09-05
Re: Model 2 & Retro Shooter Lightguns
Hello,
It's not possible that it does it differently when launched from RetroBat versus when launched in standalone if the .ini file is exactly similar.
The only possibility is that the calibration (in the NVRAM file) is different when running the game from RetroBat or running it in standalone.
==> Do you use the same model2 folder and roms folder for testing ?
It's not possible that it does it differently when launched from RetroBat versus when launched in standalone if the .ini file is exactly similar.
The only possibility is that the calibration (in the NVRAM file) is different when running the game from RetroBat or running it in standalone.
==> Do you use the same model2 folder and roms folder for testing ?
tartifless- Admin
- Messages : 1642
Date d'inscription : 2021-04-27
Re: Model 2 & Retro Shooter Lightguns
tartifless wrote:Hello,
It's not possible that it does it differently when launched from RetroBat versus when launched in standalone if the .ini file is exactly similar.
The only possibility is that the calibration (in the NVRAM file) is different when running the game from RetroBat or running it in standalone.
==> Do you use the same model2 folder and roms folder for testing ?
Let me double check and I'll come back to you
Eusebe32- Messages : 14
Date d'inscription : 2024-09-05
Re: Model 2 & Retro Shooter Lightguns
My mistake. The main difference lays in:
EnableFF=0 for RetroBat while it's EnableFF=1 when I set up the emulator.
I don't seem to find the option to work on this in Retrobat
And yes, I use the emulator from the Retrobat\emulator folder as well as the roms from Retrobat\roms folder
I will also try to alow the use of templates... who knows
[EDIT] it doesn't change anything
EnableFF=0 for RetroBat while it's EnableFF=1 when I set up the emulator.
I don't seem to find the option to work on this in Retrobat
And yes, I use the emulator from the Retrobat\emulator folder as well as the roms from Retrobat\roms folder
I will also try to alow the use of templates... who knows
[EDIT] it doesn't change anything
Eusebe32- Messages : 14
Date d'inscription : 2024-09-05
Re: Model 2 & Retro Shooter Lightguns
EnableFF can be found in the "WHEELS" section of retrobat options
tartifless- Admin
- Messages : 1642
Date d'inscription : 2021-04-27
Re: Model 2 & Retro Shooter Lightguns
Eusebe32 wrote:Let's not jump to conclusions and let's also not be agressive.tartifless wrote:..., in fact you do not want to help to improve RetroBat ! Let's close and no more help for you !
I was ill for 2 weeks, I didn't have the chance to work on this and I just shared a way that worked for me... if it's not the right way, I'm more than happy to help (otherwise I would not have come here, right?)
Now, here is what we find in the files,
the first one is the one that works, is in the m2emulator folder from retrobat
- m2emulator normal:
;Configuration file for the SEGA Model 2 emulator
;All text to the right of ; is ignored (use as comments)
;Add your rom directories here (max 10)
;ROMS subdirectory in the same folder than the exe is always scanned when searching for roms
;(remove the ; form Dir1)
[RomDirs]
Dir1=G:\RetroBat\roms\model2
Dir2=
Dir3=
Dir4=
Dir5=
[Renderer]
SoftwareVertexProcessing=0
Wireframe=0
FakeGouraud=0
Bilinear=1
Trilinear=0
FilterTilemaps=0 ;Enables bilinear filtering on tilemaps (looks good, but can cause some stretch artifacts)
ForceManaged=1 ;Forces the DX driver to use Managed textures instead of Dynamic. Use it if the emulator
;crashes after loading or doesn't show anything
ForceSync=0
FullScreenWidth=1280
FullScreenHeight=720
AutoMip=1
MeshTransparency=1
DrawCross=1 ;Show Crosshair in gun games
GammaR=1.0 ;Per Component Gamma correction (1.0 = no correction). Red
GammaG=1.0 ;Green
GammaB=1.0 ;Blue
WideScreenWindow=0 ;Set widescreen in windows mode: 0 - 4:3, 1 - 16:9, 2 - 16:10
FSAA=0 ;Enable full screen antialiasing in Direct3D
;These options are configured from menus so don't touch
FullMode=4
Sound=1
Frameskip=-1
AutoFull=1
Filter=1919
[Input]
XInput=1
EnableFF=1
HoldGears=0 ;Set to 1 to return to Neutral in driving games when the gear shift key is released
UseRawInput=0 ;Read mouse through Rawinput, allowing 2 mice
RawDevP1=0 ;Assign specific RawInput devices to players. If you have more than 2 mice
RawDevP2=1 ;set which one is assigned to each player (0-based)
;FORCE EFFECTS PARAMETERS
;FE_CENTERING Effect (Spring centering effect)
FE_CENTERING_Gain=0.5 ;Global gain
FE_CENTERING_Coefficient=10000 ;0-10000
FE_CENTERING_Saturation=10000 ;0-10000
FE_CENTERING_Deadband=1000 ;10%
;FE_CLUTCH Effect (Friction, wheel turn hardness)
FE_CLUTCH_Gain=1.0 ;Global gain
FE_CLUTCH_Coefficient=10000 ;0-10000
;FE_LEFT,FE_RIGHT (Constant force in a direction)
FE_LEFT_Gain=5.0 ;Global gain
FE_LEFT_Magnitude=10000 ;0-10000
FE_RIGHT_Gain=5.0 ;Global gain
FE_RIGHT_Magnitude=10000 ;0-10000
;FE_UNCENTERING (Sine force, wave the wheel, rumble)
FE_UNCENTERING_Gain=5.0 ;Global gain
FE_UNCENTERING_Magnitude=10000 ;0-10000
FE_UNCENTERING_Offset=-200
FE_UNCENTERING_Phase=0
FE_UNCENTERING_Period=56000
The second one is from retrobat, once the emulator is open.
- m2emulator Retrobat on:
;Configuration file for the SEGA Model 2 emulator
;All text to the right of ; is ignored (use as comments)
;Add your rom directories here (max 10)
;ROMS subdirectory in the same folder than the exe is always scanned when searching for roms
;(remove the ; form Dir1)
[RomDirs]
Dir1=G:\RetroBat\roms\model2
[Renderer]
SoftwareVertexProcessing=0
Wireframe=0
FakeGouraud=0
Bilinear=1
Trilinear=0
FilterTilemaps=0 ;Enables bilinear filtering on tilemaps (looks good, but can cause some stretch artifacts)
ForceManaged=0 ;Forces the DX driver to use Managed textures instead of Dynamic. Use it if the emulator
;crashes after loading or doesn't show anything
ForceSync=1
FullScreenWidth=3840
FullScreenHeight=2160
AutoMip=0
MeshTransparency=1
DrawCross=0 ;Show Crosshair in gun games
GammaR=1.0 ;Per Component Gamma correction (1.0 = no correction). Red
GammaG=1.0 ;Green
GammaB=1.0 ;Blue
WideScreenWindow=1 ;Set widescreen in windows mode: 0 - 4:3, 1 - 16:9, 2 - 16:10
FSAA=0 ;Enable full screen antialiasing in Direct3D
;These options are configured from menus so don't touch
FullMode=4
Sound=1
Frameskip=-1
AutoFull=1
Filter=1919
[Input]
XInput=1
EnableFF=0
HoldGears=0 ;Set to 1 to return to Neutral in driving games when the gear shift key is released
UseRawInput=1 ;Read mouse through Rawinput, allowing 2 mice
RawDevP1=0 ;Assign specific RawInput devices to players. If you have more than 2 mice
RawDevP2=2 ;set which one is assigned to each player (0-based)
;FORCE EFFECTS PARAMETERS
;FE_CENTERING Effect (Spring centering effect)
FE_CENTERING_Gain=0.5 ;Global gain
FE_CENTERING_Coefficient=10000 ;0-10000
FE_CENTERING_Saturation=10000 ;0-10000
FE_CENTERING_Deadband=1000 ;10%
;FE_CLUTCH Effect (Friction, wheel turn hardness)
FE_CLUTCH_Gain=1.0 ;Global gain
FE_CLUTCH_Coefficient=10000 ;0-10000
;FE_LEFT,FE_RIGHT (Constant force in a direction)
FE_LEFT_Gain=5.0 ;Global gain
FE_LEFT_Magnitude=10000 ;0-10000
FE_RIGHT_Gain=5.0 ;Global gain
FE_RIGHT_Magnitude=10000 ;0-10000
;FE_UNCENTERING (Sine force, wave the wheel, rumble)
FE_UNCENTERING_Gain=5.0 ;Global gain
FE_UNCENTERING_Magnitude=10000 ;0-10000
FE_UNCENTERING_Offset=-200
FE_UNCENTERING_Phase=0
FE_UNCENTERING_Period=56000
Hi,
Please can you make a video capture showing both guns working independently ? (shows the target in game).
Aynshe- Messages : 432
Date d'inscription : 2022-03-18
Re: Model 2 & Retro Shooter Lightguns
I will try to do this, but first I would like to see what happens when I change line by line the ini file.Aynshe wrote:Hi,
Please can you make a video capture showing both guns working independently ? (shows the target in game).
From the RetroBat version to the one I use.
Have a nice evening
Eusebe32- Messages : 14
Date d'inscription : 2024-09-05
Re: Model 2 & Retro Shooter Lightguns
Eusebe32 wrote:I will try to do this, but first I would like to see what happens when I change line by line the ini file.Aynshe wrote:Hi,
Please can you make a video capture showing both guns working independently ? (shows the target in game).
From the RetroBat version to the one I use.
Have a nice evening
For me the rawinput two players does not work under model2 and I am surprised that you indicate the opposite. Unless you can show me that m2emulator allows to activate two lightgun natively? (the red pointer and the blue pointer must be visible and move independently)
The rawinput option multi-mouse and player 2 is an error, only the choice of player 1 index should be available.
So to date, only demulshooter allows to do it. If you wish I coded a plugin for retrobat that allows to automate the execution of demulshooter and some options without having to use an alternative es-custom version with .bat https://archive.org/details/retrobat-script-demulshooter-packes-custom-nixx.-7z
Aynshe- Messages : 432
Date d'inscription : 2022-03-18
Eusebe32 likes this post
Re: Model 2 & Retro Shooter Lightguns
I have found the culprit.
After modifiing line by line I have seen that when I put 0 on "UseRawInput=" then the aim works.
The only downside is that I won't be able to play with 2 guns, but it's OK for me (as I have tons of other games where I can play with 2).
Unless we find a solution, I will stick to this for the moment.
Have a nice day and thank you for your patience
After modifiing line by line I have seen that when I put 0 on "UseRawInput=" then the aim works.
The only downside is that I won't be able to play with 2 guns, but it's OK for me (as I have tons of other games where I can play with 2).
Unless we find a solution, I will stick to this for the moment.
Have a nice day and thank you for your patience
Eusebe32- Messages : 14
Date d'inscription : 2024-09-05
Re: Model 2 & Retro Shooter Lightguns
This is known issue with model2 emulator, 2 players does ONLY work with external tool like demulshooter...
The sinden wiki can help understand all this.
The sinden wiki can help understand all this.
tartifless- Admin
- Messages : 1642
Date d'inscription : 2021-04-27
Eusebe32 likes this post
Re: Model 2 & Retro Shooter Lightguns
Eusebe32 wrote:I have found the culprit.
After modifiing line by line I have seen that when I put 0 on "UseRawInput=" then the aim works.
The only downside is that I won't be able to play with 2 guns, but it's OK for me (as I have tons of other games where I can play with 2).
Unless we find a solution, I will stick to this for the moment.
Have a nice day and thank you for your patience
I suggest a solution with demulshooter in my previous message.
Aynshe- Messages : 432
Date d'inscription : 2022-03-18
Eusebe32 likes this post
Re: Model 2 & Retro Shooter Lightguns
This is great, I will have a look at your file.Aynshe wrote:Eusebe32 wrote:I will try to do this, but first I would like to see what happens when I change line by line the ini file.Aynshe wrote:Hi,
Please can you make a video capture showing both guns working independently ? (shows the target in game).
From the RetroBat version to the one I use.
Have a nice evening
For me the rawinput two players does not work under model2 and I am surprised that you indicate the opposite. Unless you can show me that m2emulator allows to activate two lightgun natively? (the red pointer and the blue pointer must be visible and move independently)
The rawinput option multi-mouse and player 2 is an error, only the choice of player 1 index should be available.
So to date, only demulshooter allows to do it. If you wish I coded a plugin for retrobat that allows to automate the execution of demulshooter and some options without having to use an alternative es-custom version with .bat https://archive.org/details/retrobat-script-demulshooter-packes-custom-nixx.-7z
Thank you
Eusebe32- Messages : 14
Date d'inscription : 2024-09-05
Similar topics
» Probleme manette pour Model 2 , Model 3 et Gamecube
» Mastersystem Lightguns Games Not Working With Wiimote
» New to Retro Mod. How to turn PC on.
» RETRO NES Game issues
» this girl is losing hope on retro bat 3.6.1 let me explain
» Mastersystem Lightguns Games Not Working With Wiimote
» New to Retro Mod. How to turn PC on.
» RETRO NES Game issues
» this girl is losing hope on retro bat 3.6.1 let me explain
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum