Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

index out of range #1

Closed
ChristophHeilmann opened this issue Apr 8, 2018 · 1 comment
Closed

index out of range #1

ChristophHeilmann opened this issue Apr 8, 2018 · 1 comment

Comments

@ChristophHeilmann
Copy link

ChristophHeilmann commented Apr 8, 2018

Hi,

I got an index out of range error when I tried to unpack a chrome string resource (see attachment):

C:\Users\Günter\Documents\Raccoon\com.android.chrome_65.0.3325.109-332510901_minAPI21(armeabi-v7a)(nodpi)\full-package-win32-and-win64>unpack
node-chrome-pak
Written by Hwang, C. W. (hikipro95@gmail.com)

unpacking at C:\Users\Günter\Documents\Raccoon\com.android.chrome_65.0.3325.109-332510901_minAPI21(armeabi-v7a)(nodpi)\full-package-win32-and-win64\unpacked
buffer.js:830
throw new RangeError('Index out of range');
^
RangeError: Index out of range
at checkOffset (buffer.js:830:11)
at Buffer.readUInt32BE (buffer.js:904:5)
at unpack_proc (C:\Users\Günter\Documents\Raccoon\com.android.chrome_65.0.3325.109-332510901_minAPI21(armeabi-v7a)(nodpi)\full-package-win32-and-win64\node-chrome-pak.js:159:21)
at Object. (C:\Users\Günter\Documents\Raccoon\com.android.chrome_65.0.3325.109-332510901_minAPI21(armeabi-v7a)(nodpi)\full-package-win32-and-win64\node-chrome-pak.js:36:5)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Function.Module.runMain (module.js:575:10)

Gewartet wird 1 Sekunden. Weiter mit beliebiger Taste...

C:\Users\Günter\Documents\Raccoon\com.android.chrome_65.0.3325.109-332510901_minAPI21(armeabi-v7a)(nodpi)\full-package-win32-and-win64>

pak file:
de.zip

@myfreeer
Copy link
Owner

myfreeer commented Apr 9, 2018

I have pushed a quick fix but is seems google had changed pak format in recent versions, I'll look into it if i got free time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants