The Cathedral of Attnam

Iter Vehemens ad Necem (IVAN)
Login
Username
Password


 Valid CSS  Valid HTML 4.01 Strict

another one IVAN fork

The Cathedral of Attnam  >  Programming
Page 1 of 2 Previous 1 2 Next
Print

View profile
Send messageSend email
Find posts Find topics
 
Sep 6, 2010 at 1:24 am #1  !
vasiliy
giant spider


Joined: Sep 6, 2010
Posts: 21
another one IVAN fork
yes, i know that there are enough of them already, but here is mine.

basically, it's official CVS plus backports from LIVAN (IVANX) (additional dungeons, monsters, npcs and weapons) plus some UI changes and other small things i like to change.

and what is cool, it compiles with g++ 4.4.5 without warnings!

bad news:
* GNU/Linux and m$ windoze (but i'm not sure you can build it itself, especially for windoze);
* build system based on my fork of JAM;
* all bug reports and feature requests will happily go to /dev/null (well, NOT ALL);
* except if you want to get credits, 'cause i used your code;
* development process is not very active -- i can forget about it for a ten years and then SUDDENLY! decide to add some useless feature;
* source code style slowly changes to mine (so no easy diffs for other forks).

ah, i nearly forgot to tell where you can get it: here it is!

if you want to try it:
* you need to guess where my fork of JAM build tool can be downloaded, download it and build;
* then you need to downoad source code;
* then you need to build it;
* then you need to execute binary;
* then you will see cool segfault.

or just download windoze build following the URL i kindly give below.

the one funny thing my fork have is so-called 'include scripts': where Config directive allowed in script, one can write:
Config "myitems.dat";
and IVAN will include "Scripts/myitems.dat" file with additional configs, so you can keep your item/char types in separate files. this eases modiing.

also IVAN will look for files item_XX.dat and char_XX.dat files (where XX in [00..99]) and load 'em. this can be used when you want to add new chars/items, not configs.

the same scheme (dungeon_XX.dat) is valid for dungeons.
also you can include files in dungeons:
Include "mydungeon.dat";

for now dungeon includes allowed only on top-level (i.e. where Dungeon or Team keyword is valid).

items (and chars? untested) can be extended or redefined now. just prepend item name with 'Redefine' or 'Extend' keywords.
it is useful for modding -- it allows to awoid editing of the original item.dat. 'Extend' can add new configs or alter parameters, 'Redefine' allows completely redefine already defined items.

btw, my fork will report unknown chars/items instead of segfaulting.

WARNING: DO NOT USE SCRIPTING FOR NOW! i'm in the middle of the process of incorporating brand new award-winning c-like V.A.S.Y.A. scripting engine!

bye, and happy hacking.

for all m$ worshipers out here i decided to reveal the secret code on which over 9000 monkeys working hard during the last days: windoze build! (Oct, 11)

unpack it in any dir and run.
WARNING! it wants to write in that dir, so don't mess with the file access rights.

BTW: i will never port 3D mode, don't even dream about it.
 
Last edited by vasiliy : Oct 11, 2010 at 2:52 pm. Edited 18 times total
 
View profile
Send message
Find posts Find topics
 
Sep 6, 2010 at 1:50 am #2  !
Somagu's Avatar
Somagu
He Who Scars


Joined: Dec 4, 2007
Occupation: Avatar
Location: Britannia
Interests: Drugging Lord British
Posts: 802
Groups:
The additional things from IVANX are from LIVAN, not original to IVANX.
 
Proudly bringing disaster and mental scarring to Attnam since '05!
 
View profile
Send messageSend email
Find posts Find topics
 
Sep 6, 2010 at 1:55 am #3  !
vasiliy
giant spider


Joined: Sep 6, 2010
Posts: 21
tnx, but it really doesn't matter at all, 'cause there are no proper credits yet. i know the origins, but i'm porting things from IVANX, so i mentioned IVANX. i can change the description if it really matters for anyone. but i think that this is of no value, 'cause i doubt anybody will be able to build my fork anyway.

besides, they aren't working yet.
 
 
View profile
Send messageSend email
Find posts Find topics
 
Sep 6, 2010 at 6:56 am #4  !
vasiliy
giant spider


Joined: Sep 6, 2010
Posts: 21
added some info to the first post; added credits to AUTHORS file.
 
 
View profile
Send messageSend email
Find posts Find topics
 
Sep 6, 2010 at 11:04 am #5  !
vasiliy
giant spider


Joined: Sep 6, 2010
Posts: 21
to see my ubercool modding system in action one can download the sources and take a look in Scripts directory. it's cool, believe me!
 
 
View profile
Send message
Find posts Find topics
 
Sep 6, 2010 at 11:30 am #6  !
BDR's Avatar
BDR
archangel


Joined: Jan 11, 2008
Posts: 933
I dunno how many people here subscribe to pure Linux. I know I'm not one of them, so I got nothing to say.
 
 
View profile
Send message
Find posts Find topics
 
Sep 6, 2010 at 12:25 pm #7  !
chaostrom's Avatar
chaostrom
Mage Prophet


Joined: Dec 3, 2007
Occupation: Standing between all life and death.
Posts: 2038
Groups:
Impressive regardless. Lenox tried porting to linux back at greatboards and he gave up.
 
image
 
View profile
Send message
Find posts Find topics
 
Sep 6, 2010 at 6:21 pm #8  !
BDR's Avatar
BDR
archangel


Joined: Jan 11, 2008
Posts: 933
I just feel it's really hard to be impressed by something that I can't use for a game I can, which to boot does not appear to have anything I as an end user can really appreciate (what good is a better mod system going to do me if the mods that can be made with it are only gonna be good on a particular brand of Linux?). When you say "come on guys it's really cool" it's kind of not gonna do any good if I don't have anything at all to go on beyond "I made something I think is neat but it only works on this oooooooone distro of Linux and then you also have to guess what I'm using for this other program to make it work"; I already took your advice to forget about the page (and only started caring when it started looking like you were looking for feedback 'cause you were expecting more) since I can't really make use of it and won't get even any tangential benefits.

(note: if this was something like a Mac-only roguelike, I'd hope I'd at least have screenshots and a little knowledge of the workings and presuming I had that I'd then be able to say something of worth like "looks neat, too bad it's Mac-only" or "I dunno, that mechanic sounds iffy"; this is some behind-the-scenes stuff that may be nice but I don't really futz with that much at all so even if I could look at it I would have very little ability to figure out whether it was good, bad, or a crock, and as mentioned since this is a GNU-only thing I'm pretty sure any mods made with it are gonna be GNU-only too, which cuts me out of the aforementioned tangential benefits of having a cool mod of the game, thus my interest is limited solely to your reaction to... not having any feedback! Well, you cut out enough of the potential audience, that's gonna happen)
 
 
View profile
Send message
Find posts Find topics
 
Sep 7, 2010 at 12:04 am #9  !
chaostrom's Avatar
chaostrom
Mage Prophet


Joined: Dec 3, 2007
Occupation: Standing between all life and death.
Posts: 2038
Groups:
You misunderstand me. Of course it's hard to be impressed as a gamer when you can't experience it. However many people have inquired after a linux port of IVAN over the years, and to see one after so many have given up on it is impressive. Also, I believe herself and cizra are linux users, they may be able to use the improved modding system on IVAN development.
 
image
 
View profile
Send message
Find posts Find topics
 
Sep 7, 2010 at 1:34 am #10  !
BDR's Avatar
BDR
archangel


Joined: Jan 11, 2008
Posts: 933
I was sort of half responding to you and half responding to vasilly, but anyway; I hadn't heard about the Linux port stuff so that's great for Linux users. Also while herself and cizra do use Linux, the impression I get is that this isn't exactly a portable thing goin' on here; if it's good enough, I guess they might work it into the Windows port somehow, but I dunno if that's gonna happen or not, soooooo kinda not feelin' it. Just my two cents on the whole thing.
 
 
View profile
Send messageSend email
Find posts Find topics
 
Sep 7, 2010 at 2:26 am #11  !
vasiliy
giant spider


Joined: Sep 6, 2010
Posts: 21
2BDR: port it back to windoze shouldn't be very hard (except that i will not take that patches, so brave porting hero have to watch my development process closely), 'cause there are zero to none non-portable code (well, one or two functions maybe). actually, i don't care what is going on in that windoze gloomy lands, and i have no windoze to build it myself.

>and as mentioned since this is a GNU-only thing I'm pretty sure any mods made with it are gonna be GNU-only too
not exactly right. script mods are good for any IVAN, and source code mods can be patched to any IVAN. for now i'm thinking about flexible modding system that will allow creating new things without source code pathces, but don't hold your breath.

2chaostrom: IVAN CVS was not so hard to build back than. and then i just removing warnings and add things one by one, slowly.

2BDR: since it's GPL, any dev can take my improvements to script loader (it's only couple of functions, nothing really challenging) and incorporate in any other IVAN variant. i can point to interesting places. i myself already converted LIVAN scripts to mods. it's funny and ... manageable. %-)
also, building is not that hard at all for any GNU/Linux user who knows something beyond the fancy stupid GUIs.
besides, it can be build on any descent GNU/Linux disto -- that's why i'm not providing any binaries: they aren't useful.

actually, i want to have a 'modding system' in IVAN. my work is the start of it, i hope. 'cause i want it to find it's way to another IVANs, i points to the sources. other developers should take a look and made something better (i hope). and i assume that developer is able to build my fork on his favorite OS.


well, i don't care much if someone will use my fork or not (I am using it, it's enough for me), i'm just posting announces for those who may be interested, but don't want to dig thru the code to find the most impressive things. i have no plans to make another Brave New IVAN, i'm just improving/rewriting the things that annoys me. and i thought that someone else can be interested too. and this is the main (only?) IVAN site.

btw, i ported sound code.

p.s. linuxoids will hate me too, 'cause i don't give a shit about x64 (or any other non intel-32-bit arch).

p.p.s. but thanks for all your answers. ok, i lied, i wanted to know what others think.
 
Last edited by vasiliy : Sep 7, 2010 at 2:33 am. Edited 3 times total
 
View profile
Send messageSend email
Find posts Find topics
 
Sep 15, 2010 at 6:20 am #12  !
vasiliy
giant spider


Joined: Sep 6, 2010
Posts: 21
after receiving such good-hearted reaction to my excellent fork, i finally decided to give you a windoze build!

unpack it in any dir and run.
WARNING! it will want to write in that dir, so don't mess with the rights.

sound code are not included yet, as the code that makes/shows screenshots for saved games. maybe i'll do that later.

you can downloat it right here.

p.s. see the first post for some updates.
 
 
View profile
Send message
Find posts Find topics
 
Sep 15, 2010 at 11:52 pm #13  !
chaostrom's Avatar
chaostrom
Mage Prophet


Joined: Dec 3, 2007
Occupation: Standing between all life and death.
Posts: 2038
Groups:
Awesome. I'll have to take look at that improved modding capability when I've got some time.
 
image
 
View profile
Send messageSend email
Find posts Find topics
 
Sep 16, 2010 at 12:37 am #14  !
vasiliy
giant spider


Joined: Sep 6, 2010
Posts: 21
for now it's far from finished. VASYA scripting engine is almost complete, but not bindings. and no docs for now.

yet i believe that in the end one will be able to add new cities, items, NPCs, etc without recompiling IVAN code.

so stay tuned and report bugs even if the game says you shouldn't. %-)
 
 
View profile
Send messageSend email
Find posts Find topics
 
Sep 17, 2010 at 3:01 am #15  !
capristo's Avatar
capristo
The Imperialist


Joined: Dec 2, 2007
Location: New Attnam
Interests: bananas
Posts: 1224
Groups:
Very nice work vasiliy.
I found a bug, I don't know if it's just your version, or LIVAN, or what, but when you find a bone it will say the material, which is redundant. I found "a bone bone" and "an ommel bone bone". I guess it's not technically a bug, but a grammar issue.
 
 
View profile
Send message
Find posts Find topics
 
Sep 17, 2010 at 4:55 am #16  !
4zb4's Avatar
4zb4
archangel


Joined: Dec 11, 2008
Occupation: Procrastinating
Location: The Bunker
Interests: Waiting out the internet shitstorm
Posts: 948
Groups:
It's a bug present in LIVAN, as well as Vanilla IVAN. When you give an object more than one material, the game makes a point about showing exactly which material the item is made of. In LIVAN, there are bones made of bone, and Ommel bone bones, therefore a normal bone is called a "bone bone" and an ommel bone a "ommel bone bone". It's present in vanilla IVAN, but only visible through modding the scripts. E.g. Modding a mine to have the possibility of being made out of both iron and steel. ("steel mine" "iron mine" )
 
Praise the sun! Jolly co-operation!
 
View profile
Send messageSend email
Find posts Find topics
 
Sep 17, 2010 at 9:07 am #17  !
vasiliy
giant spider


Joined: Sep 6, 2010
Posts: 21
2capristo:
>Very nice work vasiliy.
tnx.

>I found "a bone bone" and "an ommel bone bone"
it's the bug in original IVAN, as 4zb4 said. i've seen that, and added to TOFIX list, but for now i'm busy with the scripting engine. i will fix it for sure, but i have some fatal bugs in TOFIX too, and those must be fixed first.

what i really want to hear is the toughts about my "modding system": what should be added there, what should be removed or rewritten (except scripting), is it usable at all, etc.

and i want to know how all of you want me to tell about new windoze builds. just update the first post and make a notice here, or something else? maybe there are some services that can be used for this?

btw, there is one new item: moneybag. it can be 'a'pplied to get the money out of it (it's not a container, so it can't be 'o'pened). have to add some effects when it is offered to god, etc. maybe with scripting engine.
 
 
View profile
Send messageSend email
Find posts Find topics
 
Sep 17, 2010 at 4:23 pm #18  !
capristo's Avatar
capristo
The Imperialist


Joined: Dec 2, 2007
Location: New Attnam
Interests: bananas
Posts: 1224
Groups:
I haven't had a chance to look at your scripting engine yet but I will comment when I do.

You can just update your first post for now... as you can see on the left there is a downloads section where other IVAN coders can upload their variants. Right now it is broken but I'm working on fixing the website so I'll let you upload your files here too if you'd like.
 
 
View profile
Send messageSend email
Find posts Find topics
 
Sep 17, 2010 at 5:58 pm #19  !
vasiliy
giant spider


Joined: Sep 6, 2010
Posts: 21
2capristo:
scripting engine is not there yet. for now only 'includes' and 'extensions' are there (just take a look in Scripts folder, it's fun %-). but i'm 90% finished the engine itself (it resembles javascript alot). the hard part is 'bindings', to allow the engine accessing game internals. i have some ideas though.

>as you can see on the left there is a downloads section where other IVAN coders can upload their variants
yes, i've seen it. but my fork is WIP, and i assume that download section is for more or less stable versions. anyway, it's not really hard for me to update the post and upload another version when it's ready.

btw, my version reports about missing item/npc/etc definitions in dat files, and original just crashing. this feature itself is valuable, i think. %-)
 
 
View profile
Send messageSend email
Find posts Find topics
 
Sep 19, 2010 at 9:47 am #20  !
vasiliy
giant spider


Joined: Sep 6, 2010
Posts: 21
preview of upcoming scripting language. i'm slowly working on I.V.A.N. bindings for it. planned release date: 2125. stay tuned
 
 
View profile
Send messageSend email
Find posts Find topics
 
Sep 20, 2010 at 9:20 pm #21  !
vasiliy
giant spider


Joined: Sep 6, 2010
Posts: 21
some improvements:
* no more 'bone bones';
* much improved 'go' command.

windoze URL updated.
 
 
View profile
Send messageSend email
Find posts Find topics
 
Sep 27, 2010 at 9:18 am #22  !
vasiliy
giant spider


Joined: Sep 6, 2010
Posts: 21
windoze build updated.

* several small bugfixes;
* windows-addicted users now can enjoy savegame screenshots (select 'continue game' and say 'WOW!');
* windows now has sounds (just download soundpack from LIVAN and turn sound on in config).

known bugs:
* game sometimes crashing when creating UT2, etc. dunno why.

windoze URL in the 1st post updated.

p.s. i can't see your hands! i mean -- does somebody play in this shit, or i can stop trashing the forum? %-)
 
 
View profile
Send messageSend email
Find posts Find topics
 
Sep 27, 2010 at 10:06 am #23  !
vasiliy
giant spider


Joined: Sep 6, 2010
Posts: 21
and immediate update:

game now asks you if you want to save screenshot when you dies. it's much easier now to publish your awesome death story with nice picture!
 
 
View profile
Send messageSend email
Find posts Find topics
 
Sep 27, 2010 at 12:17 pm #24  !
vasiliy
giant spider


Joined: Sep 6, 2010
Posts: 21
just for fun: New Attnam can be freed from imperialist. this will give you free bananas and free healing from the priestess of Silva. priestes of Silva will return to her temple too.

also, assassin's corpse weight is not negative.
 
 
View profile
Send message
Find posts Find topics
 
Sep 28, 2010 at 9:21 am #25  !
Warheck's Avatar
Warheck
kobold lord


Joined: Sep 9, 2010
Occupation: Petty Functionary
Location: Eating pea soup in the world map
Interests: Mangoes
Posts: 103
Groups:
This variant is shaping up to be good. The control flow enhancements are nice. I got sound to work by adding into the ivan_w32 directory the "Sound" folder from Ivan3D. Good luck with the scripting engine, I think it will be a fun tool for the community.
 
 
 Print

Page 1 of 2 Previous 1 2 Next

The Cathedral of Attnam  >  Programming  >  another one IVAN fork

Jump to