Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

FEAR 4gb (moved post)

Featured Replies

  • Author
  • Localization

Savage, posted Thu Oct 02, 2014 5:03 pm (668)


Hi Aluigi, nice to see in your new site :D.

I have some problems extracting the .arch05

I used the BMS from FEAR / FEAR2 / ARCH00 archives (script 0.4b), wich works great until..i want to unpack the big files (4Gb's or more), yes i use quickbms_4gb_files.exe latest version (6) and i get this error

Quote:
0000000000000000 1154375 worlds\retail\blackgates/blackgates.bndlxml05

- error in src\xalloc.c line 617: xdbg_malloc()

Error: memory allocation problem
Not enough space to process this command


I have 25 gb's free...any hint?

Thanks
  • Author
  • Localization

aluigi, posted Thu Oct 02, 2014 5:08 pm (669)


I have moved your post because it wasn't related to Shadow of Mordor.

That error means that the file has not been parsed correctly, what exact game is it?
  • Author
  • Localization

Savage, posted Thu Oct 02, 2014 5:12 pm (670)


The game it's the "Middle Earth Shadow of Mordor" , they are using the same package LTAR ARch

ex: 5.337.719.732 udun.arch05

Quote:
LTAR x   gollum.bndlxml05 bundles bundles\namedcharacters gollum.embb hirgon.bndlxml05 hirgon.embb ratbag.bndlxml05 ratbag.embb marwen1loadingscreen.bndlxml05 interface interface\bundles interface\bundles\loadingscreen marwen1loadingscreen.embb vision00.bndlxml05 interface\bundles\moviebundles vision00.embb battlereport.bndlxml05 interface\bundles\tutorials battlereport.embb newregion.bndlxml05 newregion.embb vendettasunlocked.bndlxml05 vendettasunlocked.embb blackgates.bndlxml05 worlds worlds\retail worlds\retail\blackgates blackgates.embb blackgates.ss_barrowsarea.bndlxml05 blackgates.ss_barrowsarea.embb blackgates.ss_blackgates1.bndlxml05 blackgates.ss_blackgates1.embb blackgates.ss_outpostarea.bndlxml05 blackgates.ss_outpostarea.emb
  • Author
  • Localization

aluigi, posted Thu Oct 02, 2014 5:12 pm (671)


Interesting, it seems that the error happens at the beginning of the file.
Maybe try to upload the first 4 megabytes.
  • Author
  • Localization

Savage, posted Thu Oct 02, 2014 5:14 pm (672)


No problem
  • Author
  • Localization

Savage, posted Thu Oct 02, 2014 5:19 pm (673)


Here is, the first 4mb's of the file udun.arch05 (4,97Gb's).
  • Author
  • Localization

aluigi, posted Thu Oct 02, 2014 7:29 pm (684)


I guess that without the full file it's impossible to find a solution.
From what I have seen till now, it seems to work correctly and I "think" that gollum.embb should be extracted correctly.
All the fields are correct with longlong so the problem is not there.
The compression is zlib.

One thing you can try is replacing all the >= with u>= but I don't think it will change something.
I have no other ideas at the moment.
  • Author
  • Localization

Savage, posted Thu Oct 02, 2014 10:18 pm (699)


It Worked! Thanks! :D
  • Author
  • Localization

aluigi, posted Thu Oct 02, 2014 10:21 pm (702)


really? great I add immediately the 'u' modification to the online script :)
  • Author
  • Localization

Savage, posted Thu Oct 02, 2014 11:13 pm (703)


