Is there any chance opendoors is going to become a x64 based compile, or is that idea basically dead with the JavaScript way of making doors?
Is there any chance opendoors is going to become a x64 based compile, or is that idea basically dead with the JavaScript way of making doors?
Is there any chance opendoors is going to become a x64 based compile, or is that idea basically dead with the JavaScript way of making doors?
OpenDoors could likely build for Windows-x64 with very few changes, if any. But what would be the gain? 32-bit doors run just fine on 64-bit versions of Windows. <shrug> There might be some imperceptable performance improvement, but practically speaking, I can't think of a reason a sysop would need Win64 doors instead of Win32.
Also, what do you mean by "the JavaScript way of making doors"? If you're referring to Synchronet JavaScript, it's still very much supported and isn't dead.
because it's x32), but when I target x32 I get unresolved external symbols. It's not worth the effort for either of these projects, but it is why I asked. Thanks!
Also, what do you mean by "the JavaScript way of making doors"? If
you're referring to Synchronet JavaScript, it's still very much
supported and isn't dead.
I didn't mean to say that was dead, I just figured OpenDoors might never go 64 because JavaScript is available.
Re: OpenDoors
By: The Lizard Master to Digital Man on Thu Dec 02 2021 02:51 pm
because it's x32), but when I target x32 I get unresolved external symbols. It's not worth the effort for either of these projects, but it is why I asked. Thanks!
Nevermind on the unresolved issue, I remembered I rebuilt the .lib file while I was horsing around with it. I used the original and it began compiling x32.
Re: OpenDoors
By: The Lizard Master to Nightfox on Thu Dec 02 2021 02:52 pm
Also, what do you mean by "the JavaScript way of making doors"? If
you're referring to Synchronet JavaScript, it's still very much
supported and isn't dead.
I didn't mean to say that was dead, I just figured OpenDoors might never go 64 because JavaScript is available.
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
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.
Meanwhile we do have 'dorkit' which is meant to make JS games portable beyond Synchronet. It's probably more likely to get updates and attention. I'm not sure what state Deuce left it in.
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?).
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.
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?). 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!
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?)
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?
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: | tracker1 |
---|---|
Location: | Phoenix, AZ |
Users: | 54 |
Nodes: | 25 (0 / 25) |
Uptime: | 120:21:55 |
Calls: | 367 |
Files: | 1,364 |
Messages: | 36,299 |