Post Reply 
PRX compressor for FW3.5x M33
no more hex editing - easy prx compressor, decompressor
Author Message
s_king
Paradigmatic Apprentice

Posts: 36.1229
Threads: 1
Joined: 1st Aug 2007
Reputation: 0.98386
E-Pigs: 2.9328
Offline
Post: #81
RE: PRX compressor for FW3.5x M33
The program is working but I have to do a lot of tests before releasing. This is important on your behalf.

Implementing the module name and type recognizer took more time than I thought. The program now automatically sets the vsh or firmware kernel keys depends on the header file firmware and type, but if you load an unkown (like third party) prx, you have to select which keys do you want to use (because the program unable to determine it from the header), so I had to implement a manual key selector. And in addition I had to implement an auto/manual firmware selector if the header doesn't contain firmware version datas.

I tried to change the tempfile location to application directory, but I realized the best way is 'C:/TEMP' as before.

That's it for now, I think I will release it today if everything is ok in the tests.
(This post was last modified: 10/08/2007 05:42 AM by s_king.)
10/08/2007 05:16 AM
Find all posts by this user Quote this message in a reply
diego
poof

Posts: 7,826.1659
Threads: 264
Joined: 22nd Jun 2007
Reputation: 1.80067
E-Pigs: 37.4012
Offline
Post: #82
RE: PRX compressor for FW3.5x M33
ok no problem.

[Image: cce6aa9e-c40c-4ae7-aebe-d7780d6fc009.gif]
10/08/2007 05:34 AM
Find all posts by this user Quote this message in a reply
s_king
Paradigmatic Apprentice

Posts: 36.1229
Threads: 1
Joined: 1st Aug 2007
Reputation: 0.98386
E-Pigs: 2.9328
Offline
Post: #83
RE: PRX compressor for FW3.5x M33
PRX compressor v0.4 is out now. New options, new compressor, quick decompressor... check the first post for detailed informations. And give feedback as usual.
11/08/2007 04:10 PM
Find all posts by this user Quote this message in a reply
gsmoke
Noob

Posts: 2,184.2572
Threads: 103
Joined: 14th Apr 2007
Reputation: 1.65351
E-Pigs: 36.9914
Offline
Post: #84
RE: PRX compressor for FW3.5x M33
What can i say , thanks , the program is now looking different , and more complex i will start testing wright now .

Decompressing working as usual ... wow thanks , that's sweet , no more hex .

“Fear not for the future, weep not for the past.”
(This post was last modified: 11/08/2007 04:22 PM by gsmoke.)
11/08/2007 04:19 PM
Find all posts by this user Quote this message in a reply
ePirate
Paradigmatic Apprentice

Posts: 24.3959
Threads: 3
Joined: 16th Apr 2007
Reputation: 1.00938
E-Pigs: 0.7143
Offline
Post: #85
RE: PRX compressor for FW3.5x M33
hmmmm s_king, when I try to decompress the applecor paf.prx i get this:
[Image: paferrorrq3.png]

[Image: epiratesonicwd3.png]
[Image: romhaventag1fk9.png]
12/08/2007 01:19 PM
Find all posts by this user Quote this message in a reply
s_king
Paradigmatic Apprentice

Posts: 36.1229
Threads: 1
Joined: 1st Aug 2007
Reputation: 0.98386
E-Pigs: 2.9328
Offline
Post: #86
RE: PRX compressor for FW3.5x M33
ePirate, you are on Vista, right? You don't have "C:\TEMP" folder and because of that the program couldn't save the tempfile. Create that folder and problem solved.
12/08/2007 02:40 PM
Find all posts by this user Quote this message in a reply
matchung
Turok Makto

Posts: 1,744.2413
Threads: 180
Joined: 5th Mar 2007
Reputation: -1.62846
E-Pigs: 162.3154
Offline
Post: #87
RE: PRX compressor for FW3.5x M33
great update...

but i think it's easy to implement using current working directory(.\) instead of (c:\temp) as temp file storage.. it will eliminate the error when no c:\temp...
12/08/2007 04:35 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA
Smart Alternative

Posts: 17,023.4213
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.0333
Offline
Post: #88
RE: PRX compressor for FW3.5x M33
I generally use the directory where the program is stored in.  You should always delete the file after use, and when creating, check to see if the file exists and delete.

If that doesn't suit you, you can use the Windows temp directory.  Use the GetTempPath() API function to get the Windows temp folder.  This is much better than using C:\temp
If you dunno how to call API functions (I haven't used .NET so I can't help you unfortunately), it's probably a good idea to learn how (API functions are useful).  Microsoft's MSDN will outline the structure of API functions if you need a reference.
13/08/2007 01:54 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ePirate
Paradigmatic Apprentice

Posts: 24.3959
Threads: 3
Joined: 16th Apr 2007
Reputation: 1.00938
E-Pigs: 0.7143
Offline
Post: #89
RE: PRX compressor for FW3.5x M33
s_king Wrote:ePirate, you are on Vista, right? You don't have "C:\TEMP" folder and because of that the program couldn't save the tempfile. Create that folder and problem solved.

Thanks a lot s_king, ur a legend :)

[Image: epiratesonicwd3.png]
[Image: romhaventag1fk9.png]
13/08/2007 06:09 AM
Find all posts by this user Quote this message in a reply
s_king
Paradigmatic Apprentice

Posts: 36.1229
Threads: 1
Joined: 1st Aug 2007
Reputation: 0.98386
E-Pigs: 2.9328
Offline
Post: #90
RE: PRX compressor for FW3.5x M33
Guys, simply just call me a n00b.
I would have liked to use application diretory for tempfile creation. The reason why I chose "C:\TEMP" is that gzip had problems with folder names containing space char, like "Program files". But the only problem was I forgot to use quotation marks in path names... No comment. I will release a new version in a few hours which will solve this annoying problem, so no more C:\TEMP problem.

@ ZiNgA BuRgA: Thank you very much for your advice, I learn a lot from you.
13/08/2007 08:47 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

 Quick Theme: