"PortIn Does Not Exist" Error

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!

"PortIn Does Not Exist" Error

Postby joec3109 » Thu Mar 31, 2022 10:58 am

Hey everyone,

I'm working on setting up SuperModel. I'm using Svn 881, with Supermodel UI r-860. When I go to load a rom, I get the following error seen in the screenshot. I searched and saw someone had a similar error years ago. In that scenario the cmd line -no-net was used and that seemed to solve it. However I've tried launching with the -no-net command, and I still get the same error. Anyone have a guess as to how I could fix the issue?
joec3109
 
Posts: 4
Joined: Sat May 23, 2020 2:28 pm

Re: "PortIn Does Not Exist" Error

Postby Bart » Thu Mar 31, 2022 4:01 pm

joec3109 wrote:Hey everyone,

I'm working on setting up SuperModel. I'm using Svn 881, with Supermodel UI r-860. When I go to load a rom, I get the following error seen in the screenshot. I searched and saw someone had a similar error years ago. In that scenario the cmd line -no-net was used and that seemed to solve it. However I've tried launching with the -no-net command, and I still get the same error. Anyone have a guess as to how I could fix the issue?


Try adding PortIn=0 or something to the config file. This shouldn't happen. I feel like there should be a default value that prevents the emulator from crashing.
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: "PortIn Does Not Exist" Error

Postby Bart » Thu Mar 31, 2022 4:10 pm

So I just confirmed that this does probably mean that Supermodel UI or whatever is launching Supermodel with network emulation. And there are no default values set so it must mean that PortIn, PortOut, and AddressOut are not defined in your configuration file (you can confirm this by pasting the contents of Supermodel.log when you get this error here). I've submitted a code change which should appear as r882 which uses default values but I find it curious that a launcher would enable the net board by default.
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: "PortIn Does Not Exist" Error

Postby joec3109 » Thu Mar 31, 2022 4:24 pm

Thanks for taking a look Bart. So I previously set the PortIn, PortOut values to zero. I'll post the log here to confirm.

For some reason I can't seem to attach the log to this post (I'm also not sure if my initial post attached the screenshot). Going to try to post here:

