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.

Featured Replies

  • Author
  • Localization

h3x3r, posted Tue Dec 18, 2018 5:56 pm (41492)


Hi there guys i need little help.
How to assign string "as filepath/filename" to a file?
I have made bms script but it use only last string from string table and assign it to all files.
Thank you.

Code:
####################################
get SIGN4 long
idstring "SARC"
get VERSION long
get ENTRYSIZE long
get STRINGTABLE long
math ENTRYSIZE -= STRINGTABLE
math ENTRYSIZE /= 20
math FILES = ENTRYSIZE

for i = 0 < FILES
   get FNAME string
next i

for i = 0 < FILES
   get FILETYPE long
   get OFFSET long
   get SIZE long
   get HASH0 long
   get HASH1 long

if OFFSET == 0
   log FNAME OFFSET 0
else
   log FNAME OFFSET SIZE
endif
next i
  • Author
  • Localization

aluigi, posted Wed Dec 19, 2018 6:08 pm (41519)


You have 2 options:

1) array:
Code:
putarray 0 i FNAME
...
getarray FNAME 0 i


2) multidimensional array:
Code:
get FNAME[i] string
...
log FNAME[i] OFFSET SIZE
  • Author
  • Localization

h3x3r, posted Thu Dec 20, 2018 1:42 pm (41533)


Thank you very much!
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.