Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Star Wars
Update....
I have seen the error of my ways...
The file pointer info is correct for the Patch_13.tre file. So, after doing a full sweep and checking. I figured the problem in the coding. I was starting the TRE file index at 1. The number in the file info area starts at 0.
So, after changing a few lines...BINGO.
Unfortunately, I do not think this will be of much help to anyone since my code is in PHP. There are 12 specific files I need to extract then run through another PHP script to generate a Database for a Web Character Builder.
(PHP compiled with zlib, and I have to do 2 passes on compresses files because some respond to gzuncompress while others need gzinflate)
Basically, once my gaming machine grabs an update, run the PHP script on the server and it automatically extracts the files, parses them for the info needed and builds it's database automatically. Takes about 5 minutes for the entire process and the Web Character Builder is up-to-date on the latest version information.
I have seen the error of my ways...
The file pointer info is correct for the Patch_13.tre file. So, after doing a full sweep and checking. I figured the problem in the coding. I was starting the TRE file index at 1. The number in the file info area starts at 0.
So, after changing a few lines...BINGO.
Unfortunately, I do not think this will be of much help to anyone since my code is in PHP. There are 12 specific files I need to extract then run through another PHP script to generate a Database for a Web Character Builder.
(PHP compiled with zlib, and I have to do 2 passes on compresses files because some respond to gzuncompress while others need gzinflate)
Basically, once my gaming machine grabs an update, run the PHP script on the server and it automatically extracts the files, parses them for the info needed and builds it's database automatically. Takes about 5 minutes for the entire process and the Web Character Builder is up-to-date on the latest version information.
-
- ultra-n00b
- Posts: 2
- Joined: Sun Aug 21, 2005 4:27 pm
-
- ultra-n00b
- Posts: 2
- Joined: Sun Aug 21, 2005 4:27 pm
There are quite a few people out there able to extract the files but none have made a public release. This is probably due to the fact that they have no workable GUI and they just extract every file at once.BeavisUbutthole wrote:I think someone beat you guys to the punch. There seems to be an other way of opening files. Their some guy on the SWG forums claiming all types of stuff that "some member of a friend sends me files".
So PLEASE don't stop working on this! A dev has confirmed that stuff from the new expansion is already in the TREs so there are lots of people eager to start digging!
Its true, they are going crazy all over the forum. I hope its only a matter of time before they update one of the older programs with the new file format.Maxitron wrote:There are quite a few people out there able to extract the files but none have made a public release. This is probably due to the fact that they have no workable GUI and they just extract every file at once.BeavisUbutthole wrote:I think someone beat you guys to the punch. There seems to be an other way of opening files. Their some guy on the SWG forums claiming all types of stuff that "some member of a friend sends me files".
So PLEASE don't stop working on this! A dev has confirmed that stuff from the new expansion is already in the TREs so there are lots of people eager to start digging!
Isnt that the same way SWGExplorer works?doritos wrote:Update....
I have seen the error of my ways...
The file pointer info is correct for the Patch_13.tre file. So, after doing a full sweep and checking. I figured the problem in the coding. I was starting the TRE file index at 1. The number in the file info area starts at 0.
So, after changing a few lines...BINGO.
Unfortunately, I do not think this will be of much help to anyone since my code is in PHP. There are 12 specific files I need to extract then run through another PHP script to generate a Database for a Web Character Builder.
(PHP compiled with zlib, and I have to do 2 passes on compresses files because some respond to gzuncompress while others need gzinflate)
Basically, once my gaming machine grabs an update, run the PHP script on the server and it automatically extracts the files, parses them for the info needed and builds it's database automatically. Takes about 5 minutes for the entire process and the Web Character Builder is up-to-date on the latest version information.
I believe so, and for thos einterested SWGExplorer comes with its source. http://swgexplorer.dras.us/swgexplorer.htmhimfan wrote:Isnt that the same way SWGExplorer works?doritos wrote:Update....
I have seen the error of my ways...
The file pointer info is correct for the Patch_13.tre file. So, after doing a full sweep and checking. I figured the problem in the coding. I was starting the TRE file index at 1. The number in the file info area starts at 0.
So, after changing a few lines...BINGO.
Unfortunately, I do not think this will be of much help to anyone since my code is in PHP. There are 12 specific files I need to extract then run through another PHP script to generate a Database for a Web Character Builder.
(PHP compiled with zlib, and I have to do 2 passes on compresses files because some respond to gzuncompress while others need gzinflate)
Basically, once my gaming machine grabs an update, run the PHP script on the server and it automatically extracts the files, parses them for the info needed and builds it's database automatically. Takes about 5 minutes for the entire process and the Web Character Builder is up-to-date on the latest version information.
-
- ultra-n00b
- Posts: 1
- Joined: Tue Aug 23, 2005 12:18 pm
ok the files are all seperated by hex(00)
now count which file it is from beginning of them starting at 0 or 1
if you get the right number go to position after the tre file list and start to count. 24 bytes are one data unit like described in my summary, so you have to count 24 * [your number] bytes.
just look the following data and read the 2nd word and you will see in which tre file it is, which are listed at the top of the toc file (also remember where the data starts inside the tre file =) ).
now you should be able to find the right position
now count which file it is from beginning of them starting at 0 or 1
if you get the right number go to position after the tre file list and start to count. 24 bytes are one data unit like described in my summary, so you have to count 24 * [your number] bytes.
just look the following data and read the 2nd word and you will see in which tre file it is, which are listed at the top of the toc file (also remember where the data starts inside the tre file =) ).
now you should be able to find the right position