* Login   * Register


Last visit was:
It is currently 06 Sep 2010, 23:58




Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: CTF/UNCTF command line tool for PC (support 5.00)
PostPosted: 17 Mar 2008, 23:12 
Offline
Site Admin
User avatar

Joined: 25 Aug 2007, 15:54
Posts: 439
11/11:
support 5.00
Attachment:
File comment: support 5.00
ctftools.rar [29.55 KiB]
Downloaded 2534 times


7/3:
Attachment:
File comment: 7/3, fixed ctf.exe, not including wallpaper / header address error
ctf_0703.zip [31.31 KiB]
Downloaded 2210 times

fixed ctf.exe, not including wallpaper / header address error

7/2/2008:
update for support 4.01CFW:
Quote:
you need decrypted paf/vshmain/common_gui in /support/401/
需要解密的 paf/vshmain/common_gui 放 /support/401/


by hrimfaxi...
http://www.2alien.info/2008/03/hrimfaxi ... ftool.html

for creating CTF, PAF/VSH/COMMON_PLUGIN PRX from theme packs MUST BE de-compressed
生成CTF時,主題的PAF/VSH/COMMON_PLUGIN PRX必須是解壓的


Quote:
orignial thread if u understand chinese :
http://bbs.pspchina.net/viewthread.php? ... a=page%3D1


eng. readme:
Quote:
here is a rough translation of the Chinese readme:

CTF:
REQUIREMENTS
A support folder contains decrypted official vshmain.prx,common_gui.prx,paf.prx at the same level.
|-ctf.exe
|-support
| |-371
| | |-official prx
| |-390
| | |-official prx

USAGE:
ctf -o XXX.ctf -p XXX.ptf [-s 390] [dirs] [files]
-o output ctf filename
-p input ptf filename
-s CTF version number (390 default)
dir traditional flash ready theme folder(current folder default)
files additional files

UNCTF:
REQUIREMENTS
A support folder contains decrypted official vshmain.prx,common_gui.prx,paf.prx at the same level.
|-unctf.exe
|-support
| |-371
| | |-official prx
| |-390
| | |-official prx
|-source.ctf

USAGE:
place the ctf at the same level
unctf xxx.ctf


中文說明:
Quote:
ctf CTF打包工具

运行要求:
CTF可以将文件打包成CXMB 08/03/13版本的CTF文件
└─support
├─390 这个目录里放390版本的已解密、已解压PRX
└─371 这个目录里放371版本的已解密、已解压PRX

PRX列表:
/vsh/module/paf.prx
/vsh/module/common_gui.prx
/vsh/module/vshmain.prx

用法: ctf -o XXX.ctf -p XXX.ptf [-s 390] [dirs] [files]

-o 设置输出CTF文件名
-p 设置输入PTF文件名
-s 设置CTF版本号
如果不加-s,默认为生成3.90固件所使用的CTF文件。
如果不设置自定义加入的文件目录,默认将从以下位置(同一目录里)加入文件:
"/data/cert",
"/dic",
"/font",
"/kd",
"/kd/resource",
"/vsh/etc",
"/vsh/module",
"/vsh/resource"

目录批量加入只支持加入以下后缀名文件:
".prx",
".rco",
".bmp",
".pmf",
".res",
".pgf",
".bwfon",
".rsc",
".dat",
".img",
".bin",
".cet",
".dic"

如果有不是以上类型的文件要加入,必须手工加入文件名,如:
ctf vsh vsh/hello.txt
vsh/hello.txt才会被强制加入
------------------------------------------------------------
unCTF CTF解压工具,可以将CTF文件解压。

运行要求:
unCTF可以解压CXMB 08/03/13版本的CTF文件
└─support
├─390 这个目录里放390版本的已解密、已解压PRX
└─371 这个目录里放371版本的已解密、已解压PRX

PRX列表:
/vsh/module/paf.prx
/vsh/module/common_gui.prx
/vsh/module/vshmain.prx

运行方法:
CTF文件必须和unCTF在同一目录。
在命令提示符中输入:unCTF XXX.CTF

unCTF将把CTF文件解压:

├─font
└─vsh
├─module
└─resource

CTF生成时用到的PTF文件也会被解压在同一目录。

解压后的文件可以用CXMB重新生成.ctf文件。可能重新的生成的CTF文件同原有文件不同,没有什么大碍。
具体生成方法参考CXMB说明书。


Top
 Profile Send private message  
 
 Post subject: Re: CTF/UNCTF command line tool for PC
PostPosted: 18 Mar 2008, 04:33 
Offline
User avatar

Joined: 09 Mar 2008, 06:55
Posts: 93
Location: Philippines
Now a decompiler for ctf! :mrgreen:

Edit1:
unctf works fine but I keep getting errors with ctf.exe...

Code:
ctf -o DNA.ctf -p DNA.ptf
File#01: /font/ltn0.pgf (43832 bytes)
File#02: /vsh/module/common_gui.prx (102 bytes)
Make patch support\390\paf.prx to vsh\module\paf.prx failed!

This application has requested the Runtime to terminate it in an unu
Please contact the application's support team for more information.


Edit2:
... but seems to work if the ptf and other flash0 files came from those produced from unctf's decompiling...

