Welcome, Guest
Username: Password: Remember me
General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.
  • Page:
  • 1

TOPIC:

Resource types: *.ctrs and *.res 1 month 1 day ago #18679

  • Roman
  • Roman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 110
  • Thank you received: 0
I noticed that all components use resource files *.res, and when creating a package using СT, a *.сtrs file is created.
I think that *.res is "de facto" standard, while *.ctrs is specific to Typhon.
I would like to design my components as a package "according to the standard", i.e. with resource files *.res.
How to convert *.сtrs to *.res?

Please Log in or Create an account to join the conversation.

Last edit: by Roman.

Resource types: *.ctrs and *.res 1 month 1 day ago #18680

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1129
  • Thank you received: 170
Direct convert *.сtrs to *.res don't exist.

We use CT tool ctresbuilder application
to build *.сtrs or *.res files

Open ctresbuilder application from TyphonIDE or CTCenter

 
PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

Resource types: *.ctrs and *.res 1 month 21 hours ago #18681

  • Roman
  • Roman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 110
  • Thank you received: 0
Unfortunately, it's not that simple.
This program can read any resource file, but it can't save it in another format. It can't open *.ctrs and save as *.res.
There are simply no options to select the file type in the save dialog - only one option. If you manually specify the *.res extension, the saved file is broken - only 30-40 bytes.

Please Log in or Create an account to join the conversation.

Last edit: by Roman.

Resource types: *.ctrs and *.res 1 month 9 hours ago #18682

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1129
  • Thank you received: 170
If you have the "Res" files you can create any new file you want with Resbuilder.
If you don't have the "Res" files, you can save with Resbuilder items and then to build the  *.ctrs or *.res.
PilotLogic Core Programmer
The following user(s) said Thank You: Roman

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..
  • Page:
  • 1