![]() |
ASIS/TC problem, BPK not unpacking?
Hello.
I have been using ASIS and Tiny Compressor for a while, and they've been working fine. I have came across a game I want to compress that uses the Bink format for it's videos, so I decided to try adding BPK to my compression. (Note: Tiny Compressor already has BPK in it, i did not add/edit anything) https://i.imgur.com/O8LVNyi.png It compressed just fine actually, and I got a smaller size compared to not using BPK. However, when I go to ASIS, enable BPK in the GUI, and start my setup, i get this error. https://i.imgur.com/AHPN7wP.png What is wrong? TC compressed it just fine with BPK. Is this a problem with ASIS? Do they use different versions of BPK? I noticed that ASIS uses "CLS_BPK.dll", if anyone can clear this up, i'd be glad. |
Quote:
|
Quote:
|
2 Attachment(s)
Quote:
profrager has created 2 different DLL libraries for BPK. one is for compression (cls-bpk.dll) and the other is for decompression (cls-bpk_u.dll). (instead of "bink_pack.exe" and the "bink_unpack.exe") if you prefer to use "Fazip", you can try the further process below. Code:
arc.inior find out more with this ... https://fileforums.com/showthread.php?t=103601 , |
Quote:
Okay, if cls-bpk.dll and cls-bpk_u.dll are used for BPK, then why does bink_pack.exe and bink_unpack.exe exist? Clearly, ASIS is using CLS, and TC is trying to use bink_pack.exe. What you linked me was an already configured script and installer for a normal FreeARC setup, saying that it can be used without arc.ini. I don't want to use that setup, I want to keep using ASIS. How would I configure Tiny Compressor to use cls-bpk.dll to compress with? |
1 Attachment(s)
You have to use fazip to use cls
In TC arc.ini search for this Code:
[External compressor:bpk]Code:
[External compressor:bpk]This should work. |
Quote:
Also, unrelated to the whole BPK thing, but still related to ASIS. I have a game that does not have it's EXE or a short cut in its main directory, but rather to a subfolder. How would I get ASIS to to make a working shortcut? It's in a folder called "System", so i tried doing this. {app}\System\Game.exe Turns out that, that didn't work. Is it not possible, or am I typing in the wrong thing? |
Yes.
ExePath=System\Game.exe |
Quote:
srep+lolz:dt:dtb1:dtw1:dtm1:dto1:dtd1:mtt1:mt4:d64 m:fba4096:mc1023 What would I add to the end to include it? I tried putting the name but that didn't work, because I got a size I normally would with just srep+lolz, not when i tried using bink pack before. When I had bink pack, i had it go from 789 to like 270, so I must not be adding it right. |
Quote:
Again I will say, never ever bump. |
Quote:
|
Sorry I don't have much time these days.
You need fazip only for encode with cls. |
Quote:
Do you mean that I can only compress with it only? I can't use anything else with it? Or do you mean i just have to add "fazip" as the end? Please, I just need to know all I can because size does matter with using BPK compression with what I am doing here, and I have been saying I want to add it. srep+lolz:dt:dtb1:dtw1:dtm1:dto1:dtd1:mtt1:mt4:d64 m:fba4096:mc1023+fazip I tried this and trying to compress it told me it's unsupported. Is it possible to add it with srep+lolz or no? How would I type it? |
Quote:
no you can't. |
Quote:
Try this pZlib + srep + fazip pZlib + srep + lolz Precomp + srep + rz Precomp + srep + msc + fazip |
Quote:
|
Quote:
Okay, if I can't use srep+lolz with fazip, then i can sure as hell use bink_pack because it worked. How would I go with adding bink_pack to ASIS? I am at an actual loss here, does ANY installer on this site actually support bink_pack at all? Everything I have checked uses CLS, and TC is the only compressor on here that uses bink_pack, so there HAS to be a way I can use it. Quote:
|
As I said, use fazip only if you compress with cls (f.e. cls-bpk.dll).
I think all installers use cls-bpk.dll for unpacking, because it's better. And I don't know why ASIS give you an error on unpacking, sorry :( |
Quote:
BPK example.rar this is just an example, remember to make changes with your compressor and the ASIS. |
Don't use srep+lolz+bpk
Always universal tools last! bpk+srep+lolz Finally - don't use bink_pack.exe to compress, you use the cls dll. The exe is buggy, breaks files, causes errors - not fun! This fazip matter is my fault since I suggested KaktoR to add it to the installer. @KaktoR You can remove the fazip bpk config (maybe even remove fazip.exe since I don't recall it having any important usage). Instead rename cls-bpk_u.dll to cls-bpk.dll then unarc will just work the cls as normally, not needing fazip to handle it. My apologies! When I first suggested the method, I didn't know very much, especially how cls dlls worked. @ps5haznogames Download latest bpk, rename the dll for packing to cls-bpk and put it into your compressor. Method name is bpk, since its a cls. It must be then next to arc.exe to work. Make a file called arc.groups, inside write: Code:
$bpksrep+lolz/$bpk=bpk This will compress all of the bink video using bpk and the rest with srep, lolz. If I remember anything else you will find remotely useful I'll add it. |
Quote:
[External compressor:bpk] header = 0 packcmd = "Resources\cls-bpk" $$arcdatafile$$.tmp $$arcpackedfile$$.tmp |
1 Attachment(s)
Quote:
Quote:
Put cls-bpk.dll in the above archive into your compressor. The method name is the string that follows cls- prefix, so, the method is bpk srep+lolz/$bpk=bpk ($bpk is just the name of our group, I see KaktoR on the last page used $binkpack) For unpacking, open arc.ini in asis, remove the bpk fazip config. Take cls-bpk_u from the above archive, and put it into your bpk folder in asis. Rename it to cls-bpk.dll. Now, make sure you use the ini file to ensure that the dll file will be built with the setup, now install your archive. |
Quote:
|
| All times are GMT -7. The time now is 07:47. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com