Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

View Poll Results: How do you build V?
I don't - I play a pre-built version 11 39.29%
I use the defaults - I run ./configure with no options 5 17.86%
I use --with-setgid=games for system-wide scores, but I don't change the default paths 3 10.71%
I use --with-no-install or --prefix because I want it all in one place 8 28.57%
I use specific paths (--with-configpath/libpath/varpath, --data[root]dir etc.) 1 3.57%
Voters: 28. You may not vote on this poll

Reply
 
Thread Tools Display Modes
Old September 20, 2011, 12:53   #11
Azerath
Rookie
 
Join Date: Jun 2011
Posts: 21
Azerath is on a distinguished road
Hi,

I simply build in VS 2010 with custom project definitions - so neither of them - don't care about switches :-)
Azerath is offline   Reply With Quote
Old September 20, 2011, 13:46   #12
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by Azerath View Post
Hi,

I simply build in VS 2010 with custom project definitions - so neither of them - don't care about switches :-)
I don't know much about building on Windows - is it possible to change where the lib/ subdirs are installed to? So, for instance, if you want lib/save and lib/user in C:\Documents & Settings\Yourname\ and lib/edit and lib/help in C:\Program Files\Angband\, how do you make that happen? Anyone?
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate is offline   Reply With Quote
Old September 20, 2011, 14:16   #13
Azerath
Rookie
 
Join Date: Jun 2011
Posts: 21
Azerath is on a distinguished road
On OS friendly data storage:

In post-XP OSes, this has changed as "normally" run applications will not have "access" to program files. Additionally ther is one more complication step with 64 bit versions as program files is divided on 2 part 64 and 32 versions.

Try read this post:
http://blogs.msdn.com/b/cjacks/archi...ram-files.aspx

The question is do you need such information as Angband is not normally installed application? If not, then relying on user's "unzip" action and storing locally in app subdirs would be OK.

On the other hand if you have plan to create "Program Files"-like installation, then above post would be nice start. Additionally you could look at so called "Windows 7 Client Software Logo" http://msdn.microsoft.com/en-us/windows/dd203105.aspx

I can help you with some Windows stuff if you need help.
Azerath is offline   Reply With Quote
Old September 20, 2011, 14:23   #14
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
I was just curious, really. I assume that most Windows users leave the whole thing in the Angband-ver.x.y\ folder where it's unpacked. I was just wondering if anyone bothered doing a multi-user install in Windows - I guess not.
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate is offline   Reply With Quote
Old September 20, 2011, 15:14   #15
Azerath
Rookie
 
Join Date: Jun 2011
Posts: 21
Azerath is on a distinguished road
No need for such feature as "unzip to desktop" works like you mentioned :>

Additionally having central place for binaries and separate for user data will fail in multiuser environment when one of users would upgrade application.

How it is solved in *NIX OSes? Does binaries are separated from user data? What happend when upgrading binaries to newer version?
Azerath is offline   Reply With Quote
Old September 20, 2011, 15:18   #16
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by Azerath View Post
No need for such feature as "unzip to desktop" works like you mentioned :>

Additionally having central place for binaries and separate for user data will fail in multiuser environment when one of users would upgrade application.

How it is solved in *NIX OSes? Does binaries are separated from user data? What happend when upgrading binaries to newer version?
Unix distinguishes between "users" and "administrators". Only admins can upgrade software, so the problem does not arise. ISTR that Windows makes this distinction too - but the default permissions for a new user are admin permissions!

I think this goes right back to the fact that Unix was always intended to be a multi-user system, so this kind of problem was foreseen. Windows was originally a single-user system, and multiple user functionality was added later - but all users expect to be able to upgrade software.
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate is offline   Reply With Quote
Old September 20, 2011, 15:33   #17
nppangband
NPPAngband Maintainer
 
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
nppangband is on a distinguished road
Quote:
Originally Posted by Magnate View Post
I don't know much about building on Windows - is it possible to change where the lib/ subdirs are installed to? So, for instance, if you want lib/save and lib/user in C:\Documents & Settings\Yourname\ and lib/edit and lib/help in C:\Program Files\Angband\, how do you make that happen? Anyone?
Windows pretty much assumes it knows better than you and makes you do it their way. You could modify the Angband source with your desired path for the lib/save and lib/user directories and recompile.

Without re-compiling, if you want to have your savefiles & user files in a separate place, I guess you move them there, and when you play Angband and open a character, you get a window that lets you browse for the savefile. You can navigate to the savefile folder and open it from there.
nppangband is offline   Reply With Quote
Old September 20, 2011, 15:38   #18
nppangband
NPPAngband Maintainer
 
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
nppangband is on a distinguished road
My answer to the quiz is "none of the above". I only tinker with the Angband source when I am taking source code for NPP or doing a patch for Vanilla. In that case, I use eclipse as my editor and compile with Cygwin. I should switch to MinGW.
nppangband is offline   Reply With Quote
Old September 20, 2011, 17:57   #19
Max Stats
Swordsman
 
Join Date: Jun 2010
Posts: 324
Max Stats is on a distinguished road
Quote:
Originally Posted by nppangband View Post
Windows pretty much assumes it knows better than you and makes you do it their way.
No kidding, and it's even worse with Windows 7. More than once I have had it tell me that I don't have permission to delete a file, even though I am logged on to an account with Administrator privileges. I downloaded a "take ownership" script that is supposed to make you owner of an entire folder & subfolders, and sometimes even that doesn't work! To me, "administrator" means the equivalent of "root" in Unix, but apparently the Evil Empire doesn't see it the same way.
Max Stats is offline   Reply With Quote
Old September 20, 2011, 18:34   #20
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by Max Stats View Post
No kidding, and it's even worse with Windows 7. More than once I have had it tell me that I don't have permission to delete a file, even though I am logged on to an account with Administrator privileges. I downloaded a "take ownership" script that is supposed to make you owner of an entire folder & subfolders, and sometimes even that doesn't work! To me, "administrator" means the equivalent of "root" in Unix, but apparently the Evil Empire doesn't see it the same way.
This is the second main reason (after the appalling slowness of Vista and Win7) that I don't use any version of Windows beyond XP. The fact that they put huge amounts of effort into darkening the screen and popping up an "are you sure you know what you're doing?" dialog box every five seconds is enough to put me right off. Of course, you can change that default behaviour - but why should you have to just so that idiots can run bloatware?
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate is offline   Reply With Quote
Reply


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
Calling all contributors myshkin Development 17 June 25, 2011 18:46
Monster power - calling for views Magnate Development 13 May 2, 2011 14:57
Calling all who play nightlies Magnate Vanilla 45 November 27, 2010 20:21
Calling all maintainers: Debug command wishlist CunningGabe Vanilla 6 January 27, 2009 23:38


All times are GMT +1. The time now is 12:53.


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