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.

Getting "Error: incomplete input file 0" from almost all my own script

Featured Replies

  • Author
  • Localization

yusuf2020, posted Fri Apr 02, 2021 7:44 am (63176)


Code:
goto 96
get languages_count long
get dummy long
get baseoff long
math baseoff 88
get dummy longlong
for i = 0 < languages_count
get dummy long
get offsets long
math offsets 88
get dumy long
get line long
savepos tmp
goto offsets
for k = 0 < line
get dummy long
get offset long
math offset baseoff
slog "1.txt" offset -1
next k
goto tmp
next i

Whenever i try to write a quickbms script, i always get the following error
Code:
Error: incomplete input file 0: C:\Users\username\Desktop\YEDEKEEKEEK\Yeni klasor\ui_localization.stringlookup
       Can't read 1 bytes from offset 48b869c4.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted.
       Please check the following coverage information to know if it's ok.
       

https://www.mediafire.com/file/wugicfw7 ... ookup/file
I'm getting extension is not allowed error when i upload file to zenhax.
  • Author
  • Localization

aluigi, posted Fri Apr 02, 2021 3:21 pm (63180)


I guess you swapped "next i" with "next k" since they refer to different cycles.
  • Author
  • Localization

yusuf2020, posted Sat Apr 03, 2021 1:21 pm (63198)


I still get same error.
  • Author
  • Localization

aluigi, posted Sat Apr 03, 2021 6:05 pm (63201)


The options -0 and -V are perfect for debugging the scripts and the formats.
In this case this is what you get:
Code:
. 00000090 get     line       0x0000023b 4
. 00001580 get     dummy      0x01755fb1 4
. 00001584 get     offset     0x00003a7c 4
.
. 00000001
. 00001588 get     dummy      0x00006e60 4
. 0000158c get     offset     0x00000028 4
.
. 00000002
. 00001590 get     dummy      0x00000001 4
. 00001594 get     offset     0x00000000 4
.
. 00000003
. 00001598 get     dummy      0x9bff4266 4
. 0000159c get     offset     0x48b2b22c 4

Your script and understanding of the format is correct BUT not all the fields of the "line" entry (the 'k' cycle) are the same.
The first block is indeed a sequence of DUMMY/OFFSET but the second block is different.
You can understand it by checking the "offset of the next block - current block / number of entries" which is 8 for the first block and 56 for the second one.

Yeah it's more complicated than what it looked like :)
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.