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.
Zero Tolerance for Disrespect

QuickBMS Closes When I try to Open a Script

Featured Replies

  • Author
  • Localization

aluigi, posted Tue Jun 23, 2015 4:36 pm (5872)


Let's try slowly step-by-step.
In attachment you can find the code that causes the crash embedded in a new basic program.

You can select any file because they are not used, it's just a selecion.
Can you tell me if also this test tool crashes?

test.zip

  • Author
  • Localization

wiloh95, posted Tue Jun 23, 2015 5:05 pm (5873)


aluigi wrote:
Regarding the first screenshot, it seems the same problem of that user happening immediately after the selection of the script.
Can you check if you have the same problem is you use older version of quickbms like the following?
http://aluigi.org/papers/quickbms_0.6.1d.zip
http://aluigi.org/papers/quickbms_0.6.zip

Screenshot 2: I guess you specified something via .bat or shortcut when you launched quickbms.exe, anyway I will fix it.

Screenshot 3: everything worked correctly, don't worry about the last error. As you can see you reached a 100% coverage so it's ok.


Sorry for responding so slow, I honestly didn't notice there was a page 2 of the thread :P

so as you said
aluigi wrote:
Screenshot 3: everything worked correctly, don't worry about the last error. As you can see you reached a 100% coverage so it's ok.


this is true, files were extracted into the folder i created, but the doesn't go for the other files i try to extract. I'll post the entire log for file Nr.2

http://pastie.org/10255108

I tried to launch it in "-9 mode" but didn't seem to have much success, also are those links to the odler versions of quickBMS working?
  • Author
  • Localization

aluigi, posted Tue Jun 23, 2015 5:23 pm (5875)


In your case -9 worked.
The problem there is the script you are using because quickbms didn't crash.

And yes, obviously those link to the older versions of quickbms work. Click on "Here" or copy&paste the link in your browser.

P.S.: what's your exact Windows 8.1 version?
On Windows 8.1 Pro the location of the crash is not valid.
  • Author
  • Localization

wiloh95, posted Tue Jun 23, 2015 10:37 pm (5887)


aluigi wrote:
In your case -9 worked.
The problem there is the script you are using because quickbms didn't crash.

And yes, obviously those link to the older versions of quickbms work. Click on "Here" or copy&paste the link in your browser.

P.S.: what's your exact Windows 8.1 version?
On Windows 8.1 Pro the location of the crash is not valid.


I am using windows 8.1 pro, but from what it seems i was looking at a bad tutorial, there are better ways of modding that game it seems :P

Thanks for the help though, I'll be back if i ever need to use your software again. I'm not even sure what it is that you guys do here, but it looks pretty cool ^^
  • Author
  • Localization

dancingjaeger, posted Wed Jun 24, 2015 4:25 am (5890)


aluigi wrote:
Could you please tell me if with -9 you have the same problem or not?


yes i have, it doesnt work either
  • Author
  • Localization

aluigi, posted Wed Jun 24, 2015 7:52 pm (5900)


Any feedback from the test.exe tool I posted?
  • Author
  • Localization

KingJigglypuff, posted Mon Jun 29, 2015 6:50 pm (6007)


aluigi wrote:
Are you alive?
Oh, sorry. Yes, I'm alive. Sorry for not noticing earlier. I sent you a PM with my dll results.
  • Author
  • Localization

aluigi, posted Mon Jun 29, 2015 7:32 pm (6009)


@KingJigglypuff
ok, you have only one external dll in the process but I don't think it's the cause of the problems, after all you said that disabling the AV doesn't solve the problem.

Can you try the test tool available here?

What I want to do is understanding if test.exe crashes too and then working on it to fix the issue.
  • Author
  • Localization

KingJigglypuff, posted Mon Jun 29, 2015 7:49 pm (6010)


I'm able to open the script with test.exe, but it then crashes with a "test.exe has stopped working" error.
  • Author
  • Localization

aluigi, posted Mon Jun 29, 2015 8:23 pm (6011)


That's a fantatic news, it means that now it's easy to work on a solution because it's the same problem of quickbms.
Tomorrow I will provide other new test.exe to guess what can be the problem.
  • Author
  • Localization

KingJigglypuff, posted Mon Jun 29, 2015 8:32 pm (6012)


That's great to hear.
  • Author
  • Localization

aluigi, posted Mon Jun 29, 2015 10:03 pm (6013)


Ok I have prepared a set of new tests, could you please tell me if some of them don't crash?

test.zip

  • Author
  • Localization

KingJigglypuff, posted Mon Jun 29, 2015 10:16 pm (6014)


Test1, test2, and test5 crash after opening the script. Test3 and test4 don't crash, but they don't quite work. I open up test3/4 and open the script, but when I open the file the script was made for, it goes right back to asking to open the script.
  • Author
  • Localization

