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.

Survivalist .xnb

Featured Replies

  • Author
  • Localization

Delutto, posted Sun Jan 14, 2018 7:37 pm (31541)


It's easy but... the texts length are in 7BitEncodedInt(I think)... I tried read this value in Pascal but no success... ??

C implementation:
Code:
int Read7BitEncodedInt()
{
   int result = 0;
   int bitsRead = 0;
   int value;
   do
   {
      value = ReadByte();
      result |= (value & 0x7f) << bitsRead;
      bitsRead = 7;
   }
   while (value & 0x80);
   return result;
}

Pascal implementation (attempt)
Code:
function Read7BitEncodedInt: Integer;
var
   VByte: Byte;
   Offset: Integer;
begin
   Offset := 0;
   Result := 0;
   repeat
      FInput.Read(VByte, 1);
      Result := Result or ((VByte and $7F) shl Offset);
      Inc(Offset, 7);
   until (VByte and $80) = 0;
end;
  • Author
  • Localization

Vecna, posted Tue Jan 16, 2018 1:04 am (31586)


Excuse me, makc_ar from which hexeditor is taken your screenshot?
  • Author
  • Localization

Vecna, posted Tue Jan 16, 2018 10:05 am (31598)


Thank you very much.
  • Author
  • Localization

swuforce, posted Mon Feb 12, 2018 9:43 am (32402)


Try the tool from my sources.
  • Author
  • Localization

makc_ar, posted Mon Feb 12, 2018 1:08 pm (32412)


Thanks a lot swuforce!
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.