Main > Driving & Racing Cabinets

Sega Model 2 UI

<< < (2/22) > >>

Nuexzz:
Add - Widescreen (correctly) Dead or Alive (Model 2B)
Add - Widescreen (correctly) Dead or Alive (Model 2A)


--- Code: ---require("model2")
function Init()
end
function Frame()
local gameState = I960_ReadByte(0x54F9D5)
if gameState==0x1
then
Model2_SetWideScreen(1)
Model2_SetStretchBLow(1)
Model2_SetStretchBHigh(1)
else
Model2_SetWideScreen(0)
Model2_SetStretchBLow(0)
Model2_SetStretchBHigh(0)
end
end
--- End code ---

Add - Widescreen (correctly) Desert Tank


--- Code: ---require("model2")
function Init()
end
function Frame()
Model2_SetWideScreen(1)
Model2_SetStretchBLow(1)
Model2_SetStretchBHigh(1)
end

--- End code ---
   

Howard_Casto:
I've got a lot of scripts I wrote... maybe if I can ever get motivated to get ts2 out the door we can merge them into an all in one solution.  I just added some basic stuff like widescreen, scanlines ect. 

Nuexzz:
it could be .. I would also like to implement sweetfx (only for the curvature mode) because I could not configure it without the scanlines, I think it loses a lot of quality

tomato123:
I just test the program. The volume can be adjust in real time. 

But the function I need is reduce the volume to a "preset" level" (For example If I can set it at 10%).  After exit, the game I played, it should "restore" to original volume level (The volume level before I run the game).   

The process should be like this:

--- Quote ---1) My current computer volume is 75% (could be any volume)
2) The program should record the current volume when double click the game
3) Before it run the game, reduce the volume to the "preset" level (For example, 10%)
4) Enjoy playing the game at 10% volume.
5) When exit the game, the volume should be restore to 75%

--- End quote ---

Sorry for asking too much! :notworthy:




--- Quote from: Nuexzz on March 12, 2019, 07:46:47 pm ---
--- Quote from: tomato123 on March 12, 2019, 10:39:07 am ---Thanks! My friend!  Can you add a feature to adjust the volume to preset level, and then restore the volume after the game?

--- End quote ---

if now that I think that is a good function to add, since I am looking for the wide screen hacks of the games and I have to reduce the volume from windows.

added (you can try it and tell me if everything works correctly then I will update to the first post )

 thanks :applaud:

--- End quote ---

Nuexzz:
Add - Widescreen (correctly) Indianapolis 500 (Rev A, Deluxe)               
Add - Widescreen (correctly) Indianapolis 500 (Rev A, Twin, Newer rev)           
Add - Widescreen (correctly) Indianapolis 500 (Rev A, Twin, Older rev)   
add - new GUI style


--- Code: ---require("model2")
function Init()
end
function Frame()
Model2_SetWideScreen(1)
Model2_SetStretchBLow(1)
Model2_SetStretchBHigh(1)
local gameState = I960_ReadByte(0x54C224)
if gameState==0x5
or gameState==0x6
then
Model2_SetStretchAHigh(1)
Model2_SetStretchALow(1)
else
Model2_SetStretchAHigh(0)
Model2_SetStretchALow(0)
end
end
--- End code ---


 

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version