Difference between revisions of "User:MaKiPL"

From QhimmWiki
Jump to navigation Jump to search
Qhimm>MaKiPL
ffrtt>BukTop
(Created page with "=VIII research notes:= ===GameShark codes to PC version - memory calculation=== This is battle camera hack (just get some fun with short[int16] values): FF8.exe+78B7F2 Also,...")
 
(28 intermediate revisions by one other user not shown)
Line 1: Line 1:
=VIII research notes:=
=VIII research notes:=
===GameShark codes to PC version - memory calculation===
This is battle camera hack (just get some fun with short[int16] values):
FF8.exe+78B7F2


===WorldMap:===
Also, if you wish to use GS codes for FF8 NTSC_U in ePSXe 1.9.2 with CE, then apply:
GS_code + A8B6A0
Example:
80078A62 270F --(delete GS directive of MOV [8])-->
00078A62 270F --(Trim the 4 last bytes, it's the MOV value to address)-->
00078A62 --(Now ADD A8B6A0)-->
      Your address in ePSXe 1.9.2: 000B04102


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


Data set:
01D974B4 - enemy position Y/X
01D974B2 - enemy position Z
01D974B0 - enemy position X/Y


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


(...)


Top right corner actual camera pos.


-Check Halfer's notes.


===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)


'''Wiki page of it''' has some [['''mistakes''']]! Need to fix it as I can.
Wrong is: Generic object header. Model starts with 01 00 01 00, 01 00 00 08 is ??, but totally not a generic object header. Proved by my dumper and analysing info before 01 00 00 08 ever appears.


===GF's animation levels, assets, geometry===
Magic files in battle.fs? Need to run thru multiple TIM raw search, maybe I could find GF's textures. If so, then wolololo. <3


== World map camera hack ==


'''FIXED memory address!''':
FF8_EN.exe+18A92E4 / 0x01CA92E4


FIXED values:
Zommed in: 1024 (2 Bytes) / 00 04 (uint16 ByteArray l=2)
Zommed out: 640 (2 Bytes) / 80 02 (uint16 ByteArray l=2)


ASM:
mov [eax*4+01CA927C],ecx at 0x0045D7FA (FF8_EN.exe+5D7DA)


[[File:VIII_worldmaphack.jpg]]
 
 
 
 
 
 
 
 
= FF XIII-2 PC =
 
== Position hack ==
I'm at it again... Flying with Serah thru whole world:
 
ffxiii2img.exe+7543C6 - movaps [edx],xmm2
 
1. Get addresses above opcode access
 
2. See which one changes as Serah moves (float!)
 
3. NOP above opcode
 
4. X Y Z are three single (float) one after another: data data XXXX YYYY ZZZZ data data.
 
4a. Opcode refers to x float address. You just need to add manually Y and Z by adding 4 and 8 bytes to X address
 
*NOTE: Area out-of-map is mostly non walkable and you'd just fly thru ground, but will stop eventually just a bit under map. Map has some type of bounding zones, Serah will stop eventually at some point if you again movaps [edx],xmm2 the ffxiii2img.exe+7543C6. Flying beneath this zone on NOP'ed and then returning to movaps [edx],xmm2 will warp Serah to nearest point in bounding zone. Flying totally out of map space will freeze the game (not crash nor "not responding"). Just will make it unplayable and hang in place showing last screen. (The game will crash when going out to historia crux [or maybe that's issue that happens to me])
 
== Camera ==
 
Camera in FFXIII-2 is based on Scalars. Opcodes:
 
 
Y axis scalar copy - look at target [from 0x30 to 0x40, where 30h is top down and 40h is bird like view]:
ffxiii2img.exe+19E2F4 - Change of movss [esi+00000154],xmm1
 
Some other related to camera. XIII-2 crashed while editing vars after NOP'ing those two:
 
  ffxiii2img.exe+19E31E - Change of movss [esi+00000154],xmm1
  ffxiii2img.exe+19DC21 - Change of movss [esi+0000016C],xmm1
The last one 19DC21 may operate translation X
== Cool hacks ==
 
 
Delete distance barrier (this means you can access on map gates and talk with people even if you are on the semi end of map. This literally makes game think you're near to every object in the game.
ffxiii2img.exe+77A88B - movaps xmm0,[eax-10]

Latest revision as of 00:38, 15 July 2019

VIII research notes:

GameShark codes to PC version - memory calculation

This is battle camera hack (just get some fun with short[int16] values):

FF8.exe+78B7F2

Also, if you wish to use GS codes for FF8 NTSC_U in ePSXe 1.9.2 with CE, then apply:

GS_code + A8B6A0

Example:

80078A62 270F --(delete GS directive of MOV [8])-->
00078A62 270F --(Trim the 4 last bytes, it's the MOV value to address)-->
00078A62 --(Now ADD A8B6A0)-->
      Your address in ePSXe 1.9.2: 000B04102

MEMORY!!!!!!!!!!!!!111

01D974B4 - enemy position Y/X
01D974B2 - enemy position Z
01D974B0 - enemy position X/Y











FF XIII-2 PC

Position hack

I'm at it again... Flying with Serah thru whole world:

ffxiii2img.exe+7543C6 - movaps [edx],xmm2

1. Get addresses above opcode access

2. See which one changes as Serah moves (float!)

3. NOP above opcode

4. X Y Z are three single (float) one after another: data data XXXX YYYY ZZZZ data data.

4a. Opcode refers to x float address. You just need to add manually Y and Z by adding 4 and 8 bytes to X address

  • NOTE: Area out-of-map is mostly non walkable and you'd just fly thru ground, but will stop eventually just a bit under map. Map has some type of bounding zones, Serah will stop eventually at some point if you again movaps [edx],xmm2 the ffxiii2img.exe+7543C6. Flying beneath this zone on NOP'ed and then returning to movaps [edx],xmm2 will warp Serah to nearest point in bounding zone. Flying totally out of map space will freeze the game (not crash nor "not responding"). Just will make it unplayable and hang in place showing last screen. (The game will crash when going out to historia crux [or maybe that's issue that happens to me])

Camera

Camera in FFXIII-2 is based on Scalars. Opcodes:


Y axis scalar copy - look at target [from 0x30 to 0x40, where 30h is top down and 40h is bird like view]:

ffxiii2img.exe+19E2F4 - Change of movss [esi+00000154],xmm1 

Some other related to camera. XIII-2 crashed while editing vars after NOP'ing those two:

 ffxiii2img.exe+19E31E - Change of movss [esi+00000154],xmm1 
 ffxiii2img.exe+19DC21 - Change of movss [esi+0000016C],xmm1 

The last one 19DC21 may operate translation X

Cool hacks

Delete distance barrier (this means you can access on map gates and talk with people even if you are on the semi end of map. This literally makes game think you're near to every object in the game.

ffxiii2img.exe+77A88B - movaps xmm0,[eax-10]