Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 20.05.2007, 20:09   #1
xephonics
Архивный участник
 
Join Date: May 2007
Posts: 26
Default 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:
L2 asm 0.98 by DStuff.

Reading row error:
row: 14
field: 34 / 34 (name: voice_snd_fis

Total allocated by pooler: 16781312
here are my chargrp.txt and chargrp.ddf files, I don't see what i've done wrong, hopefully it is just somethimg small

Http://www.yorokonde.com/l2/chargrp.ddf
Http://www.yorokonde.com/l2/chargrp.txt
xephonics is offline  
Old 20.05.2007, 20:19   #2
DeKoth
Архивный участник
 
Join Date: Apr 2006
Posts: 236
Default

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.
DeKoth is offline  
Old 20.05.2007, 20:23   #3
xephonics
Архивный участник
 
Join Date: May 2007
Posts: 26
Default

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.
xephonics is offline  
Old 21.05.2007, 00:29   #4
DeKoth
Архивный участник
 
Join Date: Apr 2006
Posts: 236
Default

Maybe, ill mess with the client as well and see what i can do. I will post my results here.
DeKoth is offline  
Old 21.05.2007, 01:11   #5
xephonics
Архивный участник
 
Join Date: May 2007
Posts: 26
Default

thanks a ton I've been trying to figure this out for days lol
xephonics is offline  
Old 21.05.2007, 01:14   #6
DeKoth
Архивный участник
 
Join Date: Apr 2006
Posts: 236
Default

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'>
DeKoth is offline  
Old 22.05.2007, 01:28   #7
xephonics
Архивный участник
 
Join Date: May 2007
Posts: 26
Default

yah that is kinda what happened to me :/
xephonics is offline  
Old 22.05.2007, 05:13   #8
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

maybe, just maybe you'd need to edit the DDF to inform of the new changes?
m4rk is offline  
Old 22.05.2007, 13:03   #9
DeKoth
Архивный участник
 
Join Date: Apr 2006
Posts: 236
Default

it wont even re encrypt it when its not changed for some reason
DeKoth is offline  
Old 22.05.2007, 23:38   #10
xephonics
Архивный участник
 
Join Date: May 2007
Posts: 26
Default

Quote:
Originally Posted by m4rk View Post
maybe, just maybe you'd need to edit the DDF to inform of the new changes?
i did edit the ddf to adjust for the extra column
xephonics is offline  
Old 23.05.2007, 03:16   #11
DeKoth
Архивный участник
 
Join Date: Apr 2006
Posts: 236
Default

Quote:
Originally Posted by xephonics View Post
i did edit the ddf to adjust for the extra column
i tried that as well, but if it wont re encrypt a freshly decrypted file with no modifications that even editing the ddf to account for a new column wont make a difference.
DeKoth is offline  
Old 24.05.2007, 03:03   #12
xephonics
Архивный участник
 
Join Date: May 2007
Posts: 26
Default

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)
xephonics is offline  
Old 24.05.2007, 13:08   #13
DeKoth
Архивный участник
 
Join Date: Apr 2006
Posts: 236
Default

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.
DeKoth is offline  
Old 25.05.2007, 00:17   #14
xephonics
Архивный участник
 
Join Date: May 2007
Posts: 26
Default

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
xephonics is offline  
Old 26.05.2007, 01:31   #15
xephonics
Архивный участник
 
Join Date: May 2007
Posts: 26
Default

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 :/
xephonics is offline  
Old 26.05.2007, 02:11   #16
DeKoth
Архивный участник
 
Join Date: Apr 2006
Posts: 236
Default

-1 is used in skilldata to say "infinite" (defaulted to work 100% of the time no chance of fault) rather than "0%" or "100%"
DeKoth is offline  
Old 26.05.2007, 02:16   #17
xephonics
Архивный участник
 
Join Date: May 2007
Posts: 26
Default

hrmmmm, thx for that info

now to see if it applies to this file
xephonics is offline  
Old 31.05.2007, 01:58   #18
xephonics
Архивный участник
 
Join Date: May 2007
Posts: 26
Default

any ideas dekoth? ive hit a brick wall
xephonics is offline  
Old 31.05.2007, 02:05   #19
DeKoth
Архивный участник
 
Join Date: Apr 2006
Posts: 236
Default

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.
DeKoth is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 21:09.