Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

You can get *anywhere* in ten minutes if you drive fast enough.


interests / rec.games.roguelike.nethack / Re: Portable (USB) install using 3.6.7 from nethack.org?

SubjectAuthor
* Portable (USB) install using 3.6.7 from nethack.org?cookie
+* Portable (USB) install using 3.6.7 from nethack.org?Pat Rankin
|`- Portable (USB) install using 3.6.7 from nethack.org?cookie
`- Portable (USB) install using 3.6.7 from nethack.org?B. R. 'BeAr' Ederson

1
Portable (USB) install using 3.6.7 from nethack.org?

<9b624c7f-1946-4a0b-a536-202055a66f98n@googlegroups.com>

  copy mid

https://news.novabbs.org/interests/article-flat.php?id=2228&group=rec.games.roguelike.nethack#2228

  copy link   Newsgroups: rec.games.roguelike.nethack
X-Received: by 2002:a05:6214:bc5:b0:63c:7596:9063 with SMTP id ff5-20020a0562140bc500b0063c75969063mr2713qvb.9.1689963270184;
Fri, 21 Jul 2023 11:14:30 -0700 (PDT)
X-Received: by 2002:a05:6870:7708:b0:1b0:959:bff0 with SMTP id
dw8-20020a056870770800b001b00959bff0mr3809812oab.7.1689963269744; Fri, 21 Jul
2023 11:14:29 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer01.ams4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: rec.games.roguelike.nethack
Date: Fri, 21 Jul 2023 11:14:29 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=212.159.75.92; posting-account=8x1UbQoAAACM3gpKFKyJfcYruftmbRAn
NNTP-Posting-Host: 212.159.75.92
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9b624c7f-1946-4a0b-a536-202055a66f98n@googlegroups.com>
Subject: Portable (USB) install using 3.6.7 from nethack.org?
From: mark.e.cooke@gmail.com (cookie)
Injection-Date: Fri, 21 Jul 2023 18:14:30 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2051
 by: cookie - Fri, 21 Jul 2023 18:14 UTC

Returning to NetHack after a while, I am trying to configure the standard 3..6.7 windows build (NetHackW.exe) to run from a root folder on a USB stick - is this still possible? Whatever I try it seems to insist on creating and using files in windoze folders (ProgramData and user profile). I just want a single user setup that I can run from a USB stick...
E.g. using "sysconf" to redirect all folders:
CONFIGDIR=d:\games\nethack\config
TROUBLEDIR=d:\games\nethack\trouble
HACKDIR=d:\games\nethack
LEVELDIR=d:\games\nethack\temp
SAVEDIR=d:\games\nethack\saves
BONESDIR=d:\games\nethack\bones
SCOREDIR=d:\games\nethack\scores
LOCKDIR=d:\games\nethack\temp
....still recreates and uses the profile .nethackrc.
Have I missed something obvious? There's nothing helpful on reddit and nethackwiki.com doesn't have anything relevant either.
Any help appreciated. Mark C

Re: Portable (USB) install using 3.6.7 from nethack.org?

<db8ef7b7-043d-423a-ad81-debe8a5d4032n@googlegroups.com>

  copy mid

https://news.novabbs.org/interests/article-flat.php?id=2229&group=rec.games.roguelike.nethack#2229

  copy link   Newsgroups: rec.games.roguelike.nethack
X-Received: by 2002:ac8:5bc4:0:b0:403:b102:9559 with SMTP id b4-20020ac85bc4000000b00403b1029559mr4564qtb.9.1689977645775;
Fri, 21 Jul 2023 15:14:05 -0700 (PDT)
X-Received: by 2002:a05:6870:7686:b0:1b0:4a46:a91c with SMTP id
dx6-20020a056870768600b001b04a46a91cmr4802509oab.5.1689977645471; Fri, 21 Jul
2023 15:14:05 -0700 (PDT)
Path: i2pn2.org!i2pn.org!news.niel.me!glou.org!news.glou.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: rec.games.roguelike.nethack
Date: Fri, 21 Jul 2023 15:14:05 -0700 (PDT)
In-Reply-To: <9b624c7f-1946-4a0b-a536-202055a66f98n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=75.51.84.7; posting-account=PWiXPAoAAABrA15ZgKdYDhP2ItsYPeoJ
NNTP-Posting-Host: 75.51.84.7
References: <9b624c7f-1946-4a0b-a536-202055a66f98n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <db8ef7b7-043d-423a-ad81-debe8a5d4032n@googlegroups.com>
Subject: Re: Portable (USB) install using 3.6.7 from nethack.org?
From: r.pat.rankin@gmail.com (Pat Rankin)
Injection-Date: Fri, 21 Jul 2023 22:14:05 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Pat Rankin - Fri, 21 Jul 2023 22:14 UTC

On Friday, July 21, 2023 at 11:14:32 AM UTC-7, cookie wrote:
> E.g. using "sysconf" to redirect all folders:
[...]
> Any help appreciated. Mark C

