Post: question on .toc and .sb files/ decrypted initfs_ps3
12-06-2011, 03:24 AM #1
Fox243
[b]Elite Founder[/b]
(adsbygoogle = window.adsbygoogle || []).push({}); kk so i managed to get in to the initfs_ps3 theres a few graphic setting u can change like taking out shadows and stuff in game but there no major things to mod so i was wonder if any one nos how to get in to the .sb files like i can decrypt the .toc files but cant actrualy get to the files within the zip part if any one has any info it would be nice im trying to get in to weapons.toc and .sb but not having much luck at the moment
initfs_ps3~~~this is the decrypted one i put the header at the top so all u got to do is edit it and put back on ps3 and it will load side note u have to edit it in hex editor if u do it in notepad ++ it will change file size and freeze game on boot
You must login or register to view this content.


this will decrypt the .toc files
    import sys

header="\x00\xD1\xCE"+"\x00"*5+"""xa37dd45ffe100bfffcc9753aabac325f07cb3fa231144fe2e33a\
e4783feead2b8a73ff021fac326df0ef9753ab9cdf6573ddff0312fab0b0ff39779eaff312a4f5de65892ff\
ee33a44569bebf21f66d22e54a22347efd375981188743afd99baacc342d88a99321235798725fedcbf4325\
2669dade32415fee89da543bf23d4ex"""+30*"\x00"+257*"\x7b"+3*"\x00"

filename = sys.argv[1]

f1=open(filename,"rb")
if f1.read(4)=="\x00\xD1\xCE\x00":
f2=open(filename+".txt","wb")
f2.write(header)
f1.seek(296)
magic=[]
for i in range(257):
magic.append(ord(f1.read(1)))
f1.seek(3,1)
data=f1.read()
f1.close()
buff=""
print "Megabytes processed so far: "
for i in xrange(len(data)):
buff+=chr(magic[i%257]^ord(data[i])^0x7b)
if i%128==0:
f2.write(buff)
buff=""
if i%1000000==0:
print i/1000000
f2.write(buff)
f2.close()


---------- Post added at 11:24 PM ---------- Previous post was at 08:00 PM ----------

Kk so I figured out common.bat is were the ammo and ammomags are so just have to decrypt the rest of the file and should be able to mod the guns fire range and Ammo ect..
(adsbygoogle = window.adsbygoogle || []).push({});
12-06-2011, 03:35 AM #2
Vanz
Z32 Love <3
Originally posted by fox243 View Post
kk so i managed to get in to the initfs_ps3 theres a few graphic setting u can change like taking out shadows and stuff in game but there no major things to mod so i was wonder if any one nos how to get in to the .sb files like i can decrypt the .toc files but cant actrualy get to the files within the zip part if any one has any info it would be nice im trying to get in to weapons.toc and .sb but not having much luck at the moment
initfs_ps3~~~this is the decrypted one i put the header at the top so all u got to do is edit it and put back on ps3 and it will load side note u have to edit it in hex editor if u do it in notepad ++ it will change file size and freeze game on boot
You must login or register to view this content.


this will decrypt the .toc files
    import sys

header="\x00\xD1\xCE"+"\x00"*5+"""xa37dd45ffe100bfffcc9753aabac325f07cb3fa231144fe2e33a\
e4783feead2b8a73ff021fac326df0ef9753ab9cdf6573ddff0312fab0b0ff39779eaff312a4f5de65892ff\
ee33a44569bebf21f66d22e54a22347efd375981188743afd99baacc342d88a99321235798725fedcbf4325\
2669dade32415fee89da543bf23d4ex"""+30*"\x00"+257*"\x7b"+3*"\x00"

filename = sys.argv[1]

f1=open(filename,"rb")
if f1.read(4)=="\x00\xD1\xCE\x00":
f2=open(filename+".txt","wb")
f2.write(header)
f1.seek(296)
magic=[]
for i in range(257):
magic.append(ord(f1.read(1)))
f1.seek(3,1)
data=f1.read()
f1.close()
buff=""
print "Megabytes processed so far: "
for i in xrange(len(data)):
buff+=chr(magic[i%257]^ord(data[i])^0x7b)
if i%128==0:
f2.write(buff)
buff=""
if i%1000000==0:
print i/1000000
f2.write(buff)
f2.close()


