OCEmu
OCEmu copied to clipboard
Wget.lua - Add dlls to compilator
I'm trying to download a file from github using wget (wget -f https://raw.githubusercontent.com/IgorTimofeev/MineOS/master/Installer/BIOS.lua /tmp/bios.lua
) but wget say Connection refused
I tried to allow the emulator on my firewall, but still the same error
What can I do ?
Edit: pastebin works normally
Well to fix this I would need to know what's the precise error in the first place, if you can send that
GitHub refuse any connection from the function internet.request()
On my computer, wget -f https://raw.githubusercontent.com/IgorTimofeev/MineOS/master/Installer/BIOS.lua /tmp/bios.lua
works correctly alongside using internet.request()
for GitHub. Can you open https://raw.githubusercontent.com/IgorTimofeev/MineOS/master/Installer/BIOS.lua in your browser or does it only not work using internet.request()
in OCEmu ?
Have you tried to do the command in the emulator ?
Yes, by on my computer I meant in OCEmu using OpenOS.
Can I have your version of OCEmu ? Your README.md is saying that you haven't compiled the current version yet
I have the same issue on OCEmu. I think it's a windows issue, because zenith uses linux I think
also removing the -f
option
It's because @zenith391 have the last version
After compiling it says "unsupported protocol"
change https://
to http://
Maybe github refuse connection just because it wants https but there is no https protocol in \src\extras\socket
maybe, here is the wget command in a normal terminal
first request gets 301 Moved Permanently pointing to https url secound request gets 200 ok
@zenith391 Can you add an https addon ?
Opencomputers ^
OCemu V
The real Openos support https protocol.
seems like the install script doesn't install luasec correctly this would explain why this happens only on windows
well if you look in /src/extras/ssl there is https.lua
that's where it shoud be
I moved it and i'll try to recompilate
this is how internet.lua gets https, but it doesn't find it
Here we go again...
I moved it and i'll try to recompilate
recompiling will on do anything since the OCEmu.exe just calls boot.lua
if you launch OCEmu via mingw then it works
Ok
I think it's not stripping the ssl core correctly, but I can be entirely wrong
after requiring ssl at boot:
at the bottom: "cannot find specified module"
manual boot from console works
ffi file is missing What is it ?
it's a lua library https://luajit.org/ext_ffi.html
Pls have you a tutorial to install I am stuck I have windows 64 bits I try following the readme nothing work I'm tired of solving problems
for windows all you have to do is (once you installed msys2) run the script msys2_setup_ocemu.sh
with mingw64.exe
and hit enter a coupple of times, it should make a file OCEmu.exe
in src dir
there are no libeay32.dll
and ssleay32.dll
in any of the the bin folders
i think that the issue as per this stackoverflow thread