XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Fri Aug 18, 2017 5:49 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Iter Vehemens Ad Necem
PostPosted: Tue Feb 15, 2011 6:00 pm 
Offline
ultra-n00b

Joined: Tue Feb 15, 2011 5:32 pm
Posts: 4
Has thanked: 0 time
Have thanks: 0 time

My favorite roguelike game of all time, except for two little problems:

1. The savegame files are HUGE for such a simple game; an extended game can grow your save folder to hundreds of Megabytes. Since they compress to almost nothing I suspect the fault is with the game itself.

2. It is quite possible to overload the engine and permanently have attributes like 'invisible' or 'confused'. This can be quite a pain, especially the former as it means you can't trade with shopkeepers as they can't see you!

Could someone could give me a hand in finding where the game stores what in the save files? Even just being able to turn on/off the aforementioned attributes would be great - a full editor (add/remove items, change stats, etc.) would be icing on the cake.

Original homepage, including source downloads:

http://ivan.sourceforge.net/download.html

The most active (and possibly only) homepage/fansite:

http://www.attnam.com/

EDIT: A basic course in IVAN's scripting. Well worth a read.

http://ivan.sourceforge.net/script/

You can make the ads go away by registering



Last edited by DarkStar88 on Sat Feb 19, 2011 8:38 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Iter Vehemens Ad Necem
PostPosted: Sat Feb 19, 2011 5:35 am 
Offline
Site Admin
User avatar

Joined: Mon Sep 13, 2004 1:55 am
Posts: 703
Location: The wiki.
Has thanked: 107 times
Have thanks: 122 times
Nice to see the source is available for the game; I could probably track down the code that actually reads/writes the save files. I may look at this sometime, but not now - I've got too many other things going on ATM. :wink:

_________________
Welcome to Xentax!

Rules | Requests | Wiki

If you run across a post that breaks the rules, please PM Craptain, Mr.Mouse, or myself - we will handle it from there.


Top
 Profile  
 
 Post subject: Re: Iter Vehemens Ad Necem
PostPosted: Sat Feb 19, 2011 10:31 am 
Offline
Site Admin
User avatar

Joined: Wed Jan 15, 2003 6:45 pm
Posts: 4007
Location: Dungeons of Doom
Has thanked: 409 times
Have thanks: 549 times
@dino: like building the dome.

_________________
Please like our Facebook page!


Top
 Profile  
 
 Post subject: Re: Iter Vehemens Ad Necem
PostPosted: Sat Feb 19, 2011 7:17 pm 
Offline
Site Admin
User avatar

Joined: Mon Sep 13, 2004 1:55 am
Posts: 703
Location: The wiki.
Has thanked: 107 times
Have thanks: 122 times
Mr.Mouse wrote:
@dino: like building the dome.

:owned2:

_________________
Welcome to Xentax!

Rules | Requests | Wiki

If you run across a post that breaks the rules, please PM Craptain, Mr.Mouse, or myself - we will handle it from there.


Top
 Profile  
 
 Post subject: Re: Iter Vehemens Ad Necem
PostPosted: Tue Feb 22, 2011 11:30 pm 
Offline
ultra-veteran
ultra-veteran

Joined: Fri Nov 06, 2009 12:13 am
Posts: 580
Has thanked: 65 times
Have thanks: 124 times
well game::Save (game.cpp, 770) makes the save:

it writes a bunch of player attributes,
the equipment,
attributes,
dungeons,
gods,
teams,
current level/wilderness,
other player stats

as a guess, the dungeons are huge.

edit

the states hold if you're invisible or not. these are handled with bitflags:

Code:
#define STATES 20
#define INVISIBLE (1 << 6)


not sure where these states are stored with the player though

_________________
Useful tool links:


Top
 Profile  
 
 Post subject: Re: Iter Vehemens Ad Necem
PostPosted: Thu Mar 03, 2011 2:43 am 
Offline
ultra-n00b

Joined: Tue Feb 15, 2011 5:32 pm
Posts: 4
Has thanked: 0 time
Have thanks: 0 time
The dungeons themselves aren't that big, going by roguelike standards, but it probably seems that way due to how IVAN reads/writes the files.

Do states handle other attributes, such as teleporting or polymorphing?



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group