pjduplooy Posted May 21 Share Posted May 21 Hi Gary On p19 of this thread, there is an explanation of how to get JS99er working on a local machine if you are so inclined. Quote Link to comment https://forums.atariage.com/topic/224744-js99er/page/28/#findComment-5470481 Share on other sites More sharing options...
Gary from OPA Posted May 21 Share Posted May 21 1 hour ago, pjduplooy said: Hi Gary On p19 of this thread, there is an explanation of how to get JS99er working on a local machine if you are so inclined. Thanks I going to try that. My mistake was using the wrong git I didn't notice there was a whole new design starting in 2018. Now I have to redo things with the newer git. Then I got to make the changes I want for my own purposes to the emulator I need to match my own real iron hardware I been developing. Besides running it locally, I want to when ready have it on my ti99ers domain as well. I got all that done with the older original JavaScript version, now just have to study the newer version and do it again with the updated git. Quote Link to comment https://forums.atariage.com/topic/224744-js99er/page/28/#findComment-5470497 Share on other sites More sharing options...
Gary from OPA Posted May 21 Share Posted May 21 (edited) 13 hours ago, pjduplooy said: Hi Gary On p19 of this thread, there is an explanation of how to get JS99er working on a local machine if you are so inclined. i tried those steps, and also the ones as listed on the github, but i get the same errors on both my windows subsystem for linux desktop that running windows 11 and on my laptop running windows 10 using the node.js for windows directly. same problem. Hopefully, i can figure it out somehow. 2024-05-21T19_59_27_541Z-debug-0.log 2024-05-21T19_59_27_541Z-eresolve-report.txt Edited May 21 by Gary from OPA Quote Link to comment https://forums.atariage.com/topic/224744-js99er/page/28/#findComment-5470836 Share on other sites More sharing options...
pjduplooy Posted May 22 Share Posted May 22 In the source dir you have to run npm install --force In the root dir you run ng build --configuration production Quote Link to comment https://forums.atariage.com/topic/224744-js99er/page/28/#findComment-5471152 Share on other sites More sharing options...
Gary from OPA Posted May 22 Share Posted May 22 (edited) 12 minutes ago, pjduplooy said: In the source dir you have to run npm install --force In the root dir you run ng build --configuration production Ok. I will try that out tomorrow. And report back on how I made out with it finally running. Is there a way not to use --force ? As it's not mentioned that it's needed. Is it because my angular is too new? Or is something else causing the error. Edited May 22 by Gary from OPA Quote Link to comment https://forums.atariage.com/topic/224744-js99er/page/28/#findComment-5471159 Share on other sites More sharing options...
SteveB Posted May 22 Share Posted May 22 I tried to make my games playable on my website with JS99er, but failed to parameterize them in size and limiting functionality. If you succeed in this area, I would be interested in your results. Quote Link to comment https://forums.atariage.com/topic/224744-js99er/page/28/#findComment-5471221 Share on other sites More sharing options...
pjduplooy Posted May 22 Share Posted May 22 Gary, If you look at the output of npm install w ithout --force, it states that you can override with --force or --legacy-peer-deps, it seems to me that angular is way too new. Maybe Rasmus can guide us what versions of node and angular he is using. Another thing, every time after a new build after a git pull, I have to copy over extended_basic.rpk from the dist\assets\software folder to the dist\assets\carts folder. Quote Link to comment https://forums.atariage.com/topic/224744-js99er/page/28/#findComment-5471242 Share on other sites More sharing options...
Asmusr Posted May 22 Author Share Posted May 22 2 hours ago, pjduplooy said: Gary, If you look at the output of npm install w ithout --force, it states that you can override with --force or --legacy-peer-deps, it seems to me that angular is way too new. Maybe Rasmus can guide us what versions of node and angular he is using. Another thing, every time after a new build after a git pull, I have to copy over extended_basic.rpk from the dist\assets\software folder to the dist\assets\carts folder. It's because I'm using Angular 16 together with Angular Material 14, because some components I'm using changed to the worse in Angular Material 15. Angular Material 14 is annotated as being dependent on Angular 14 or 15, but it works fine with 16, so just use --force. At some point I will have to address this. The dependency on extended_basic.rpk in the carts folder is a mistake that I will fix. 1 2 Quote Link to comment https://forums.atariage.com/topic/224744-js99er/page/28/#findComment-5471322 Share on other sites More sharing options...
pjduplooy Posted May 22 Share Posted May 22 Thanks for the info Rasmus. I appreciate it. 1 Quote Link to comment https://forums.atariage.com/topic/224744-js99er/page/28/#findComment-5471332 Share on other sites More sharing options...
Gary from OPA Posted May 22 Share Posted May 22 26 minutes ago, Asmusr said: It's because I'm using Angular 16 together with Angular Material 14, because some components I'm using changed to the worse in Angular Material 15. Angular Material 14 is annotated as being dependent on Angular 14 or 15, but it works fine with 16, so just use --force. At some point I will have to address this. The dependency on extended_basic.rpk in the carts folder is a mistake that I will fix. Many thanks for explaining it to me. Will try to finish setting it up today then using the --force option. Much appreciated your hard work and amazing updates to this emulator setup. Quote Link to comment https://forums.atariage.com/topic/224744-js99er/page/28/#findComment-5471349 Share on other sites More sharing options...
Gary from OPA Posted May 22 Share Posted May 22 6 hours ago, SteveB said: I tried to make my games playable on my website with JS99er, but failed to parameterize them in size and limiting functionality. If you succeed in this area, I would be interested in your results. i might be able to help with this, what is your website? and what are your games? you just want only them to run and of course without the toolbar,debugger, and options to change things? i should have time this weekend to help you out on this, by then I will be more familiar with this updated version, as i now got it running locally on both my windows subsystem for linux and regular windows as well. 6 hours ago, pjduplooy said: Gary, If you look at the output of npm install w ithout --force, it states that you can override with --force or --legacy-peer-deps, it seems to me that angular is way too new. Maybe Rasmus can guide us what versions of node and angular he is using. Another thing, every time after a new build after a git pull, I have to copy over extended_basic.rpk from the dist\assets\software folder to the dist\assets\carts folder. Many thanks for your help, i finally got it at least installed and localhost serve version running, and even the web build version working locally, now i have to look at updated typescript source and look at some functions i want to change for my own development purposes, i got that working a bit with the old outdated javascript one, so it should not be too hard to mirror over the changes i want. 3 hours ago, Asmusr said: It's because I'm using Angular 16 together with Angular Material 14, because some components I'm using changed to the worse in Angular Material 15. Angular Material 14 is annotated as being dependent on Angular 14 or 15, but it works fine with 16, so just use --force. At some point I will have to address this. The dependency on extended_basic.rpk in the carts folder is a mistake that I will fix. many thanks for your replies, i was able to get it working locally finally, now i have to sit down at figure out a few out things. Quote Link to comment https://forums.atariage.com/topic/224744-js99er/page/28/#findComment-5471480 Share on other sites More sharing options...
SteveB Posted May 22 Share Posted May 22 57 minutes ago, Gary from OPA said: i might be able to help with this, what is your website? and what are your games? you just want only them to run and of course without the toolbar,debugger, and options to change things? Exactly, just the things needed to play the game, nicely embeded in the text or on it's own page with sound and speech enabled. I just run a dry html site without any dynamic processing: https://lizardware.de/ExtParsec/index.html Quote Link to comment https://forums.atariage.com/topic/224744-js99er/page/28/#findComment-5471524 Share on other sites More sharing options...
Asmusr Posted May 22 Author Share Posted May 22 21 minutes ago, SteveB said: Exactly, just the things needed to play the game, nicely embeded in the text or on it's own page with sound and speech enabled. I just run a dry html site without any dynamic processing: https://lizardware.de/ExtParsec/index.html Did you try to follow the instructions for embedding into a website? https://github.com/Rasmus-M/js99er-angular 1 Quote Link to comment https://forums.atariage.com/topic/224744-js99er/page/28/#findComment-5471540 Share on other sites More sharing options...
SteveB Posted May 22 Share Posted May 22 Yes I did, and I got it working ... but still trouble with the sound, the screen-size and hiding some controls. Not yet the user-experience I had in mind. I will also have another fresh look at it. 1 Quote Link to comment https://forums.atariage.com/topic/224744-js99er/page/28/#findComment-5471542 Share on other sites More sharing options...
Asmusr Posted May 22 Author Share Posted May 22 41 minutes ago, SteveB said: the screen-size To size the console you can add a style sheet like this: <style>.console {display: block; width: 512px; height: 384px;}</style> 1 Quote Link to comment https://forums.atariage.com/topic/224744-js99er/page/28/#findComment-5471578 Share on other sites More sharing options...
SteveB Posted May 25 Share Posted May 25 (edited) This works, thank you! Is there an option to center the emulator canvas? Or at least have it not glued to the very left of the window? [I now put a <center> </center> around it .. works] Furthermore the Arrow-Key Joystick emulation does not work on my Chrome, neither on my local built nor on your js99er.net: When I hit the arrow-keys very fast, I get an occasionally 4 resp. -4, but mostly 0. Any Ideas? Thank you Steve Edited May 25 by SteveB solved <center> Quote Link to comment https://forums.atariage.com/topic/224744-js99er/page/28/#findComment-5473849 Share on other sites More sharing options...
Asmusr Posted May 26 Author Share Posted May 26 11 hours ago, SteveB said: Furthermore the Arrow-Key Joystick emulation does not work on my Chrome, neither on my local built nor on your js99er.net: When I hit the arrow-keys very fast, I get an occasionally 4 resp. -4, but mostly 0. Any Ideas? It works for me. Have you tried another browser? Quote Link to comment https://forums.atariage.com/topic/224744-js99er/page/28/#findComment-5474145 Share on other sites More sharing options...
Retrospect Posted May 26 Share Posted May 26 2 hours ago, Asmusr said: It works for me. Have you tried another browser? It works for me also. The only reason it wouldn't work is if the user accidentally didn't have the main TI screen " in focus " and would need to mouse-click it. Otherwise it'll just scroll through the options at the side. 1 Quote Link to comment https://forums.atariage.com/topic/224744-js99er/page/28/#findComment-5474203 Share on other sites More sharing options...
SteveB Posted May 26 Share Posted May 26 I installed a fresh, local Chromium 127.0.6504.0 without any plugins, but still, when I keep an arrow key pressed down: I tend to believe, this has something to do with my windows keyboard settings in Windows 11, but it severly limits the usefulness of the js99er emulator. But then again, when I enable "Map arrow keys to Fctn+SDEX", I have no issue with the keyboard buffer and calling CALL KEY(3,K,S): If everything else fails, I could include the Function-ESDX codes in my games, but I would prefer understanding, what happens and create a manual of what to do against it. I had the same behaviour with Firefox 126 and Edge on my PC. 1 Quote Link to comment https://forums.atariage.com/topic/224744-js99er/page/28/#findComment-5474429 Share on other sites More sharing options...
Asmusr Posted May 27 Author Share Posted May 27 22 hours ago, SteveB said: I tend to believe, this has something to do with my windows keyboard settings in Windows 11, but it severly limits the usefulness of the js99er emulator. But then again, when I enable "Map arrow keys to Fctn+SDEX", I have no issue with the keyboard buffer and calling CALL KEY(3,K,S): What does this show when you press the arrow keys? keytest.html Quote Link to comment https://forums.atariage.com/topic/224744-js99er/page/28/#findComment-5474921 Share on other sites More sharing options...
SteveB Posted May 27 Share Posted May 27 I get the keys 37 through 40. Quote Link to comment https://forums.atariage.com/topic/224744-js99er/page/28/#findComment-5474985 Share on other sites More sharing options...
SteveB Posted May 27 Share Posted May 27 PS: I just tested old.js99er.net works without a problem! It is really strange, on another PC I have also no problem with the angular version, but I am pretty sure, that there may be more people affected than only me. 1 Quote Link to comment https://forums.atariage.com/topic/224744-js99er/page/28/#findComment-5474999 Share on other sites More sharing options...
sometimes99er Posted May 28 Share Posted May 28 10 call joyst(1,x,y) 20 print x;y 30 goto 10 Running Windows 11, Opera, Chrome, Firefox and Edge. All updated. No problems with the above. Quote Link to comment https://forums.atariage.com/topic/224744-js99er/page/28/#findComment-5475299 Share on other sites More sharing options...
Retrospect Posted May 28 Share Posted May 28 Two questions I would ask are ..... What version of XB are you running and is there an issue with the XB .... and also does this problem happen in Classic99 and Mame ... in standard XB or variants? Quote Link to comment https://forums.atariage.com/topic/224744-js99er/page/28/#findComment-5475421 Share on other sites More sharing options...
Asmusr Posted May 28 Author Share Posted May 28 22 hours ago, SteveB said: It is really strange, on another PC I have also no problem with the angular version, but I am pretty sure, that there may be more people affected than only me. I don't really have any suggestions, but does it happen with the "PC keyboard" option both on and off? Quote Link to comment https://forums.atariage.com/topic/224744-js99er/page/28/#findComment-5475502 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.