ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sun Jun 25, 2017 7:08 am

All times are UTC




Post new topic  Reply to topic  [ 228 posts ]  Go to page Previous 18 9 10 11 12
Author Message
PostPosted: Sat Apr 29, 2017 6:05 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6163
Good catch, it seems just a bug in the new "tcc" feature (the runtime C compiler) of quickbms.
The game has tons of files and there is a certain amount of memory consumed and not freed at each cycle so you get the memory allocation error when the process has already allocated some Gb of memory.
I was ready to suggest to use -9 (that limits these types of memory leaks) but quickbms even crashes with it so it looks like a lame bug that I have to solve for the next version.

Unfortunately there are no temporary work-arounds to complete the extraction.


Top
   
PostPosted: Sat Apr 29, 2017 6:10 pm 

Joined: Sat Apr 29, 2017 4:24 pm
Posts: 2
No sweat, I don't mind waiting for next version. Thanks for your time on this issue. It's been a huge help!


Top
   
PostPosted: Tue May 09, 2017 6:51 am 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 282
i think i found a bug with the findloc command, my last entry is ignored :o
i will attach a sample and the script :)
*solved and removed*
i didn't see anything in quickbms.txt about there being a limit to how many
times you can use it or where you can/can't use it. :?

_________________
Quickbms.com link thread
Search bms scripts


Last edited by Acewell on Tue May 09, 2017 7:47 am, edited 1 time in total.

Top
   
PostPosted: Tue May 09, 2017 7:03 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6163
It's a conflict between the searched string and the name of the first variable.
Fix: replace the name of the first variable (RYHP) with NEXT_RYHP

Yeah I know it's boring but one of the rules of quickbms is that name of variables and constant strings (even the binary ones) are handled in the same way.
Even I forgot that and it required some tests before fixing it :D


Top
   
PostPosted: Tue May 09, 2017 7:42 am 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 282
okay so in newby terms, avoid making the variable and search strings the same, even if one is binary and the other is a string?
thanks :D

_________________
Quickbms.com link thread
Search bms scripts


Top
   
PostPosted: Tue May 09, 2017 8:10 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6163
Exactly, variable names and constant strings (like string or "string" or "\x73tring") MUST be ever different.


Top
   
PostPosted: Sun May 28, 2017 3:26 pm 

Joined: Sun Oct 09, 2016 6:27 pm
Posts: 23
I think I found a bug with the -P command or the Rpa Renpy Nopython script:

When extracting an RPA file that contains Cyrillic characters in some of the file names they did not extract correctly so tried adding -P UTF8 (unless I'm wrong RPA files are always UTF-8 encoded) but the result was still wrong, next I tried every other UTF and Cyrillic option from this table using both Identifier and .NET Name values, I also tried adding the codepage "utf8" and codepage 1251 string in the BMS script with the same result.

For example the correct file name is: Armature-трет руки_0 as can be seen in the attached file table, but the files are extracted as: Armature-трет СЂСѓРєРё_0, Armature-трет руки_0 or Armature-трет руки_0.


Attachments:
TEMPORARY_FILE.7z [45.69 KiB]
Downloaded 10 times
Top
   
PostPosted: Sun May 28, 2017 5:02 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6163
Yeah that's something that require to be checked for the next release because it appears to be a bug (utf8 is correct but some chars are clearly wrong).
Added in my TODO.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 228 posts ]  Go to page Previous 18 9 10 11 12

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited