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.
Zero Tolerance for Disrespect

[PC] Armored Fist 2 .RES

Featured Replies

Solved by Falkrian

  • Localization
  • Solution

Hey,

These appear to be NovaLogic RESOURCE1 archives and quite some research has been invested into them already. The filenames are XOR'd with repeating bytes: 0xAD, 0xDE, 0xED, and 0xAC.

Attached you will find two files:

  • AF2_RES_Unpacker.py | This script will extract .RES files

    • Place AF2_RES_Unpacker.py inside the same directory where the .RES files are and let it rip.

  • AF2_LZP1_PNG.py | This script decompresses LZP1 and convert PCX to PNG.

    • Place AF2_LZP1_PNG.py inside the same directory where the .PCX files are and let it rip.

Below you will find the research / projects I briefly mentioned before.

Source 1: Comanche 3 and Armored Fist 2 Notes
Source 2: LZP1 Decompressor + PCX To PNG Converter

AF2_RES_Unpacker.py AF2_LZP1_PNG.py

Edited by Falkrian
Spelling

  • 2 months later...
  • Author
  • Localization
On 7/24/2026 at 8:57 PM, Falkrian said:

Hey,

These appear to be NovaLogic RESOURCE1 archives and quite some research has been invested into them already. The filenames are XOR'd with repeating bytes: 0xAD, 0xDE, 0xED, and 0xAC.

Attached you will find two files:

  • AF2_RES_Unpacker.py | This script will extract .RES files

    • Place AF2_RES_Unpacker.py inside the same directory where the .RES files are and let it rip.

  • AF2_LZP1_PNG.py | This script decompresses LZP1 and convert PCX to PNG.

    • Place AF2_LZP1_PNG.py inside the same directory where the .PCX files are and let it rip.

Below you will find the research / projects I briefly mentioned before.

Source 1: Comanche 3 and Armored Fist 2 Notes
Source 2: LZP1 Decompressor + PCX To PNG Converter

AF2_RES_Unpacker.py AF2_LZP1_PNG.py

Uh oh I get an error:

C:\Users\PcService\Desktop\New folder (2)\NOVA>python AF2_RES_Unpacker.py "C:\Users\PcService\Desktop\New folder (2)\NOVA\AF2INST.RES"
Traceback (most recent call last):
  File "C:\Users\PcService\Desktop\New folder (2)\NOVA\AF2_RES_Unpacker.py", line 49, in <module>
    main()
    ~~~~^^
  File "C:\Users\PcService\Desktop\New folder (2)\NOVA\AF2_RES_Unpacker.py", line 45, in main
    unpack(archive, directory / "unpacked" / archive.stem)
    ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\PcService\Desktop\New folder (2)\NOVA\AF2_RES_Unpacker.py", line 12, in unpack
    raise ValueError(f"{archive.name}: unsupported RES format")
ValueError: AF2INST.RES: unsupported RES format

Modify the script to fix this error.

Create an account or sign in to comment

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.