Code:
ctf -o Black32.ctf -p Black32.ptf
File#01: /font/LTN0.PGF (45184 bytes)
File#02: /vsh/module/common_gui.prx (4 bytes)
File#03: /vsh/module/lftv_plugin.prx (20234 bytes)
File#04: /vsh/module/opening_plugin.prx (67704 bytes)
File#05: /vsh/module/paf.prx (8 bytes)
File#06: /vsh/resource/01-12.BMP (30313 bytes)
File#07: /vsh/resource/GAMEBOOT.PMF (229376 bytes)
File#08: /vsh/resource/game_plugin.rco (51752 bytes)
File#09: /vsh/resource/impose_plugin.rco (72820 bytes)
File#10: /vsh/resource/msvideo_main_plugin.rco (217500 bytes)
File#11: /vsh/resource/music_browser_plugin.rco (63976 bytes)
File#12: /vsh/resource/netconf_dialog.rco (77780 bytes)
File#13: /vsh/resource/opening_plugin.rco (65568 bytes)
File#14: /vsh/resource/osk_plugin.rco (592792 bytes)
File#15: /vsh/resource/photo_browser_plugin.rco (85936 bytes)
File#16: /vsh/resource/sysconf_plugin.rco (227848 bytes)
File#17: /vsh/resource/system_plugin.rco (176456 bytes)
File#18: /vsh/resource/system_plugin_bg.rco (41552 bytes)
File#19: /vsh/resource/system_plugin_fg.rco (24636 bytes)
File#20: /vsh/resource/topmenu_icon.rco (59616 bytes)
File#21: /vsh/resource/topmenu_plugin.rco (31780 bytes)
File#22: /vsh/resource/visualizer_plugin.rco (26836 bytes)
File Count: 22
SHA1 Sig: f5434bc5

_________________
Image


Top
 Profile Send private message  
 
 Post subject: Re: CTF/UNCTF command line tool for PC
PostPosted: 18 Mar 2008, 13:10 
Offline

Joined: 18 Mar 2008, 13:09
Posts: 2
Does this support 3.80? Cause I don't see a folder for 380...


Top
 Profile Send private message  
 
 Post subject: Re: CTF/UNCTF command line tool for PC
PostPosted: 18 Mar 2008, 13:18 
Offline
User avatar

Joined: 09 Mar 2008, 06:55
Posts: 93
Location: Philippines
dHAPPY wrote:
Does this support 3.80? Cause I don't see a folder for 380...


You'd have to ask hrimfaxi himself. You can post a query in the link matchung provided. hrimfaxi can reply to you in English :mrgreen:

_________________
Image


Top
 Profile Send private message  
 
 Post subject: Re: CTF/UNCTF command line tool for PC
PostPosted: 18 Mar 2008, 13:36 
Offline
Site Admin
User avatar

Joined: 25 Aug 2007, 15:54
Posts: 439
it seems based on v3.0,may not work on 380
recommend to unctf only coz ctf cant preview result


Top
 Profile Send private message  
 
 Post subject: Re: CTF/UNCTF command line tool for PC
PostPosted: 19 Mar 2008, 01:06 
Offline

Joined: 13 Mar 2008, 20:55
Posts: 38
sweet lil app! :) I was hoping the common_gui from the organ ctf would fix my infobar in the theme...but it didnt...BUT i was able to successfully extract everything :) hehehe the more updates you guys do the more i wish i knew how to write programs...


Top
 Profile Send private message  
 
 Post subject: Re: CTF/UNCTF command line tool for PC
PostPosted: 19 Mar 2008, 09:16 
Offline
Site Admin
User avatar

Joined: 25 Aug 2007, 15:54
Posts: 439
testing the ctf a while.

it works only:
1. all folder should be same level with exe file, cant use [dir[] parameters..
2. all 3 main prx (common/vsh/paf) must be de-compressed as i said.


Top
 Profile Send private message  
 
 Post subject: Re: CTF/UNCTF command line tool for PC
PostPosted: 19 Mar 2008, 16:12 
Offline

Joined: 20 Sep 2007, 15:51
Posts: 37
have tried dragging the ctf file on unctf.exe and i noticed comes up the vsh folder and the ptf file...but if the thing is the resource folder on vsh is missing...

what actually was wrong on that???


Top
 Profile Send private message  
 
 Post subject: Re: CTF/UNCTF command line tool for PC
PostPosted: 19 Mar 2008, 16:15 
Offline
Site Admin
User avatar

Joined: 25 Aug 2007, 15:54
Posts: 439
smokepsp32 wrote:
have tried dragging the ctf file on unctf.exe and i noticed comes up the vsh folder and the ptf file...but if the thing is the resource folder on vsh is missing...

what actually was wrong on that???

if u want drag & drop, u need to make a batch file to achieve.

u should use command prompt & type manually


Top
 Profile Send private message  
 
 Post subject: Re: CTF/UNCTF command line tool for PC
PostPosted: 30 Jun 2008, 02:29 
Offline

Joined: 29 Jun 2008, 08:25
Posts: 6
all mine says is 0 files found so what do i do?
i have a theme and all i did is change the font but i really dont know how to get the vsh and font folder to get into the ctf thing... im a noob...


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next


Who is online

Users browsing this forum: No registered users and 1 guest


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

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
phpBB2 template by N.Design Studio
phpBB3 template by SE-Tuning