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.

[Request] Simple BMS script .bin -> json (have .bt)

Featured Replies

  • Author
  • Localization

hearhellacopter, posted Sat Jul 11, 2020 2:17 am (57547)


Can anyone help me with making a simple BMS script that that converts this file into json? I have a .bt templete for it.

I would like it to look like this

Code:
  "Entries": [
    {
     "Unknown0": 100,
     "Unknown2": 1,
     "Unknown3": 1,
     "Unknown4": 0,
     "Unknown5": 0,
     "Unknown6": 600,
     "Unknown7": 0,
     "Unknown8": 200,
     "Unknown9": 0,
     "UnknownA": 0,
     "UnknownB": 2,
     "UnknownC": 100,
     "UnknownD": -1,
     }
  • Author
  • Localization

aluigi, posted Fri Aug 21, 2020 9:02 am (58227)


Code:
ushort magic
ushort version
int count
int max_size
int start

print " \"Entries\": ["
for i = 0 < count
    print "{"
    for x = 0 < 0xd
        int unknown;
        print "    \"Unknown%x%: %unknown%,"
    next x
    print "},"
next i
print "]"

Just use the redirect at command-line to dump the output:
Code:
quickbms.exe script.bms file.bin > file.json
  • Author
  • Localization

hearhellacopter, posted Fri Sep 04, 2020 7:19 pm (58543)


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