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.

Edna & Harvey: Harvey's New Eyes - vbin

Featured Replies

  • Author
  • Localization

swuforce, posted Wed Aug 23, 2017 9:37 am (25810)


Try the quickbms scripts. Use both on the ogg file. Don't delete the NULL from end of string.
Export
Code:
goto 8
get name basename
string name = .dat
get size long
get zsize long
clog name 16 zsize size
open FDSE name
log MEMORY_FILE 0 0
get name basename
string name = .txt
set end 0
do
findloc offset string "\xff\xff\xff\xff\x04\x00\x00\x00" 0 ""
if offset == ""
cleanexit
endif
math offset -= 8
goto offset
get var1 long
get var2 long
if var1 != var2
getdstring d 8
else
getdstring d 8
get size long
savepos pos
get check byte
get check2 byte
get check3 byte
get check4 byte
if check = 0x00 ||  check = 0xff || check2 = 0x00 || check2 = 0xff
elseif check3 != 0x00 &&  check3 != 0xff && check4 != 0x00 && check4 != 0xff
set end 1
endif
endif
while end == 0
findloc offset string "\xb5\x4a\x05\x06" 0 "" 0
math offset = 4
goto offset
get files long
for i = 1 to files
get size long
getdstring string size
getdstring dummy 12
get number long
for n = 1 to number
get size long
getdstring string size
get size2 long
getdstring dummy size2
get dummy long
if size > 0 && n = 2
putdstring string size MEMORY_FILE
put 0x0a0d short MEMORY_FILE
endif
next n
next i
get size asize MEMORY_FILE
log name 0 size MEMORY_FILE


Import
Code:
log MEMORY_FILE3 0 8
get name basename
get name2 filename
string name = .dat
open FDSE name
get name basename
string name = .txt
open FDSE name 1
log MEMORY_FILE 0 0
get asize asize
set offset1 0
set end 0
do
findloc offset2 string "\xff\xff\xff\xff\x04\x00\x00\x00" 0 ""
if offset2 == ""
cleanexit
endif
math offset2 -= 8
goto offset2
get var1 long
get var2 long
if var1 != var2
getdstring d 8
else
getdstring d 8
get size long
savepos pos
get check byte
get check2 byte
get check3 byte
get check4 byte
if check = 0x00 ||  check = 0xff || check2 = 0x00 || check2 = 0xff
elseif check3 != 0x00 &&  check3 != 0xff && check4 != 0x00 && check4 != 0xff
set end 1
endif
endif
while end == 0
findloc offset2 string "\xb5\x4a\x05\x06" 0 "" 0
math offset2 = 4
goto offset2
get files long
for i = 1 to files
get size long
getdstring string size
getdstring dummy 12
get number long
for n = 1 to number
savepos offset2
get size long
getdstring string size
if size > 0 && n = 2
xmath dsize "offset2 - offset1"
append
log MEMORY_FILE offset1 dsize
append
get msize asize MEMORY_FILE
goto msize MEMORY_FILE
getct string string 0x00 1
get ad short 1
strlen len string
math len = 1
put len long MEMORY_FILE
putdstring string len MEMORY_FILE
savepos offset1
get size2 long
getdstring dummy size2
get dummy long
else
get size2 long
getdstring dummy size2
get dummy long
endif
next n
next i
xmath dsize "asize - offset1"
append
log MEMORY_FILE offset1 dsize
append
get size asize MEMORY_FILE
comtype zlib_compress
clog MEMORY_FILE2 0 size size MEMORY_FILE
get zsize asize MEMORY_FILE2
goto 8 MEMORY_FILE3
put size long MEMORY_FILE3
put zsize long MEMORY_FILE3
append
log MEMORY_FILE3 0 zsize MEMORY_FILE2
append
get size asize MEMORY_FILE3
log name2 0 size MEMORY_FILE3
  • Author
  • Localization

ghylard, posted Thu Aug 24, 2017 7:22 am (25831)


Thanks a lot swuforce, I'm finally going to be able to end the translation of this game begun with the old cxml file. :D
  • Author
  • Localization

aluigi, posted Sun Mar 08, 2020 5:45 am (54495)


For all the languages just remove " && n = 2" from both the scripts
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.