[Info] Supermodel Version 0.3a-svn-881
[Info] Started as:
[Info] argv[0] = Supermodel.exe
[Info] argv[1] = F:\LaunchBox\Games\Sega Model 3\daytona2.zip
[Info] Opened F:\LaunchBox\Games\Sega Model 3\daytona2.zip.
[Info] daytona2:
[Info] banked_crom: stride=8, chunk size=2, byte swap=1
[Info] mpr-20848.4, crc32=0x5b6c8b7d, offset=0x00000000
[Info] mpr-20847.3, crc32=0xeda966ee, offset=0x00000002
[Info] mpr-20846.2, crc32=0xf44c5c7a, offset=0x00000004
[Info] mpr-20845.1, crc32=0x6037712c, offset=0x00000006
[Info] mpr-20852.8, crc32=0xd606ad38, offset=0x02000000
[Info] mpr-20851.7, crc32=0x6e7a64b7, offset=0x02000002
[Info] mpr-20850.6, crc32=0xcb73758a, offset=0x02000004
[Info] mpr-20849.5, crc32=0x50dee4af, offset=0x02000006
[Info] mpr-20856.12, crc32=0x0367a242, offset=0x04000000
[Info] mpr-20855.11, crc32=0xf1ff0794, offset=0x04000002
[Info] mpr-20854.10, crc32=0x68d94cdf, offset=0x04000004
[Info] mpr-20853.9, crc32=0x3245ee68, offset=0x04000006
[Info] mpr-20860.16, crc32=0xe5ce2939, offset=0x06000000
[Info] mpr-20859.15, crc32=0xe14f5c46, offset=0x06000002
[Info] mpr-20858.14, crc32=0x407fbad5, offset=0x06000004
[Info] mpr-20857.13, crc32=0x1eab9c62, offset=0x06000006
[Info] crom: stride=8, chunk size=2, byte swap=1
[Info] epr-20864a.20, crc32=0x5250f3a8, offset=0x00000000
[Info] epr-20863a.19, crc32=0x1deb4686, offset=0x00000002
[Info] epr-20862a.18, crc32=0xe1b2ca61, offset=0x00000004
[Info] epr-20861a.17, crc32=0x89ba8e78, offset=0x00000006
[Info] driveboard_program: stride=1, chunk size=1, byte swap=0
[Info] epr-20985.bin, crc32=0xb139481d, offset=0x00000000
[Info] mpeg_music: stride=1, chunk size=1, byte swap=0
[Info] mpr-20887.ic18, crc32=0xa0757684, offset=0x00000000
[Info] mpr-20888.ic20, crc32=0xb495fe65, offset=0x00400000
[Info] mpr-20889.ic22, crc32=0x18eec79e, offset=0x00800000
[Info] mpr-20890.ic24, crc32=0xaac96fa2, offset=0x00c00000
[Info] mpeg_program: stride=1, chunk size=1, byte swap=1
[Info] epr-20886.ic2, crc32=0x65b05f98, offset=0x00000000
[Info] sound_program: stride=1, chunk size=1, byte swap=1
[Info] epr-20865.21, crc32=0xb70c2699, offset=0x00000000
[Info] sound_samples: stride=1, chunk size=1, byte swap=1
[Info] mpr-20866.22, crc32=0x91f40c1c, offset=0x00000000
[Info] mpr-20868.24, crc32=0xfa0c7ec0, offset=0x00400000
[Info] mpr-20867.23, crc32=0xa579c884, offset=0x00800000
[Info] mpr-20869.25, crc32=0x1f338832, offset=0x00c00000
[Info] vrom: stride=32, chunk size=2, byte swap=0
[Info] mpr-20870.26, crc32=0x7c9e573d, offset=0x00000000
[Info] mpr-20871.27, crc32=0x47a1b789, offset=0x00000002
[Info] mpr-20872.28, crc32=0x2f55b423, offset=0x00000004
[Info] mpr-20873.29, crc32=0xc9000e48, offset=0x00000006
[Info] mpr-20874.30, crc32=0x26a9cca2, offset=0x00000008
[Info] mpr-20875.31, crc32=0xbfefd21e, offset=0x0000000a
[Info] mpr-20876.32, crc32=0xfa701b87, offset=0x0000000c
[Info] mpr-20877.33, crc32=0x2cd072f1, offset=0x0000000e
[Info] mpr-20878.34, crc32=0xe6d5bc01, offset=0x00000010
[Info] mpr-20879.35, crc32=0xf1d727ec, offset=0x00000012
[Info] mpr-20880.36, crc32=0x8b370602, offset=0x00000014
[Info] mpr-20881.37, crc32=0x397322e7, offset=0x00000016
[Info] mpr-20882.38, crc32=0x9185be51, offset=0x00000018
[Info] mpr-20883.39, crc32=0xd1e39e83, offset=0x0000001a
[Info] mpr-20884.40, crc32=0x63c4639a, offset=0x0000001c
[Info] mpr-20885.41, crc32=0x61c292ca, offset=0x0000001e
[Info] Runtime configuration:
[Info] GameXMLFile=Config/Games.xml
[Info] InitStateFile=
[Info] MultiThreaded=1
[Info] GPUMultiThreaded=1
[Info] PowerPCFrequency=49
[Info] MultiTexture=0
[Info] VertexShader=
[Info] FragmentShader=
[Info] VertexShaderFog=
[Info] FragmentShaderFog=
[Info] VertexShader2D=
[Info] FragmentShader2D=
[Info] EmulateSound=1
[Info] Balance=0
[Info] EmulateDSB=1
[Info] SoundVolume=100
[Info] MusicVolume=100
[Info] LegacySoundDSP=1
[Info] ForceFeedback=1
[Info] New3DEngine=1
[Info] QuadRendering=0
[Info] XResolution=3840
[Info] YResolution=2160
[Info] FullScreen=1
[Info] WideScreen=1
[Info] Stretch=1
[Info] WideBackground=0
[Info] VSync=1
[Info] Throttle=0
[Info] ShowFrameRate=0
[Info] Crosshairs=1
[Info] FlipStereo=1
[Info] InputSystem=dinput
[Info] DirectInputConstForceLeftMax=100
[Info] DirectInputConstForceRightMax=100
[Info] DirectInputSelfCenterMax=100
[Info] DirectInputFrictionMax=100
[Info] DirectInputVibrateMax=100
[Info] XInputConstForceThreshold=30
[Info] XInputConstForceMax=100
[Info] XInputVibrateMax=100
[Info] XInputStereoVibration=1
[Info] SDLConstForceMax=100
[Info] SDLSelfCenterMax=100
[Info] SDLFrictionMax=100
[Info] SDLVibrateMax=100
[Info] SDLConstForceThreshold=30
[Info] Network=0
[Info] SimulateNet=0
[Info] Outputs=none
[Info] DumpTextures=0
[Info] InputStart1=KEY_1,JOY1_BUTTON8
[Info] InputStart2=KEY_2,JOY2_BUTTON8
[Info] InputCoin1=KEY_3,JOY1_BUTTON7
[Info] InputCoin2=KEY_4,JOY2_BUTTON7
[Info] InputServiceA=KEY_5
[Info] InputServiceB=KEY_7
[Info] InputTestA=KEY_6
[Info] InputTestB=KEY_8
[Info] InputJoyUp=KEY_UP,JOY1_UP,JOY1_POV1_UP
[Info] InputJoyDown=KEY_DOWN,JOY1_DOWN,JOY1_POV1_DOWN
[Info] InputJoyLeft=KEY_LEFT,JOY1_LEFT,JOY1_POV1_LEFT
[Info] InputJoyRight=KEY_RIGHT,JOY1_RIGHT,JOY1_POV1_RIGHT
[Info] InputJoyUp2=JOY2_UP,JOY2_POV1_UP
[Info] InputJoyDown2=JOY2_DOWN,JOY2_POV1_DOWN
[Info] InputJoyLeft2=JOY2_LEFT,JOY2_POV1_LEFT
[Info] InputJoyRight2=JOY2_RIGHT,JOY2_POV1_RIGHT
[Info] InputPunch=KEY_A,JOY1_BUTTON1
[Info] InputKick=KEY_S,JOY1_BUTTON2
[Info] InputGuard=KEY_D,JOY1_BUTTON3
[Info] InputEscape=KEY_F,JOY1_BUTTON4
[Info] InputPunch2=JOY2_BUTTON1
[Info] InputKick2=JOY2_BUTTON2
[Info] InputGuard2=JOY2_BUTTON3
[Info] InputEscape2=JOY2_BUTTON4
[Info] InputShift=KEY_A,JOY1_BUTTON6
[Info] InputBeat=KEY_S,JOY1_BUTTON3
[Info] InputCharge=KEY_D,JOY1_BUTTON1
[Info] InputJump=KEY_F,JOY1_BUTTON2
[Info] InputShortPass=KEY_A,JOY1_BUTTON1
[Info] InputLongPass=KEY_S,JOY1_BUTTON3
[Info] InputShoot=KEY_D,JOY1_BUTTON2
[Info] InputShortPass2=JOY2_BUTTON1
[Info] InputLongPass2=JOY2_BUTTON3
[Info] InputShoot2=JOY2_BUTTON2
[Info] InputSteeringLeft=KEY_LEFT
[Info] InputSteeringRight=KEY_RIGHT
[Info] InputSteering=JOY1_XAXIS
[Info] InputAccelerator=KEY_UP,JOY1_RZAXIS_POS
[Info] InputBrake=KEY_DOWN,JOY1_ZAXIS_POS
[Info] InputGearShiftUp=KEY_Y,JOY1_BUTTON6
[Info] InputGearShiftDown=KEY_H,JOY1_BUTTON5
[Info] InputGearShift1=KEY_Q
[Info] InputGearShift2=KEY_W
[Info] InputGearShift3=KEY_E
[Info] InputGearShift4=KEY_R
[Info] InputGearShiftN=KEY_T
[Info] InputVR1=KEY_A,JOY1_BUTTON1
[Info] InputVR2=KEY_S,JOY1_BUTTON2
[Info] InputVR3=KEY_D,JOY1_BUTTON3
[Info] InputVR4=KEY_F,JOY1_BUTTON4
[Info] InputViewChange=KEY_A,JOY1_BUTTON4
[Info] InputHandBrake=KEY_S,JOY1_BUTTON1
[Info] InputRearBrake=KEY_S,JOY1_BUTTON1
[Info] InputMusicSelect=KEY_D,JOY1_BUTTON2
[Info] InputTwinJoyTurnLeft=KEY_Q
[Info] InputTwinJoyTurnRight=KEY_W
[Info] InputTwinJoyForward=KEY_UP
[Info] InputTwinJoyReverse=KEY_DOWN
[Info] InputTwinJoyStrafeLeft=KEY_LEFT
[Info] InputTwinJoyStrafeRight=KEY_RIGHT
[Info] InputTwinJoyJump=KEY_E
[Info] InputTwinJoyCrouch=KEY_R
[Info] InputTwinJoyLeft1=JOY1_LEFT
[Info] InputTwinJoyLeft2=JOY1_RXAXIS_NEG
[Info] InputTwinJoyRight1=JOY1_RIGHT
[Info] InputTwinJoyRight2=JOY1_RXAXIS_POS
[Info] InputTwinJoyUp1=JOY1_UP
[Info] InputTwinJoyUp2=JOY1_RYAXIS_NEG
[Info] InputTwinJoyDown1=JOY1_DOWN
[Info] InputTwinJoyDown2=JOY1_RYAXIS_POS
[Info] InputTwinJoyShot1=KEY_A,JOY1_BUTTON5
[Info] InputTwinJoyShot2=KEY_S,JOY1_BUTTON6
[Info] InputTwinJoyTurbo1=KEY_Z,JOY1_BUTTON9
[Info] InputTwinJoyTurbo2=KEY_X,JOY1_BUTTON10
[Info] InputAnalogJoyLeft=KEY_LEFT
[Info] InputAnalogJoyRight=KEY_RIGHT
[Info] InputAnalogJoyUp=KEY_UP
[Info] InputAnalogJoyDown=KEY_DOWN
[Info] InputAnalogJoyX=JOY_XAXIS,MOUSE_XAXIS
[Info] InputAnalogJoyY=JOY_YAXIS,MOUSE_YAXIS
[Info] InputAnalogJoyTrigger=KEY_A,JOY1_RZAXIS_POS,MOUSE_LEFT_BUTTON
[Info] InputAnalogJoyEvent=KEY_S,JOY1_BUTTON1,MOUSE_RIGHT_BUTTON
[Info] InputAnalogJoyTrigger2=KEY_D,JOY1_ZAXIS_POS
[Info] InputAnalogJoyEvent2=NONE
[Info] InputGunLeft=KEY_LEFT
[Info] InputGunRight=KEY_RIGHT
[Info] InputGunUp=KEY_UP
[Info] InputGunDown=KEY_DOWN
[Info] InputGunX=MOUSE_XAXIS
[Info] InputGunY=MOUSE_YAXIS
[Info] InputTrigger=KEY_A,MOUSE_LEFT_BUTTON
[Info] InputOffscreen=KEY_S,MOUSE_RIGHT_BUTTON
[Info] InputAutoTrigger=1
[Info] InputGunLeft2=NONE
[Info] InputGunRight2=NONE
[Info] InputGunUp2=NONE
[Info] InputGunDown2=NONE
[Info] InputGunX2=NONE
[Info] InputGunY2=NONE
[Info] InputTrigger2=NONE
[Info] InputOffscreen2=NONE
[Info] InputAutoTrigger2=1
[Info] InputAnalogGunLeft=KEY_LEFT
[Info] InputAnalogGunRight=KEY_RIGHT
[Info] InputAnalogGunUp=KEY_UP
[Info] InputAnalogGunDown=KEY_DOWN
[Info] InputAnalogGunX=MOUSE_XAXIS,JOY1_XAXIS
[Info] InputAnalogGunY=MOUSE_YAXIS,JOY1_YAXIS
[Info] InputAnalogTriggerLeft=KEY_A,JOY1_ZAXIS_POS,MOUSE_LEFT_BUTTON
[Info] InputAnalogTriggerRight=KEY_S,JOY1_RZAXIS_POS,MOUSE_RIGHT_BUTTON
[Info] InputAnalogGunLeft2=NONE
[Info] InputAnalogGunRight2=NONE
[Info] InputAnalogGunUp2=NONE
[Info] InputAnalogGunDown2=NONE
[Info] InputAnalogGunX2=JOY2_XAXIS
[Info] InputAnalogGunY2=JOY2_YAXIS
[Info] InputAnalogTriggerLeft2=JOY2_ZAXIS_POS
[Info] InputAnalogTriggerRight2=JOY2_RZAXIS_POS
[Info] InputSkiLeft=KEY_LEFT
[Info] InputSkiRight=KEY_RIGHT
[Info] InputSkiUp=KEY_UP
[Info] InputSkiDown=KEY_DOWN
[Info] InputSkiX=JOY1_XAXIS
[Info] InputSkiY=JOY1_YAXIS
[Info] InputSkiPollLeft=KEY_A,JOY1_BUTTON5
[Info] InputSkiPollRight=KEY_S,JOY1_BUTTON6
[Info] InputSkiSelect1=KEY_Q,JOY1_BUTTON3
[Info] InputSkiSelect2=KEY_W,JOY1_BUTTON1
[Info] InputSkiSelect3=KEY_E,JOY1_BUTTON2
[Info] port_in=0
[Info] port_out=0
[Info] addr_out=0
[Info] EmulateNet=0
[Info] LogOutput=Supermodel.log
[Info] LogLevel=info
[Info]
joec3109
 
