- Joined
- Oct 29, 2007
- Messages
- 1,290
- Reaction score
- 1,310
Well, doing my main.exe Research v0.99B + (Chs), I found, with most of the values for the 3D camera, the subject is missing the value: "Camera_ClipY" which is "2400.000" however, I remembered that main.exe versions of the old school as 0.97d, 0.97d +0.99i, 0.99b, Etc. values to generate the Full Camara are others, this is because there's 2400,000 Camara, bone there is no automatic clip map textures and objects in general, that is why some values Sobieh ancillary development, which are those used for Clip on the map main.exe v0.97d Rectangles, and later to create the 3D Camera for 0.97d, are the same values for main.exe v0.99b +, these defaults main.exe OLD ARE:
Camera_TLeft = 1272.000 (top)
Camera_TRight = 1272.000 (bottom)
Camera_BLeft = -672.0000 (see above)
Camera_BRight = -672.0000 (bottom)
Camera_ClipX = 1190.000 (This is the same as in the new main.exe)
Camera_GlClip = 2000.000 (This is similar to main.exe newest, but new mains.exe is 3000, here it is: 2000)
Camera_Zoom = 35.00000 (same than main.exe new)
Camera_RotY = 48.50000 (in main.exe new is: -48.5)
Camera_RotZ = -45.00000 (same than main.exe new)
Camera_PosZ = 150.00000 (same than main.exe new)
100% Functional values tested! (Thanks to winhex editor and his open RAM API)
Code:
[COLOR="RoyalBlue"][SIZE="2"]//Main 0.99.28 (Chs)[/COLOR]
[COLOR="RoyalBlue"]Camera_Zoom = 0x[/COLOR][COLOR="Red"]005C67F1[/COLOR]
[COLOR="RoyalBlue"]Camera_PosZ = 0x[/COLOR][COLOR="Red"]005FA5B8[/COLOR]
[COLOR="RoyalBlue"]Camera_RotZ = 0x[/COLOR][COLOR="Red"]081B95A4[/COLOR]
[COLOR="RoyalBlue"]Camera_RotY = 0x[/COLOR][COLOR="Red"]005FBD74[/COLOR]
[COLOR="RoyalBlue"]Camera_TLeft = 0x[/COLOR][COLOR="Red"]00593085[/COLOR]
[COLOR="RoyalBlue"]Camera_TRight = 0x[/COLOR][COLOR="Red"]00593099[/COLOR]
[COLOR="RoyalBlue"]Camera_BLeft = 0x[/COLOR][COLOR="Red"]005930A7[/COLOR]
[COLOR="RoyalBlue"]Camera_BRight = 0x[/COLOR][COLOR="Red"]005930B5[/COLOR]
[COLOR="RoyalBlue"]Camera_ClipX = 0x[/COLOR][COLOR="Red"]005FBCDC[/COLOR]
[COLOR="RoyalBlue"]Camera_GlClip = 0x[/COLOR][COLOR="Red"]005FB7CC[/COLOR][/SIZE]
You must be registered to see links
and for those who seek to develop new shaders for this version of main.exe, here are also some of the OpenGL main.exe Offsets that has (according to me important to make changes as Smooth Texture, etc).
Code:
[COLOR="DarkOrange"][SIZE="2"]Research's in main 0.99.28 by Nemesis
//Camera Offsets:
Camera_Zoom = 0x005C67F1;
Camera_PosZ = 0x005FA5B8;
Camera_RotZ = 0x081B95A4;
Camera_RotY = 0x005FBD74;
Camera_TLeft = 0x00593085;
Camera_TRight = 0x00593099;
Camera_BLeft = 0x005930A7;
Camera_BRight = 0x005930B5;
Camera_ClipX = 0x005FBCDC;
Camera_GlClip = 0x005FB7CC;
//Fog Offsets:
MAP_CHECK = 0x006081C0;
MAP_ADD_EFFECT = 0x006081C0;
MAIN_STATE = 0x00610660;
//Sky Offsets (100% Corrects):
SkyHook = 0x005C7BD5;
Display = 0x00543DE0;
Blend = 0x005B13C0;
UnBlend = 0x005B1340;
MainState = 0x00610660;
Map = 0x006081C0;
//Items Offsets:
Swords = 0x005A51E3;
Axes = 0x005A5304;
Maces = 0x005A532F;
Scepters = 0x005A5373;
Spears = 0x005A539E;
Shields = 0x005A53E2;
Staffs = 0x005A543C;
Bows = 0x005A54FF;
Crossbows = 0x005A552A;
Wings = 0x005A5DF2;
//OpenGL Offsets:
glGenTextures = 0x005FA294;
glBindTexture = 0x005FA30C;
glPixelStorei = 0x005FA2D8;
glTexImage2D = 0x005FA310;
glTexParameteri = 0x005FA2D4;
glBegin = 0x005FA330;
glColor3f = 0x005FA324;
glColor3fv = 0x005FA320;
glBlendFunc = 0x005FA288;
glTexCoord2f = 0x005FA334;
glVertex3f = 0x005FA308;
glVertex3fv = 0x005FA338;
MessageBoxA = 0x005FA358;[/SIZE][/COLOR]
Credits:
Sobieh (For its original structure built to main.exe v0.97d)
ZergNM (By compiling zerg.dll with source codes for main.exe v0.97d of Sobieh and zoom effect with mouse scroll)
mauro07 (For decompile and get the offsets of the zerg.dll for 0.97d, and do research for 0.99b+)
(Too for go back to re-struct the source code, and re-compile camera.dll for 0.99.28)
RMST Members(For share his source for camera+fog)
Gembrid(For share his glow editor + patcher func and glow.dll and guide for research in diferent versions main.exe)
Attachments
You must be registered for see attachments list
Last edited: