Skocz do zawartości

Zdjęcie

Reserving common 2da lines (Repost)


  • Zaloguj się, aby dodać odpowiedź
29 odpowiedzi w tym temacie

#1
MokahTGS

MokahTGS
  • Members
  • 946 postów

Posted 10/15/07 03:09 (GMT) by Kaedrin

There are a few common 2da files (spells, feats, classes) that are getting more common use these days by the CC community.  The problem is, the different developers are using the same range of numbers so mixing the two together is problematic if not impossible.

Just between Draco, Reeron, Solorokai, and myself we are currently using these id's for the three mentioned 2da's.

Spells
Reeron: 1697
Solorakai: 1801-1811
Kaedrin: 1697-1812
Draco: 1500-1510

Feats
Reeron: 2861-2990, 2991-2992 (same feats as myself)
Kaedrin: 2861-2942, 2991-2992
Solorakai: 2861-2988, 4001-4023
Draco: 2500-2508

classes:
Draco: 100-102
Kaedrin: 106-170

Should we as a community of developers try to reserve certain ranges so that combining our content together doesn't require a rewrite and recompile for parts of it?  Spells are easy to move around, but classes and feats pose a serious conflict as the character's bic file is written out with that id.

Most of the conflicts that currently exist can be resolved (with some serious character repair scripts) but to avoid future ones we would need to try and reserve specific ranges.  We could set up a wiki page for each 2da to reserve specific lines as needed.  That way it wouldn't be allocated in chunks that aren't used.


Also a link to the original page.

#2
0100010

0100010
  • Members
  • 87 postów
This list above is OUT OF DATE

Please see the nwn2wiki for the list of currently reserved 2DA lines, and to reserve your own if needed.
classes are limited to 254 total and they are currently all taken.

Reserved 2DA Lines

#3
rjshae

rjshae
  • Members
  • 4477 postów
It'd be nice if the the 2da data management could all be handled through shell scripts.
I.e. when you download a customized 2da file, the script takes all of the items that lie in a standard range (say 3,000+), converts them to the content owner's designated reserved range, then handles the details of merging it into an existing 2da file copy in the override folder, if any. If the copy doesn't exist, then one is made from the standard game install folder.
Would be nice... :)

Użytkownik rjshae edytował ten post 29 lipiec 2010 - 07:48


#4
rjshae

rjshae
  • Members
  • 4477 postów
The nwn2wiki site lists no reserved 2DA lines for the nwn2_icons.2da file. Does anybody know if that is correct? Would it be okay if I start using 5,000+? Not sure how many I'll need yet though... maybe 2-300 if I remain ambitious. :blush:

Użytkownik rjshae edytował ten post 23 sierpień 2010 - 09:26


#5
dunniteowl

dunniteowl
  • Members
  • 1559 postów
contact brianmeyer or painofdungeoneternal and find out. He has a large list of custom icons and I am sure that he has a range listed. Maybe not reserved, but I don't know about that.

dunniteowl

#6
painofdungeoneternal

painofdungeoneternal
  • Members
  • 1799 postów
This is what i see as being used, 5000 should be fine.

0-2137 official use ( give or take, looks like Tome of battle might be in there as well )

2500-2501 - MOW

2766 -

2786-2846

2851-2884

4000-4029 - 2drunk




#7
The Fred

The Fred
  • Members
  • 2516 postów
There seem to be a few 2das missing from that list. I also feel we probably ought to have a list for custom models and things as well.

rjshae wrote...

It'd be nice if the the 2da data management could all be handled through shell scripts.
I.e. when you download a customized 2da file, the script takes all of the items that lie in a standard range (say 3,000+), converts them to the content owner's designated reserved range, then handles the details of merging it into an existing 2da file copy in the override folder, if any. If the copy doesn't exist, then one is made from the standard game install folder.
Would be nice... :)


