XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Thu Dec 13, 2018 10:28 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: SpongeBob SquarePants - Light Camera Pants (.SBT File)
PostPosted: Sun Jun 01, 2014 2:05 pm 
Offline
ultra-n00b

Joined: Thu Apr 26, 2012 6:26 pm
Posts: 8
Has thanked: 5 times
Have thanks: 0 time














You can make the ads go away by registering

Hi guys! I want to translate SpongeBob SquarePants - Light Camera Pants (PC) game to my language.
But I can't open .sbt file. I don't know how can I unpack and pack again.

I've added a file as an attachment.
I'm waiting for you guys. Help me please. :P


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: SpongeBob SquarePants - Light Camera Pants (.SBT File)
PostPosted: Sun Jun 01, 2014 4:04 pm 
Offline
ultra-n00b

Joined: Thu Apr 26, 2012 6:26 pm
Posts: 8
Has thanked: 5 times
Have thanks: 0 time
Okay, I don't know it's important or not, but I just want to share it.
I opened game file (sb_lcp.exe) with Resource Hacker. And I just found something like this.
But still I don't know how can I unpack text, or see that box for real.

Picture:
http://s7.directupload.net/images/140601/7engm6gd.png


Top
 Profile  
 
 Post subject: Re: SpongeBob SquarePants - Light Camera Pants (.SBT File)
PostPosted: Sun Jun 01, 2014 7:31 pm 
Offline
advanced

Joined: Wed Jan 18, 2012 5:11 am
Posts: 72
Has thanked: 1 time
Have thanks: 29 times
it's just xored with 0x30, for unpack you can use this quickbms script
Code:
log MEMORY_FILE 0 0
get name basename
get strings short
for i = 0 < strings
   get str_size short
   for j = 0 < str_size
      get data byte
      math data ^ 0x30
      put data byte MEMORY_FILE
   next j
   put 0x0a0d short MEMORY_FILE
next i

string name + ".txt"
get size asize MEMORY_FILE
log name 0x00 size MEMORY_FILE


Top
 Profile  
 
 Post subject: Re: SpongeBob SquarePants - Light Camera Pants (.SBT File)
PostPosted: Sun Jun 01, 2014 10:46 pm 
Offline
ultra-n00b

Joined: Thu Apr 26, 2012 6:26 pm
Posts: 8
Has thanked: 5 times
Have thanks: 0 time
Thank you so much! It worked!
I know I asked a lot of questions but how can I pack the file? :P


Top
 Profile  
 
 Post subject: Re: SpongeBob SquarePants - Light Camera Pants (.SBT File)
PostPosted: Mon Jun 02, 2014 8:08 am 
Offline
advanced

Joined: Wed Jan 18, 2012 5:11 am
Posts: 72
Has thanked: 1 time
Have thanks: 29 times
need to do script for pack, i do it some of these days


Top
 Profile  
 
 Post subject: Re: SpongeBob SquarePants - Light Camera Pants (.SBT File)
PostPosted: Mon Jun 02, 2014 8:02 pm 
Offline
ultra-n00b

Joined: Thu Apr 26, 2012 6:26 pm
Posts: 8
Has thanked: 5 times
Have thanks: 0 time
Thief1987 wrote:
need to do script for pack, i do it some of these days


I'm waiting. Thank you. :)


Top
 Profile  
 
 Post subject: Re: SpongeBob SquarePants - Light Camera Pants (.SBT File)
PostPosted: Thu Jun 05, 2014 9:48 pm 
Offline
advanced

Joined: Wed Jan 18, 2012 5:11 am
Posts: 72
Has thanked: 1 time
Have thanks: 29 times
sorry for delaying, i'm forgot about it :)
Code:
log MEMORY_FILE 0 0
get name basename
put 0x00 short MEMORY_FILE
get size asize
set i = 0
for i
   savepos TMP
   getct str string 0x0D
   strlen str_size str
   goto TMP
   put str_size short MEMORY_FILE
   for j = 0 < str_size
      get data byte
      math data ^ 0x30
      put data byte MEMORY_FILE
   next j
   get dummy short
   savepos offset
   if offset = size
      break
   endif
   
next i
goto 0x00 MEMORY_FILE
math i + 1
put i short MEMORY_FILE

string name + ".sbt"
get size2 asize MEMORY_FILE
log name 0x00 size2 MEMORY_FILE

Apply to txt file


Top
 Profile  
 
 Post subject: Re: SpongeBob SquarePants - Light Camera Pants (.SBT File)
PostPosted: Thu Jun 05, 2014 10:56 pm 
Offline
ultra-n00b

Joined: Thu Apr 26, 2012 6:26 pm
Posts: 8
Has thanked: 5 times
Have thanks: 0 time
It worked! Thank you so so much! :)


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


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:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group