(WIP) Cxbx: Fixing 0xC000007b error on 64-bit Windows - 模擬器

Skylar Davis avatar
By Skylar Davis
at 2013-05-02T20:08

Table of Contents

2013.05.02

I spent today hacking with the Cxbx code from Shogun's SVN branch and
I have managed to prevent the 0xC000007b error from occuring on Windows
64-bit.

Cxbx still doesn't run correctly due to the well known LDT/FS register
issues, but at least it doesn't immediately get killed by Windows
anymore.

It turns out that the Cxbx code that produces a .exe file fills in the
SizeOfImage field of the PE Header incorrectly, causing some versions
of windows to prevent the image from loading.

I solved this by patching Exe.cpp of the Cxbx project to write the final
raw file size of the produced EXE to the SizeOfImage field. (Verified by
CFF Explorer as being correct)

   http://ppt.cc/~_x_
http://ppt.cc/5VAu
http://ppt.cc/-1YB
http://ppt.cc/Y8UR
http://ppt.cc/7Jnx
http://ppt.cc/Kkok
______________________________________________________________________________

來源:http://www.ngemu.com/forums/showthread.php?t=156180

--

ポーラステーション
http://perryt0517.wordpress.com/

--

All Comments

FC 烏帕王子

Ina avatar
By Ina
at 2013-05-02T15:08
前言 這款小時候看同學玩,覺得主角很可愛 最近看實況才知道這款其實很血尿 雖然版大已經寫過心得文了,但是我還是野人獻曝一下 寫一下心得,讓這遊戲置底更新一下(?) 劇情上 遊戲敘述烏帕王子(小嬰兒)不小心把詛咒解開 導致之前被勇者封印的山羊(?)跑了出來 山羊 ...

NBA PLAY BY PLAY(konami)街機

Frederica avatar
By Frederica
at 2013-05-02T04:32
此籃球遊戲應該是史上最好玩的大型機台遊戲了 不知道那裡可以找到? 而且可以順利在模擬器上面玩? 幫幫忙 不騙人這真的很無敵好玩的 NBA PLAY BY PLAY 我還記得以前高中要補習但後來都翹課去玩這個了 每次去玩總是有很多人在排隊 我還記得米勒三分超準 我後來還發明馬刺的天勾根本巴不到 然後用這隊打敗 ...

Project64 v2.1

Callum avatar
By Callum
at 2013-05-01T23:00
http://www.pj64-emu.com/ The beta program is now closed. You can now install project64 2.0 and get the clone the source if you want to. You can download ...

JoyToKey v5.2.3

James avatar
By James
at 2013-05-01T22:50
http://www-jp.jtksoft.net/home ◇Ver5.2.3 ・5ボタンマウスの、第4ボタン・第5ボタンクリックをサポートしました。  マウスジェスチャーをジョイスティックで使いたい方はお試しください。 ・倍速処理モードで、最大16倍速まで対応しました。  (ただし、これはあくまで実験 ...

DeSmuME 0.9.9 released!

Zanna avatar
By Zanna
at 2013-05-01T22:39
http://desmume.org/ 0.9.8 -andgt; 0.9.9 (r4228-r4623) Yes, itand#39;s been a while since the last release, but we havenand#39;t been completely idle. The ...