SpongeBob SquarePants - Light Camera Pants (.SBT File)

Need help translating games in other languages? Have your language problems solved here.
Post Reply
MertKilic
ultra-n00b
Posts: 8
Joined: Thu Apr 26, 2012 6:26 pm
Has thanked: 5 times

SpongeBob SquarePants - Light Camera Pants (.SBT File)

Post by MertKilic » Sun Jun 01, 2014 2:05 pm

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
You do not have the required permissions to view the files attached to this post.

MertKilic
ultra-n00b
Posts: 8
Joined: Thu Apr 26, 2012 6:26 pm
Has thanked: 5 times

Re: SpongeBob SquarePants - Light Camera Pants (.SBT File)

Post by MertKilic » Sun Jun 01, 2014 4:04 pm

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

Thief1987
advanced
Posts: 72
Joined: Wed Jan 18, 2012 5:11 am
Has thanked: 1 time
Been thanked: 29 times

Re: SpongeBob SquarePants - Light Camera Pants (.SBT File)

Post by Thief1987 » Sun Jun 01, 2014 7:31 pm

it's just xored with 0x30, for unpack you can use this quickbms script

Code: Select all

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

MertKilic
ultra-n00b
Posts: 8
Joined: Thu Apr 26, 2012 6:26 pm
Has thanked: 5 times

Re: SpongeBob SquarePants - Light Camera Pants (.SBT File)

Post by MertKilic » Sun Jun 01, 2014 10:46 pm

Thank you so much! It worked!
I know I asked a lot of questions but how can I pack the file? :P

Thief1987
advanced
Posts: 72
Joined: Wed Jan 18, 2012 5:11 am
Has thanked: 1 time
Been thanked: 29 times

Re: SpongeBob SquarePants - Light Camera Pants (.SBT File)

Post by Thief1987 » Mon Jun 02, 2014 8:08 am

need to do script for pack, i do it some of these days

MertKilic
ultra-n00b
Posts: 8
Joined: Thu Apr 26, 2012 6:26 pm
Has thanked: 5 times

Re: SpongeBob SquarePants - Light Camera Pants (.SBT File)

Post by MertKilic » Mon Jun 02, 2014 8:02 pm

Thief1987 wrote:need to do script for pack, i do it some of these days
I'm waiting. Thank you. :)

Thief1987
advanced
Posts: 72
Joined: Wed Jan 18, 2012 5:11 am
Has thanked: 1 time
Been thanked: 29 times

Re: SpongeBob SquarePants - Light Camera Pants (.SBT File)

Post by Thief1987 » Thu Jun 05, 2014 9:48 pm

sorry for delaying, i'm forgot about it :)

Code: Select all

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

MertKilic
ultra-n00b
Posts: 8
Joined: Thu Apr 26, 2012 6:26 pm
Has thanked: 5 times

Re: SpongeBob SquarePants - Light Camera Pants (.SBT File)

Post by MertKilic » Thu Jun 05, 2014 10:56 pm

It worked! Thank you so so much! :)

Post Reply