スキル一覧に戻る
cdlewis

rename-a-c-file-or-header-file

by cdlewis

rename-a-c-file-or-header-fileは、other分野における実用的なスキルです。複雑な課題への対応力を強化し、業務効率と成果の質を改善します。

66🍴 3📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: rename-a-c-file-or-header-file description: Renaming a C file or associated header (.h) file requires additional steps in decompilation projects or the build will fail. Use this skill when you want to rename a C file and/or a header file.

Rename a C file or a Header File

Instructions

C files and their associated header files are mapped to specific ROM addresses via the Splat project configuration in snowboardkids2.yaml.

A file will typically have a code segment, such as:

- [0x4A40, c]

It may also have data and/or rodata segments. Data segment(s) are mapped to the code via the third argument. The name specified in the third argument must match the name of the code segment. In this case the code segment has no name so it defaults to using its ROM address as a name (4A40). For example:

- [0x8CBA0, .data, 4A40]

To rename 4A40.c to credits.c, we would need to do the following:

- [0x4A40, c, credits]

...

- [0x8CBA0, .data, credits]

Naturally, the reverse is also true. To rename a segment that has already been named, you must change each instance of that name to the new name. In this case you would need to change 'credits' to your desired new file name.

Custom Make Rules

In rare cases a C file will have a custom compiler flags. Be sure to check the project Makefile and update the C file's name there also.

スコア

総合スコア

55/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新

+5
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

レビュー

💬

レビュー機能は近日公開予定です