Posts: 4
Joined: Sat May 23, 2020 2:28 pm

Re: "PortIn Does Not Exist" Error

Postby Bart » Thu Mar 31, 2022 4:59 pm

I see port_in but not PortIn in there. The capitalization changed a long time ago. Maybe a stale config file somewhere? Or maybe the front end doesn't know about the new naming scheme?
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: "PortIn Does Not Exist" Error

Postby joec3109 » Thu Mar 31, 2022 6:04 pm

You were spot on Bart. I put those values in instead of the others and it worked! Thanks so much! On a quick follow up, any idea why playing at higher resolutions wouldn't size to the screen properly? I can play at 640x480 no problem, but 1080 or 4K just shows a small portion of the screen.
joec3109
 
Posts: 4
Joined: Sat May 23, 2020 2:28 pm

Re: "PortIn Does Not Exist" Error

Postby Bart » Thu Mar 31, 2022 6:06 pm

joec3109 wrote:You were spot on Bart. I put those values in instead of the others and it worked! Thanks so much! On a quick follow up, any idea why playing at higher resolutions wouldn't size to the screen properly? I can play at 640x480 no problem, but 1080 or 4K just shows a small portion of the screen.


I think this has something to do with Windows display scaling. Can you try turning that off in Windows display settings? It's really irritating and I'm not sure how to get it to just do the right thing when scaling is on.
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: "PortIn Does Not Exist" Error

