Difference between revisions of "User:MaKiPL"

From QhimmWiki
Jump to navigation Jump to search
Qhimm>MaKiPL
Qhimm>MaKiPL
Line 39: Line 39:
== World map camera hack ==
== World map camera hack ==


'''FIXED memory address! (Zoom)''':
World map camera is now described in: http://wiki.qhimm.com/view/FF8/Engine/WorldMapCamera
FF8_EN.exe+18A92E4 / 0x01CA92E4
 
 
'''Opcode + memory for Camera translation (like changing to top-down)'''
OP: FF8_EN.exe+1584EA - add word ptr [FF8_EN.exe+1C3ED00],04  -ADD! (Sets add to var, as FF8 is big endian this LOWERS camera)
OP: FF8_EN.exe+15848D - mov [FF8_EN.exe+1C3ED00],ax - MOV - disables DECrementation! (FF8 is BIG endian, so + is -, and - is +. xD)
OP: FF8_EN.exe+158495 - mov word ptr [FF8_EN.exe+1C3ED00],FE00 - Disables below 65k block. (this sometimes happens)
MEM: FF8_EN.exe+1C3ED00 - memory (TWO NEXT BYTES ARE LEFt-RIGHT camera translation! Weee :D)
To stop camera offset update NOP FF8_EN.exe+1584EA and FF8_EN.exe+15848D
 
'''OTHER camera opcodes''':
FF8_EN.exe+158676 - add [FF8_EN.exe+1C3ED02],ax - LEFT-RIGHT translation (smooth ADD op) Related:
FF8_EN.exe+15871A - add [FF8_EN.exe+1C3ED02],ax - Still ADD, couldn't find MOV
FF8_EN.exe+15873E - add [FF8_EN.exe+1C3ED02],ax - Another ADD
FF8_EN.exe+158948 - mov [ecx+0A],ax - Copy memory! :) See below
FF8_EN.exe+158936 - mov [ecx+0A],ax - Copy memory, another, ticked only one time, above also

Revision as of 18:12, 16 May 2015

VIII research notes:

WorldMap:

Allocation by camera rotation. Portions. Memory pointers to 20 bytes/16 bytes (?) triangles (??).

Data set:

..... ..... ..... ..... PPPPP PPPPP PPPPP ..... ..... ..... PPPPP PPPPP

(...)

Top right corner actual camera pos.

-Check Halfer's notes.

This is similiar to: http://wiki.qhimm.com/view/FF7/WorldMap_Module

VIII Battle stage model

Script section: 1% (IFRIT's LEVEL has different header!!!. Check it later) Camera section: 20% (Found orthogenical, translation, rotation, skew, zoom, Z axis (based on signed int!) 02 00 00 00 08 header appears in FF7 world map! Check it! Geometry section: 100% (Check .X wiki) Texture section + UV: 100% (Check .X wiki)

GF's animation levels, assets, geometry

http://forums.qhimm.com/index.php?topic=15056.0

World map camera hack

World map camera is now described in: http://wiki.qhimm.com/view/FF8/Engine/WorldMapCamera