Same problem with another big file :-( , son.arch05 (3,89Gb's)

Quote:
0000000000000000 224898 worlds\retail\seaofnurnen/seaofnurnen.cave1_ss_01.embb

- error in src\xalloc.c line 617: xdbg_malloc()

Error: memory allocation problem


or

Quote:
- error in src\cmd.c line 3043: CMD_PutVarChr_func()
Error: Not enough space
  • Author
  • Localization

aluigi, posted Thu Oct 02, 2014 11:31 pm (704)


You can try to remove the line "putvarchr MEMORY_FILE4 SIZE 0" but I don't think it will solve the problem, in any case it will slow the process.
  • Author
  • Localization

Savage, posted Fri Oct 03, 2014 1:28 am (706)


You right, i did the change, it fails and it's extremely slow.
  • Author
  • Localization

aluigi, posted Fri Oct 03, 2014 11:03 pm (724)


Thanks for the file.
Apparently it's not a bug in the script and not a bug in quickbms, it's really a file that has a size of 0x589fdbae bytes and quickbms cannot allocate that size because it's a 32bit application.

I tried to compile quickbms with Gcc 64bit but there are too many errors, so I give up.
  • Author
  • Localization

aluigi, posted Fri Oct 03, 2014 11:06 pm (725)


Just a simple test, could you try answering 'n' when quickbms asks you to disable XDBG_ALLOC_ACTIVE?

I don't think it will work but it's worth to try because it replaces malloc() with VirtualAlloc
  • Author
  • Localization

Savage, posted Fri Oct 03, 2014 11:12 pm (726)


Thanks for test the file :D

I tried "Y" and "N" options, still crashing

But with Dragon Unpacker i can open the file and extract the data (compressed) without errors, any hint how to unzlib the files?

Thanks

http://sourceforge.net/projects/dragonunpacker/
  • Author
  • Localization

aluigi, posted Fri Oct 03, 2014 11:49 pm (727)


The files are compressed in chunks, that's the reason why quickbms needs to pre-allocate the memory.

To be honest there is an alternative and very simple solution.
Try the bms script I have attached.
Now it uses the output file instead of a memory file, answer 'a' when quickbms will ask you to overwrite the file.

Remember to use quickbms_4gb_files.exe.

PS: the problem with the over 2gb memory can be solved compiling quickbms with "-Wl,--large-address-aware", I will do it in the next version :)

new_fear.zip

  • Author
  • Localization

Savage, posted Sat Oct 04, 2014 12:22 am (728)


Great, just a question, the script you attached it's asking to replace files, it's ok?

Quote:
do you want to disable XDBG_ALLOC_ACTIVE? (y/N)
y
- set output folder a

offset filesize filename
--------------------------------------
0000000000000000 0 bundles/resistance.bndlxml05
0000000000003684 65536 bundles\resistance.bndlxml05

- The following output file already exists:
bundles\resistance.bndlxml05
Do you want to overwrite it?
y = overwrite (you can use also the 'o' key)
n = skip (default, just press RETURN)
a = overwrite all the files without asking
r = automatically rename the files with the same name
s = skip all the existent files without asking


(remember that you are in append mode so be sure that the output folder was
empty otherwise the new data will be appended to the existent files!) y
  • Author
  • Localization

aluigi, posted Sat Oct 04, 2014 12:26 am (729)


Yes, it's the 'a' answer I told you in my post.
  • Author
  • Localization

Savage, posted Sat Oct 04, 2014 12:51 am (730)


Amazing!

Image
  • Author
  • Localization

AlphaTwentyThree, posted Sat Oct 04, 2014 12:29 pm (737)


Amazing work, as always, Luigi! :)
  • Author
  • Localization

makc_ar, posted Sun Oct 05, 2014 5:24 am (752)


Found the tool (GUI)
Homepage: http://fear-combat.nl/FEAR-Public-Tools ... iveEdit_v2

Opening Existing Archives
Perform the following steps to open an existing archive and extract files from it.
1. Launch ArchiveEdit
2. Open an existing *.Arch00 file
3. Select a folder or file to extract
4. Select File|Extract
5. Choose a folder to extract to
TIP:
Alternatively you can drag and drop folders or files in and out of ArchiveEdit.

Creating New Archives
A good need to create a new archive is when you have created a new multiplayer map and want to distribute it over the internet. To do so perfrom the following steps.
1. Launch ArchiveEdit
2. Drag&Drop your map and all assets in to ArchiveEdit
3. Make sure to recreate the correct folders when adding your files. All files need to be relative to the game folder
4. Save the archive

FEAR_ArchiveEdit_v2 (portable).rar

  • Author
  • Localization

swizzlewizzle, posted Sun Oct 05, 2014 1:05 pm (755)


Would like to use this script to unpack a .bndlxml05 file but it seems that I don't ever get any output..

Using option -9..

-open input file (the bndlxml05 file)
- open script new_fear.bms
- output folder set to xxx

- 0 files found in 0 seconds
coverage file 0 0% 4 2952

Any ideas what I may be doing wrong?
  • Author
  • Localization

aluigi, posted Sun Oct 05, 2014 1:40 pm (757)


Are you using the latest version of QuickBMS?
http://quickbms.aluigi.org

I have seen another post from you with similar problems so the only explanation is an old version of the tool.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.