-
Notifications
You must be signed in to change notification settings - Fork 118
Does not run on windows #98
Description
I get this when I run go run server.go:
2026/02/01 14:12:26 Starting monitoring server at :3535
2026/02/01 14:12:26 Profiling is enabled at :3535/debug/pprof
2026/02/01 14:12:26 Config: {Path:apps/streetfighter/Street Fighter One AppFile:SFOne.exe WindowTitle:Street Fighter HWKey:false AppMode:collaborative AppName:StreetFighter ScreenWidth:800 ScreenHeight:600 IsWindowMode:0xc00000aad4 DiscoveryHost: InstanceAddr:192.168.1.154:8080 HasChat:false PageTitle:Street Fighter One - Cloud Morph StunTurn: VideoCodec:h264 IsVirtualized:false NAT1To1IP: DisableInterceptors:false}
2026/02/01 14:12:26 Spawn cloudapp server
handler &{ [0xc0000cc960 0xc0000ccb40 0xc0000ccd20 0xc0000ccf00 0xc0000cd0e0 0xc0000cd2c0] map[] false [] {false false false { []} [] }}
2026/02/01 14:12:26 Embedded server
2026/02/01 14:12:26 listening syncinput at port 9090
{apps/streetfighter/Street Fighter One SFOne.exe Street Fighter false collaborative StreetFighter 800 600 0xc00000aad4 192.168.1.154:8080 false Street Fighter One - Cloud Morph h264 false false}
2026/02/01 14:12:26 execing run-wine.sh
2026/02/01 14:12:26 You are running on Windows
2026/02/01 14:12:26 params: [-ExecutionPolicy Bypass -F run-app.ps1 apps/streetfighter/Street Fighter One SFOne.exe Street Fighter app 800 600 -w windows -vcodec h264]
2026/02/01 14:12:26 Done running script
2026/02/01 14:12:26 running D:\Downloads\cloud-morph-master\cloud-morph-master/winvm/apps/streetfighter/Street Fighter One/SFOne.exe
2026/02/01 14:12:26
2026/02/01 14:12:26 INFO: No tasks running with the specified criteria.
2026/02/01 14:12:26
2026/02/01 14:12:26 INFO: No tasks running with the specified criteria.
2026/02/01 14:12:26
2026/02/01 14:12:26 INFO: No tasks running with the specified criteria.
2026/02/01 14:12:26 Start-Process : This command cannot be run due to the error: The system cannot find the file specified.
2026/02/01 14:12:26 At D:\Downloads\cloud-morph-master\cloud-morph-master\run-app.ps1:12 char:8
2026/02/01 14:12:26 + $app = Start-Process "$PSScriptRoot/winvm/$path/$appfile" -PassThru
2026/02/01 14:12:26 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2026/02/01 14:12:26 + CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException
2026/02/01 14:12:26 + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
2026/02/01 14:12:26
2026/02/01 14:12:28 Get-Process : Cannot bind argument to parameter 'Id' because it is null.
2026/02/01 14:12:28 At D:\Downloads\cloud-morph-master\cloud-morph-master\run-app.ps1:14 char:28
2026/02/01 14:12:28 + $title = ((Get-Process -Id $app.id).mainWindowTitle)
2026/02/01 14:12:28 + ~~~~~~~
2026/02/01 14:12:28 + CategoryInfo : InvalidData: (:) [Get-Process], ParameterBindingValidationException
2026/02/01 14:12:28 + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.GetProcessC
2026/02/01 14:12:28 ommand
2026/02/01 14:12:28
2026/02/01 14:12:30 encoding params:
2026/02/01 14:12:30 -f gdigrab -framerate 30 -i title="" -pix_fmt yuv420p -c:v libx264 -tune zerolatency -vf scale=1280:-2 -f rtp rtp://127.0.0.2:5004
2026/02/01 14:12:31
2026/02/01 14:12:31 Handles NPM(K) PM(K) WS(K) CPU(s) Id SI ProcessName
2026/02/01 14:12:31 ------- ------ ----- ----- ------ -- -- -----------
2026/02/01 14:12:31 21 5 26680 2848 0.00 9648 1 ffmpeg
2026/02/01 14:12:33 Start-Process : Cannot validate argument on parameter 'ArgumentList'. The argument is null or empty. Provide an
2026/02/01 14:12:33 argument that is not null or empty, and then try the command again.
2026/02/01 14:12:33 At D:\Downloads\cloud-morph-master\cloud-morph-master\run-app.ps1:43 char:77
2026/02/01 14:12:33 + ... ScriptRoot/winvm/syncinput.exe -ArgumentList "$title", ".", "windows"
2026/02/01 14:12:33 + ~~~~~~~~~~~~~~~~~~~~~~~~
2026/02/01 14:12:33 + CategoryInfo : InvalidData: (:) [Start-Process], ParameterBindingValidationException
2026/02/01 14:12:33 + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.StartProcessCommand
2026/02/01 14:12:33
2026/02/01 14:12:33
2026/02/01 14:12:33
2026/02/01 14:12:33 Launched application VM
2026/02/01 14:12:33 Setup Video Listener
panic: listen udp :5004: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
goroutine 1 [running]:
github.com/giongto35/cloud-morph/pkg/core/go/cloudapp.(*ccImpl).newLocalStreamListener(0xc00002a5d0?, 0x138c)
D:/Downloads/cloud-morph-master/cloud-morph-master/pkg/core/go/cloudapp/cloudapp.go:281 +0x1ca
github.com/giongto35/cloud-morph/pkg/core/go/cloudapp.NewCloudAppClient({{0xc00001a7e0, 0x25}, {0xc00000aa47, 0x9}, {0xc00000aa60, 0xe}, 0x0, {0xc00000aaa0, 0xd}, {0xc00000aa80, ...}, ...}, ...)
D:/Downloads/cloud-morph-master/cloud-morph-master/pkg/core/go/cloudapp/cloudapp.go:99 +0x359
github.com/giongto35/cloud-morph/pkg/core/go/cloudapp.NewCloudService({{0xc00001a7e0, 0x25}, {0xc00000aa47, 0x9}, {0xc00000aa60, 0xe}, 0x0, {0xc00000aaa0, 0xd}, {0xc00000aa80, ...}, ...})
D:/Downloads/cloud-morph-master/cloud-morph-master/pkg/core/go/cloudapp/service.go:258 +0x205
github.com/giongto35/cloud-morph/pkg/core/go/cloudapp.NewServerWithHTTPServerMux({{0xc00001a7e0, 0x25}, {0xc00000aa47, 0x9}, {0xc00000aa60, 0xe}, 0x0, {0xc00000aaa0, 0xd}, {0xc00000aa80, ...}, ...}, ...)
D:/Downloads/cloud-morph-master/cloud-morph-master/pkg/core/go/cloudapp/server.go:71 +0x245
main.NewServer()
D:/Downloads/cloud-morph-master/cloud-morph-master/server.go:211 +0x62d
main.main()
D:/Downloads/cloud-morph-master/cloud-morph-master/server.go:315 +0xb6
exit status 2
PS D:\Downloads\cloud-morph-master\cloud-morph-master> go run server.go
2026/02/01 14:23:28 Starting monitoring server at :3535
2026/02/01 14:23:28 Profiling is enabled at :3535/debug/pprof
2026/02/01 14:23:28 Config: {Path:apps/streetfighter/Street Fighter One AppFile:SFOne.exe WindowTitle:Street Fighter HWKey:false AppMode:collaborative AppName:StreetFighter ScreenWidth:800 ScreenHeight:600 IsWindowMode:0xc00000aad4 DiscoveryHost: InstanceAddr:192.168.1.154:8080 HasChat:false PageTitle:Street Fighter One - Cloud Morph StunTurn: VideoCodec:h264 IsVirtualized:false NAT1To1IP: DisableInterceptors:false}
2026/02/01 14:23:28 Spawn cloudapp server
handler &{ [0xc0000cc960 0xc0000ccb40 0xc0000ccd20 0xc0000ccf00 0xc0000cd0e0 0xc0000cd2c0] map[] false [] {false false false { []} [] }}
2026/02/01 14:23:28 Embedded server
2026/02/01 14:23:28 listening syncinput at port 9090
{apps/streetfighter/Street Fighter One SFOne.exe Street Fighter false collaborative StreetFighter 800 600 0xc00000aad4 192.168.1.154:8080 false Street Fighter One - Cloud Morph h264 false false}
2026/02/01 14:23:28 execing run-wine.sh
2026/02/01 14:23:28 You are running on Windows
2026/02/01 14:23:28 params: [-ExecutionPolicy Bypass -F run-app.ps1 apps/streetfighter/Street Fighter One SFOne.exe Street Fighter app 800 600 -w windows -vcodec h264]
2026/02/01 14:23:28 Done running script
2026/02/01 14:23:28 running D:\Downloads\cloud-morph-master\cloud-morph-master/winvm/apps/streetfighter/Street Fighter One/SFOne.exe
2026/02/01 14:23:28
2026/02/01 14:23:28 INFO: No tasks running with the specified criteria.
2026/02/01 14:23:28
2026/02/01 14:23:28 INFO: No tasks running with the specified criteria.
2026/02/01 14:23:28
2026/02/01 14:23:28 INFO: No tasks running with the specified criteria.
2026/02/01 14:23:28 Start-Process : This command cannot be run due to the error: The system cannot find the file specified.
2026/02/01 14:23:28 At D:\Downloads\cloud-morph-master\cloud-morph-master\run-app.ps1:12 char:8
2026/02/01 14:23:28 + $app = Start-Process "$PSScriptRoot/winvm/$path/$appfile" -PassThru
2026/02/01 14:23:28 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2026/02/01 14:23:28 + CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException
2026/02/01 14:23:28 + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
2026/02/01 14:23:28
2026/02/01 14:23:30 Get-Process : Cannot bind argument to parameter 'Id' because it is null.
2026/02/01 14:23:30 At D:\Downloads\cloud-morph-master\cloud-morph-master\run-app.ps1:14 char:28
2026/02/01 14:23:30 + $title = ((Get-Process -Id $app.id).mainWindowTitle)
2026/02/01 14:23:30 + ~~~~~~~
2026/02/01 14:23:30 + CategoryInfo : InvalidData: (:) [Get-Process], ParameterBindingValidationException
2026/02/01 14:23:30 + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.GetProcessC
2026/02/01 14:23:30 ommand
2026/02/01 14:23:30
2026/02/01 14:23:32 encoding params:
2026/02/01 14:23:32 -f gdigrab -framerate 30 -i title="" -pix_fmt yuv420p -c:v libx264 -tune zerolatency -vf scale=1280:-2 -f rtp rtp://127.0.0.2:5004
2026/02/01 14:23:32
2026/02/01 14:23:32 Handles NPM(K) PM(K) WS(K) CPU(s) Id SI ProcessName
2026/02/01 14:23:32 ------- ------ ----- ----- ------ -- -- -----------
2026/02/01 14:23:32 21 5 26680 2848 0.00 29260 1 ffmpeg
2026/02/01 14:23:35 Start-Process : Cannot validate argument on parameter 'ArgumentList'. The argument is null or empty. Provide an
2026/02/01 14:23:35 argument that is not null or empty, and then try the command again.
2026/02/01 14:23:35 At D:\Downloads\cloud-morph-master\cloud-morph-master\run-app.ps1:43 char:77
2026/02/01 14:23:35 + ... ScriptRoot/winvm/syncinput.exe -ArgumentList "$title", ".", "windows"
2026/02/01 14:23:35 + ~~~~~~~~~~~~~~~~~~~~~~~~
2026/02/01 14:23:35
2026/02/01 14:23:35
2026/02/01 14:23:35 + CategoryInfo : InvalidData: (:) [Start-Process], ParameterBindingValidationException
2026/02/01 14:23:35 + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.StartProcessCommand
2026/02/01 14:23:35
2026/02/01 14:23:35 Launched application VM
2026/02/01 14:23:35 Setup Video Listener
panic: listen udp :5004: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
goroutine 1 [running]:
github.com/giongto35/cloud-morph/pkg/core/go/cloudapp.(*ccImpl).newLocalStreamListener(0xc00002a5d0?, 0x138c)
D:/Downloads/cloud-morph-master/cloud-morph-master/pkg/core/go/cloudapp/cloudapp.go:281 +0x1ca
github.com/giongto35/cloud-morph/pkg/core/go/cloudapp.NewCloudAppClient({{0xc00001a7e0, 0x25}, {0xc00000aa47, 0x9}, {0xc00000aa60, 0xe}, 0x0, {0xc00000aaa0, 0xd}, {0xc00000aa80, ...}, ...}, ...)
D:/Downloads/cloud-morph-master/cloud-morph-master/pkg/core/go/cloudapp/cloudapp.go:99 +0x359
github.com/giongto35/cloud-morph/pkg/core/go/cloudapp.NewCloudService({{0xc00001a7e0, 0x25}, {0xc00000aa47, 0x9}, {0xc00000aa60, 0xe}, 0x0, {0xc00000aaa0, 0xd}, {0xc00000aa80, ...}, ...})
D:/Downloads/cloud-morph-master/cloud-morph-master/pkg/core/go/cloudapp/service.go:258 +0x205
github.com/giongto35/cloud-morph/pkg/core/go/cloudapp.NewServerWithHTTPServerMux({{0xc00001a7e0, 0x25}, {0xc00000aa47, 0x9}, {0xc00000aa60, 0xe}, 0x0, {0xc00000aaa0, 0xd}, {0xc00000aa80, ...}, ...}, ...)
D:/Downloads/cloud-morph-master/cloud-morph-master/pkg/core/go/cloudapp/server.go:71 +0x245
main.NewServer()
D:/Downloads/cloud-morph-master/cloud-morph-master/server.go:211 +0x62d
main.main()
D:/Downloads/cloud-morph-master/cloud-morph-master/server.go:315 +0xb6
exit status 2