sarvajeet294 / nethack-android

Automatically exported from code.google.com/p/nethack-android
0 stars 0 forks source link

Automatically enter user's name when starting the game #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am still poking around Android and don't know the specific call, but I
assume there is some way to determine a unique username, or to always pick
a standard one. 

This should then be entered so the user doesn't have to type it exactly
every time the application is started.

Original issue reported on code.google.com by davidkwood@gmail.com on 20 Oct 2009 at 5:58

GoogleCodeExporter commented 9 years ago
Will consider something like this for the next version, didn't make it into 
1.1.1.
Might set this up as an option under the Preferences menu.

Original comment by farnst...@gmail.com on 21 Oct 2009 at 9:56

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
If you have a rooted phone, this can be accomplished by putting for example 
    OPTIONS=name:Steve
in /data/data/com.nethackff/nethackdir/.nethackrc

Original comment by jdhedden on 22 Oct 2009 at 5:50

GoogleCodeExporter commented 9 years ago
The new version 1.2.1 lets you access the NetHack.cnf file. From the Menu, 
select Export Config, then edit it on the SD card from your PC (something like 
the OPTIONS=name:Steve suggested by jdhedden), and use Import Config. A bit 
clunky, but should work OK as long as you don't have a need to change name 
often.

Original comment by farnst...@gmail.com on 21 Jun 2010 at 6:53