Diablo 2 mods
 


Post new topic Reply to topic  [ 75 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
PostPosted: Thu Jun 30, 2005 9:28 pm 
 Post subject:
 
Offline
Senior Admin
Senior Admin
User avatar

Age: 38
Joined: Sat May 18, 2002 12:30 am
Posts: 9123
Location: Sweet Pandemonium
Gender: Male
Anyone happen to know the limits for UniqueAppellation.txt, UniquePrefix.txt or UniqueSuffix.txt?

_________________
If you want me to miss you, you have to GO AWAY first...


Top
 Profile  
Reply with quote  
PostPosted: Fri Jul 01, 2005 12:55 am 
 Post subject:
 
Offline
Angel
User avatar

Joined: Fri Jun 04, 2004 5:04 pm
Posts: 860
Gender: None specified
Those 3 files are just a collection of TBL index, so I think there is no limit here (besides the usual 2^32 ;) ).


Top
 Profile  
Reply with quote  
PostPosted: Fri Jul 01, 2005 1:19 am 
 Post subject:
 
Offline
Senior Admin
Senior Admin
User avatar

Age: 38
Joined: Sat May 18, 2002 12:30 am
Posts: 9123
Location: Sweet Pandemonium
Gender: Male
Sweet, thanks :D I was about to pass 256 and wanted to make sure :)

_________________
If you want me to miss you, you have to GO AWAY first...


Top
 Profile  
Reply with quote  
PostPosted: Sun Aug 07, 2005 7:17 pm 
 Post subject:
 
Offline
Dominion
User avatar

Joined: Mon Jun 03, 2002 10:06 am
Posts: 6715
Location: Fallen Like Lightning
Gender: None specified
~tcex.txt...?

_________________
19.may.2007 | Adun Tori Laz.
Median XL released!
Flesyht sa ruobhgien yht etah.


y dont u play the game the way its supposta be played? -SlothNathan


Top
 Profile  
Reply with quote  
PostPosted: Sun Aug 07, 2005 11:22 pm 
 Post subject: Re: Txt File Limits
 
Offline
Angel
User avatar

Joined: Wed Jan 28, 2004 2:47 am
Posts: 630
Location: In the darkest corners of your mind
Gender: None specified
How about LvlTypes.txt as apparently it produces a random error in the new map if using more lines.

I haven't encountered this as yet. :)

_________________
Custom health-mana bubbles. Custom loading video's. Custom Hireling graphics.
'Do what thou wilt shall be the whole of the Law'


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 08, 2005 8:33 pm 
 Post subject:
 
Offline
Angel
User avatar

Joined: Fri Jun 04, 2004 5:04 pm
Posts: 860
Gender: None specified
Brother Laz";p="237054 wrote:
~tcex.txt...?
Various *.bin indicate 65535, but it may be 32767.

BUT this limit does count the autoTC generated via ItemTypes.txt (32 for each).


Top
 Profile  
Reply with quote  
PostPosted: Thu Dec 29, 2005 7:56 pm 
 Post subject:
 
Offline
Angel
User avatar

Age: 28
Joined: Fri Apr 08, 2005 1:22 pm
Posts: 803
Location: HERE!! on the Battlefield...
Gender: Male
Umm.. monseq.txt?? I'm about to start some anims and.. well I need to know what the limit is and.. how do you find out these limits?? try to fill them till they stop or look in code?

_________________
WAR!!!!!!!....... don't worry.. I'm working on it
http://iloveshaders.blogspot.com/


Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 30, 2005 1:47 am 
 Post subject:
 
Offline
Angel
User avatar

Joined: Fri Jun 04, 2004 5:04 pm
Posts: 860
Gender: None specified
It seems that there is only one byte to handle MonSeq index; meaning 255 sequence max.

Testing is an option, but most limits are known by reading the BIN generation routine, or knowing what part of what struct uses this field.


Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 30, 2005 9:42 am 
 Post subject:
 
Offline
Angel
User avatar

