User McUser
Registered:1422472576 Posts: 125
Posted 1434325196
Reply with quote
#1
Announcing the first release of MVM, the Mainscreen View Manager for Artemis. Control what view is shown on as many "mainscreen" consoles as you please. Download from here: https://github.com/UserMcUser/node-MVM (requires Node.js - download that here: https://nodejs.org/download/ ) Video: [video]https://www.youtube.com/watch?v=1zd3r0ixs-A[/video] Demo PC is Dell Optiplex 790 (Core i5-2400 w/4GB RAM, Win7 32bit. Running three copies of Artemis + all 3 proxies. Two lower screens are HP Stream 7s on WiFi.) Known Issues:The proxied clients get a little choppy at times, especially when docked at a base. Not sure if this is the code or my shitty WiFi. If anyone has several Ethernet networked clients they can test with, please let me know. (You can see this in the video on the second rotation.) Sometimes proxied clients temporarily time out and then reconnect. Sometimes proxied clients escape to the Console Choice screen and you have to re-select "ready".
ryleyra
Registered:1399599588 Posts: 3,214
Posted 1434326960
Reply with quote
#2
Awesome! I assume you fixed your proxy problem. This is going to be so helpful for custom bridges. I'll have to download it and test it myself.
User McUser
Registered:1422472576 Posts: 125
Posted 1434328083
Reply with quote
#3
Quote:
Originally Posted by ryleyra Awesome! I assume you fixed your proxy problem. This is going to be so helpful for custom bridges. I'll have to download it and test it myself.
Yes, I had forgotten that Aretmis network traffic is "little endian" and was reading the bitmasks backwards. It was only due to a coincidence plus another mistake that I made that my first test build worked at all as it turns out. Let me know how your tests go.
notsabbat
Registered:1390458126 Posts: 1,495
Posted 1434328722
Reply with quote
#4
I am more excited about this than I have any business being! This is AWESOME!!!!
__________________ -Captain of the TSN Gungnir JN-001 -Eastern Front online group member -My continuing bridge build:https://artemis.forumchitchat.com/post/immersion-bridge-build-in-progress-7335195?&trail=165
User McUser
Registered:1422472576 Posts: 125
Posted 1434330272
Reply with quote
#5
I should mention that I have tested with 2.1.5 only so far. That said, I am not aware of any reason it shouldn't work with 2.1.1 or 2.2.0.
ryleyra
Registered:1399599588 Posts: 3,214
Posted 1434340053
Reply with quote
#6
Unfortunately, all I have gotten is an error. I tried to start it up with all consoles on the same machine, and the proxy forwarding to port 2011. I got the following error: C:\mvm\mvm.js:171 console.log('str: ', str); ^ ReferenceError: str is not defined at unpackBitmap (C:\mvm\mvm.js:171:30) at Socket.(anonymous) (C:\mvm\mvm.js:77:25) at Socket.emit (events.js:107:17) ... the rest is all system code If you have another port you commonly use, or I need to do something to open up the port let me know. I was just making a guess at whether 2011 was usable.
User McUser
Registered:1422472576 Posts: 125
Posted 1434340736
Reply with quote
#7
Quote:
Originally Posted by ryleyra Unfortunately, all I have gotten is an error. I tried to start it up with all consoles on the same machine, and the proxy forwarding to port 2011. I got the following error: C:\mvm\mvm.js:171 console.log('str: ', str); ^ ReferenceError: str is not defined at unpackBitmap (C:\mvm\mvm.js:171:30) at Socket.(anonymous) (C:\mvm\mvm.js:77:25) at Socket.emit (events.js:107:17) ... the rest is all system code If you have another port you commonly use, or I need to do something to open up the port let me know. I was just making a guess at whether 2011 was usable.
D'oh... I must have copied a slightly older version to Github. Re-download the zip file from GitHub and try again with a new copy (delete the files you already downloaded and re-run 'npm install' fresh.) The listen port can be any valid port number; I usually use 3010, 4010, and so on, but any number less than 65535 ought to work.
ryleyra
Registered:1399599588 Posts: 3,214
Posted 1434419923
Reply with quote
#8
Success! I was able to download the manager, install it, and run it just fine. It worked great on my laptop, running both the server and two clients, one proxied to display the Aft view. I noted that as you said, the proxy tended to lag a little bit, but it wasn't enough to be a problem. I did have to change the screen view to Aft and back again before it would "lock" into the right direction. But I was expecting that too, so it worked just fine after I initialized it. This is a great addition to the game. Some people might be disappointed that they can't get rid of the HUD, but it's a pretty simple solution, and trying something more complicated could introduce bugs.
User McUser
Registered:1422472576 Posts: 125
Posted 1434657377
· Edited
Reply with quote
#9
Now updated to v1.1.0; can now also control the perspective shown on the mainscreen though this will almost certainly require you to manually toggle the perspective at least once. I recommend deleting any v1.0 installs, re-downloading from GitHub, and re-running 'npm install' !!PLEASE NOTE!! This version changes the command-line flag "-h/--host" to "-s/--server", the "-f/--forward" flag is now optional (defaults to 2010 if not specified.)
ryleyra
Registered:1399599588 Posts: 3,214
Posted 1434739431
· Edited
Reply with quote
#10
Quote:
Originally Posted by User McUser Now updated to v1.1.0; can now also control the perspective shown on the mainscreen though this will almost certainly require you to manually toggle the perspective at least once.
Oh really? I though I found that the first person/third person perspective did not change on the Mainscreen, only on the server. Maybe that was fixed in 2.2? (Or 2.1.5, since you seem to be running that in your screenshots. Based on the bright green ship silhouette. )
User McUser
Registered:1422472576 Posts: 125
Posted 1434740391
Reply with quote
#11
I've always understood that to be how Artemis works. It's always switched perspectives with the server's mainscreen whenever I've tried it before. Could be a 2.1.5+ thing I guess, not sure.
ryleyra
Registered:1399599588 Posts: 3,214
Posted 1434742429
Reply with quote
#12
It was a bug I reported in 2.1. I never tested any earlier versions, so it may have worked fine in 2.0. Presumably, 2.1.5 fixed it.
sunnyalan
Registered:1430510723 Posts: 29
Posted 1434889481
Reply with quote
#13
i am so excited by this. it is the last piece of the jigsaw i needed in order to build a custom bridge. you are officially my hero... well for now anyway. Big thanks from the UK.
User McUser
Registered:1422472576 Posts: 125
Posted 1435799282
Reply with quote
#14
FYI, v1.2.0 released. Added option to rotate by 90,180, or 270 degrees from the actual mainscreen.
ryleyra
Registered:1399599588 Posts: 3,214
Posted 1435858870
· Edited
Reply with quote
#15
Wow, I wasn't sure that would work. Good job! BTW, I assume any other consoles on that client will have unexpected side effects, i.e., the ship being rotated from it's actual orientation. So you wouldn't want to mix the Mainscreen with any other client.