Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Marco

Pages: [1]
1
Scripting and Reverse Engineering / Assemble source code
« on: 2005-11-17 14:51:16 »
I managed to dissasemble the FF7 executable ("only" 105 MB or so) and now I'd like to re-assemble it. Would anyone be able to walk me through it?

So far I've just tried masm32 version 8 but it don't want to do it.
ff7n.asm(60) : error A2085: instruction or register not accepted in current CPU mode
ff7n.asm(66) : error A2066: incompatible CPU mode and segment size
ff7n.asm(69) : error A2085: instruction or register not accepted in current CPU mode
....
ff7n.asm(217) : fatal error A1012: error count exceeds 100; stopping assembly

2
Is there any idea on where the battle damage calculation starts in the executable?

3
Does anyone here know how to convert a gamehack code into a regular adddress?

4
Troubleshooting / FF7 rendering idea
« on: 2003-08-15 08:35:44 »
I've got this great idea to improve the graphical performance of FF7. Unfortunately I do not possess to skills required to do this.

Basically "we" are writing an OpenGL wrapper and a GLUT wrapper, and improving it to fix known issues.

Some of the features would be. (All features should be optional and fully configurable)
Some have complained about the speed at which the motorcycle game runs at (I get that problem too). So to combat that we enable a delay on the calls to bring the game to an acceptable speed.

Then anti-aliasing would be good to implement.

Support for more resolutions would be neat.

Hehe, 6x anti-aliasing in 1280*1024, ought to look good.

The functions FF7 imports are:
[opengl32.dll]
glAlphaFunc
glBegin
glBindTexture
glBlendFunc
glCallList
glClear
glClearColor
glClearDepth
glColor4ub
glColorMask
glColorPointer
glCullFace
glDeleteLists
glDeleteTextures
glDepthFunc
glDepthMask
glDepthRange
glDisable
glDisableClientState
glDrawBuffer
glDrawElements
glEnable
glEnableClientState
glEnd
glEndList
glFinish
glFlush
glFrontFace
glGenLists
glGenTextures
glGetBooleanv
glGetError
glGetIntegerv
glGetString
glHint
glIndexMask
glLineWidth
glLoadIdentity
glLoadMatrixf
glMatrixMode
glNewList
glOrtho
glPixelStorei
glPointSize
glPolygonMode
glReadBuffer
glReadPixels
glRenderMode
glShadeModel
glTexCoord2f
glTexCoordPointer
glTexEnvi
glTexImage2D
glTexParameteri
glVertex3f
glVertexPointer
glViewport
wglCreateContext
wglDeleteContext
wglGetProcAddress
wglMakeCurrent
[glu32.dll]
gluDeleteTess
gluNewTess
gluTessBeginContour
gluTessBeginPolygon
gluTessCallback
gluTessEndContour
gluTessEndPolygon
gluTessNormal
gluTessProperty
gluTessVertex

5
Archive / FF7 3d performance
« on: 2003-08-08 12:05:41 »
I decided to upgrade to the newest release of DirectX and video drivers for my Radeon 9700 graphics card. Following this change FF7 took a deep dip in 3D performance, mainly during battles, 2D scenes still render like a rocket, while 3D battles renders like if I was running it through slowdown.

I've tried the DX uninstallation tool and reverting to the old drivers, but it is still the same.

1GB RAM, 2 GHZ, and windows XP with DX 9.0b and Catalyst drivers 3.2 and 3.6 (I've tried both)

Pages: [1]