---------- Post added at 11:24 PM ---------- Previous post was at 08:00 PM ----------

Kk so I figured out common.bat is were the ammo and ammomags are so just have to decrypt the rest of the file and should be able to mod the guns fire range and Ammo ect..

What game is this from? :love:
12-06-2011, 04:00 AM #3
Fox243
[b]Elite Founder[/b]
its from bf3 patch
12-06-2011, 04:11 AM #4
192.168.1.1
Slave of the sky.
Originally posted by chasekiller View Post
What game is this from? :love:


Lmaoooo! How'd you get to this thread?...

---------- Post added at 11:11 PM ---------- Previous post was at 11:08 PM ----------

Originally posted by fox243 View Post
kk so i managed to get in to the initfs_ps3 theres a few graphic setting u can change like taking out shadows and stuff in game but there no major things to mod so i was wonder if any one nos how to get in to the .sb files like i can decrypt the .toc files but cant actrualy get to the files within the zip part if any one has any info it would be nice im trying to get in to weapons.toc and .sb but not having much luck at the moment
initfs_ps3~~~this is the decrypted one i put the header at the top so all u got to do is edit it and put back on ps3 and it will load side note u have to edit it in hex editor if u do it in notepad ++ it will change file size and freeze game on boot
You must login or register to view this content.


this will decrypt the .toc files
    import sys

header="\x00\xD1\xCE"+"\x00"*5+"""xa37dd45ffe100bfffcc9753aabac325f07cb3fa231144fe2e33a\
e4783feead2b8a73ff021fac326df0ef9753ab9cdf6573ddff0312fab0b0ff39779eaff312a4f5de65892ff\
ee33a44569bebf21f66d22e54a22347efd375981188743afd99baacc342d88a99321235798725fedcbf4325\
2669dade32415fee89da543bf23d4ex"""+30*"\x00"+257*"\x7b"+3*"\x00"

filename = sys.argv[1]

f1=open(filename,"rb")
if f1.read(4)=="\x00\xD1\xCE\x00":
f2=open(filename+".txt","wb")
f2.write(header)
f1.seek(296)
magic=[]
for i in range(257):
magic.append(ord(f1.read(1)))
f1.seek(3,1)
data=f1.read()
f1.close()
buff=""
print "Megabytes processed so far: "
for i in xrange(len(data)):
buff+=chr(magic[i%257]^ord(data[i])^0x7b)
if i%128==0:
f2.write(buff)
buff=""
if i%1000000==0:
print i/1000000
f2.write(buff)
f2.close()


---------- Post added at 11:24 PM ---------- Previous post was at 08:00 PM ----------

Kk so I figured out common.bat is were the ammo and ammomags are so just have to decrypt the rest of the file and should be able to mod the guns fire range and Ammo ect..


I'm not sure if this will be of any use to you but I'm hoping it helps with the .sb files.

"The sbtoelf utility which can be found in the Rockbox svn (next to elftosb) is able to decrypt and extract data from a .sb file, and can repack the code in several ELF files."

You must login or register to view this content.
12-06-2011, 10:29 PM #5
Vanz
Z32 Love <3
Originally posted by Malicious View Post
Lmaoooo! How'd you get to this thread?...

---------- Post added at 11:11 PM ---------- Previous post was at 11:08 PM ----------



I'm not sure if this will be of any use to you but I'm hoping it helps with the .sb files.

"The sbtoelf utility which can be found in the Rockbox svn (next to elftosb) is able to decrypt and extract data from a .sb file, and can repack the code in several ELF files."

You must login or register to view this content.

Sorry my goggle chrome was be gay so it would show the sections :wtf:
07-20-2015, 01:48 AM #6
veedus
Gobble
guys i need help for battle field 3 i need the bom.fb2 and weapons.toc files please anyone if u stil have it??
07-20-2015, 01:57 AM #7
veedus
Gobble
guys i need help for battle field 3 pc game i need the bom.fb2 and weapons.toc files please anyone if u stil have it??

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo