hello
i try to run an ultimarc PacDrive with M2emulator,troubleshooter 2and mamehooker 
i run :
M2emulator V1.0
troubleshooter V1.2
mame Hooker 5.1
all work fine for indy500 ,over rev and sgt24h  ,but i can't make it work for sega rally and sega touring car championship
 
troubleshooter 2 tell me a message box "error'13' Incompatible type" for these 2 roms
i'm looking the srally.ini stcc.ini and sgt24h.ini in the TS2\memcfg file  they seems very similar i dont understand why sgt24h work and srallyc don't 
i'm looking the &H559CA4 adress with "cheat engine 6.4" and i have an alternate 0/32 for srallyc and nothing for stcc 
for stcc it seems it is not the good adress
on a second time i try to use Sailorsat lua script for daytona
 
i'm writing this lua code :
 require("model2");	-- Import model2 machine globals
function Init()
  Patch_LampOutputs();
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()
STVRLR = (I960_ReadByte(0x00500824))    	-- Reads VRView from VR View in M2EMU RAM
Video_DrawText(20,10,STVRLR,0xFFFFFF);
 if STVRLR == 1   then Video_DrawText(20,60,"COIN1",0xFFFFFF)
elseif STVRLR == 4   then Video_DrawText(20,40,"START",0xFFFFFF)
elseif STVRLR == 12  then Video_DrawText(20,40,"START",0xFFFFFF)
elseif STVRLR == 20  then Video_DrawText(20,40,"START",0xFFFFFF)
elseif STVRLR == 36  then Video_DrawText(20,40,"START",0xFFFFFF)
elseif STVRLR == 68  then Video_DrawText(20,40,"START",0xFFFFFF)
elseif STVRLR == 132 then Video_DrawText(20,40,"START",0xFFFFFF)
elseif STVRLR == 140 then Video_DrawText(20,40,"START",0xFFFFFF)
elseif STVRLR == 148 then Video_DrawText(20,40,"START",0xFFFFFF)
elseif STVRLR == 164 then Video_DrawText(20,40,"START",0xFFFFFF)
elseif STVRLR == 196 then Video_DrawText(20,40,"START",0xFFFFFF)
end
    if STVRLR == 8   then Video_DrawText(20,60,"VR1",0xFF0000)
elseif STVRLR == 12  then Video_DrawText(20,60,"VR1",0xFF0000)
elseif STVRLR == 136 then Video_DrawText(20,60,"VR1",0xFF0000)
elseif STVRLR == 140 then Video_DrawText(20,60,"VR1",0xFF0000)
end
    if STVRLR == 16  then Video_DrawText(20,60,"VR2",0x0000FF)
elseif STVRLR == 20  then Video_DrawText(20,60,"VR2",0x0000FF)
elseif STVRLR == 144 then Video_DrawText(20,60,"VR2",0x0000FF)
elseif STVRLR == 148 then Video_DrawText(20,60,"VR2",0x0000FF)
end
    if STVRLR == 32  then Video_DrawText(20,60,"VR3",0xFFFF00)
elseif STVRLR == 36  then Video_DrawText(20,60,"VR3",0xFFFF00)
elseif STVRLR == 160 then Video_DrawText(20,60,"VR3",0xFFFF00)
elseif STVRLR == 164 then Video_DrawText(20,60,"VR3",0xFFFF00)
end
    if STVRLR == 64  then Video_DrawText(20,60,"VR4",0x00FF00)
elseif STVRLR == 68  then Video_DrawText(20,60,"VR4",0x00FF00)
elseif STVRLR == 192 then Video_DrawText(20,60,"VR4",0x00FF00)
elseif STVRLR == 196 then Video_DrawText(20,60,"VR4",0x00FF00)
end
    if STVRLR == 128 then Video_DrawText(20,80,"LEADER",0xFFFFFF)
elseif STVRLR == 132 then Video_DrawText(20,80,"LEADER",0xFFFFFF)
elseif STVRLR == 136 then Video_DrawText(20,80,"LEADER",0xFFFFFF)
elseif STVRLR == 140 then Video_DrawText(20,80,"LEADER",0xFFFFFF)
elseif STVRLR == 144 then Video_DrawText(20,80,"LEADER",0xFFFFFF)
elseif STVRLR == 148 then Video_DrawText(20,80,"LEADER",0xFFFFFF)
elseif STVRLR == 160 then Video_DrawText(20,80,"LEADER",0xFFFFFF)
elseif STVRLR == 164 then Video_DrawText(20,80,"LEADER",0xFFFFFF)
elseif STVRLR == 192 then Video_DrawText(20,80,"LEADER",0xFFFFFF)
elseif STVRLR == 196 then Video_DrawText(20,80,"LEADER",0xFFFFFF)
end
end
with this code i can see "START"  "VR1"  "VR2"  "VR3"  "VR4" and "LEADER"  blinking in M2emulator screen but i dont understand how i can use it with troubleshooter 2  and how writing  the "daytona.ini" file for the TS2\memcfg file
Somebody can he help me ?