Archiv verlassen und diese Seite im Standarddesign anzeigen : Problem with unpacking compiled library archives (compiled_*.bin files).
Hi all,
I have a problem with unpacking any .bin files (I wanted to look at compiled_combatspecies.bin, but it's the same for any other, like infos, quests, etc.). Well, I just don't know how to unpack those files. I saw one program that can do that, namely the Script_Library tool ([tool] Compile/Export document archives (Script_Library) (https://forum.worldofplayers.de/forum/threads/858945-tool-Compile-Export-document-archives-(Script_Library))). Still, I can't get it to work. Not sure if that's the correct way, but I unpacked library.pak with Risenaut.exe. Then I put the unpacked compiled_combatspecies.bin file in the Risen folder/data/compiled/library. Then I launch the game, open the console, type in "library export combatspecies" and it says "done". There's a new folder created: data/raw/library/combatspecies, but it's empty, there are no files in there as if nothing got unpacked. As I said, I also tried the same for infos/quests, there's always a new folder created, and it's always empty. I also tried, without unpacking the library.pak file. Still, the same effect. I tried putting compiled_combatspecies.bin file in other directories, like data/compiled/ or data/compiled/library/combatspecies. It never works. What am I doing wrong and what's the correct way to unpack those .bin files?
[Edit]: I forgot to mention that I added the mountlist_packed.ini file to the bin folder, with NoWatch=false and NoPhysical=false - still no effect.
tombom81
06.11.2024, 20:09
There were instructions how to unpack compiled_infos.bin which resulted in the *.xinf files being unpacked.
If that doesn't work for you read the instructions carefully and try again.
If that works try it for compiled_combatspecies again.
But I can't remember the combatspecies being unpacked ever, though.
See here (https://forum.worldofplayers.de/forum/threads/1443589-Risen-1-permanente-Boni-%28STR-DEX%29-unabh%C3%A4ngig-vom-gelernter-STR-DEX-machen?p=24514799&viewfull=1#post24514799) (use a translator, please)
edit here (https://forum.worldofplayers.de/forum/threads/1443376-Risen-1-Modding-Hauptmannr%C3%BCstung-erst-nach-Gespr%C3%A4ch-mit-Ursegor?p=24498438&viewfull=1#post24498438) it was suggested to delete an existing compiled_xxx.bin, btw, before using library export ...
No, the bin file MUST be present!
There were instructions how to unpack compiled_infos.bin
Well, where are those instructions? I've found these posts: [Grundlagen] Infos/Dialoge (https://forum.worldofplayers.de/forum/threads/1060277-Grundlagen-Infos-Dialoge?highlight=compiled_infos.bin) , [tool] Compile/Export document archives (Script_Library) (https://forum.worldofplayers.de/forum/threads/858945-tool-Compile-Export-document-archives-%28Script_Library%29?p=13569449#post13569449) and [Progs/SDK] Моддинг в Risen (ресурсы игры, программы и т.д.) (https://forum.worldofplayers.de/forum/threads/694157-Progs-SDK-%D0%9C%D0%BE%D0%B4%D0%B4%D0%B8%D0%BD%D0%B3-%D0%B2-Risen-(%D1%80%D0%B5%D1%81%D1%83%D1%80%D1%81%D1%8B-%D0%B8%D0%B3%D1%80%D1%8B-%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D1%8B-%D0%B8-%D1%82-%D0%B4-)). I also checked the links that you provided. Do you mean those or anything else?
So that's what I do:
1) put the mountlist_packed.ini in the bin folder, with NoWatch=false and NoPhysical=false
2) put the Script_Library.dll in the bin/scripts folder
3) put the compiled_infos.bin file in the folder data/compiled/library - I'm not sure if that's even necessary, because the instructions I found aren't clear about it. But they do mention using compiled_infos.bin in such folder, so I suppose I have to create it myself and put the compiled_infos.bin file there, which I get by unpacking library.pak.
4) launch the game, enter 'minsky', type 'library export infos'
5) a new folder is created: data/raw/library/infos - but it's empty
So, again, what am I doing wrong? Maybe there are instructions somewhere else, but I haven't found any apart from the posts I linked above. I tried using the search option on the forum and of course google, but that's all I've found. Is there anything I'm missing?
[Edit]: I actually found this YT tutorial Risen Modding Part 1: Einstieg (https://www.youtube.com/watch?v=BqabRKHc2DU&t=1543s) . I am doing everything exactly as shown (so it seems, there's apparently no need to unpack the compiled_infos.bin from library.pak) and still I do not get the xinf files. In the video itself it is even mentioned that sometimes there may be problems with no files being extracted, but you just need to quit and relaunch the game and it should work. Well, it doesn't. I don't know, maybe it doesn't work with the steam version at all or sth?
tombom81
07.11.2024, 12:02
Read last lines!
Well, where are those instructions? I've found these posts: [Grundlagen] Infos/Dialoge (https://forum.worldofplayers.de/forum/threads/1060277-Grundlagen-Infos-Dialoge?highlight=compiled_infos.bin) , [tool] Compile/Export document archives (Script_Library) (https://forum.worldofplayers.de/forum/threads/858945-tool-Compile-Export-document-archives-%28Script_Library%29?p=13569449#post13569449) and [Progs/SDK] Моддинг в Risen (ресурсы игры, программы и т.д.) (https://forum.worldofplayers.de/forum/threads/694157-Progs-SDK-%D0%9C%D0%BE%D0%B4%D0%B4%D0%B8%D0%BD%D0%B3-%D0%B2-Risen-(%D1%80%D0%B5%D1%81%D1%83%D1%80%D1%81%D1%8B-%D0%B8%D0%B3%D1%80%D1%8B-%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D1%8B-%D0%B8-%D1%82-%D0%B4-)). I also checked the links that you provided. Do you mean those or anything else?
They should do, this one (https://forum.worldofplayers.de/forum/threads/1443376-Risen-1-Modding-Hauptmannr%C3%BCstung-erst-nach-Gespr%C3%A4ch-mit-Ursegor?p=24498220&viewfull=1#post24498220) is the latested mentioned.
It's years ago that I did it, so something may have changed, I have this additional line in the mountlist_packed.ini
NoPacked=false
3) put the compiled_infos.bin file in the folder data/compiled/library - I'm not sure if that's even necessary, because the instructions I found aren't clear about it.Necessary.
But they do mention using compiled_infos.bin in such folder, so I suppose I have to create it myself and put the compiled_infos.bin file there, which I get by unpacking library.pak.Yep.
So, again, what am I doing wrong? Maybe there are instructions somewhere else,No, as soon as you have the .bin, the Script_Extensions.dll, Script_Library.dll and a suiting mountlist_packed.ini everything worked like a charme, years ago, though.
I don't know, maybe it doesn't work with the steam version at all or sth?Tried it with the Neuland mod. Same problem here: library export infos done, but no files.
compiled_combatspecies.bin must exist in [drive:]\Risen\data\compiled\library
edit: tried it with Risen.exe as of 2011, here's the xcs files:
https://upload.worldofplayers.de/files12/combatspecies.zip
Ok, thanks a lot for your help. I managed to get my hands on the older gog version (maybe it's the same as you mentioned) and now it's working fine (although, the first time I enter the console command only the empty folder is created; you need to exit the game, relaunch it, enter the console command again and only then do the files appear in the folder). So all in all, the problem was with the game version. Steam version unfortunately doesn't work.
3) put the compiled_infos.bin file in the folder data/compiled/library - I'm not sure if that's even necessary, because the instructions I found aren't clear about it.
compiled_combatspecies.bin must exist in [drive:]\Risen\data\compiled\library
Actually this step is NOT NECESSARY, there is no need to first unpack the library.pak and use the compiled_infos.bin (or compiled_combatspecies.bin). It worked for me without doing it (although maybe that's the reason why I had to relaunch the game and enter the command again?)
tombom81
07.11.2024, 16:50
(although maybe that's the reason why I had to relaunch the game and enter the command again?)Yeah, guess so (because it didn't work for me when the bin didn't exist. It's probably created after the first execution of the library export command when the game is quit. Something like that...)
Ok, so there's one more thing: are you able to compile those combatspecies files back? Because so far, I can export both infos and combatspecies, but I can only import (compile) back only infos. Actually I just leave them in the folder they were exported to (data/raw/infos) and they compile back automatically at game start and end up in folder data/compiled/library/compiled_infos.bin . However, that doesn't happen for combatspecies. Also, even if I manually enter 'library compile combatspecies' in the console, it says 'No raw files found', although that works fine for infos. Are you able to do it? Because I'm not sure, if I'm doing sth wrong or if there's some problem with this library extension.
[Edit]: Eh, nevermind, it works as well. But I have to admit that this library tool is written in a very messy way. E.g. both infos.bin and combatspecies.bin get compiled to data/compiled/library , but in order for them to be compiled, infos files need to be inside data/raw/infos (no LIBRARY subfolder), whereas combatspecies need to be inside data/raw/library/combatspecies (with LIBRARY subfolder). But now it's working, and actually both infos and combatspecies are compiled automatically, no need to run the console command.
tombom81
13.11.2024, 20:41
Hi! Thank you! (I've placed a link into the [tools] pos (https://forum.worldofplayers.de/forum/threads/858945-tool-Compile-Export-document-archives-%28Script_Library%29?p=27432049&viewfull=1#post27432049)t if you don't mind.)
Powered by vBulletin® Version 4.2.2 Copyright ©2025 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.