Actually, I had an idea much like this a while ago... click here. You can get the prototype/demo/whatever you want to call it here. Still a massive work in progress which I haven't got very much further with, but still.

#8
rjshae

rjshae
  • Members
  • 4477 postów

painofdungeoneternal wrote...

This is what i see as being used, 5000 should be fine.
0-2137 official use ( give or take, looks like Tome of battle might be in there as well )
2500-2501 - MOW
2766 -
2786-2846
2851-2884
4000-4029 - 2drunk


Okay. I think that Knightmare's icon pack (which starts at 3000) may overlay part of the 4XXX range, which is why I'm starting at 5,000. But it looks like I'm safe for the moment. Thank you.

#9
_Knightmare_

_Knightmare_
  • Members
  • 643 postów

rjshae wrote...

Okay. I think that Knightmare's icon pack (which starts at 3000) may overlay part of the 4XXX range, which is why I'm starting at 5,000. But it looks like I'm safe for the moment. Thank you.


My icons pack was made before reserving lines became used here (I think). Don't believe there's all that many icon packs out there to conflict really.

Anyway, my pack used nwn_icons.2da lines #3000 - 4177 (so call it line 4200 I guess).

#10
Guest_Chaos Wielder_*

Guest_Chaos Wielder_*
  • Guests
Are there pre-padded 2das that are available? I have some feat work I need to do, but padding to over 9000(!) is a bit daunting.

#11
painofdungeoneternal

painofdungeoneternal
  • Members
  • 1799 postów
use excel, and drag the last row down, makes it go very fast.

#12
rjshae

rjshae
  • Members
  • 4477 postów

painofdungeoneternal wrote...

use excel, and drag the last row down, makes it go very fast.


I'm also able to do the padding fairly easily using the free StarOffice Calc product (which I think is called Oracle Open Office these days). It's a nice option if you don't want to buy Microsoft Office.

#13
The Fred

The Fred
  • Members
  • 2516 postów
Excel makes it a lot easier (though I like to open in the toolset and re-save it so it neatens the columns). Padding is one thing I'm working on for my more awesome modding (just an excuse to get some publicity ;-) ) but it's not really that practical for general-purpose padding compared with Excel (would beat handy copy/pasting and line number changing, though).



One thing I should point out though is that, actually, if you open and re-save from the toolset, it'll fix line numbers so you can just copy/paste a load of padding lines without worrying about them.

#14
0100010

0100010
  • Members
  • 87 postów
I've added nwn2_icons.2da to the 2da Reservations page, please make any corrections as needed, or add to it to make your own reservations

#15
Morbane

Morbane
  • Members
  • 1883 postów

Chaos Wielder wrote...

Are there pre-padded 2das that are available? I have some feat work I need to do, but padding to over 9000(!) is a bit daunting.


TLKEditR13d allows to add any number of padding to 2das. But be careful about adding and subtracting in the middle of the rows with it - iirc it does not re-number the rows. For that I just use NWN2_2daEditor, it does correct row numbering (and blank column entries with ****).
:whistle:

#16
rjshae

rjshae
  • Members
  • 4477 postów

_Knightmare_ wrote...

rjshae wrote...
Okay. I think that Knightmare's icon pack (which starts at 3000) may overlay part of the 4XXX range, which is why I'm starting at 5,000. But it looks like I'm safe for the moment. Thank you.

My icons pack was made before reserving lines became used here (I think). Don't believe there's all that many icon packs out there to conflict really.

Anyway, my pack used nwn_icons.2da lines #3000 - 4177 (so call it line 4200 I guess).


Well, this has turned out to be a year-long project, but I'm finally drawing close to completion. (Or at least the end is visible on the horizon.) Hence, I'm better able to determine the 2DA ranges this mod will need to use:

Icons:
  • 5000 - 5299: Armor and miscellaneous items
  • 8600 - 9219: Weapons and miscellaneous items
Placeables:
  • 7150 - 7249
