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.

Mantis Burn Racing (.*VFSDATA)

Featured Replies

  • Author
  • Localization

StreamThread, posted Thu Nov 10, 2016 11:50 am (18708)


Code:
#Mantis Burn Racing BMS Script *.VFS;*.VFSDATA

Open FDDE VFSHDR 1 CF_FOUND #check .vfshdr file at same folder

if CF_FOUND == 0
get fileCnt long 0
get DUMMY long 0
xmath checkFO "(fileCnt * 36) 0x8" #if archive with .vfs ext check possibly files start offset (especially for root.vfs file)
goto checkFO 0 SEEK_SET
get zlibP short 0
if zlibP != 0x9c78

print "*.vfshdr file missing or unsupport"
else
goto 0x8 0 SEEK_SET
for i = 1 to fileCnt do
get UNK1 long 0
get UNK2 long 0
get offset long 0
get DUMMY long 0
get size long 0
get DUMMY long 0
get zsize long 0
get DUMMY longlong 0
math offset checkFO

if size != zsize
cLog "" offset zsize size 0
else
Log "" offset size 0 
endif


next i

endif
else
get fileCnt long 1
get DUMMY long 1

for i = 1 to fileCnt do
get UNK1 long 1
get UNK2 long 1
get offset long 1
get DUMMY long 1
get size long 1
get DUMMY long 1
get zsize long 1
get DUMMY longlong 1

if size != zsize
cLog "" offset zsize size 0
else
Log "" offset size 0
endif


next i
endif

MBR.bms

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.