I believe that the sysconf directive 'PORTABLE_DEVICE_PATHS' is
supposed to do exactly what you're asking for.

I've never tried it. I think you need to both uncomment it (remove
the leading hash) and change the value from 0 to 1.

Re: Portable (USB) install using 3.6.7 from nethack.org?

<bd6f18fc-66dc-4104-b805-d60b9578071cn@googlegroups.com>

  copy mid

https://news.novabbs.org/interests/article-flat.php?id=2230&group=rec.games.roguelike.nethack#2230

  copy link   Newsgroups: rec.games.roguelike.nethack
X-Received: by 2002:a37:5ac1:0:b0:762:4a12:b014 with SMTP id o184-20020a375ac1000000b007624a12b014mr8663qkb.7.1690027642599;
Sat, 22 Jul 2023 05:07:22 -0700 (PDT)
X-Received: by 2002:a05:6808:30aa:b0:3a3:671b:7dee with SMTP id
bl42-20020a05680830aa00b003a3671b7deemr9767984oib.11.1690027642430; Sat, 22
Jul 2023 05:07:22 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: rec.games.roguelike.nethack
Date: Sat, 22 Jul 2023 05:07:22 -0700 (PDT)
In-Reply-To: <db8ef7b7-043d-423a-ad81-debe8a5d4032n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=212.159.75.92; posting-account=8x1UbQoAAACM3gpKFKyJfcYruftmbRAn
NNTP-Posting-Host: 212.159.75.92
References: <9b624c7f-1946-4a0b-a536-202055a66f98n@googlegroups.com> <db8ef7b7-043d-423a-ad81-debe8a5d4032n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bd6f18fc-66dc-4104-b805-d60b9578071cn@googlegroups.com>
Subject: Re: Portable (USB) install using 3.6.7 from nethack.org?
From: mark.e.cooke@gmail.com (cookie)
Injection-Date: Sat, 22 Jul 2023 12:07:22 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1856
 by: cookie - Sat, 22 Jul 2023 12:07 UTC

On Friday, July 21, 2023 at 11:14:07 PM UTC+1, Pat Rankin wrote:
> On Friday, July 21, 2023 at 11:14:32 AM UTC-7, cookie wrote:
> > E.g. using "sysconf" to redirect all folders:
> [...]
> > Any help appreciated. Mark C
> I believe that the sysconf directive 'PORTABLE_DEVICE_PATHS' is
> supposed to do exactly what you're asking for.

Thanks very much Pat! This is not in the sysconf.template but I do remember reading about this - I found it again buried around line 5624 in the guidebook.txt.

Now to try not to die too often as I remember how to play...

Re: Portable (USB) install using 3.6.7 from nethack.org?

<nw42t9eytyiq$.dlg@br-ederson.eternal-september.org>

  copy mid

https://news.novabbs.org/interests/article-flat.php?id=2231&group=rec.games.roguelike.nethack#2231

  copy link   Newsgroups: rec.games.roguelike.nethack
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!br-ederson.eternal-september.org!.POSTED!not-for-mail
From: use.replyto@this.is.invalid (B. R. 'BeAr' Ederson)
Newsgroups: rec.games.roguelike.nethack
Subject: Re: Portable (USB) install using 3.6.7 from nethack.org?
Date: Sat, 22 Jul 2023 19:10:52 +0200
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <nw42t9eytyiq$.dlg@br-ederson.eternal-september.org>
References: <9b624c7f-1946-4a0b-a536-202055a66f98n@googlegroups.com>
Reply-To: br.ederson@arcor.de
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: br-ederson.eternal-september.org; posting-host="c54ca791177cafadb0132fe855a2214d";
logging-data="4095754"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ZmPotwgtpAeKSuE9MbMOyWyYBRPIcv1U="
User-Agent: 40tude_Dialog/2.0.15.41 (214f7121.156.335)
Cancel-Lock: sha1:StbthF5FB22Ee0AgwYipvWkEJpk=
 by: B. R. 'BeAr - Sat, 22 Jul 2023 17:10 UTC

On Fri, 21 Jul 2023 11:14:29 -0700 (PDT), cookie wrote:

> I just want a single user setup that I can run from a USB stick...
[...]
> HACKDIR=d:\games\nethack
> LEVELDIR=d:\games\nethack\temp
> BONESDIR=d:\games\nethack\bones

In addition to the sysconfig "PORTABLE_DEVICE_PATHS = 1" setting Pat
already mentioned, you probably should consider using relative path
entries to get a _real_ portable setup, like:

HACKDIR=.
LEVELDIR=.\temp
BONESDIR=.\bones

Please note, that path settings from .nethackrc (user settings) override
these from sysconfig (system settings). Best to check that every path
points to the intended location with:

NetHackW.exe --showpaths

Some information on Windows (portable) settings can be found here:
https://www.nethack.org/v367/bugmore/WinFilePaths.txt

BeAr
--
===========================================================================
= What do you mean with: "Perfection is always an illusion"? =
===============================================================--(Oops!)===

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor