Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Thu Mar 28, 2024 8:40 pm
All times are UTC + 0
I updated my APT tools to fix bugs and make them work...
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [4 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
jonwil
Rocket Infantry


Joined: 24 Jul 2005

PostPosted: Sun May 23, 2021 1:28 pm    Post subject:  I updated my APT tools to fix bugs and make them work... Reply with quote  Mark this post and the followings unread

You can get the updated source code from https://github.com/jonwil/cc3tools
https://github.com/jonwil/aptdump contains all the latest information and research into the APT UI files (thanks to debug builds and symbol files for Battlefield Bad Company 2, Need for Speed Undercover and a few other EA games that also use APT)

Changes made:
Fixed issues to do with apt2xml strings containing & characters.
Fixed an issue where apt2xml wasn't correctly writing the screen size values to the XML file and where xml2apt wasn't correctly reading the screen size values from the xml file.
Fixed various issues where the APT writing code was incorrectly writing things to the APT files.

Note that you will need to re-run apt2xml on the APT file otherwise xml2apt wont work properly.

I have tested this against the stock APT UI files of Command & Conquer 3: Tiberium Wars and Red Alert 3. It hasn't been tested against the APT UI files of Command & Conquer 3: Kane's Wrath or Red Alert 3: Uprising but it should work with those files. It will not work at all with the APT UI files of  The Lord of the Rings Battle For Middle Earth 2 or Command & Conquer 4 Tiberian Twilight as those have known differences in the format. The only known file it doesn't work with is the sampleMissionBriefing file from RA3, I haven't been able to figure out why its not working.

I compared the "Official C&C3 UI source files" in https://ppmforums.com/topic-41364/tiberium-wars-kanes-wrath-editing-tools-and-assets-list/ with the files in the actual game and found that TacticalHUD is different and TacticalObjectivePopupFrame in the "Official C&C3 UI source files" doesn't exist in the game.

I also compared the "Official UI screens art source pack" in https://ppmforums.com/topic-41365/red-alert-3-editing-tools-and-assets-list/ with the files in the actual game and found that igm_pausemenu is different. Also PortraitCommandButton, TacticalHUDCommonCommandBar, TacticalHUDRedAlertButton, TacticalHUDThreatMeter, TacticalNewIntelligencePopUp, TacticalObjectiveCompletedPopUp, TacticalObjectivesDialog, TacticalPauseDialog, UnitSecondaryAbilityCommandButton, feg_comLink, feg_m_login, feg_optionsSettings, fem_m_mpMenu, fem_m_onlineLobby and fes_m_missionBriefingTEMP exist in the game but not in the "Official UI screens art source pack".

So if you are editing the APT UI, make sure you use the version from in the games and not the version from the published source files.

I tested against the in-game files from C&C3 and RA3 and all of them correctly decode with apt2xml, correctly encode with xml2apt and should work correctly in-game (except the aformentioned sampleMissionBriefing from RA3)

Please let me know if you find any bugs, files that don't work correctly in-game after encoding with apt2xml or other issues. Or if you have any questions, comments or information to share.



cc3tools.zip
 Description:

Download
 Filename:  cc3tools.zip
 Filesize:  1.41 MB
 Downloaded:  61 Time(s)


Back to top
View user's profile Send private message
jonwil
Rocket Infantry


Joined: 24 Jul 2005

PostPosted: Sun May 23, 2021 9:04 pm    Post subject: Reply with quote  Mark this post and the followings unread

I fixed the color issue.



cc3tools.zip
 Description:

Download
 Filename:  cc3tools.zip
 Filesize:  1.41 MB
 Downloaded:  12 Time(s)


Back to top
View user's profile Send private message
jonwil
Rocket Infantry


Joined: 24 Jul 2005

PostPosted: Fri May 28, 2021 6:36 am    Post subject: Reply with quote  Mark this post and the followings unread

I fixed some other issues with colors not being converted properly with apt2xml and xml2apt.

If you already have an xml file, you will need to make a fresh one with the new apt2xml (either from the original game apt or if you have changed it, your own changed apt) otherwise the colors wont be correct.



cc3tools.zip
 Description:

Download
 Filename:  cc3tools.zip
 Filesize:  1.41 MB
 Downloaded:  23 Time(s)


Back to top
View user's profile Send private message
jonwil
Rocket Infantry


Joined: 24 Jul 2005

PostPosted: Fri Sep 17, 2021 3:07 pm    Post subject: Reply with quote  Mark this post and the followings unread

I fixed some bugs in eaf2swf and it now works correctly for all the eaf files from both the C&C3 and RA3 UI packs (the latest version as released by EA).

New exe is below, source code is at the link in the earlier post.



eaf2swf.zip
 Description:

Download
 Filename:  eaf2swf.zip
 Filesize:  126.2 KB
 Downloaded:  13 Time(s)


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1654s ][ Queries: 13 (0.0088s) ][ Debug on ]