So far, Synchronet is the only BBS software I know of that uses JavaScript as a language for mods (other BBS packages use other languages - I believe Mystic uses Python?). But one problem with that is that a JavaScript door would only work on Synchronet BBSes (and aside from that, there is no standardized JavaScript door development API). The advantage of something like OpenDoors is that you can develop BBS doors that will work with any BBS software. So I see no reason it shouldn't go 64-bit if desired.
"x32" isn't really a thing (you mean i386, or Win32), but I get your meaning. Anyway, re-targetting OpenDoors to build (the .DLL) for x64 shouldn't be too hard for someone to do.
Re: OpenDoors
By: Nightfox to Digital Man on Thu Dec 02 2021 02:21 pm
Re: OpenDoors
By: Digital Man to Nightfox on Thu Dec 02 2021 01:08 pm
The exception: Deuce's jsdoor project. I think it's been successfully used to run the JS port of LORD on non-Synchronet BBSes (Mystic?).
That sounds familiar. It looks like I don't have a copy of jsdoor on my system though - I'd be curious to check it out if it's available for download somewhere.
https://gitlab.synchro.net/main/sbbs/-/jobs/27789/artifacts/download?file_ty pe= archive
Right thank you, I meant Win32. I retargeted OpenDoors to x64 and it compiled with no errors. Will keep playing! Thanks!
Re: OpenDoors
By: The Lizard Master to Digital Man on Thu Dec 02 2021 05:49 pm
Right thank you, I meant Win32. I retargeted OpenDoors to x64 and it compiled with no errors. Will keep playing! Thanks!
Ha, well, I guess it's not that simple. I noticed the file size was much smaller and when try to call a funciton in the DLL it doesn't exist. I guess it just skipped all the W32 stuff thats in the header.
That sounds familiar. It looks like I don't have a copy of jsdoor on my system though - I'd be curious to check it out if it's available for download somewhere. Does it make use of Dorkit?
So far, Synchronet is the only BBS software I know of that uses
JavaScript as a language for mods (other BBS packages use other
languages - I believe Mystic uses Python?)
Ha, well, I guess it's not that simple. I noticed the file size was much smaller and when try to call a funciton in the DLL it doesn't exist. I guess it just skipped all the W32 stuff thats in the header.
I haven't tried to build OpenDoors in ages. What version of MSVC are you using? --
Re: OpenDoors
By: Digital Man to The Lizard Master on Thu Dec 02 2021 05:46 pm
Ha, well, I guess it's not that simple. I noticed the file size was much smaller and when try to call a funciton in the DLL it doesn't exist. I guess it just skipped all the W32 stuff thats in the header.
I haven't tried to build OpenDoors in ages. What version of MSVC are you using? --
2022 64bit 17.0.
I haven't tried to build OpenDoors in ages. What version of MSVC are you using? --
2022 64bit 17.0.
I tried building OpenDoors (using its win32.mak file) with MSVC2019 and it failed with errors. Did you create your own build/project files to build it successfully with MSVC2022?
Re: OpenDoors
By: Digital Man to The Lizard Master on Fri Dec 03 2021 10:59 am
I haven't tried to build OpenDoors in ages. What version of MSVC are you using? --
2022 64bit 17.0.
I tried building OpenDoors (using its win32.mak file) with MSVC2019 and it failed with errors. Did you create your own build/project files to build it successfully with MSVC2022?
Yea, I created my own project and also had to run the Visual Studio Command Prompt something like lib /def:opendoor.def /out:opendoor64.lib /machine:x64
Then I pointed the liner to the .lib file
Can't remember exactly, but I can try and replicate it if needed. I'm not sure any of this is right though. You can tell me if that's the wrong direction.
A (new) project file might be fine. Can you generate a working 32-bit version of the OpenDoors DLL from it?
Re: OpenDoors
By: Digital Man to The Lizard Master on Fri Dec 03 2021 12:43 pm
A (new) project file might be fine. Can you generate a working 32-bit version of the OpenDoors DLL from it?
Ah smart, no, it is not working. It comples fine, creates the .DLL, but I just tried to drop it in one of the doors I know is working and got "The Application was unable to start correctly." The file size is also much smaller than the original DLL so I must be missing something, but there are no compile errors.
Okay, so that'd be the first step: get a working 32-bit build of the DLL using your toolchain, then try building/using a 64-bit target.
Better link: https://gitlab.synchro.net/sbbs/sbbs/-/jobs/artifacts/master/download?job= jsdoor-windows
Re: OpenDoors
By: Digital Man to Nightfox on Thu Dec 02 2021 02:53 pm
Better link: https://gitlab.synchro.net/sbbs/sbbs/-/jobs/artifacts/mast er/download?job= jsdoor-windows
One thing I noticed about that jsdoor.exe is that it was complaining that libgcc_s_dw2-1.dll was missing. I noticed I had that on my system though, in C:\Program Files\Git\mingw32\bin, so I had to add that directory to my path in order for jsdoor to run.
I noticed that the JS LORD instructions mention you can run it with jsdoor. Is there a jsdoor executable package that is released to the general public? I imagine it would need to include the above mentioned DLL (and I'm not sure if there are more DLLs it requires).
Sysop: | Ree |
---|---|
Location: | Toronto, ON |
Users: | 2 |
Nodes: | 10 (0 / 10) |
Uptime: | 16:58:43 |
Calls: | 330 |
Files: | 2 |
Messages: | 38,915 |