• moria and the small screen

    From Eli the Bearded@21:1/5 to All on Tue Aug 9 22:07:52 2016
    Anyone alive here still?

    I've been interested in making umoria work on a text screen smaller than
    80x24. I started by adjusting SCREEN_HEIGHT and SCREEN_WIDTH in
    constant.h (to half their size) and saw it wasn't working as neatly as
    one might hope. I reverted those and tried adding a WINDOW_HEIGHT
    and WINDOW_WIDTH pair instead. Those I put put in generate.c for the max_panel_rows/max_panel_cols values (leaving town at cur_height = SCREEN_HEIGHT, cur_width = SCREEN_WIDTH). And I used the WINDOW_HEIGHT
    and WINDOW_WIDTH in panel_bounds() of misc3.c.

    The town works correctly with my new size now. The dungeon does not. io.c:put_buffer() gets upset and aborts from time to time. "OH NO!!!!!!
    A gruesome software bug LEAPS out at you. There is NO defense!"

    Before I beat my head on this for too long, has anyone done these
    adjustments and have patches to share for it? Email or post with links,
    diffs, etc, are welcome.

    My goal is to target a ARM based Linux system with a native screen size
    of 65 wide and 20 tall.

    Elijah
    ------
    used to tinker with moria code for fun

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eli the Bearded@21:1/5 to *@eli.users.panix.com on Wed Aug 10 19:54:46 2016
    In rec.games.roguelike.moria, Eli the Bearded <*@eli.users.panix.com> wrote:
    I've been interested in making umoria work on a text screen smaller than 80x24. I started by adjusting SCREEN_HEIGHT and SCREEN_WIDTH in
    ...
    Before I beat my head on this for too long, has anyone done these
    adjustments and have patches to share for it? Email or post with links, diffs, etc, are welcome.

    kMoria, for the Palm Pilot, is still available in source form from
    sourceforge:

    https://sourceforge.net/projects/roguelike-palm/

    (Scroll down past iRogue. It was uploaded "1 year ago", but the tar file
    is full of November 2000 time stamps.)

    It *is* for a smaller screen. It also has a lot of code changes relative
    to umoria, and not just because it was for a device without a keyboard
    or text oriented display: the Palm apparently had a very small stack, so
    large arrays were troublesome. Then all of the #ifdef SYSTEM has been
    edited out. And a lot of functions have been moved between files. So
    diffs are not really useful.

    But misc1.c:get_panel() is gone and display.c:get_panel() is a
    completely different implementation.

    I'm looking at it for ideas still.

    (But anything else, if anyone is there, is welcome.)

    Elijah
    ------
    played moria on a Palm Pilot V back around 2000

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From benshadwick@21:1/5 to All on Wed Aug 10 17:46:42 2016
    I haven't looked into it, but I was thinking that it might be nice to be able to support *bigger* resolutions. Let us know if you figure it out.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jerk-o@21:1/5 to *@eli.users.panix.com on Sun Jan 14 20:30:37 2024
    On Tue, 9 Aug 2016 22:07:52 +0000 (UTC), Eli the Bearded <*@eli.users.panix.com> wrote
    Anyone alive here still?

    My goal is to target a ARM based Linux system with a native screen size
    of 65 wide and 20 tall.

    Any update on this? I think it'd be cool to play Moria on my phone.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John McCue@21:1/5 to Kyonshi on Wed Apr 3 12:20:28 2024
    Kyonshi <gmkeros@gmail.com> wrote:
    On 1/15/2024 5:30 AM, jerk-o wrote:
    <snip>
    Any update on this? I think it'd be cool to play Moria on my phone.

    huh... the original post was 8 years ago. I doubt it will receive an
    answer.

    Actually I still see the OP around, so they may get lucky
    and get a response. My guess doing that would be rather
    hard :(

    --
    [t]csh(1) - "An elegant shell, for a more... civilized age."
    - Paraphrasing Star Wars

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eli the Bearded@21:1/5 to jmclnx@SPAMisBADgmail.com on Sun Apr 14 19:41:06 2024
    In rec.games.roguelike.moria, John McCue <jmclnx@SPAMisBADgmail.com> wrote:
    Kyonshi <gmkeros@gmail.com> wrote:
    Any update on this? I think it'd be cool to play Moria on my phone.

    Nope, sorry. I have done a bit of coding on it but never got it where I
    wanted it. Then I started to reimplement Moria in Rust and that's even
    further from working.

    huh... the original post was 8 years ago. I doubt it will receive an
    answer.

    I am still around but spending less time on Usenet since there's less
    happening in groups I read.

    Actually I still see the OP around, so they may get lucky
    and get a response. My guess doing that would be rather
    hard :(

    I really struggle to find time to program anymore. And Usenet is more
    often than not just a once per week thing.

    Elijah
    ------
    computer time cuts into family social time

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)