Age: 28
Joined: Fri Apr 08, 2005 1:22 pm
Posts: 803
Location: HERE!! on the Battlefield...
Gender: Male
255 sequences not depending how long?? That's great news THX THX THX Ulmo :victory:

_________________
WAR!!!!!!!....... don't worry.. I'm working on it
http://iloveshaders.blogspot.com/


Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 30, 2005 12:43 pm 
 Post subject:
 
Offline
Angel
User avatar

Joined: Fri Jun 04, 2004 5:04 pm
Posts: 860
Gender: None specified
255 sequences of 255 frames max. Good work :)


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 08, 2006 4:30 pm 
 Post subject: Re: Txt File Limits
 
Offline
Champion of the Light
User avatar

Joined: Wed May 12, 2004 6:47 pm
Posts: 299
Gender: None specified
gems.txt

reached the 300th line. The 300th rune works corectly. Runewords too.


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 08, 2006 6:33 pm 
 Post subject: Re: Txt File Limits
 
Offline
Forum Tech Support
Forum Tech Support
User avatar

Age: 39
Joined: Thu Jul 31, 2003 8:19 am
Posts: 3861
Location: Finland
Gender: Male
I_only_pressed_Esc";p="237081 wrote:
How about LvlTypes.txt as apparently it produces a random error in the new map if using more lines.

I haven't encountered this as yet. :)

Thats not due to a file limit, the random error is coz new lvltypes do not have automap entries. I cant remember if adding entries for them solves the problem, never had to since there is still so much room in my lvltypes.txt

_________________
My youtube channel


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 08, 2006 11:48 pm 
 Post subject: Re: Txt File Limits
 
Offline
Moderator
Moderator
User avatar

Joined: Tue Mar 04, 2003 11:40 pm
Posts: 2498
Gender: None specified
I just wanted to point out that lines higher than 2048 DO work in magicprefix.txt / magicsuffix.txt. However, there is a problem: You will always get the name of line 2047 displayed on all those magic pre/suffixes which are in lines > 2047.
all lines in magicprefix / suffix count, including blank lines. maybe the expansion line doesnt count, though.

_________________
[color=FF0000]d2:elements FINAL v1.0 download[/color] - - [color=FF0000]d2:elements FINAL update v1.01 download[/color] - - [color=FF9900]d2:elements website[/color] - - [color=FF9900]d2:elements forum[/color] - - [color=FF9900]Forum TOS[/color]

Avatar image is taken from the Wishmaster cover by the band Nightwish


Top
 Profile  
Reply with quote  
PostPosted: Thu Feb 09, 2006 12:58 am 
 Post subject: Re: Txt File Limits
 
Offline
Site Admin
Site Admin
User avatar

Joined: Sat Jun 15, 2002 8:13 pm
Posts: 11607
Location: Where the blood forever rains
Gender: Male
There is another limitation with magicprefix/suffix.

