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.

Newbie question, how can you perform the inverse of a "FILEXOR" command?

Featured Replies

  • Author
  • Localization

GarryOlsen, posted Thu May 12, 2022 2:24 pm (71516)


Hey all,

I've been looking at the Quake 3 engine PK3 decoder QuickBMS script and was wondering how I would go about performing the inverse of the given "FILEXOR" command, to effectively encrypt a given ".PK3" file that had already been decrypted with the previously mentioned script. I don't really understand how the "FILEXOR" command works, I understand the basics of XOR gates but thats about it.
  • Author
  • Localization

spiritovod, posted Thu May 12, 2022 4:29 pm (71519)


@GarryOlsen: XOR is reversible operation, so you can actually use the same script to encrypt modified zip file back. It's just output folder should be different from input folder, otherwise it'll try to rewrite zip -> zip (or you can edit script and change "zip" to pk3 or something).
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.