Postby joec3109 » Thu Mar 31, 2022 6:11 pm

You were right again Bart. I normally run the scaling at 300% due to the larger screen; I turned it down to 100% and it sizes properly. Guess I'll have to look into some way to change the scaling just when I use the emu. Thanks again!

EDIT: Fixed it maybe? So for supermodel.exe, I went to Properties -> Compatability -> Change high DPI settings. Switched it to scaling performed by: Application. It now boots the games in the correct resolution/display.
joec3109
 
Posts: 4
Joined: Sat May 23, 2020 2:28 pm

Re: "PortIn Does Not Exist" Error

Postby Bart » Thu Mar 31, 2022 6:50 pm

joec3109 wrote:You were right again Bart. I normally run the scaling at 300% due to the larger screen; I turned it down to 100% and it sizes properly. Guess I'll have to look into some way to change the scaling just when I use the emu. Thanks again!

EDIT: Fixed it maybe? So for supermodel.exe, I went to Properties -> Compatability -> Change high DPI settings. Switched it to scaling performed by: Application. It now boots the games in the correct resolution/display.


That's a great find! This problem only happens on my 1080p-resolution Windows laptop. But it's good to know because I occasionally hear from users about this issue.
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: "PortIn Does Not Exist" Error

Postby Ian » Fri Apr 01, 2022 1:14 am

When you build windows binaries you can embed an optional manifest if I recall which tells windows if the app is dpi aware. If it's not set it'll render it at 96dpi or whatever and stretch it up to fit. So these apps look a bit blurry

I forget all the details but it might be worth looking into this
Ian
 
Posts: 2044
Joined: Tue Feb 23, 2016 9:23 am

Next

Return to The Fitting Room

Who is online

Users browsing this forum: No registered users and 1 guest