AFAIK - if more then a certain number (which I can't remember ATM :-|) of affixes can spawn on an item at any time (that means at iLvl) all modifiers after that certain number will be excluded from the random generation. Albeit this means you'd have to put every modifier in it's own group. The limit does exist.



*The Expansion line probably doesn't count since it isn't compile into the bin files (IIRC) (thus it also doesn't alter ID #s)








PS: That 2047 display limit should not be too hard to alter, I will probably look into this in the future. It might be related to the MonType.txt bug that I fixed a while ago (just that here it probably is intentional and occurs across all processor types).

_________________
''(...) The game can basically be considered unhackable. '' - Blizzard Entertainment (30th May 2000)
Black Omen Productions | MetalStorm: Progress Report | Screenshots


Top
 Profile  
Reply with quote  
PostPosted: Thu Feb 09, 2006 2:30 am 
 Post subject: Re: Txt File Limits
 
Offline
Angel
User avatar

Joined: Fri Jun 04, 2004 5:04 pm
Posts: 860
Gender: None specified
Nefarius";p="257954 wrote:
*The Expansion line probably doesn't count since it isn't compile into the bin files (IIRC) (thus it also doesn't alter ID #s)
I do confirm.
Quote:
That 2047 display limit should not be too hard to alter, I will probably look into this in the future. It might be related to the MonType.txt bug that I fixed a while ago (just that here it probably is intentional and occurs across all processor types).
Items only have 9 bits to store MagicAffix index. *You* may be able to alter this, but I doubt [acronym="ItemStatCost"]ISC[/acronym] can do it.

Edit : 11 bits of course (2047 was suspect + checked sticky).


Last edited by Ulmo on Thu Feb 09, 2006 2:35 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Thu Feb 09, 2006 1:07 pm 
 Post subject: Re: Txt File Limits
 
Offline
Moderator
Moderator
User avatar

Joined: Tue Mar 04, 2003 11:40 pm
Posts: 2498
Gender: None specified
[acronym="ItemStatCost"]ISC[/acronym] for sure cannot do this, cause there is no stat for that in there :). At least i could find none, looking at the ones with 11 savebits :).

I know this other limitation exists, although I do not remember what value it had. Something like 256 or 512 probably. However, I would need more than 2048 lines in magicprefix / suffix.txt, while it would only be about 50-100 per itemtype. Would indeed be great if you could remove that limit (do you do it for 1.10 or 1.11?).

_________________
[color=FF0000]d2:elements FINAL v1.0 download[/color] - - [color=FF0000]d2:elements FINAL update v1.01 download[/color] - - [color=FF9900]d2:elements website[/color] - - [color=FF9900]d2:elements forum[/color] - - [color=FF9900]Forum TOS[/color]

Avatar image is taken from the Wishmaster cover by the band Nightwish


Top
 Profile  
Reply with quote  
PostPosted: Thu Feb 09, 2006 2:27 pm 
 Post subject: Re: Txt File Limits
 
Offline
Site Admin
Site Admin
User avatar

Joined: Sat Jun 15, 2002 8:13 pm
Posts: 11607
Location: Where the blood forever rains
Gender: Male
If I look into it, it'll be for 1.10 certainly.

_________________
''(...) The game can basically be considered unhackable. '' - Blizzard Entertainment (30th May 2000)
Black Omen Productions | MetalStorm: Progress Report | Screenshots


Top
 Profile  
Reply with quote  
PostPosted: Fri Feb 10, 2006 4:31 pm 
 Post subject:
 
Offline
Moderator
Moderator
User avatar

Joined: Tue Mar 04, 2003 11:40 pm
Posts: 2498
Gender: None specified
That would really be great, since I just arrived at line 2287 ....

_________________
[color=FF0000]d2:elements FINAL v1.0 download[/color] - - [color=FF0000]d2:elements FINAL update v1.01 download[/color] - - [color=FF9900]d2:elements website[/color] - - [color=FF9900]d2:elements forum[/color] - - [color=FF9900]Forum TOS[/color]

Avatar image is taken from the Wishmaster cover by the band Nightwish


Top
 Profile  
Reply with quote  
PostPosted: Sat Nov 04, 2006 5:23 am 
 Post subject:
 
Offline
Paladin

Joined: Mon Dec 01, 2003 7:46 am
Posts: 119
Gender: None specified
About cubemain.txt, I think that it's going to be a physical size limit rather than limited by number of recipes.

I was in the process of making a large number of recipes, then thought, maybe I should see how big cubemain.txt would get before I got too far.
For approximately 19,000,000 recipes, it be about 4,750 Megabytes in size 8-O .
Based on about 4,00 recipes per Megabyte.
So, 2^32 (or 4,294,967,296) would be approximately 1,073,741 Megabytes in size 8-O 8-O . Which would be more than most people's total hard drive capacity.
Even when I cut it back to 3,000,000, it would still have been about 750 MB.
On that note, I think it would be very hard to actually get cubemain.txt that big, by adding recipes, unless you've got much more ram than that. Because the computer would slow down or lock up.
Then, of course, is how the game would behave if you did get that many recipes. And, not to forget, uploading and downloading the mod. 8-O


Top
 Profile  
Reply with quote  
PostPosted: Sat Nov 04, 2006 8:49 am 
 Post subject: Re: Txt File Limits
 
Offline
Senior Admin
Senior Admin
User avatar

Age: 62
Joined: Sat May 25, 2002 7:28 am
Posts: 12062
Location: Percussion U
Gender: Male
The entire game has to fit in addressable space. Windows reserves everything above 6FFFFFFF for itself, and the bottom memory pages are also restricted. So you have somewhat less than 1.75GB for everything that is associated with the game. Since most people have 512MB or 1GB of RAM these days, even half that amount will mean you swap data in and out of virtual memory (a.k.a. swap file) and that will slow you down every time you hit the transmute button. Zy-El's cubemain (around 110K recipes) is the largest one I know; it needs about 36MB, and it takes a long time to start a game with even that many.

_________________
Do the right thing. It will gratify some people and astonish the rest.
~ Mark Twain
Run Diablo II in any version for mods: tutorial
The Terms of Service!! Know them, abide by them, and enjoy the forums at peace.
The Beginner's Guide v1.4: (MS Word | PDF) || Mod Running Scripts || TFW: Awakening


Top
 Profile  
Reply with quote  
PostPosted: Sat Nov 04, 2006 12:30 pm 
 Post subject: Re: Txt File Limits
 
Offline
Site Admin
Site Admin
User avatar

Joined: Sat Jun 15, 2002 8:13 pm
Posts: 11607
Location: Where the blood forever rains
Gender: Male
Win9x has further restrictions on how much RAM it can use, even if you have more. On windows RAM however is not the only thing that counts, more weight falls on the 'system resources' which are a list of object currently processed by the OS, this list can hold a specific maximum, even if you have 1 GB of ram FREE, if this list fills up the OS will {filtered} about it and crash.

_________________
''(...) The game can basically be considered unhackable. '' - Blizzard Entertainment (30th May 2000)
Black Omen Productions | MetalStorm: Progress Report | Screenshots


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 26, 2007 1:56 am 
 Post subject:
 
Offline
Angel
User avatar

Joined: Fri Jun 02, 2006 2:06 am
Posts: 561
Location: Oregon
Gender: None specified
how about MonEquip.txt?


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 05, 2007 10:47 am 
 Post subject: Re: Txt File Limits
 
Offline
Champion of the Light
User avatar

Age: 30
Joined: Sun Apr 18, 2004 5:42 pm
Posts: 339
Location: Bucharest, Romania
Gender: Male
Is the runes.txt a hard limit? can it be extended somehow without coding?

_________________
Death is not an option!


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 05, 2007 11:58 am 
 Post subject: Re: Txt File Limits
 
Offline
Site Admin
Site Admin
User avatar

Joined: Sat Jun 15, 2002 8:13 pm
Posts: 11607
Location: Where the blood forever rains
Gender: Male
Runes.txt has a superimposed limit that can be removed with CE (according to Isolde), but to me it seams that limit that it currently has was put there due to D2S format restrictions (like for affix Ids).

_________________
''(...) The game can basically be considered unhackable. '' - Blizzard Entertainment (30th May 2000)
Black Omen Productions | MetalStorm: Progress Report | Screenshots


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 05, 2007 2:51 pm 
 Post subject: Re: Txt File Limits
 
Offline
Site Admin
Site Admin
User avatar

Joined: Sat Jan 11, 2003 12:51 pm
Posts: 10687
Gender: None specified
Nefarius";p="364004 wrote:
Runes.txt has a superimposed limit that can be removed with CE (according to Isolde), but to me it seams that limit that it currently has was put there due to D2S format restrictions (like for affix Ids).


That depend how runes.txt is used. Haven't checked into runes.txt code. But, if it's handled in same way as gems.txt. This can't be the reason.

_________________
CLICK HERE To Read The Forum Terms of Service

Diabolic Studios Website | Diabolic Studios Forum


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 75 posts ]  Go to page Previous  1, 2, 3  Next


Who is online

Users browsing this forum: No registered users and 12 guests


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® Forum Software © phpBB Group
Black Rock template by onyx (based on BlackSoul for phpBB2)