
Originally Posted by
Leon_
it shouldnt have. what archives are having problems?
well i tried a few in index 2, archive 9 (npc config) and archive 6 (object config) and animation config i think 12. none of them worked AFTER #98 (so 99 - 104) it gives me out of memory error here
Code:
archive.entries[id] = ByteBuffer.allocate(sizes[id]);
So i printed sizes[id] and the numbers were huge. so...
Code:
int delta = buffer.getInt();
chunkSize += delta;
chunkSizes[chunk][id] = chunkSize; /* store the size of this chunk */
sizes[id] += chunkSize; /* and add it to the size of the whole file */
I then printed out delta and the first couple of numbers were huge but then the numbers got smaller more normal numbers I guess.
Code:
755444999 delta
755444999 delta
755444999 delta
754974976 delta
218105088 delta
83887360 delta
83887360 delta
83887360 delta
83887360 delta
83887360 delta
83887360 delta
184552448 delta
512 delta
117441536 delta
83888128 delta
167774464 delta
100664064 delta
17247751 delta
772222471 delta
772222471 delta
772222471 delta
772222471 delta
772222471 delta
772222464 delta
88 delta
-18 delta
72 delta
-114 delta
6 delta
-6 delta
72 delta
14 delta
0 delta
102 delta
-164 delta
12 delta
0 delta
-12 delta
18 delta
6 delta
-24 delta
-36 delta
68 delta
-26 delta
2 delta
40 delta
-48 delta
0 delta
0 delta
72 delta
-14 delta
-34 delta
147 delta
-171 delta
-4 delta
-8 delta
12 delta
0 delta
0 delta
0 delta
8 delta
-8 delta
0 delta
0 delta
0 delta
-16 delta
16 delta
-36 delta
44 delta
....
So Im guessing the first couple of numbers are whats causing the problem
but when I use #98 or before it works perfectly fine.

Originally Posted by
Richard1992
Nope.
Openrs have got a issue with decoding archive entry's but if i remember the fix is released
hmm thanks ill try looking for it