Gamoover

[move]Bienvenue sur Gamoover, portail francophone de l'arcade.

Menu

Voir les contributions

Cette section vous permet de consulter les contributions (messages, sujets et fichiers joints) d'un utilisateur. Vous ne pourrez voir que les contributions des zones auxquelles vous avez accès.

Voir les contributions Menu

Messages - gareth_iowc

#1
Citation de: misterj59510 le Mardi 05 Juillet 2022, 09:43:30 AM
Merci pour ton retour,
en faite les bornes sont vraiment vide , plus de stack plus de carte ampli plus de transfo manque des potentiomètres sur les accélérateurs etc...  il ne reste plus que la carcasse.
J'ai beaucoup de pièces en spare aussi mais pas pour les refaire toute donc elle son destinée pour mes sega rally daytona et indy (version coque plastique) que j ai 100% fonctionnel .
Elle seront équipé d un pc, volant etc .
j ai donc essayé avec une alim 5v externe pour le ln2003 câblé les ampoules comme sur ton tuto, mais j ai l'impression que la carte drive board ou autre doit renvoyer un autre signal pour que cela fonctionne .
donc je me suis demandé si tu pensé qu il était possible de passer outre tout cela avec juste un arduino le pannel lamp et une alim 5v.
j'ai fait beaucoup de recherche avant de poster cela et j ai juste trouvé ceci :  https://www.youtube.com/watch?v=FbDo8lDE3Vw
Plusieurs personne comme moi dans la même réflexion mais pas vraiment de solution.
merci a toi  ^-^

In that video im using a pacdrive - https://www.ultimarc.com/output/led-and-output-controllers/pac-drive/

Software to control the hardware was mame hooker - http://dragonking.arcadecontrols.com/static.php?page=aboutmamehooker

And the game was daytona 2
#2
Can i buy 1 x Pwm2Happ please?
#3
So I disabled FFB in the model 2 config file and it works every time, But to get it working you must go into the test menu and choose drive board test or no effects are felt in game.

Can't get force feedback working with the daytonas.lua script in place
#4
I'm having a few issues with it being consistent with the model 2 emulator.

When using SailorSats Daytona output script I get no in-game force feedback but it will work for the test menu.

With the script removed force feedback works but not as expected.

Race 1 - feedback working
Race 2 - no  feedback
Race 3 - feedback working
Race 4 - no feedback

So 1 on one-off but it will work from the test menu each time.



Is compatibility mode the "Digital PWM (FFB Converter - PWM2M2)" check box?

I have a switchable FFB rom so i can toggle to sega rally (with a board reboot). Am i still only able to play daytona and sega really with this setup?   

Thanks for the help so far :)

Daytonas.lua

require("model2"); -- Import model2 machine globals

function Init()
Patch_SpecialInputs();
Patch_LampOutputs();
end

function Patch_SpecialInputs()
-- first, disable old read
Romset_PatchDWord(0, 0x1E504, 0x5CA01E00); -- MOV g4,0x00 (NOOP?)

-- now jump to our patched read
Romset_PatchDWord(0, 0x1E508, 0x090219F8); -- CALL 0x0003FF00

-- read io port
Romset_PatchDWord(0, 0x3FF00, 0x80A03000);
Romset_PatchDWord(0, 0x3FF04, 0x01C00012); -- LDOB g4,0x01C00012

-- read patched mask
Romset_PatchDWord(0, 0x3FF08, 0x80B83000);
Romset_PatchDWord(0, 0x3FF0C, 0x00500820); -- LDOB g7,0x00500820

-- and em
Romset_PatchDWord(0, 0x3FF10, 0x58A50097); -- AND g4,g4,g7

-- restore old mask
Romset_PatchDWord(0, 0x3FF14, 0x8CB800FF); -- LDA g7,0xff

-- return
Romset_PatchDWord(0, 0x3FF18, 0x0A000000);  -- RET
end

function Patch_LampOutputs()
-- reroute 0x01C0001E to 0x00500824
for offset = 0x00000000, 0x0003FFFF, 4 do
if Romset_ReadDWord(0, offset) == 0x01C0001E then
Romset_PatchDWord(0, offset, 0x00500824);
local opcode = offset - 1;
if Romset_ReadByte(0, opcode) == 0x80 then
Romset_PatchByte(0, opcode, 0x90) -- replace LDOB with LD
end
if Romset_ReadByte(0, opcode) == 0x82 then
Romset_PatchByte(0, opcode, 0x92) -- replace STOB with ST
end
end
end
end

