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.

Parsing input file

Featured Replies

  • Author
  • Localization

BySc, posted Wed Jun 26, 2019 12:15 pm (49044)


Hello everyone i have file contain strings i want to use this file for parsing and using for program output format, let me explain this

My string file format looks like this

Code:
{
 "000caea980dae9d0101de16ed0f10be4" : "Office_Scientist.png",
   "002ab62ac4f3ba0a32efe2a05e0a0cf3" : "RAFuncNewbieStepHandler_130_Self.lua",
   "003602f7dc69e1039b608266e46d82bf" : "TestProText2_0.png",
   "003cbe36113bfba471af2550c9d0be19" : "Army_YuriWall_Action.plist",
}


And my bms script doing this, I am giving input file like "000caea980dae9d0101de16ed0f10be4" this one

Code:
goto 4
get size long
savepos offset
encryption rc4 KEY
#math SIZE - OFFSET
get NAME basename
string NAME = ".png"
log NAME offset size


But all files not png format so how can I parse all formats and seperate for output file format.
  • Author
  • Localization

aluigi, posted Thu Sep 26, 2019 2:18 am (50896)


Code:
for
    get TMP line
    string ELEMENTS S TMP NAME1 DIV NAME2
    if ELEMENTS >= 3
        open FDSE NAME1 1

        get size long 1
        encryption rc4 KEY
        log NAME2 4 size 1

    endif
next
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.