Filter
Exclude
Time range
-
Near
Did you ever hear about IMAGE_FILE_UP_SYSTEM_ONLY flag in NtHeader->FileHeader->Characteristics of an exe file? Microsoft says it will make the exe run ONLY on single-cpu machines. In practice it works on multi-cpu machines as well, but the affinity is automatically set to one CPU only! And the allowed CPU is rotated, which is cool imho. There is even a linker flag for it. You can set it with /DRIVER:UPONLY But there is more! IMAGE_LOAD_CONFIG_DIRECTORY contains ProcessAffinityMask providing full flexibility with setting affinity. And here comes my question: how to manage it within an exe? I know it theoretically on binary level, but I hope nice editor exists... Maybe SetImageConfigInformation()? Any hints?
5
11
76
15,473
Replying to @edwardsanchez
An option to remove the default header comments entirely, ideally as a setting within Xcode and not by relying on IDETemplateMacros.plist and FILEHEADER.
1
8
Tip: You can customise the default header in files created in Xcode by adding the file MyProject.xcodeproj/xcshareddata/IDETemplateMacros.plist. The file should contain the key FILEHEADER with the value being your header comment.
2
10
58
Replying to @DerSkedda
Läuft erstmal auf einen testweisen ReUp hinaus. Wenn das nicht funzt, würd ich die Folge lokal nochmal neu encoden und erneut hochladen. Vermutlich Fehler beim YT-Encoding oder beim Fileheader. Ist aber auch wurst, soll nur funktionieren :D
1
7
どうにもVRCのワールド容量が減らんしおかしいぞ?!と思てビルドログ調べたらFileHeader領域がめっちゃあるぞ?! どうもRealtimeGIを有効にすると間接光シミュ計算されるけどLightMAPサイズが大きくなってここに入るとの事!OFFにしたら見え方簡素になったが容量が150→20MBになった👀‼奥が深いぜ…
5
16
15 Jul 2020
Replying to @krzyzanowskim
FILEHEADER is the key for it.
1
1
例えば、RIFF は FourCC だけど、WebP の4文字が入るもう一つの FourCC 相当フィールドは Payload に隠れて特に名前ついてない。ChunkName 相当のが ChunkHeader になってて、FileHeader との統一感がない、そういうの適当だとコード書きにくいんだ。。
1
1
3
BMP コンテナ図書き直した。Color Profile の実態は画像RGB配列の更に後ろに置いたりするのだけど、Info Header の profile data (図ではボカして color profile と書いてる)の要素に (FileHeaderでなく) Info Header の頭からのオフセット値を格納して場所を示す。つまりポインタなのだ。
1
3
13 Aug 2018
Replying to @mkolsek
Luckily it was a fileheader and code that I had to reconstruct. With the code being identical to an older version except for branches/offsets into the later part of the file that changed.
1
たぶん unsigned char型のポインタに入れておいて、ヘッダーを参照したいときだけ、fileHeaderのポインタ型にキャストすればいいと思うのだけれど…
2
2