Jump to content

[CTW|WIP] CTW editor - resource editing toolkit


gam3playa

Recommended Posts

CTW Editor:

 

Features:

 for archives:

  - Opening ROM.WAD

  - Opening GAME.PAK

  - Opening DXT.bin

 for resources:

  - Adding and removing resources (only for ROM.WAD)

  - Text viewing and replacement (gxt-files in ROM.WAD)

  - Texture viewing and replacement (in GAME.PAK and DXT.bin)

 

Game platforms support:

-Android (ROM.WAD, GAME.PAK, DXT.bin - view and editing, the best tested)

-PSP (ROM.WAD, GAME.PAK, - view and editing, good tested)

-NDS (Game.pak and ROM.WAD - view only, Tested a long time ago)

-IOS [Not tested]

 

Requirements:

-.NET Framework 4.5+

 

Screenshots:

Spoiler

[ROM.WAD Opened]

M2lRm6Y.png

 

[GAME.PAK (Android) Opened]

60qkCJn.png

 

[DXT.bin (Android) Opened with texture replacement]

blC5otM.png

 

Download:

CTW Editor build 6.3

 

Edited by gam3playa
New build => 6.3
Link to comment
Share on other sites

Igor Bogdanoff

With what versions is this compatible? DS, PSP, Mobile? All?

Link to comment
Share on other sites

3 hours ago, Sneed said:

With what versions is this compatible? DS, PSP, Mobile? All?

The best tested is PSP and Android platforms, NDS archives can be opened too but only for viewing content, NDS textures aren't supported for now.

Edited by gam3playa
  • Like 2
Link to comment
Share on other sites

Wannted Reneggade

Hi bro, how are you?

 

When I edit and save a text, either with the option "none" or "original", ROM.TOC changes to 0KB, and when importing the modified file in the ISO of the PSP version using UMDGen an error occurs. Do you have any idea what might be going on?

Link to comment
Share on other sites

3 hours ago, Wannted Reneggade said:

Hi bro, how are you?

 

When I edit and save a text, either with the option "none" or "original", ROM.TOC changes to 0KB, and when importing the modified file in the ISO of the PSP version using UMDGen an error occurs. Do you have any idea what might be going on?

 

Hello, man, i'm good, thanks ;)

Thank you for reporting.
I'll make a fix now.

  • Like 1
Link to comment
Share on other sites

8 hours ago, Wannted Reneggade said:

Hi bro, how are you?

 

When I edit and save a text, either with the option "none" or "original", ROM.TOC changes to 0KB, and when importing the modified file in the ISO of the PSP version using UMDGen an error occurs. Do you have any idea what might be going on?

Problem is fixed ;)

Build 6.1:
- fatal bugs fixes
- significally improved workability

 

download:

CTW Editor build 6.1

Also I've added the app's screenshots in this topic ;) 

  • Like 1
Link to comment
Share on other sites

Wannted Reneggade
18 minutes ago, gam3playa said:

Problem is fixed ;)

Build 6.1:
- fatal bugs fixes
- significally improved workability

 

download:

CTW Editor build 6.1

Also I've added the app's screenshots in this topic ;) 

Thanks, but the error still occurs when i save the edited text. 😔
 

abndVs3.png
0p4qW8t.png

Link to comment
Share on other sites

45 minutes ago, Wannted Reneggade said:

Thanks, but the error still occurs when i save the edited text. 😔
 

 

Oh my God...

That's weird 🤔

Which text file you were editing?

 

UPD:

If you want to operate with edited archives files, such as ROM.TOC, ROM.WAD, you should close the CTW Editor or open another archive.

I'll settle this moment later.

Edited by gam3playa
Link to comment
Share on other sites

Wannted Reneggade
45 minutes ago, gam3playa said:

Oh my God...

That's weird 🤔

Which text file you were editing?

Sorry, man, I don't know if I didn't wait long enough to save the file, but now it worked.

 

IVu6UQl.png

 

Congratulations on the excellent work, the editor works flawlessly! Thank you for your support.

  • Like 2
Link to comment
Share on other sites

3 hours ago, Wannted Reneggade said:

Sorry, man, I don't know if I didn't wait long enough to save the file, but now it worked.

 

IVu6UQl.png

 

Congratulations on the excellent work, the editor works flawlessly! Thank you for your support.

I'm glad that you could do it :)

So it worked after a while? How long, bro?

Link to comment
Share on other sites

Wannted Reneggade
9 hours ago, gam3playa said:

I'm glad that you could do it :)

So it worked after a while? How long, bro?

Thank you.

 

In fact, I realized that the file was saved correctly after I closed the editor. After I save the edited text with the editor open, ROM.TOC has 0KB, but when I close the editor, ROM.TOC returns to its normal size.

Link to comment
Share on other sites

Wannted Reneggade

