Author Topic: [FFVIII-Steam] Break stat cap plus some other stuffs?  (Read 824 times)

Foghart

  • Fast newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Hey guys, was looking around the forum for mods to play FFVIII, such as Hardcore Mode, HP 9999+ and Dmg 9999.
The HP and DMG are still cap to 32k but I saw an image from Maki in this thread: http://forums.qhimm.com/index.php?topic=16838.msg240173#msg240173
Squall dealed 98765 dmg, is this mod working? Or still in process?
Another thing, is there a mod to draw 100 magic at once?

EDIT:
After reading my really old topic: http://forums.qhimm.com/index.php?topic=15943.0
I've got some other questions...
How does this stat editor for weapons work? I'm not used to programing (more a designer/storytelling myself).
If I could put my hands on weapon stats editor, I could make some main roles for each character, for example:
Squall has more STR (hes the main attacker ofc)
Rinoa has more MAG (she could be the main black mage)
Zell has more VIT and slight amount of STR (he can be the physical tank of the team)
Irvine has more STR and slight more SPD (hes the fast attacker)
Selphie has more MAG and slight more SPD (shes like a white mage)
Quistis has more SPR and slight more HP (shes a blue mage and a magic tank)
Is it possible?
What about the Junction rebalance? (Mcindus said something about cutting 1/2 or 1/4 of the junction bonus amount, I think thats a good idea since players who dont know about Junctions think the game is hard and the players who know how the system works can still have a hard mode feeling with less bonus amount)

The past topics were too old, so I didnt want to bring it all back
« Last Edit: 2017-06-21 20:32:52 by Foghart »

gaaasstly

  • Fast newbie
  • *
  • Posts: 27
  • Karma: 2
    • View Profile
Re: [FFVIII-Steam] Break stat cap plus some other stuffs?
« Reply #1 on: 2017-06-22 04:00:33 »
Hey guys, was looking around the forum for mods to play FFVIII, such as Hardcore Mode, HP 9999+ and Dmg 9999. ...

http://forums.qhimm.com/index.php?topic=15354.msg250751#msg250751 - There may be something else available, but you can apply those patches to an Auto Assembler script in Cheat Engine.

... The HP and DMG are still cap to 32k but I saw an image from Maki in this thread: http://forums.qhimm.com/index.php?topic=16838.msg240173#msg240173 ...

The HP limit for your party is 65,535 (2 bytes), but for monsters it is 4,294,967,295 (4 bytes). The damage limit for both is 65,535 (2 bytes).

... Squall dealed 98765 dmg, is this mod working? Or still in process? ...

http://imgur.com/a/NwlWA - You can do more than 65,535 damage by forcing the registers to 32 bits, but the engine will not render more than 5 digits, as Maki said. There is no reason to do this, though, as you will never reach numbers that high.

Video (gif):


... Another thing, is there a mod to draw 100 magic at once? ...

I would imagine it is trivial to accomplish. I will look into it tomorrow.
« Last Edit: 2017-06-26 03:44:53 by gaaasstly »

NFITC1

  • No life
  • *
  • Posts: 2764
  • Karma: 61
  • I just don't know what went wrong.
    • View Profile
    • WM/PrC Blog
Re: [FFVIII-Steam] Break stat cap plus some other stuffs?
« Reply #2 on: 2017-06-22 14:53:39 »
Isn't the damage limit 65000? I remember doing some minor digging once and found that this was the cap.

Foghart

  • Fast newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Re: [FFVIII-Steam] Break stat cap plus some other stuffs?
« Reply #3 on: 2017-06-22 16:03:36 »
I've been away for a long time, so I may be wrong at some values xD

Maki

  • Lana Del Rey
  • Insane poster
  • *
  • Posts: 449
  • Karma: 76
  • Final Fantasy VIII reverse team
    • View Profile
Re: [FFVIII-Steam] Break stat cap plus some other stuffs?
« Reply #4 on: 2017-06-22 16:31:06 »
Yep, that's right. I attacked with 98765
The game registers damage in 32 bits, but later does the Bigger register>smaller register operation.
My idea was to place damage local variable to code cave and then perform everything via this variable (that means a lot of code injection to change AX[16bit] register to EAX[32bit]). I was able to attack monster with 4 milion damage yet the game still showed 5 numbers on screen. Now the worst part: I lost the notes. Don't expect seeing it done by me soon, I hardly can find time for such things.

