Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Variants

Reply
 
Thread Tools Display Modes
Old September 5, 2008, 20:28   #1
bpleshek
Apprentice
 
Join Date: Sep 2008
Posts: 59
bpleshek is on a distinguished road
Trying to make my own variant

I've taken vanilla as it is and am trying to get it to compile in VS.NET. Are there some instructions available for this? Can someone point me to them?

Thanks,

Brian
bpleshek is offline   Reply With Quote
Old September 5, 2008, 21:58   #2
Bandobras
Knight
 
Join Date: Apr 2007
Posts: 726
Bandobras is on a distinguished road
Begone creature of Morgoth!
Bandobras is offline   Reply With Quote
Old September 5, 2008, 22:36   #3
ekolis
Knight
 
ekolis's Avatar
 
Join Date: Apr 2007
Location: Cincinnati, OH, USA
Age: 39
Posts: 918
ekolis is on a distinguished road
Send a message via AIM to ekolis Send a message via MSN to ekolis Send a message via Yahoo to ekolis
Something gotten into you Bandobras???

On Windows, if I want to compile Angband myself I usually tend to go for MinGW + Eclipse; haven't tried it recently using Visual Studio so I can't recall how that might work... AFAIK there's no project/solution file in the repository, so you'd have to go via "create project from existing code", and leave out the "main-???" files apart from main-win... last time I tried that I remember having a bunch of errors though, but I could be mistaken or I could have resolved them... if you really want to use Visual Studio, just give it a whirl and let us know what errors you get; someone will be able to help you surely!

Oh yeah, one other thing I think you have to do is add "winmm.dll" or something to your library path, otherwise it complains about some graphics and sound stuff...
__________________
You read the scroll labeled NOBIMUS UPSCOTI...
You are surrounded by a stasis field!
The tengu tries to teleport, but fails!
ekolis is offline   Reply With Quote
Old September 5, 2008, 23:18   #4
Bandobras
Knight
 
Join Date: Apr 2007
Posts: 726
Bandobras is on a distinguished road
Quote:
Originally Posted by ekolis View Post
Something gotten into you Bandobras???
Sorry. I'm just reading the part of LotR, where Boromir advocates the use of the ring (.NET) to just causes (compiling free software). I visialized Angband.NET, Angband in C#, Shared Source Angband, etc. Please excuse me, bpleshek.
Bandobras is offline   Reply With Quote
Old September 5, 2008, 23:36   #5
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,766
Donated: $40
Pete Mack will become famous soon enough
I'm not a big fan of Visual Studio, but GDB doesn't work reliably (at all?) on Windows. So if you want to program on Windows, and you need to debug, Visual Studio is the way to go. I've got the free version installed just for that, but I haven't tried building an Angband project yet.
Pete Mack is offline   Reply With Quote
Old September 8, 2008, 20:44   #6
bpleshek
Apprentice
 
Join Date: Sep 2008
Posts: 59
bpleshek is on a distinguished road
I'd like to get vanilla to compile before i put too much work into building. This isn't a HUGE rush as i've played Moria since about 1992 and haven't gotten around to making a mod yet. But i have ideas aplenty and they are in need of exploration.

Of course, i could just write it from scratch in .NET and see how that goes. But it would no longer be a *band. Imagine MySQL or *shudder* MS Access to store all the data.

Brian
bpleshek is offline   Reply With Quote
Old September 8, 2008, 23:01   #7
RogerN
Swordsman
 
RogerN's Avatar
 
Join Date: Jul 2008
Posts: 308
RogerN is on a distinguished road
If all you want is a Visual Studio project which can compile vanilla then that's not very difficult. Download this zip archive and extract it into your Angband "src" folder. It contains project files (.sln and .vcproj) which should compile with Visual Studio 2003 or later.

Note that I haven't done anything with compiler options. I just threw all the files in there. It will compile, but you'll get tons of warnings.

EDIT: I'm also assuming that you've already downloaded the rest of the source code. The above link does not contain any of the source files, but only the VS project files.
RogerN is offline   Reply With Quote
Old September 15, 2008, 20:34   #8
bpleshek
Apprentice
 
Join Date: Sep 2008
Posts: 59
bpleshek is on a distinguished road
I may have to download a new source. I'm using 3.0.5 and i had to delete 10 .c files and the angband.rc file. The result of my compile is about a page of errors. I'll try to get a newer vanilla and see if that helps.

Brian
bpleshek is offline   Reply With Quote
Old September 15, 2008, 20:42   #9
bpleshek
Apprentice
 
Join Date: Sep 2008
Posts: 59
bpleshek is on a distinguished road
Thumbs up

That appeared to have done it. I now have a framework for 3.0.9.

Thanks,

Brian
bpleshek 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
Variant writing.. quickstart guide? Also, Hengband variant suggestions? dzhang Variants 34 April 1, 2009 00:45
How To: Make permanent walls purple for easier vault clearing Zero Vanilla 4 August 6, 2008 21:13
[Feature Request] Make 'repeat last command' only repeat in-game commands CunningGabe Vanilla 7 March 22, 2008 20:13


All times are GMT +1. The time now is 02:10.


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