ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Fri Apr 19, 2019 12:43 pm

All times are UTC




Post new topic  Reply to topic  [ 351 posts ]  Go to page Previous 114 15 16 17 18
Author Message
PostPosted: Sat Dec 15, 2018 5:49 pm 

Joined: Sun Aug 17, 2014 5:50 pm
Posts: 19
slog command adds extra backslashes
Code:
input text: "\b\l\a\h\-(\\)"
slog NAME 0 SIZE
output result: \\b\\l\\a\\h\\-(\\\\)


Top
   
PostPosted: Sat Dec 15, 2018 5:55 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10174
It seems all correct and the backslashes have been correctly escaped.
Slog creates escaped strings because often the strings contain line feeds, for example with multi-line dialogs.


Top
   
PostPosted: Wed Mar 13, 2019 9:32 am 

Joined: Thu Aug 07, 2014 10:28 pm
Posts: 219
I am having a problem with findloc
quickbms_4gb_files.exe -p dissidia.bms process://dffnt.exe c:\output
I don't think findloc can scan 64bit processes.
if I use this code
findloc OFFSET string "GMPK1"
print "%OFFSET%"
it never finds a value
and if I manually do this
set TMP longlong 0x297ab9c0000
print "%TMP%"
goto TMP
savepos TMP
print "%TMP%"
1st result 2850442444800
2nd result
-1415839744


Top
   
PostPosted: Wed Mar 13, 2019 10:35 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10174
quickbms and quickbms_4gb_files are 32bit tools, therefore they can't access 64bit processes.

I will never release a 64bit version of the tools because the first requirement is maintaining compatibility with any older OS and system.


Top
   
PostPosted: Thu Mar 14, 2019 12:18 am 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 603
longlong doesn't seem work with the "put" command either. :(

_________________
Quickbms.com link thread
Search bms scripts


Top
   
PostPosted: Thu Mar 14, 2019 5:32 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10174
you need to use quickbms_4gb_files.exe for 64bit fields.
Just tested and the output is correct.


Top
   
PostPosted: Mon Apr 08, 2019 2:57 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10174
I just noticed that tcc (the embedded C compiler) is crashing, I'm investigating what's causing this issue.

Update: ok it was my fault (sort of), everything works perfectly


Top
   
PostPosted: Sat Apr 13, 2019 2:58 pm 
User avatar

Joined: Sun Mar 04, 2018 1:29 am
Posts: 67
I encountered this error when transferring the .fsh file to .pvr, the script is attached below. Thanks!
Code:

-------------------
*EXCEPTION HANDLER*
-------------------
An error or crash occurred:

*EH* ExceptionCode      80000001 guard page violation
*EH* ExceptionFlags     00000000
*EH* ExceptionAddress   74C7A990
                        74BF0000 + 0008a990 msvcrt.dll
*EH* NumberParameters   00000002
*EH*                    00000000
*EH*                    063D3000


Attachments:
fsh2pvr.bms [842 Bytes]
Downloaded 14 times

_________________
Cryptography - Encryption
Top
   
PostPosted: Sat Apr 13, 2019 5:06 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10174
good bug, it's related to the c_structs feature and freeing some old pointers.
use math in your script at line 25 and 28 and it will work


Top
   
PostPosted: Sun Apr 14, 2019 3:38 am 
User avatar

Joined: Sun Mar 04, 2018 1:29 am
Posts: 67
Sorry, but this is not my specialty.
Can you elaborate on this issue?
Thanks!

Code:

   if format = 99
      ofmt = 6
   endif
   if format = 100
      ofmt = 2
   endif


_________________
Cryptography - Encryption


Top
   
PostPosted: Sun Apr 14, 2019 9:02 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10174
Code:
   if format = 99
      math ofmt = 6
   endif
   if format = 100
      math ofmt = 2
   endif


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 351 posts ]  Go to page Previous 114 15 16 17 18

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:
Powered by phpBB® Forum Software © phpBB Limited