Foghart

  • Fast newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Re: [FFVIII-Steam] Break stat cap plus some other stuffs?
« Reply #5 on: 2017-06-22 17:34:23 »
Well I don't see the need of dealing 99.999+ damage in one single shot, since its easier to deal with multi-hits skills like Renzokuken, Shot from Irvine and Wishing Star.
But if there is a Super Hyper Mega Ultra Hard Mode, with some other editing in magics (since its the most useless command until now) it would be good to deal 70k+ in an Ultima+Meltdown+Mag255(or maybe with a stat cap break, lets say Mag412 por example)

gaaasstly

  • Fast newbie
  • *
  • Posts: 27
  • Karma: 2
    • View Profile
Re: [FFVIII-Steam] Break stat cap plus some other stuffs?
« Reply #6 on: 2017-06-23 03:01:53 »
Draw 100 Magic (not thoroughly tested, probably buggy):
Code: [Select]
[ENABLE]
FF8_EN.exe+86A89:
mov al,64
mov [ecx],al
nop
nop
nop
nop
pop edi
pop esi
nop
nop

[DISABLE]
FF8_EN.exe+86A89:
mov al,[ecx]
cmp al,64
jnl FF8_EN.exe+86A75
inc al
pop edi
pop esi
mov [ecx],al

I will look more into the drawing 100 magic tomorrow night, if I can, so that will have to do for now.

"Notes" for breaking 2 byte damage limit:
Code: [Select]
[ENABLE]
ALLOC(newmem,1024)

newmem:
mov edx,[FF8_EN.exe+1927AE4]
mov [eax+04],cx
mov ecx,[FF8_EN.exe+1927AE8]
mov [eax+06],edx
jmp returnhere

FF8_EN.exe+8EFC4:
jmp newmem
nop
nop
db 90 90 90 90 // mov [eax+04],cx
db 90 90 90 90 90 90 // mov ecx,[FF8_EN.exe+1927AE8]
db 90 90 90 90 // mov [eax+06],dx
returnhere:

FF8_EN.exe+9113D:
mov esi,0001869F // F423F
nop
db 90 90 // jmp FF8_EN.exe+9114F
db 90 90 // xor ecx,ecx
db 90 90 // test esi,esi
db 90 90 90 // setl cl
db 90 // dec ecx
db 90 90 // and esi,ecx

FF8_EN.exe+93F24:
mov ecx,[ebp+06]
nop

FF8_EN.exe+106920:
mov esi,[edi+06]
nop

[DISABLE]
FF8_EN.exe+106920:
mov si,[edi+06]

FF8_EN.exe+93F24:
mov cx,[ebp+06]

FF8_EN.exe+9113D:
cmp esi,ecx
jle FF8_EN.exe+91145
mov esi,ecx
jmp FF8_EN.exe+9114F
xor ecx,ecx
test esi,esi
setl cl
dec ecx
and esi,ecx

FF8_EN.exe+8EFC4:
mov dx,[FF8_EN.exe+1927AE4]
mov [eax+04],cx
mov ecx,[FF8_EN.exe+1927AE8]
mov [eax+06],dx

DEALLOC(newmem)
« Last Edit: 2017-06-26 03:43:10 by gaaasstly »

Foghart

  • Fast newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Re: [FFVIII-Steam] Break stat cap plus some other stuffs?
« Reply #7 on: 2017-06-24 15:37:08 »
Sorry my lack of knowledge, but these codes going... inside "Settings.ini" in HL_Files?

Maki

  • Lana Del Rey
  • Insane poster
  • *
  • Posts: 449
  • Karma: 76
  • Final Fantasy VIII reverse team
    • View Profile
Re: [FFVIII-Steam] Break stat cap plus some other stuffs?
« Reply #8 on: 2017-06-24 20:49:04 »
Sorry my lack of knowledge, but these codes going... inside "Settings.ini" in HL_Files?

Nope,

1.Download "Cheat Engine"
2.Run software and select Final Fantay VIII process using the computer with loupe icon
3.Copy script from gaaasstly's post
4.Click on 'Memory View' in bottom left in CE (Cheat Engine)
5.On top menu Click on Tools>Auto Assemble
6.Paste the script
7.Click on File>Assign to current cheat table
8.You can now close both windows and get back to main Cheat Engine window
9.On bottom you'll see "Auto Assemble script"
10.Highlight it and hit space OR click on "active" chechbox on it's left
11.You're done!