Anomaly is a standalone S.T.A.L.K.E.R. mod powered by an x64 version of Open X-Ray. Built upon Last Day, the mod continues its way on expanding and adding new features while maintaining a high level of quality and replay value.

Forum Thread
  Posts  
Some tools for addon creators (Games : S.T.A.L.K.E.R.: Call of Pripyat : Mods : S.T.A.L.K.E.R. Anomaly : Forum : Announcements : Some tools for addon creators) Post Reply
Thread Options
Jun 20 2018 Anchor

I've recently released 2 tools that are useful for anyone who wants to create addons for Anomaly. Since it's discouraged to distribute addons just as a bunch of files in a gamedata directory, using the compressor here is the preferred way to do it.

Decompressor to unpack the *.db? files: Download link

Compressor to pack *.db? files for addons: Download Link

These tools are for advanced users that know how modding works. Everyone else should ignore this post or risk damaging their Anomaly install or even saves by incorrectly using these tools.

Edited by: seargedp

Jun 20 2018 Anchor

Much appreciated. Got a pack of small add ons as well as Lost to the Zone and its 2 extra chapters. Should be merged with Anomaly correctly, might need some further tuning though.

Setting up the mod pages, should be out not too long from now.

Edited by: Transflux

Jun 20 2018 Anchor

That's amazing, I was planning to look into the "Lost to the Zone" stuff myself at some point to integrate it into Anomaly.

Jun 20 2018 Anchor

Hadn't gotten around to testing it yet, was going to post them last night and then fell asleep lol.


I'll post them here soon, just woke up and gotta do some stuff first.

Jul 2 2018 Anchor

never mind

Edited by: Acinu

Aug 10 2018 Anchor

I want to change the language file, how can I do it, thanks (I want to translate it to Turkish)

Aug 10 2018 Anchor

I'm more interested in how that Lost to the Zone merge went. I was trying to fo thst myself. Seems like it should be pretty easy when it comes to the extra quests, maybe a little harder when it comes to the unique NPCs and whatnot.

Aug 11 2018 Anchor

The decompressor didn't work for me. How should I be using it? When I unpacked the files using an extractor from Dead Air, the game would no longer load. The game still wont load if I've taken too long from booting up to click the Launcher shortcut. Has this issue been identified yet?

Sep 19 2018 Anchor

When using the decompressor (thank you for that!) I get the following errors all seemingly failing with versions of the same file packed in different .db files. Since it ends early there I'm concerned that I'm unable to get access to any files packed after them in each db. Is there an update, workaround or fix for this anywhere? Thanks!

E:\Games\S.T.A.L.K.E.R. Anom2>(converter.exe -unpack -xdb .\db\levels\levels.db4 -dir .\unpacked )
xray_re: log started (console only)
[bug] assertion failed at ..\xr_file_system_win32.cxx:275
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
---------
E:\Games\S.T.A.L.K.E.R. Anom2>(converter.exe -unpack -xdb .\db\updates\update-002.db0 -dir .\unpacked )
xray_re: log started (console only)
[bug] assertion failed at ..\xr_file_system_win32.cxx:275
--------
E:\Games\S.T.A.L.K.E.R. Anom2>(converter.exe -unpack -xdb .\db\updates\update-003.db0 -dir .\unpacked )
xray_re: log started (console only)
[bug] assertion failed at ..\xr_file_system_win32.cxx:275
--------
E:\Games\S.T.A.L.K.E.R. Anom2>(converter.exe -unpack -xdb .\db\updates\update-005.db0 -dir .\unpacked )
xray_re: log started (console only)
[bug] assertion failed at ..\xr_file_system_win32.cxx:275


Oct 17 2018 Anchor

thx

Edited by: 99percenter

Dec 25 2018 Anchor

Sorry but I don't know how to use the .db unpacker, any clue about how to use it? :(

Jan 2 2019 Anchor

SpcDan - I was wondering the same thing, but I think I figured it out.

Place both "convert_unpack" and "converter" in your Anomaly folder. Double-click the "converter" application and it will begin to unpack the db files.

Im writing this right now, and as I type it's unpacking everything. If you hadn't noticed, there are several db files it has to unpack, so be patient. It's taking a while to unpack everything. The console window that opens up will tell you what it has unpacked already, be patient, and it will let you know what its unpacking as it progresses.

It will create a folder called "unpacked". It will put all the unpacked db files in that. Good luck!

:)

Edited by: Droscoe

Jan 3 2019 Anchor

Hi there. How can I pack levels folder? After packing I had error.


FATAL ERROR

[error]Expression : desc.size_compressed == desc.size_real
[error]Function : CLocatorAPI::file_from_archive
[error]File : LocatorAPI.cpp
[error]Line : 1195
[error]Description : cannot use stream reading for compressed data g:\s.t.a.l.k.e.r. anomaly\gamedata\levels\fake_start\level.geom, do not compress data to be streamed

Jan 4 2019 Anchor

Append parameter -nocompress at the end of the xrCompress line in the batch file when you package levels.

Jan 4 2019 Anchor

Thx.
I found new ver. xrCompress, there was fix for packing levels.

Here it is.
Drive.google.com

changelog

Edited by: whereismy

Feb 7 2019 Anchor

Can't get it to work no matter what I do. This must be for pre 1.4 or something because every time I open the extractor it just flashes for a split second and disappears....

Edited by: bhelen

Feb 12 2019 Anchor
bhelen wrote:

Can't get it to work no matter what I do. This must be for pre 1.4 or something because every time I open the extractor it just flashes for a split second and disappears....

There are two ways to use it. If you're trying to unpack just one db, you copy the db from your Anomaly folder and paste it in the extracted folder of the decompressing tool. It looks for a folder named "db" and unpacks any db files in it.

Alternatively, if you just want to unpack all the db files, you need to put the decompression stuff in your Anomaly folder. It'll still look for a "db" folder (which should be in your Anomaly folder) and it will begin unpacking them. It takes some time though, and it should pop up an "unpacked" folder while it's unpacking them.

Feb 26 2019 Anchor

Well I ended up just using the DB extractor from the CoC ARX toolset. My problem ended up being that it saved my old extract locations from a previous install and that's why it was refusing to extract the files. Working perfectly now.

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.