aluigi, posted Mon Jun 29, 2015 10:47 pm (6015)


That's exactly what the test tool does. It's like an endless loop that asks you to open the script and the input file.

So we have found the culprit.
For some unknown and senselss reasons Windows 8.1 wants OFN_ENABLEHOOK and an useless hooking callback... really senselss but at least now I have a fix for the next quickbms.

Thanks for the tests KingJigglypuff.

P.S.: the negative side of this work-around is that the dialog looks horrible: https://stackoverflow.com/questions/473 ... enfilename
  • Author
  • Localization

KingJigglypuff, posted Mon Jun 29, 2015 10:53 pm (6016)


You're welcome. Thanks a lot for helping out.
  • Author
  • Localization

aluigi, posted Wed Jul 08, 2015 10:29 am (6217)


QuickBMS 0.6.5 has been just released and contains the work-around to avoid the crashes on Windows 8.1.
  • Author
  • Localization

BenIsAmazing, posted Wed Jul 08, 2015 10:36 pm (6241)


No issue! ignore plz :)
  • Author
  • Localization

KingJigglypuff, posted Sat Jul 11, 2015 3:31 pm (6305)


aluigi wrote:
QuickBMS 0.6.5 has been just released and contains the work-around to avoid the crashes on Windows 8.1.
Works swimmingly. Thanks a bunch.

Since the issue has been resolved, should this thread be locked?
  • Author
  • Localization

aluigi, posted Sat Jul 11, 2015 3:59 pm (6306)


Usually I don't lock topics because maybe someone else has something to add.
What's important is that the issue is solved :)
  • Author
  • Localization

obodobear, posted Mon Apr 03, 2017 10:03 pm (21943)


I know this is really old but I experience the same problem with the same error codes and all. I am on Windows 7 Enterprise, and have the most recent update of QuickBMS... I am getting the exact same error codes as the ones on the first page and I tried most of the solutions (I could not figure out how to use the command prompt code lines though). Any way you guys could help? I will give more detail on my issues if need be.

[Edit]: On second glance I remembered that when I ran QuickBMS with -9 it said "error in src\io/process.c line 955: scan_modules()" and below it "Error: not enough space"
  • Author
  • Localization

aluigi, posted Tue Apr 04, 2017 12:13 am (21947)


What's the script you are using and are you using quickbms with double-click or from command-line?
If you get the error simply by double-clicking on quickbms.exe then it's a problem caused by a driver (for example the Xonar drivers) or invasive software.
  • Author
  • Localization

obodobear, posted Tue Apr 04, 2017 2:07 am (21948)


aluigi wrote:
What's the script you are using and are you using quickbms with double-click or from command-line?
If you get the error simply by double-clicking on quickbms.exe then it's a problem caused by a driver (for example the Xonar drivers) or invasive software.


It could possibly be invasive software, I've been a bit suspicious that I might have something on my computer but no antivirus programs could find anything. I tried doing a clean boot of my computer by disabling all services and boot programs but that did not work. I'm using quickbms from double click. Also this problem occurs with any script I use. Most of these scripts are for unpacking .pkb files.
  • Author
  • Localization

aluigi, posted Tue Apr 04, 2017 1:59 pm (21962)


The error message you get with -9 seems totally unrelated to be honest, probably you didn't execute quickbms with the option in the correct way:
create a shortcut to quickbms.exe and in Properties->Target add a -9 after "quickbms.exe", then double-click on the shortcut and use it as you do normally.
It's impossible that quickbms doesn't work with -9 otherwise you should be unable to use anything on your computer :D
  • Author
  • Localization

obodobear, posted Tue Apr 04, 2017 4:01 pm (21967)


Okay so I tried it again, but now I'm just starting to think it is a problem with the scripts I'm using. Some of them actually ran their process but it would say "Found 0 files in 0 seconds". I am trying to decompress .pkb files that are from the archives of an iso file. I attached the two scripts I am trying to use if you would like to take a look at them.

xenoblade.bms

pkb_extract_v2.bms

  • Author
  • Localization

obodobear, posted Wed Apr 05, 2017 2:41 pm (21988)


Alright it is definitely a problem with the scripts. I was able to successfully decompress the character models in the game, because that folder included both .pkb and .pkh files. The map data files which I wanted to decompress are only included in a .pkb file (no .pkh ones) this I think causes the process to fail because the scripts I have are setup to handle both file types in the same script. I'm searching now for some scripts but if you know how to fix it or anything let me know.

[EDIT] I got the issue sorted out! Thank you for the help.

Solution: I did not have the static.arc file extracted, that contains the map.pkh file I needed
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.