Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old October 28, 2021, 04:57   #11
lea2501
Apprentice
 
Join Date: Dec 2019
Posts: 56
lea2501 is on a distinguished road
I was able to compile version 2.9.3 in linux with this commands

Code:
$ curl -OL "https://github.com/angband/angband/archive/refs/tags/v2.9.3.tar.gz
$ tar -xzvf v2.9.3.tar.gz
$ cd angband-2.9.3/
$ ./configure --with-no-install
$ make
However, when i start the game with

Code:
./src/angband -uUser -mgcu -- -n1
it fails to start showing a message saying

Code:
Savefile does not exist. -more-
Any idea of where i need to create it?
lea2501 is offline   Reply With Quote
Old October 28, 2021, 14:10   #12
fph
Knight
 
Join Date: Apr 2009
Location: Pisa / DL0
Posts: 991
fph is on a distinguished road
Have you tried omitting -uUser ?
__________________
Dive fast, die young, leave a high-CHA corpse.
--
You read a scroll labeled 'lol gtfo' of Teleport Level.
fph is offline   Reply With Quote
Old October 28, 2021, 17:45   #13
Bill Peterson
Adept
 
Join Date: Jul 2007
Location: Flyover country
Posts: 133
Bill Peterson is on a distinguished road
Send a message via AIM to Bill Peterson
Quote:
Originally Posted by fph View Post
This reminds me a lot of https://en.wikipedia.org/wiki/Falcon's_Eye , although it's just isometric, not true 3D.

Anyhow, welcome! It seems we have similar tastes in terms of variants.
There is an Angband variant with the isometric look of Falcon's Eye, AngbandTk. It's included with 3 other variants in OmnibandTk. The Angband version that's implemented is 2.9.3

I was surprised that OmnibandTk isn't in this sites variants tab, but I did find a copy using Google, at https://www.dropbox.com/s/delqrrxgun...andtk.zip?dl=0

I can't personally vouch for this copy, it's 18MB while my copy is 20MB.
Bill Peterson is offline   Reply With Quote
Old October 28, 2021, 21:03   #14
Julian
Apprentice
 
Join Date: Apr 2021
Posts: 89
Julian is on a distinguished road
Quote:
Originally Posted by lea2501 View Post
I was able to compile version 2.9.3 in linux with this commands

Code:
$ curl -OL "https://github.com/angband/angband/archive/refs/tags/v2.9.3.tar.gz
$ tar -xzvf v2.9.3.tar.gz
$ cd angband-2.9.3/
$ ./configure --with-no-install
$ make
However, when i start the game with

Code:
./src/angband -uUser -mgcu -- -n1
it fails to start showing a message saying

Code:
Savefile does not exist. -more-
Any idea of where i need to create it?
No, but it’s probably defined in the code somewhere.

Try this in the source directory:

grep DIR *.[ch] Makefile*

(I think it would look for the lib directory in the current directory if nothing else was defined, but I could be wrong.)
Julian is offline   Reply With Quote
Old October 30, 2021, 03:49   #15
lea2501
Apprentice
 
Join Date: Dec 2019
Posts: 56
lea2501 is on a distinguished road
Quote:
Originally Posted by Julian View Post
No, but it’s probably defined in the code somewhere.

Try this in the source directory:

grep DIR *.[ch] Makefile*

(I think it would look for the lib directory in the current directory if nothing else was defined, but I could be wrong.)
I tried that but i could not find the savegame file its searching...

Code:
lea@devuan:~/games/roguelikes/angband/angband-2.9.3/src$ grep DIR *.[ch] Makefile* | grep ANGBAND_DIR_SAVE
externs.h:extern cptr ANGBAND_DIR_SAVE;
files.c:                path_build(savefile, 1024, ANGBAND_DIR_SAVE, temp);
init2.c:        string_free(ANGBAND_DIR_SAVE);
init2.c:        ANGBAND_DIR_SAVE = string_make("");
init2.c:        ANGBAND_DIR_SAVE = string_make(path);
init2.c:        string_free(ANGBAND_DIR_SAVE);
main.c:                 string_free(ANGBAND_DIR_SAVE);
main.c:                 ANGBAND_DIR_SAVE = string_make(s+1);
main-emx.c:                char **ANGBAND_DIR_SAVE,
main-emx.c:                      (char**)&ANGBAND_DIR_SAVE,
main-gtk.c:             path_build(buf, 1024, ANGBAND_DIR_SAVE, "*");
main-win.c:                             ofn.lpstrInitialDir = ANGBAND_DIR_SAVE;
main-win.c:     validate_dir(ANGBAND_DIR_SAVE);
variable.c:cptr ANGBAND_DIR_SAVE;
lea@devuan:~/games/roguelikes/angband/angband-2.9.3/src$ grep DIR *.[ch] Makefile* | grep savefile
files.c:                path_build(savefile, 1024, ANGBAND_DIR_SAVE, temp);
I also searched in lib but i don't see anything that help me sadly

