Not getting Widescreen on Model 2 Emulator games

Having technical difficulties with Supermodel? Last-minute wardrobe malfunction? Get help here.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Re: Not getting Widescreen on Model 2 Emulator games

Postby SailorSat » Sun Aug 28, 2016 12:06 am

You need a script for every single rom you want to run in "widescreen".
The "daytona.lua" only applies to ONE rom. - Other than that all Daytona versions will look exactly the same.

The most basic script would look like this:
Code: Select all
require("model2");   -- Import model2 machine globals

function Frame()
  Model2_SetStretchBLow(1)
  Model2_SetWideScreen(1)
end


Save it as "daytonase.lua" for the special edition to run in widescreen.

Also note: Depending on the game - Like Indy500 oder STCC - choosing "deluxe" cabinet type in the games service menu, you will end with disorted graphics, as these deluxe cabinets did in fact use widescreen monitors and the game changed aspect ratio accordingly
SailorSat
 
Posts: 33
Joined: Mon Jun 06, 2016 4:26 am

Re: Not getting Widescreen on Model 2 Emulator games

Postby Shekel » Sun Aug 28, 2016 2:54 am

I thought it was obvious that each game needed a script :) Oh, well.

You said the race runs in widescreen and the menus are in 4:3 - This is normal and what it should look like. Everything 2D will still be 2D.
User avatar
Shekel
 
Posts: 345
Joined: Wed Mar 16, 2016 12:45 pm

Re: Not getting Widescreen on Model 2 Emulator games

Postby ark216 » Tue Aug 30, 2016 2:02 pm

SailorSat wrote:You need a script for every single rom you want to run in "widescreen".
The "daytona.lua" only applies to ONE rom. - Other than that all Daytona versions will look exactly the same.

The most basic script would look like this:
Code: Select all
require("model2");   -- Import model2 machine globals

function Frame()
  Model2_SetStretchBLow(1)
  Model2_SetWideScreen(1)
end


Save it as "daytonase.lua" for the special edition to run in widescreen.

Also note: Depending on the game - Like Indy500 oder STCC - choosing "deluxe" cabinet type in the games service menu, you will end with disorted graphics, as these deluxe cabinets did in fact use widescreen monitors and the game changed aspect ratio accordingly
SailorSat wrote:You need a script for every single rom you want to run in "widescreen".
The "daytona.lua" only applies to ONE rom. - Other than that all Daytona versions will look exactly the same.

The most basic script would look like this:
Code: Select all
require("model2");   -- Import model2 machine globals

function Frame()
  Model2_SetStretchBLow(1)
  Model2_SetWideScreen(1)
end


Save it as "daytonase.lua" for the special edition to run in widescreen.

Also note: Depending on the game - Like Indy500 oder STCC - choosing "deluxe" cabinet type in the games service menu, you will end with disorted graphics, as these deluxe cabinets did in fact use widescreen monitors and the game changed aspect ratio accordingly

Holy Moly! The widescreen worked!!! You made my day Sailor Sat and Shekel!!! indeed the .lua was missing for the special edition.Sailor Sat your diagnosis was spot on!
Thank You!!!
Last edited by ark216 on Tue Aug 30, 2016 2:19 pm, edited 1 time in total.
ark216
 
Posts: 39
Joined: Thu Aug 04, 2016 1:27 pm

Re: Not getting Widescreen on Model 2 Emulator games

Postby ark216 » Tue Aug 30, 2016 2:04 pm

One more thing, about the deluxe cabinet you said that i should be selecting the 'deluxe' cabinet or any other version to refrain from graphical glitches?
Also are all .lua files he same? For instance House of the dead is running in 4:3 ratio and i don't have the .lua file for it? Can i use any random .lua file and rename it as hotd.lua (hotd=house of the dead)?
Edit: I just tried renaming any random .lua file and it didn't work.
ark216
 
Posts: 39
Joined: Thu Aug 04, 2016 1:27 pm

Re: Not getting Widescreen on Model 2 Emulator games

Postby Shekel » Tue Aug 30, 2016 2:26 pm

Glad you got it working, though I didn't write the bit you quoted :D

I never noticed any graphical corruption with the Deluxe setting, but YMMV.
User avatar
Shekel
 
Posts: 345
Joined: Wed Mar 16, 2016 12:45 pm

Re: Not getting Widescreen on Model 2 Emulator games

Postby ark216 » Tue Aug 30, 2016 4:02 pm

Where to get .lua files for other games? I need wave runner's and house of the dead.
ark216
 
Posts: 39
Joined: Thu Aug 04, 2016 1:27 pm

Re: Not getting Widescreen on Model 2 Emulator games

Postby ark216 » Tue Aug 30, 2016 4:03 pm

Shekel wrote:Glad you got it working, though I didn't write the bit you quoted :D

I never noticed any graphical corruption with the Deluxe setting, but YMMV.

Yeah man my bad i misquoted your name :D
Can you answer my question above?
ark216
 
Posts: 39
Joined: Thu Aug 04, 2016 1:27 pm

Re: Not getting Widescreen on Model 2 Emulator games

Postby Shekel » Wed Aug 31, 2016 5:05 am

waverunr.lua
Code: Select all
require("model2")

function Init()

end

function Frame()
   local state = I960_ReadByte(0x202098);
   local state2 = I960_ReadByte(0x20209C);
   local state3 = I960_ReadByte(0x2020AC);

   if state==3 and state2==5 and state3==1 then   
      Model2_SetWideScreen(0)
   else
      Model2_SetWideScreen(1)
   end

end

I don't have one for HOTD or know where I got them.
User avatar
Shekel
 
Posts: 345
Joined: Wed Mar 16, 2016 12:45 pm

Re: Not getting Widescreen on Model 2 Emulator games

Postby ark216 » Thu Sep 01, 2016 4:49 pm

Shekel wrote:waverunr.lua
Code: Select all
require("model2")

function Init()

end

function Frame()
   local state = I960_ReadByte(0x202098);
   local state2 = I960_ReadByte(0x20209C);
   local state3 = I960_ReadByte(0x2020AC);

   if state==3 and state2==5 and state3==1 then   
      Model2_SetWideScreen(0)
   else
      Model2_SetWideScreen(1)
   end

end

I don't have one for HOTD or know where I got them.

Got it! Thanks!
ark216
 
Posts: 39
Joined: Thu Aug 04, 2016 1:27 pm

Re: Not getting Widescreen on Model 2 Emulator games

Postby sirgonads » Mon Feb 24, 2020 5:53 am

Damn, I don't want mine to run in widescreen. I hate everything being fat. Any suggestions ?
sirgonads
 
Posts: 2
Joined: Mon Oct 21, 2019 5:49 am

Previous

Return to The Fitting Room

Who is online

Users browsing this forum: No registered users and 1 guest