Please could you consider these to be reserved ranges? I plan to post the results to the NWN2 Vault when all the parts are finished and polished up. Thank you.

Regards,

#17
_Knightmare_

_Knightmare_
  • Members
  • 643 postów
rjshae - you should be able to go to the Wiki and reserve your ranges there. Find the sections you need and hit the little Edit button just above it. Here's the link if you need it: http://nwn2.wikia.co...rved_2da_ranges

#18
rjshae

rjshae
  • Members
  • 4477 postów

_Knightmare_ wrote...

rjshae - you should be able to go to the Wiki and reserve your ranges there. Find the sections you need and hit the little Edit button just above it. Here's the link if you need it: http://nwn2.wikia.co...rved_2da_ranges


Ah well, unfortunately it would not let me. When I click on the Edit buttons, I don't get an edit pane, although I do get the Preview and Publish buttons. Perhaps my security settings are blocking it? (In which case it may be best not to bother.) Thanks.

#19
painofdungeoneternal

painofdungeoneternal
  • Members
  • 1799 postów
It's not something that should be an issue with your "security" software, if so your security software is faulty and you should try it without it entirely.That is how you reserve 2da rows, it's fair and open and you should put some effort into figuring it out.

#20
MokahTGS

MokahTGS
  • Members
  • 946 postów
Rjshae,

I went ahead and reserved your placeable.2DA lines on the wiki.  It looks like your icon ranges have already been done, so you have those reserved as well.

The issues you may be having could be related to Java or whatever web software that they are using for the wiki.  I'm using Chrome and I have java installed.  Everything seems to work fine for me.

Might we get a project name to put on there?

Użytkownik MokahTGS edytował ten post 09 lipiec 2011 - 05:33


#21
rjshae

rjshae
  • Members
  • 4477 postów

MokahTGS wrote...

Rjshae,

I went ahead and reserved your placeable.2DA lines on the wiki.  It looks like your icon ranges have already been done, so you have those reserved as well.

The issues you may be having could be related to Java or whatever web software that they are using for the wiki.  I'm using Chrome and I have java installed.  Everything seems to work fine for me.

Might we get a project name to put on there?

Thank you! Well Java works fine for me, so it's a mystery.

At this point I think I'm just going to call the project "Bonus Blueprints", because that's a descriptive title and I'm using the tag prefix 'bb' on everything. (It does sound a little mundane though. Oh well.) Hopefully nobody will use that name before I wrap it up and post the lot in a few months. If somebody does use it, well then I'll just have to get creative...

B)

Użytkownik rjshae edytował ten post 15 lipiec 2011 - 06:52


#22
MokahTGS

MokahTGS
  • Members
  • 946 postów
rjshae's resrefs?

Użytkownik MokahTGS edytował ten post 15 lipiec 2011 - 07:32


#23
rjshae

rjshae
  • Members
  • 4477 postów
Somebody named Ugly_Duck got greedy and overrode the reserved range 8600 - 9219. I restored the range and wrapped Ugly_Duck around it.

Użytkownik rjshae edytował ten post 15 październik 2011 - 08:34


#24
painofdungeoneternal

painofdungeoneternal
  • Members
  • 1799 postów
Kanyben has been working on a combined placeables.2da, and already has most content from the vault integrated, i would consult with him as you are reserving ranges at this point, at least so what you are doing is compatible with his work. What he's done so far is pretty heroic.

There are a lot of issues with various modders and items not being in the correct reserved ranges.

#25
PJ156

PJ156
  • Members
  • 2979 postów

painofdungeoneternal wrote...

Kanyben has been working on a combined placeables.2da, and already has most content from the vault integrated, i would consult with him as you are reserving ranges at this point, at least so what you are doing is compatible with his work. What he's done so far is pretty heroic.

There are a lot of issues with various modders and items not being in the correct reserved ranges.


That's an exciting prospect. I look forward to that.

PJ