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.

Jewel Quest (cfge? jpge?)

Featured Replies

  • Author
  • Localization

JeffMakesGames, posted Tue May 26, 2020 2:34 pm (56940)


I have no idea if these are encrypted or if they use some sort of zlib/zip thing for every image in the game/config/text/etc. or what. It's a mystery to me. Maybe someone else will have better luck.

http://www.jeffmakesgames.com/misc/board1-1.jpge
http://www.jeffmakesgames.com/misc/story.cfge
  • Author
  • Localization

aluigi, posted Mon Oct 12, 2020 3:07 pm (59346)


The jpge file is just XORed with the byte 0x01.

No idea what cfge should represent.
  • Author
  • Localization

emtu, posted Wed Jun 30, 2021 3:34 pm (64991)


aluigi wrote:
No idea what cfge should represent.

I don't know whether or not this decryption method has a name, but it uses a ton of subtraction. You have to look at each line individually (ignore all 0D 0A and 00 bytes). I can't access the linked files, but I've seen older Jewel Quest files start with FF FE. Those bytes should also be ignored.

On each line, you have to start subtracting by a certain amount.

On the 1st, 4th, 7th line and so on, you start with 0D.
On the 2nd, 5th, 8th line and so on, you start with 0E.
On the 3rd, 6th, 9th line and so on, you start with 0F.

Let's take, for example, the first line. From the first byte of that line, you subtract 0D. The amount you subtract by increase every byte, so from the second one you subtract 0E, from the third one 0F, from the fourth 10 and so on. After 24 bytes in a line, this amount resets to what it was on the first byte.

I've made a more visual explanation in this video:
https://www.youtube.com/watch?v=MO4K7st-n-c
  • Author
  • Localization

JeffMakesGames, posted Sun Jul 11, 2021 9:39 pm (65150)


Any idea why they made a txt file so complex like this?

EDIT: Also, link should be working above.
  • Author
  • Localization

emtu, posted Mon Jul 12, 2021 10:06 am (65154)


They didn't want us to mess with the files, I guess.
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.