Commit graph

51 commits

Author SHA1 Message Date
88hcsif
c23347db08
Add basic N64 support on Mac (#205)
Note: mupen64plus lib unload is not working properly on Mac, so stopping and restarting N64 emulation will cause a crash
2020-06-25 22:46:12 +08:00
giongto35
57ba14a3e6 Update coordinator 2020-03-26 21:57:03 +08:00
giongto35
59d4a3d9c2 update naming 2020-03-22 23:33:12 +08:00
giongto35
9558054449 Rename 2020-03-20 00:50:29 +08:00
giongto35
fde4a24158
Merge aspect ratio to master (#116)
* Add frame scaling support (#107)

* Update README.md with additional info about Windows builds

* Add frame scaling

* Add and enable bilinear scaling (#109)

* Add and enable bilinear scaling

* Use Go x/image lib for interpolation

* Reformat the code goimport/gofmt

* Move worker config into the pkg/worker directory

* Change separator in the save file path allowing it to work on Windows (#113)
2019-10-19 02:29:07 +08:00
Sadlil Rhythom
0e17092acb Refactor of cloud game overlord and overworker (#70)
* Introduce Makefile and go vendor directory for faster build

* WIP: Refactor cloud-game codebase with spliting overlord and worker binary

* Fix all issues and have a running build

* Complete first version of refactor
2019-09-12 03:35:21 +08:00
giongto35
0ed764ce77 Move gamelist to become a utility library, this package can be shared between overlord and worker (#72)
* Return games based on type

* Add nes extension also

* Update game list logic

* Add more files to diff
2019-08-27 07:26:33 +08:00
Sadlil Rhythom
f075846f74 Introduce Makefile and go vendor directory for faster build (#67) 2019-08-17 00:13:36 +08:00
giongto35
c7caa87624 Integrate with RetroArch to have Universal emulator. (#64)
* WIP

* Add libretro

* Update input retro

* Update cloud retro input:

* Integrate libretro remove GL

* Launch emulator by game type

* Save and load

* Update deeplink to game directly

* Done channel for naemulator

* each server handle only one session

* Only provide available clients

* Emulator based on game

* Remove all OpenGL related

* Retroarch audio

* Audio encoding mono

* Experiment with libretro audio

* Audio without datachannel

* Audio opus internal

* Remove unnecessary code

* Resampled

* Limit time frame

* Start Room and Audio by game

* Dynamic video image allocation

* Dynamic Video buffer allocation based on video resolution

* Move encoder to room

* width and height from emulator

* Padding images to fix multipler of 64

* Remove OpenGL

* Remove Open AL

* Remove OpenGL from Go mod

* Move away nanoarch logic in naemulator

* Remove unecessary savefiles.go

* Optimize Docker for caching

* Update ReadME

* Update README to introduce Retro

* Update README

* Update README.md
2019-08-02 22:06:26 +08:00
giongto35
dda0f1b446 Update to pion 2.0.23 + logic to skip private IP (#61)
* Remove unnecessary comments

* Update find best server by latencies

* Update README.md
2019-06-22 17:45:17 +08:00
giongto35
fafae16756 Match best worker based on latency + Experiment with Singapore Host (#60)
* Add echo endpoint

* Fix async

* Use latency map

* Only start webRTC after worker match

* Experiment with Singapore server

* Update comments
2019-06-21 03:47:35 +08:00
giongto35
1b39947541 Update latency 2019-06-19 04:31:09 +08:00
giongto35
2babe06950 Add prometheus client 2019-06-05 01:57:53 +08:00
giongto35
12ed615f53 Start worker port from 9000 (#47) 2019-06-03 02:41:35 +08:00
giongto35
aa6dfcb7f8 Fix icecandidate setup (#44)
* Use own stun server

* Add ice candidate

* Add turn server

* Up main_test

* Fix datachannel negotiated
2019-05-26 22:18:41 +08:00
trichimtrich
4721db201e Update new frontend (#38)
* WIP

* fix crlf

* fix crlf

* new gesture, menu, tooltip, share

* WIP share

* clear dusties and put magic

* oops

* Remove fade

* Update js behaviour
2019-05-25 13:16:32 +08:00
giongto35
48d6ddbf6d Use go mode + use pion v2 (#39)
* Update webrtv2

* Update gomod

* Update run local

* Update docker

* Update mario 3 rom

* Update script

* Throw error when overlord cannot launch
2019-05-25 12:10:04 +08:00
giongto35
facd0fdc01 Worker auto reconnect (#34)
* Change join to start

* WIP

* Use RouteWork to route worker call

* Add reconnect

* Update main test

* Remove fatal

* Update test

* Remove unnecessary
2019-05-23 19:23:45 +08:00
giongto35
a461415038 Worker listen to random port so we can run multiple worker 2019-05-21 23:54:31 +08:00
giongto35
0c4e851c0c Change done chan to 1 2019-05-20 15:16:56 +08:00
giongto35
b894375f99 Update run local 2019-05-19 23:55:41 +08:00
giongto35
c42ef403be Update closing websocket 2019-05-19 17:51:48 +08:00
giongto35
437cb25f87 Update comments 2019-05-19 13:24:24 +08:00
giongto35
e468db2d28 Update test 2019-05-19 13:13:09 +08:00
giongto35
4dc55b5cdb Clean code 2019-05-19 05:24:58 +08:00
giongto35
37254852b3 update architecture 2019-05-19 03:12:21 +08:00
trichimtrich
f8606baf51 Merge branch 'master' into frontend2 2019-05-15 02:10:18 +08:00
trichimtrich
6122deab8b WIP 2019-05-14 14:13:36 +08:00
giongto35
90cad6ee9d Add sleep 2019-05-12 17:55:03 +08:00
giongto35
d7cdf02cb7 Update test rejoin with overlord 2019-05-12 17:47:39 +08:00
giongto35
2b37360b2e update test comment 2019-05-12 17:37:04 +08:00
giongto35
38cc898976 Remove sleep 2019-05-12 15:13:18 +08:00
giongto35
6941b58455 Update test for reconnect with overlord 2019-05-12 15:11:59 +08:00
giongto35
97717c96d8 Update handshake signal 2019-05-12 13:30:48 +08:00
giongto35
01abdd2c1e Update test comments 2019-05-12 00:50:07 +08:00
giongto35
0eea6cfcc8 Close Leaked goroutine 2019-05-08 23:59:47 +08:00
giongto35
8a476c7d35 Remove session after rejoin few times 2019-05-04 01:52:05 +08:00
giongto35
745b391049 Separate room logic 2019-05-03 02:22:01 +08:00
giongto35
6b0a02a5db Update test path and game path 2019-05-03 01:49:23 +08:00
giongto35
46598b6ef7 Fix register room bug 2019-05-02 04:16:45 +08:00
giongto35
a104e7af96 Setup peerconnections for OverlordClient 2019-05-02 03:55:37 +08:00
giongto35
d9febbf0a9 Fix websocket 2019-05-02 03:01:58 +08:00
giongto35
5320283f63 Clean code 2019-05-01 21:36:01 +08:00
giongto35
8d0dfb1943 Separate create room logic 2019-05-01 21:06:05 +08:00
giongto35
d7116f11cd Update test 2019-05-01 16:37:15 +08:00
giongto35
e7567c3fa3 Refactor mode select 2019-05-01 15:56:31 +08:00
giongto35
142b9d7bb4 Refactor WIP 2019-05-01 15:36:21 +08:00
Nguyen Huu Thanh
7b2b9d034b WIP 2019-05-01 11:02:37 +08:00
Nguyen Huu Thanh
74b66ae6ea WIP 2019-04-30 17:33:35 +07:00
Nguyen Huu Thanh
1447406b02 WIP 2019-04-28 21:45:30 +07:00