![]() |
#1 |
DaJAngband Maintainer
Join Date: Apr 2007
Location: San Antonio, TX
Posts: 1,012
Donated: $10
![]() |
Help me make my new variant! (please!)
So, I'm looking into making a new variant since I just came back to Angband, and I always think the most fun thing to do with a game is tweak it, tinker with it, tamper with it, customize it, alter it, twist it, slime it, and otherwise modify it. But I'm going to need some help because I am much more of a hack than an actual coder/programmer, so this thread is where I'll ask questions.
First, is the "angband_visual_studio_step_by_step" file updated and current? (It doesn't seem like it...) I've only used two compilers before. One is Visual Studio, and I don't remember what other was, but it's old, probably obsolete, and anyway it isn't one of the options listed in the compiling instructions here: https://angband.readthedocs.io/en/la...g.html#windows I just downloaded Visual Studio and it's changed a bit since I last used it too. When you bring up the list of languages, it lists C# and C++, but not C. Do I need to use an older version of Visual Studio? Or is C pretty much included under C++? PS: Should this go here or in the variants subforum?
__________________
Will_Asher aka LibraryAdventurer My old variant DaJAngband: http://sites.google.com/site/dajangbandwebsite/home (defunct and so old it's forked from Angband 3.1.0 -I think- but it's probably playable...) Last edited by will_asher; March 3, 2021 at 06:19. |
![]() |
![]() |
![]() |
#2 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,199
Donated: $40
![]() |
Sort of. You will end up with mangled symbols, but so long as its entirely compiled in C++ and doesn't rely on C libraries, it'll run. You may need a few extern C declarations. The trouble is it's hard to maintain back compatibility.
Gcc is not hard to use. And there is a graphical debugger. The trouble is it doesn't include an IDE. |
![]() |
![]() |
![]() |
#3 | |
Adept
Join Date: Aug 2019
Posts: 136
![]() |
Quote:
|
|
![]() |
![]() |
![]() |
#4 | ||
DaJAngband Maintainer
Join Date: Apr 2007
Location: San Antonio, TX
Posts: 1,012
Donated: $10
![]() |
Quote:
Quote:
So Gcc is another compiler? There's no instructions for compiling with it on the manual here: https://angband.readthedocs.io/en/la...compiling.html Do you think Gcc would be easier than using Visual Studio (even though Visual Studio is the only one I've used before)?
__________________
Will_Asher aka LibraryAdventurer My old variant DaJAngband: http://sites.google.com/site/dajangbandwebsite/home (defunct and so old it's forked from Angband 3.1.0 -I think- but it's probably playable...) |
||
![]() |
![]() |
![]() |
#5 | ||
Adept
Join Date: Aug 2019
Posts: 136
![]() |
Quote:
Quote:
Yes, gcc is another compiler, usually used on Linux or Unix systems. For Windows, one would likely use MinGW port of gcc. The basic instructions for using that to compile Angband are in this part of the documentation . Pete Mack or someone else can chime in about what's easier to use, though the answer will likely depend on what you're used to. |
||
![]() |
![]() |
![]() |
#6 | ||
DaJAngband Maintainer
Join Date: Apr 2007
Location: San Antonio, TX
Posts: 1,012
Donated: $10
![]() |
Quote:
Quote:
__________________
Will_Asher aka LibraryAdventurer My old variant DaJAngband: http://sites.google.com/site/dajangbandwebsite/home (defunct and so old it's forked from Angband 3.1.0 -I think- but it's probably playable...) |
||
![]() |
![]() |
![]() |
#7 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,199
Donated: $40
![]() |
You still can create C projects in VS2019.
https://www.bing.com/videos/search?q...ram+in+vs+2019 |
![]() |
![]() |
![]() |
#8 | |
DaJAngband Maintainer
Join Date: Apr 2007
Location: San Antonio, TX
Posts: 1,012
Donated: $10
![]() |
Quote:
(now why didn't I think of doing a search for it?)
__________________
Will_Asher aka LibraryAdventurer My old variant DaJAngband: http://sites.google.com/site/dajangbandwebsite/home (defunct and so old it's forked from Angband 3.1.0 -I think- but it's probably playable...) |
|
![]() |
![]() |
![]() |
#9 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,199
Donated: $40
![]() |
I found your assertion highly improbable because I know MS still writes kernel code, and kernel adjacent code like device drivers, in C. C++ is just not a good language for this kind of thing. There are managed code kernels, but the languages are really crazy.
|
![]() |
![]() |
![]() |
#10 |
Swordsman
Join Date: Jun 2011
Location: Germany
Age: 52
Posts: 428
![]() |
variant creation
1. I would like to point out that it would be much better if variants could be created by using a text editor just modifying setup files. Unluckily the latest developments were a step back in this question. The new book shop code was hardcoded instead to use configuration files.
2. You don't need an IDE. I come along quite fine with notepad++ as texteditor (windows system) and using a c++ compiler to create executabels. The advantage of notepad++ is, it is fast, handles different encoding standards and is easy to use while offering almost everything one can think of in form of customization.
__________________
Blondes are more fun! |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
can we make identify more common ? | Sky | Vanilla | 16 | September 10, 2017 10:20 |
Make Artistry automatic | bagori nd | Sil | 4 | September 26, 2016 18:22 |
How many variant developers/maintainers have beaten their own variant? | Delver | Variants | 12 | June 5, 2009 09:08 |
Variant writing.. quickstart guide? Also, Hengband variant suggestions? | dzhang | Variants | 34 | April 1, 2009 00:45 |
Trying to make my own variant | bpleshek | Variants | 8 | September 15, 2008 20:42 |