Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   discussion on .dat (https://postpacific.loc-online.com/showthread.php?t=540)

Digital 03.05.2005 07:14

discussion on .dat
 
we'll need to be able to crack this thing
if we want to get anything done that is.. lol

ok... i'll say wat i feel how .dat should be k?

1) encrypted w/ header .dat (like in the past for .txt)
2) list of files and offsets
3) pure data

that's abt is... is what i feel that .dat is made up of...
someone correct me if i'm wrong

aseren 13.05.2005 09:36

If its pure data were f/cked ,
very hard to add anything
or to take the info out that you need for c3 items etc

hamidouch 13.05.2005 10:45

c3 korean test client not updated is in txt format

yellowperil 13.05.2005 10:59

one possabilty , if we can extract the data from the dat, and use the korean client with them data files?

aseren 13.05.2005 11:13

Hamidouch , can you post the Korean c3 system folder here?

Juokelis 14.05.2005 00:15

Quote:

All hex values in the file are read low endian
----------------------------------------------

Header:
-------
4 bytes: Number of entries

Entries:
--------
16 bytes: Recipe name -ASCII- (always start with ASCII mk_ , hex: 0x6D6B5F)
4 bytes: ID
4 bytes: Recipe ID
4 bytes: Level
4 bytes: Product ID
4 bytes: Product Number -that is , number of items created-
4 bytes: MP Consume
4 bytes: Success Rate
4 bytes: Number of Materials entries

Materials:
----------
4 bytes: Item ID
4 bytes: Item count
(repeat as many times as Number of Materials entries)

NOTES
-----

NPCFee Data not found. Seems to always be one copy of the recipe and a adena quantity,
the adena quantity being 1/5 of shop item price -without taxes-.

There is an ASCII string at the end of the file: "Safe package", I'm quite sure
it can be safely removed.

Juokelis 14.05.2005 20:07

Here's recipes converted to csv, just write exact format you need i'll make it in notime.
http://l2j.mazylis.lt:8080/L2s/recipes
(could load quite long time - converting on the fly).

Livid 15.05.2005 10:16

K... If we got to it then...
-------------
npcname-e.dat
-------------
4 bytes id
1 b name length
Name (with 00 string terminator)
1b nick length
Nick (with 00 string terminator)
3 b nickcolor (BGR)
FF - npc_end

Not shure if first 4 bytes are # of entries... may be are, and may be not.

Juokelis 15.05.2005 10:34

Quote:

Originally Posted by Livid
K... If we got to it then...
Not shure if first 4 bytes are # of entries... may be are, and may be not.

That makes no difference, we just need data, which i have already extracted ;)


All times are GMT. The time now is 15:24.