function PostDraw()
if I960_ReadByte(RAMBASE + 0x00000820) == 0x00 then
I960_WriteByte(RAMBASE + 0x00000820, 0xFF);
end

-- 0xFF = normal
-- 0xFD = force beginner
-- 0xFB = force advanced
-- 0xF9 = force expert

-- 0xF7 = emergency/remote start

-- 0x7F = ex.start; found in shematics but don't yet know what it does

-- 0x3E = DIK_F4
-- 0x3E = DIK_F5
local data = 0xFF;
data = XOR(SHL(Input_IsKeyPressed(0x3E), 0x07), data); -- F4 for ex.start
data = XOR(SHL(Input_IsKeyPressed(0x3F), 0x03), data);  -- F5 for emergency/remote start
I960_WriteByte(RAMBASE + 0x00000820, data);

Video_DrawText(0,0,HEX8(I960_ReadByte(0x00500824)),0xFFFFFF);
end
#5
Sorry have it working with model 2. Wasn't aware the importance of commit & reset

Supermodel3 hangs when opening so looking into that
#6


It's a custom build and the EEPROM on the FFB is from Daytona (it's been running fine with m2pac so I'm not going in blind :) )
#7
I'm using Bigpanik's M2PAC setup using the original FFB board

Re-flashed the arduino with FeederIOBoard.ino
#8
Ah ok, thanks, Can I use this setup in other modes or am I limited to raw?

Sorry having trouble finding bigpaniks post

Thanks
#9


Hi All,

I have the m2pac setup and i can see my button working etc but no forcefeed back when using force editor

Any suggestions on what i might of missed?

Thanks
#10
Citation de: BigPanik le Mercredi 24 Mars 2021, 12:30:43 PM
m3 network power!

Njz3 build a software for this, we are testing the solution:
https://www.gamoover.net/Forums/index.php?topic=42477.512

did you get chance to test? :)
#11
Citation de: BigPanik le Mercredi 24 Mars 2021, 12:30:43 PM
m3 network power!

Njz3 build a software for this, we are testing the solution:
https://www.gamoover.net/Forums/index.php?topic=42477.512

The internet is alive with the sound of model3 networking  :D :D

Exciting stuff can't wait to see what you find in your testing
#12
Is model3 translation still a planned feature?  :D
#13
Does anyone have a video of the pwm2m2 in action?
#14
Volants, guidons & contrôles non standard / [Ebauche Tuto] PWM2M2
Samedi 26 Septembre 2020, 10:13:41 AM
Can I get some details on ordering this bored please?

Does anyone have any videos of it running? Wondering how it compares to the original ffb feeling
#15
Ah sorry, I misunderstood.

I thought it was too good to be true.

Ok, I will give VR a try if I can source the ffb Rom.

Not sure I have space for a model 3 setup as well  :)
#16
Citation de: BigPanik le Mercredi 06 Mars 2019, 12:31:59 PM

Voici la beta de M13dump.exe. (x64)
http://superusr.free.fr/M13Dump.zip

M2dump.exe va chercher les octets "FFB" et "Lampes" en mémoire pour m2emu.
SailorSat co-développe MAME et SUPERMODEL3. Ainsi depuis MAME 1.65 et SuperModel3 r485, ces 2 émulateurs sont capables d'envoyer les 2 octets à un programme tiers (m13dumpe.exe), mais il faut le préciser dans la ligne de commande.

1/ Lancer m13dump.exe (vc++14 redistributable kit requis)
2/ lancer VR avec la commande: MAME.exe -output windows VR.zip

Pour model3 la commande est:
supermodel.exe -outputs=win rom.zip

Wow this is awesome! i'm gutted i've only just seen m13dump has been released.

How finished is m13 dump?

All of the lamp outputs are working but ffb is only activated when drifting left.

No grass ffb
No wall hit ffb
No car hit ffb

Are we still using a 16488A eeprom on the  driveboard?