ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Mon Dec 10, 2018 6:38 pm

All times are UTC




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat Sep 29, 2018 4:19 pm 

Joined: Wed Jun 01, 2016 5:53 pm
Posts: 22
Hi guys, can someone help me out convert numbers to full int's? The source of values are int.
Thanks in advance!
Preview of format to convert:
Code:
Offset = 79205788 Size = 50357
Offset = 79321972 Size = 30133
Offset = 83707660 Size = 29499
Offset = 83755428 Size = 14187
Offset = 94774324 Size = 5527
Offset = 94779860 Size = 17255
Offset = 94797124 Size = 4071


Attachments:
Output.txt [157.17 KiB]
Downloaded 11 times
Top
   
PostPosted: Wed Oct 03, 2018 12:54 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9431
Do you mean you have an input binary file containing sequences of little endian 32bit fields?
And what programming language are you using?

In quickbms it would be something like:
Code:
for
    get OFFSET long
    get SIZE long
next


Top
   
PostPosted: Sun Oct 07, 2018 11:13 am 

Joined: Wed Jun 01, 2016 5:53 pm
Posts: 22
Yes the source is binary form. I used 010 Hex editor to print those values. Problem is that output decimal number "can't" be converted back to binary form right?
But i solved this problem by printing values as HEX and then import them as HEX.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

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