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 day 34 minutes ago #18679

  • Roman
  • Roman's Avatar Topic Author
  • Away
  • Junior Member
  • Junior Member
  • Posts: 101
  • 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 17 hours 35 minutes ago #18680

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1105
  • Thank you received: 160
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 13 hours 13 minutes ago #18681

  • Roman
  • Roman's Avatar Topic Author
  • Away
  • Junior Member
  • Junior Member
  • Posts: 101
  • 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 49 minutes ago #18682

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1105
  • Thank you received: 160
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

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

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