Code:
lea@devuan:~/games/roguelikes/angband/angband-2.9.3$ ls -lahF lib/
total 80K
drwxr-xr-x 13 lea lea 4.0K Oct 27 23:49 ./
drwxr-xr-x  4 lea lea 4.0K Oct 27 23:49 ../
drwxr-xr-x  2 lea lea 4.0K Oct 27 23:52 apex/
drwxr-xr-x  2 lea lea 4.0K Oct 27 23:49 bone/
drwxr-xr-x  2 lea lea 4.0K Oct 27 23:52 data/
drwxr-xr-x  2 lea lea 4.0K Oct 27 23:49 edit/
drwxr-xr-x  2 lea lea 4.0K Oct 27 23:49 file/
drwxr-xr-x  2 lea lea 4.0K Oct 27 23:49 help/
drwxr-xr-x  2 lea lea 4.0K Oct 27 23:49 info/
-rw-r--r--  1 lea lea 8.2K Oct 27 23:49 Makefile
-rw-r--r--  1 lea lea  140 Sep 29  2012 Makefile.am
-rw-r--r--  1 lea lea 8.1K Sep 29  2012 Makefile.in
drwxr-xr-x  2 lea lea 4.0K Oct 27 23:49 pref/
drwxr-xr-x  2 lea lea 4.0K Oct 27 23:49 save/
drwxr-xr-x  2 lea lea 4.0K Oct 27 23:49 user/
drwxr-xr-x  2 lea lea 4.0K Oct 27 23:49 xtra/
lea@devuan:~/games/roguelikes/angband/angband-2.9.3$ ls -lahF lib/save/
total 28K
drwxr-xr-x  2 lea lea 4.0K Oct 27 23:49 ./
drwxr-xr-x 13 lea lea 4.0K Oct 27 23:49 ../
-rw-r--r--  1 lea lea    0 Sep 29  2012 delete.me
-rw-r--r--  1 lea lea 5.3K Oct 27 23:49 Makefile
-rw-r--r--  1 lea lea  356 Sep 29  2012 Makefile.am
-rw-r--r--  1 lea lea 5.3K Sep 29  2012 Makefile.in
lea2501 is offline   Reply With Quote
Old October 30, 2021, 13:02   #16
lea2501
Apprentice
 
Join Date: Dec 2019
Posts: 56
lea2501 is on a distinguished road
I noticed that the current angband compile i have has the save file in lib/save as you mentioned before:

Code:
$ ls -lahF ~/src/angband/lib/save/
total 44K
drwxr-xr-x  2 lea lea 4.0K Oct 29 22:53 ./
drwxr-xr-x 14 lea lea 4.0K Oct 27 22:52 ../
-rw-------  1 lea lea  34K Oct 29 22:53 User
So i created the file in the old 2.9.3 compile, also copied the current save file there, but the error persist

Code:
$ ls -lahF ~/games/roguelikes/angband/angband-2.9.3/lib/save/
total 64K
drwxr-xr-x  2 lea lea 4.0K Oct 30 07:49 ./
drwxr-xr-x 13 lea lea 4.0K Oct 27 23:49 ../
-rw-r--r--  1 lea lea    0 Sep 29  2012 delete.me
-rw-r--r--  1 lea lea 5.3K Oct 27 23:49 Makefile
-rw-r--r--  1 lea lea  356 Sep 29  2012 Makefile.am
-rw-r--r--  1 lea lea 5.3K Sep 29  2012 Makefile.in
-rw-r--r--  1 lea lea  34K Oct 30 07:50 User
lea2501 is offline   Reply With Quote
Old October 30, 2021, 13:42   #17
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 56
Posts: 9,169
Donated: $60
Nick will become famous soon enoughNick will become famous soon enough
Have you tried
Code:
~/.angband/Angband/save
the same as modern private user paths? That was present in 2.9.3, I'm not sure if it was used by default, though.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old October 30, 2021, 14:19   #18
lea2501
Apprentice
 
Join Date: Dec 2019
Posts: 56
lea2501 is on a distinguished road
Quote:
Originally Posted by Nick View Post
Have you tried
Code:
~/.angband/Angband/save
the same as modern private user paths? That was present in 2.9.3, I'm not sure if it was used by default, though.
no, in that directory i have the angband files of my linux distribution (devuan) angband package installed with apt, or you mean to copy that file to the angband 2.9.3 compilation directory?

what i don't understand, is that if i use the following commands:

Code:
./configure --prefix $HOME/.angband_2.9.3
make clean
make 
make install
the angband executable and files are in the directory of the src files, and not in the prefixed one.

i also tried the "./configure" with no parameters and i get the same result, the only difference is with "./configure --with-no-install" this gives me the angband executable under the "src" directory, and not in the current directory (the decompressed sources directory)
lea2501 is offline   Reply With Quote
Old October 30, 2021, 14:24   #19
Cuboideb
Adept
 
Join Date: May 2020
Location: Argentina
Posts: 182
Cuboideb is on a distinguished road
Code:
./src/angband -uUser -mgcu -- -n1
Copy the executable to the parent folder and start it from there.
Cuboideb is offline   Reply With Quote
Old October 30, 2021, 16:40   #20
lea2501
Apprentice
 
Join Date: Dec 2019
Posts: 56
lea2501 is on a distinguished road
Quote:
Originally Posted by Cuboideb View Post
Code:
./src/angband -uUser -mgcu -- -n1
Copy the executable to the parent folder and start it from there.
but this is the current version in this directory, that works perfectly, no "Savefile does not exist. -more-" error, the problem is the 2.9.3 version, that no matter what i try, i get that error after compile.

Last edited by lea2501; October 30, 2021 at 23:57.
lea2501 is offline   Reply With Quote
Reply

Tags
compiling, old version


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vanilla Angband back versions on live Gwarl Vanilla 7 August 15, 2019 14:33
Compile z+angband on linux garu Variants 2 November 5, 2009 16:20
How to compile Angband page PaulBlay Oook! 2 February 20, 2009 13:51
Angband VERSIONS Chulta Vanilla 6 January 15, 2009 08:35
Getting Visual C++ 2008 Express Edition to compile Angband 3.0.9 Orillian Vanilla 5 February 10, 2008 10:23


All times are GMT +1. The time now is 07:59.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.