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 Mon Dec 29, 2025 9:06 pm
All times are UTC + 0
Presenting an even bigger revolution in SAGE UI editing
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [1 Post] Mark the topic unread ::  View previous topic :: View next topic
Author Message
jonwil
Rocket Infantry


Joined: 24 Jul 2005

PostPosted: Tue Dec 23, 2025 10:40 pm    Post subject:  Presenting an even bigger revolution in SAGE UI editing Reply with quote  Mark this post and the followings unread

Thanks to EA publishing the source code to ImagePacker as part of the C&C Generals source release, I have been able to make my SAGE UI editing tools even better.

Now you can edit SAGE UI the way EALA did back in the day and get usable output (including properly packed textures).

You can download the tools from
https://mega.nz/file/i48DybTB#CTVow2EapX5prmehlKScoOPdg7HEjFtkZ0rokf53OSs
You can get the source code from
https://github.com/jonwil/swf2apt

You also need one of the following UI packs:
Tiberium Wars: https://mega.nz/file/L48VkISJ#Fbn8nQft1nKMgIECNGL6IlYX7HA6XxMewyedG9MRs5U
Kane's Wrath: https://mega.nz/file/z59GwaSB#OI9CaEba54DJarGWjQLG_GGs5nW-wlAWH6SgO5l_CCI
Red Alert 3: https://mega.nz/file/ah8UXZQD#STDR2VUKf3G36wVrZiIrVh4yWV1uB24Sks0UeVRX-PU
Uprising: https://mega.nz/file/2hdVCRja#DKEXE299xz5LpN_LWeQA4xd2357S_f-EMAXrIYNPDls
Tiberian Twilight: https://mega.nz/file/f5dw1CyQ#d5rsHURBF5w15QSzsmoYISHEB3KH85Hkuk19aLnoMnA

All 5 packs match the last released patch for the 5 games and contain source swf files.

To use it, you need to:
1.Download the program and unpack it into a location of your choosing
2.Download the right UI pack for the game you want to mod
3.Figure out which UI element you want to edit
4.Take the .swf file from that UI element and edit it with a tool that edits Flash swf files (no I am not going to provide a tutorial here on how to edit swf files)
5.Once you have an edited swf file, you run "eaf2apt <filename> <outpath>" where <filename> is the path to the swf file. and <outpath> is the location where you want the output to be generated in (it needs to be a path that doesn't exist and/or can be erased since eaf2apt will delete the contents of that path). Add --ra3 to the end of the command line if you are modding RA3 or Uprising and --tt to the end of the command line if you are modding TT
6.That will generate a set of files you can include in your mod. If you don't know how to use UI stuff in your mod, this tool probably isn't for you...

Feel free to modify the source code and to distribute your modifications but if you distribute modified binaries you also need to distribute modified source code to comply with the various licenses and I would appreciate a heads up that you are doing things with my code Smile

Any questions about this stuff or how to use it (e.g. if the instructions aren't clear), please feel free to post here or hit me up on Discord (I am "Jonathan Wilson" on most of the C&C/SAGE/modding discords)

If you want to know more about how this works internally, read the source code (or ask me questions on Discord Smile

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] 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.2634s ][ Queries: 11 (0.0085s) ][ Debug on ]