GithubHelp home page GithubHelp logo

resourcerw's Introduction

TITLE: リソース操作プラグイン(experimental)
AUTHOR: miahmie

●これはなに?

EXEやDLLファイルのリソースを操作するプラグインです。

※まだ十分に動作確認されていません!


本プラグインは simplebinder.hpp の使用サンプルです。
simplebinder.hpp については,../00_simplebilder のファイルを確認してください。


●使い方

manual.tjs参照


●コンパイル

vs2005
vs2008
等のプロジェクトを使用してください。

コンパイルには ../tp_stub.* および ../00_simplebilder フォルダ内の
ファイルも必要です。


●ファイルについて

readme.txt	このファイル
Main.cpp	プラグイン本体ソース
lang.inc	LANG_/SUBLANG_登録用マクロ
manual.tjs	擬似コードによるマニュアル
premake4.lua	premake4のプロジェクト生成用定義ファイル
vs20??/		各VS用プロジェクト
gmake/		gcc用プロジェクト


●その他注意事項

・とりあえず書き起こしただけなので,動作確認が不十分です。
・ResorceWriterでリソースを書き換えるとリソースデータの隙間にPADDINGXXといった
 パディングを埋める文字列が書き加わる場合があります(UpdateResourceの仕様?)
>※このせいでver1.2以下の吉里吉里Zのリソースを書き換えると
 -aboutのダイアログを表示したりTVPGetAboutString()を呼ぶプラグインを使用すると
 AccessViorationで落ちる問題が発生するというバグがあります
 (吉里吉里Z最新版ではd0b979aにて修正済み)
・文字列でないリソースに対してResourceReader.readToTextなどしないでください
・MessageTableのリソースを読み書きする場合は自前のパーサ等を作る必要があります
 BinaryStream.dllや吉里吉里ZのTJSのArray.pack/Octet.unpackなどを利用し,
 WinNT.hなどに定義されている
	MESSAGE_RESOURCE_DATA
	MESSAGE_RESOURCE_BLOCK
	MESSAGE_RESOURCE_ENTRY
 のtypedef/structのフォーマットを自前で読み書きしてください。
 参考;http://www.codeproject.com/Articles/14444/Enumerating-Message-Table-Contents
・アイコンは rtIcon,rtGroupIconリソースをを適切に設定する必要があります
 参考;http://www.codeproject.com/Articles/30644/Replacing-ICON-resources-in-EXE-and-DLL-files

●ライセンス

このプラグインのライセンスは吉里吉里2/吉里吉里Zに準拠してください。

resourcerw's People

Watchers

James Cloos avatar Julian Uy avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.