![]() |
Is there any way to add a column to chargrp.dat?
I am trying to add more face choices at character creation, but I am stuck at the client modification part.
I finally found the place where the number/name of faces chosen at char creation are stored, chargrp.dat. I tried to add a column to the file (face_tex[3]) and re-assemble it, but it gives me an error about the voice and fist column Quote:
Http://www.yorokonde.com/l2/chargrp.ddf Http://www.yorokonde.com/l2/chargrp.txt |
I have a guess that there may be something stored in l2server.exe pertaining to this, how ever i have no basis behind this. If you find out otherwise please let me know id be interested to mess with it as well.
|
I know it is both the server and client, since the original file of chargrp.dat has 3 face options listed (im trying to add a fourth) in column form, face_tex[0], face_tex[1], and face_tex[2], but when i try to add in face_tex[3], i cannot re-assemble it for some reason.
I'm hoping that i am just making some dumb mistake, but i doubt it. btw to the best of my knowledge, the char creation is fully client side until you submit it, so im pretty sure the number of choices is decided in the system folder (namely in chargrp.dat). The server would only hold the DB info for the choice after it was created. |
Maybe, ill mess with the client as well and see what i can do. I will post my results here.
|
thanks a ton :) I've been trying to figure this out for days lol
|
I decrypted my chargrp.dat fucked with it and tried to re encrypt it and i got an error. So out of curiosity i decided to decrypt a new one than immediately try to re encrypt it and im getting the same error, so until i figure out why the fuck its not re encrypting right i cant test any possible solutions to adding more faces.
heres the error "Field 'hair_mesh' has no soft limit but is cntby post-parse init failed <check ddf file 'chargrp.ddf'> |
yah that is kinda what happened to me :/
|
maybe, just maybe you'd need to edit the DDF to inform of the new changes?
|
it wont even re encrypt it when its not changed for some reason
|
Quote:
|
Quote:
|
i used l2_fileEdit and it will re-encrypt an altered version of the file, but not one with an added column (Im starting to think i did not edd the column right tho)
|
post me a version of your file edit, aparently the latest version of l2asm isn't decrypting right. that way i can take an efficient stab at modifying it.
|
l2_fileEdit will only encrypt one with modified columns, but not one with added columns, just so you know.
http://www.divshare.com/download/682418-c9e |
ok upon further investigation it seems hairgrp.dat might be the main hair choice file, since the chargrp.dat only has 3 columns for hair meshes, but dwarves have up to 7 choices, so that cannot be the main file
now i just need to decypher the hairgrp.dat file, it is a large amount of columns with 0's, 1's, and -1's. I'd understand it if it was 0's and 1's, then it would be a yes or a no, but the -1's confuse me :/ ~edit - it also has 2's, 03's, 4's, 5's, and 6's :/ |
-1 is used in skilldata to say "infinite" (defaulted to work 100% of the time no chance of fault) rather than "0%" or "100%"
|
hrmmmm, thx for that info
now to see if it applies to this file |
any ideas dekoth? ive hit a brick wall
|
Ive not found anything useful, although ive not had as much time to mess with it as id like. I will keep you posted when i get more time.
|
| All times are GMT. The time now is 15:25. |