I don't know if it's a bug, but when I'm going to export a .bin file from ROM.WAD (PSP), nothing happens, the file is not exported. By the way, do you have plans to add a .bin editing feature in the future? I mean, the single .bin files inside the ROM.WAD, not the DXT.bin.

Edited by Wannted Reneggade
Link to comment
Share on other sites

6 hours ago, Wannted Reneggade said:

In fact, I realized that the file was saved correctly after I closed the editor. After I save the edited text with the editor open, ROM.TOC has 0KB, but when I close the editor, ROM.TOC returns to its normal size.


Build 6.2:
-Added "Close archive" feature
-Archives changes are writing immediately to disc.
-Bug fixes

CTW Editor build 6.2

2 hours ago, Wannted Reneggade said:

I don't know if it's a bug, but when I'm going to export a .bin file from ROM.WAD (PSP), nothing happens, the file is not exported.

Okay I'l check it ;)

 

Quote

By the way, do you have plans to add a .bin editing feature in the future? I mean, the single .bin files inside the ROM.WAD, not the DXT.bin.

That would be an interesting feature :-)

  • Like 1
Link to comment
Share on other sites

Wannted Reneggade
1 hour ago, gam3playa said:

Build 6.2:
-Added "Close archive" feature
-Archives changes are writing immediately to disc.
-Bug fixes

 

Nice update

 

1 hour ago, gam3playa said:

Okay I'l check it ;)

 

Thanks, man. I checked this new build 6.2 and the .bin file is still not exported here.

 

1 hour ago, gam3playa said:

That would be an interesting feature :-)

 

I hope it's possible, congratulations on the work, the editor is getting better and better :D

Link to comment
Share on other sites

On 1/23/2021 at 11:09 PM, Wannted Reneggade said:

I don't know if it's a bug, but when I'm going to export a .bin file from ROM.WAD (PSP), nothing happens, the file is not exported. 


Build 6.3
-Fixed resource's extraction

 

Download:

CTW Editor build 6.3

  • Like 1
Link to comment
Share on other sites

5 hours ago, Pootispowse said:

This is very very cool man. 

 

Can we potentially change the ped/player sprites with this tool?


Yes, sure ;)
I've found PSP sprites
pK3pbUp.png

Android sprites isn't found yet ¯\_(ツ)_/¯

  • Like 1
Link to comment
Share on other sites

Wannted Reneggade
2 hours ago, gam3playa said:

Build 6.3
-Fixed resource's extraction

 

Download:

CTW Editor build 6.3

 

This new version is being detected as a false positive by Windows Defender and does not open here, I click on the .exe and nothing happens, it doesn't even appear in the list of processes in the task manager, even adding the program to the Windows Defender exclusion list. I thought the problem was with my computer, but I asked a friend to test it and he said that the same thing happens. Build 6.2 works normally.

Edited by Wannted Reneggade
Link to comment
Share on other sites

55 minutes ago, Wannted Reneggade said:

 

This new version is being detected as a false positive by Windows Defender and does not open here, I click on the .exe and nothing happens, it doesn't even appear in the list of processes in the task manager, even adding the program to the Windows Defender exclusion list. I thought the problem was with my computer, but I asked a friend to test it and he said that the same thing happens. Build 6.2 works normally.

What a...

Can you record a video with Defender's message?

  • Like 1
Link to comment
Share on other sites

Wannted Reneggade
56 minutes ago, gam3playa said:

What a...

Can you record a video with Defender's message?

 

Yep. I sent you a private message with the video.

Link to comment
Share on other sites

29 minutes ago, gam3playa said:

Sounds weird 🤔

Don't remember I had plans to make a malicious code 😂

 

Probably just a false error. It no longer gives that message on the 6.3 version.

 

I'll try it out now!

 

Is this able to edit the PSP ISO directly? Or should we extract the files and rebuild it using UMDGen?

 

Also, is there any method to search the GXT text for specific words?

Edited by djdarko
Link to comment
Share on other sites

17 hours ago, djdarko said:

is this able to edit the PSP ISO directly? Or should we extract the files and rebuild it using UMDGen?

 

Also, is there any method to search the GXT text for specific words?

No, these features aren't available.

  • Like 1
Link to comment
Share on other sites

Wannted Reneggade
6 hours ago, gam3playa said:

No, these features aren't available.

 

Hi, bro. I know I’ve already given lots of suggestions and you may already be tired, but do you have any plans to add a search feature in the future if possible? Something like Ctrl + F, to search for text in .gxt files or even resources/files, this would help a lot.

 

Thank you so much :)

Link to comment
Share on other sites

21 hours ago, Wannted Reneggade said:

 

Hi, bro. I know I’ve already given lots of suggestions and you may already be tired, but do you have any plans to add a search feature in the future if possible? Something like Ctrl + F, to search for text in .gxt files or even resources/files, this would help a lot.

 

Thank you so much :)

Hello, dude

Pretty good idea.

I should implement it in near future ;)

 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.