[Ohrrpgce] SVN: james/13444 Add nightly build for ohrrpgce web/emscripten port

James Paige james.robert.paige at gmail.com
Fri Dec 29 18:15:47 PST 2023


On Fri, Dec 29, 2023 at 8:55 PM Ralph Versteegen <teeemcee at gmail.com> wrote:

>
>
> On Sat, 30 Dec 2023 at 12:37, James Paige <james.robert.paige at gmail.com>
> wrote:
>
>> On Fri, Dec 29, 2023 at 6:07 PM Ralph Versteegen via Ohrrpgce <
>> ohrrpgce at lists.motherhamster.org> wrote:
>>
>>> Hurrah!
>>> Come to think of it, we probably want to upload both as a .zip, for the
>>> Distribute menu, and as plain files in a subdirectory so that people can
>>> run it without starting a server themselves. It would be nice if there were
>>> some way for people to upload just an .rpg somewhere and run it with the
>>> web port of the engine (or even better, if they could point it at a .zip,
>>> but it looks like this will require a zip parser implemented in JS). But
>>> I'm not sure whether you would want to host that traffic.
>>>
>>
>> Yes, I think at some point I'll try hosting a web-playable version
>> somewhere on hamsterrepublic.com (or maybe I'll finally repurpose
>> ohrrpgce.com to do something more interesting than a redirect)
>>
>> I'll wait until we are further along and things are better tested though.
>> Save games will have to be resolved too. And in addition to uploading
>> games, it would be nice to be able to download them too (for custom) and I
>> don't know if anything can be done about hspeak :shrug: :D
>>
>
> I think we have three options for hspeak on the web: compile hspeak as a
> library and link Custom to it (have euc produce .c to feed to emscripten;
> but I have no idea what's involved in creating a library from euphoria); or
> embed micropython and run physpeak in it (physpeak still needs work, in
> particular to add error messages. In either case, we need to emulate a
> terminal for display), or even host hspeak on a server and use an http
> request to send scripts to compile.
> It looks like OpenEuphoria development isn't dead, they're still talking
> about releasing 4.2 some time soonish with ARM64 support.
>

Cool, good to know we have some options to look forward to on the hspeak
front :D


>
>>
>>> Is it correct that emscr.sh is called without -sb to skip rebuilding the
>>> image every night?
>>>
>>
>> Yes, that is correct. I want to be able to make changes to the Dockerfile
>> without having to do manual steps on the machine that has the cron job
>> scheduled.
>>
>
> Is that expensive, or is it cached ?
>

Nah, its cheap. Docker caches layers, so when a Dockerfile changes, only
the layers related to commands at and after the first changed line have to
be rebuilt.
So the rebuild generally has nothing to do. I'll probably change the Linux
nightly builds to be docker-based soon also. They are SO much faster and
easier to maintain than the VMs


Oh, also, looks like we have an emscripten-only crash in battle mode

[image: image.png]



>
>>
>>
>>>
>>> On Sat, 30 Dec 2023 at 10:29, subversion--- via Ohrrpgce <
>>> ohrrpgce at lists.motherhamster.org> wrote:
>>>
>>>> james
>>>> 2023-12-29 13:29:25 -0800 (Fri, 29 Dec 2023)
>>>> 50
>>>> Add nightly build for ohrrpgce web/emscripten port
>>>> ---
>>>> U   wip/nightly/check_nightly_wip.sh
>>>> U   wip/nightly/ohr_nightly_vm.sh
>>>> A   wip/nightly/wrap-nightly-web.sh
>>>>
>>>> _______________________________________________
>>>> Ohrrpgce mailing list
>>>> ohrrpgce at lists.motherhamster.org
>>>> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>>>>
>>> _______________________________________________
>>> Ohrrpgce mailing list
>>> ohrrpgce at lists.motherhamster.org
>>> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20231229/cd4b152a/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 89953 bytes
Desc: not available
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20231229/cd4b152a/attachment-0001.png>


More information about the Ohrrpgce mailing list