Qhimm.com Forums

Final Fantasy Forums => Gameplay Mods => Gameplay Releases => Topic started by: Mcindus on 2014-07-12 00:11:44

Title: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: Mcindus on 2014-07-12 00:11:44
Hard Mode and Add-on's Launcher
Difficulty Mod and other Add-on's for FF8 on STEAM
Now All Languages Supported!
Mod Updated with easier process!

These mods use HextLaunch from DLPB's Tools
And they will until he finishes his new version of ddraw.dll for FF8 :)

I compiled some old mods for those of you using the STEAM version of FF8

Add-on's:
Hard.dll: Makes the game generally more difficult:
-   Decreases the player's melee damage by a factor of 1.5
-   Increases the level of enemies by a factor of 1.1
-   Increases the melee damage of enemies by a factor of 1.1
    (this does not effect magic damage)
Damage.dll
-   Max damage increased to 65k instead of 9999; affects your group and opponents too.
HP.dll
-   Max hp cap increased to 32k from 9999
Magic.dll
-   You won't lose magic from your inventory when you cast it in battle.
    (Negates Double and Triple effects. I don't use this one.)
Publish.dll
-   Removes the Square Enix splash logo on Startup

DOWNLOADS: Only pick one!
Hard Launcher (English) (https://goo.gl/SMdw5e)
Hard Launcher (Spanish) (https://mega.nz/#!6sgjgS4J!LpQ4IXeNrHnidEKQKDFaWxy9Aq73i1LlkPxZpBv1r7A)
Hard Launcher (French) (https://mega.nz/#!KlokyaxI!SHyIzVUJCADhXZwU3soyVlZVzEddrFGqqKy4rLvexXg)
Hard Launcher (German) (https://mega.nz/#!GhZVTA6R!_Fu8Cgr8atx3-ikFemsqPWaLU_n7Q0b4TcR8kOB53Bo)
Hard Launcher (Italian) (https://mega.nz/#!m05hTT4D!F2XUl8MPwDZT4B0yrInRLDD9xx66nwi4z2qbKEQgIoQ)


Instructions:

1.   Move "HL_Files" and "FF8_Hard_Launcher" into your parent FF8 directory.
     (steamapps/common/FINAL FANTASY VIII)
2.   Launch the game from the new "Hard" Launcher
3.   The command window will let you know if .dll injection was done correctly
     (there is also a HextLaunch.txt log file)

*If you're using RaW, you can move the RaW.dll into /HL_Files/DLL_in as well to resolve possible issues
**If you use any Tonberry mods, do not move any of the Tonberry .dll's into this location - it will render Tonberry useless.

======================================================
If you choose, you may remove the Magic.dll and Publish.dll Add-On's with no glitches
======================================================

Original thread for 2000 PC version:
Go HERE (http://forums.qhimm.com/index.php?topic=15046.0) to use these Add-ons with Aali's Driver.

Thanks to JeMaCheHi for trying so hard to get the mod to work and helping me figure out where I went wrong!

Thanks to DLPB for his Hext Tools!  Go HERE (http://forums.qhimm.com/index.php?topic=13574.0) to support him!
Title: Re: [FF8PC-Steam] Add-on DLLs (2014-07-11)
Post by: Pendrokar on 2014-08-03 13:35:34
Hi,

So modifying the code of FF7/FF8 is done by a memory injection? There is nothing that points to specific variables in the code?

Hard.dll - Makes the game generally more difficult:
(Decreases the player's melee damage by a factor of 1.5, increase the level of enemies by a factor of 1.1, and increase the melee damage of enemies by a factor of 1.1; this does not effect magic damage)

I guess this would take a lot of time, but you could provide a short explanation on how this was done or where to look for it. Not how to install the DLL, but how you found out which variables to change. Wondering if the following change is possible:

I tried making all characters 100 LVL at the start of the game, which while did heavily increase the difficulty, it was all for nothing when I ran into the first boss, Ifirit, who's maximum level was limited to 10-20 something. So I am also wondering if manually increasing a bosses level beyond their maximum will automatically increase its stats?
Title: Re: [FF8PC-Steam] Add-on DLLs (2014-07-11)
Post by: Mcindus on 2014-08-03 18:06:22
Hello!  I actually have no idea how the mods were created.  If you go to the original post where I linked to the download you may be able to track down the programmer,  But it's been years since he's posted.   I just found a way to resurrect the old add on mods they used to use in the FF8_Launcher.  I do know someone who is editing the difficulty of the game.  He posted about vit 0 immunity in the tools section.  Maybe he has some insight?

I wouldn't know how to decompile the .dll to see what it's doing.  Anyone out there have any ideas?
Title: Re: [FF8PC-Steam] Add-on DLLs (2014-07-11)
Post by: refoopseman on 2014-09-07 07:47:37
you said the hextlauncher can work with RaW too but I put the Raw.dll into the DLL_in folder and the game said it has error and RaW.dll failed to load. Perhaps I did something wrong?
Title: Re: [FF8PC-Steam] Add-on DLLs (2014-07-11)
Post by: eXistenZe on 2014-09-07 13:14:05
I use hextlauncher and raw.dll with no issues so far...
Title: Re: [FF8PC-Steam] Add-on DLLs (2014-07-11)
Post by: Moo2dabum on 2014-09-24 04:57:50
i got these all to work except for the hp one still sitting at 9999 not to sure whats up or if there is some other method.
Title: Re: [FF8PC-Steam] Add-on DLLs (2014-07-11)
Post by: eXistenZe on 2014-09-24 20:34:48
Yep... HP.dll does not work for me too... Not even randomly like other users reported...
Title: Re: [FF8PC-Steam] Add-on DLLs (2014-07-11)
Post by: Omik on 2014-12-30 10:20:11
I noticed that if the window looks like after the launch
(http://i64.fastpic.ru/big/2014/1230/34/d3ca3339ac7d0b486a73f4e9df3bb334.jpg)

All mods work, including HP.

(http://i65.fastpic.ru/big/2014/1230/a6/7d77cc4afa5d4488c34b99ac4989e8a6.jpg)


Title: Re: [FF8PC-Steam] Add-on DLLs (2014-07-11)
Post by: selius on 2014-12-30 16:05:27
possible to make it so magic.dll only affects edea?
Title: Re: [FF8PC-Steam] Add-on DLLs (2014-07-11)
Post by: Mortael on 2015-01-06 12:03:16
I am going to see if I can fix the HP.dll so that it *always* breaks the HP limit, I'm sure there is a reason, probably even an intentional one ;)

I might try my hand at experimenting with the physical damage to str stat ratio, so that the maximum of 65k can be hit, but also working with the physical damage to vit stat ratio as well, to avoid over-powering certain monsters
Title: Re: [FF8PC-Steam] Add-on DLLs (2014-07-11)
Post by: eXistenZe on 2015-01-06 20:51:02
Making a new hard.dll is also a needed, since the game is already easy by itself. The other dlls break it even more.
Doubling the enemy's level (some even triple it) and increasing their speed would be great. You reach a point with haste and speed-J that makes most enemies dummies without a single chance to attack. With the working hp limit break, it's also better to increase enemies HP, attack and m-attack than crippling party's damage...
Title: Re: [FF8PC-Steam] Add-on DLLs (2014-07-11)
Post by: Mortael on 2015-01-07 00:10:17
I'll have a look at the Hard.dll, definitely, after I've got my head around the damage/hp, what I'm doing so far, is essentially isolating the changed strings, decoding them to decimal, replacing the string by encoding back to hexadecimal, and then trial and error to get the correct outcome - there is a chance, these might in-fact be the original values, or relating to damage as oppose to HP... Again, down to trial and error!

My aim is to make it really vital to break hp limit- so through the use of HP-ups/hp bonus, have all monsters above a certain level break damage limit, so this makes 255 vit less of a joke, when monsters hit you for 50 etc. The battle system as we know it is totally broken, but because we know this we can find a workaround, but it will take time to make the changes... A lot of time.

Highlighted the first couple here:

(http://i285.photobucket.com/albums/ll65/Leographic/HPstrings.png)
Title: Re: [FF8PC-Steam] Add-on DLLs (2014-07-11)
Post by: Mortael on 2015-01-07 00:55:55
I also found the integers that control the max number of hitpoints too <3 Of course, you can only have up to 32,727... Any number that exceeds FFFF will cause glitches. So, I changed it to 30,000 just to demonstrate, that the resulting number effects max hp, for those who are a bit OCD and like well-rounded numbers, here we are:

(http://i285.photobucket.com/albums/ll65/Leographic/HexProgress.png)


Now... I have a theory that there must be a conflicting integer that gets read as oppose to this figure here... Or an integer that correlates to having the max hp being read or something.. Idk yet! Although, I've been quite lucky to have the HP break each time I've played the game since I've editted it from 32K.. Could be a fluke, so I may enlist a testing force :D

p.s. there used to be a weird buggy issue with the 32K hp, that would make your character jump up and down when healed at max hp, that is no longer the case at 30K, if that bothered you- furthermore it's pretty fun to see your HP at "0" Yet still in white ;) ...Not sure if there will ever be a way to have more than 5 integers displayed at once as HP near character name.

For a MORE difficult mod, I could change the max HP to 5K or even lower, even 500, this will ensure more frequent 1 hit KOs on your party ;)
Title: Re: [FF8PC-Steam] Add-on DLLs (2014-07-11)
Post by: DLPB on 2015-03-11 11:43:03
Making a new hard.dll is also a needed, since the game is already easy by itself. The other dlls break it even more.
Doubling the enemy's level (some even triple it) and increasing their speed would be great. You reach a point with haste and speed-J that makes most enemies dummies without a single chance to attack. With the working hp limit break, it's also better to increase enemies HP, attack and m-attack than crippling party's damage...

If all these dlls do is change memory at run time, then use HextLaunch with Hext instruction files.  It's as simple as editing and adding text files that way.
Title: Re: [FF8PC-Steam] Add-on DLLs (2014-07-11)
Post by: Nightshade on 2015-03-17 06:40:38
If you close game without closing launcher and push play button to start game, hext launcher will not work. It is bad tool.
Title: Re: [FF8PC-Steam] Difficulty Patch and Add-on's (2014-07-11)
Post by: nickyt89 on 2015-05-05 16:09:08
I'm struggling to get this working with some of the graphic mods- tonberry,Eden, horizon tripod seed reborn I just get a error saying "the program cannot start because MSVCP120.dll is missing, try re installing the program to fix this problem"
This only happens when using the new ff8.exe for the hard mode mod
Any help would be brilliant
Title: Re: [FF8PC-Steam] Difficulty Patch and Add-on's (2014-07-11)
Post by: DarkMatta on 2015-10-18 02:06:53
I'm coming to the end off the game now and I don't think the hard mod have ever been working for me.

At first I thought because I kept my level low but managed to still make my characters juntioned with good magic that I was still to powerful, making the game still easy due to the bosses etc still being low levels. However, I've just thought Fujin, Tajin and Seifer on the Pandora with my main 3 characters all lvl 100, and they're attacks are absolutely nothing. Most of their attacks have been in the 2-3 digits, sometimes are some 4 figure damage attacks, however, they are in the low 4 digits and pose no threats. I don't recall it ever being this easy before.

Also, the HP mod doesn't work for me at all.
Title: Re: [FF8PC-Steam] Difficulty Patch and Add-on's (2014-07-11)
Post by: Kabuh on 2016-03-16 22:14:07
I too had an issue with HP mod not working.

The resulution i found is that I have to install hard.dll too.

Can someone plz make HP.dll standalone version?
Title: Re: [FF8PC-Steam] Difficulty Patch and Add-on's (2014-07-11)
Post by: stavstav on 2017-04-10 01:53:12
if you alt-tab out of the game and check the command window it should say hard.dll loaded...

So, when using the instructions hextlaunch creates a folder "newfolder1" and then hard.dll does not work (unless you move it)...

instead of going thru the steps, just download this file  below and extract to root game dir... super easy...
 
launch game with ff8_hard.exe


https://mega.nz/#!DUhFhALb!ocCg9wBNIsq6DaYmGj_5KPBZw0BBxJbZkWAld8YDdP8
 (https://mega.nz/#!DUhFhALb!ocCg9wBNIsq6DaYmGj_5KPBZw0BBxJbZkWAld8YDdP8)
Title: Re: [FF8PC-Steam] Difficulty Patch and Add-on's (2014-07-11)
Post by: metalwawa666 on 2017-04-20 00:19:24
I followed the instructions and still can't get the .dll files to load...it says there is no instructions present?
Title: Re: [FF8PC-Steam] Difficulty Patch and Add-on's (2014-07-11)
Post by: hordequester on 2017-05-17 06:28:50
If you have no instructions error or not loading DLLs, you did not follow the instructions. Especially the part where it tells you to edit settings.ini to match. There's a WorkingFolder= line that currently breaks DLL loading. Delete the text after the = or remove the line entirely to make your ini match like the OP.

Works fine here following all instructions and without Hard.dll (Currently using FF8 Requiem instead). Obviously, if you were already at 9999 before you loaded the mod, you would stay at that at least until a level up or stat change since it appears to just adjust the variable and cap to allow larger values and doesn't call any kind of recalculation at save load.
Title: Re: [FF8PC-Steam] Add-on DLLs (2014-07-11)
Post by: gaaasstly on 2017-06-01 03:49:08
I am the author of the dll files. The reason something might not work is due to version discrepancies and because it was poorly coded. These were put together before the Steam release and I stopped playing FF8 shortly after to work on other projects. I no longer have the source files, but I can show you how they work.

Spoiler: show
Damage.dll:
Code: [Select]
510620C8 | 81 C1 FF FF 00 00        | add ecx,FFFF                            |
Hard.dll (pseudocode):
Code: [Select]
ReturnType CallingConvention FunctionHook(VariableType VariableName, ...)
{
    VariableName *= Multiplier;
    return OriginalFunction(VariableName);
}

HP.dll:
Code: [Select]
510620C8 | 81 FA FF 7F 00 00        | cmp edx,7FFF                            |
510620CE | 7E 05                    | jle hp.510620D5                         |
510620D0 | BA FF 7F 00 00           | mov edx,7FFF                            |

Magic.dll:
Code: [Select]
0F7120C8 | 32 C9                    | xor cl,cl                               |


I will modify the post with updated patches for Steam BuildID: 296320 as I rediscover them.

Spoiler: show
Break Damage Limit:
Code: [Select]
FF8_EN.exe+91137 | 81 C1 0F 27 00 00        | add ecx,270F                            | add ecx, 0xffff
Break HP Limit:
Code: [Select]
GF

FF8_EN.exe+95E6D | 81 FA 0F 27 00 00        | cmp edx,270F                            | cmp edx, 0xffff
FF8_EN.exe+95E75 | BA 0F 27 00 00           | mov edx,270F                            | mov edx, 0xffff

Party

FF8_EN.exe+95A1A | 81 FA 0F 27 00 00        | cmp edx,270F                            | cmp edx, 0xffff
FF8_EN.exe+95A22 | BA 0F 27 00 00           | mov edx,270F                            | mov edx, 0xffff

Limitless Magic (does not break Double/Triple and works in Battle/Field):
Code: [Select]
Battle

FF8_EN.exe+86B0C | FE C9                    | dec cl                                  | nop

Field

FF8_EN.exe+F3027 | FE CB                    | dec bl                                  | nop

Save Anywhere - Address (set value to 1 and freeze):
Code: [Select]
FF8_EN.exe+18FEA89
Save Anywhere - Patch:
Code: [Select]
Save Point

FF8_EN.exe+1221CF | 8A 88 D1 00 00 00        | mov cl,byte ptr ds:[eax+D1]             | mov cl, 1
FF8_EN.exe+1221D7 | 80 C9 01                 | or cl,1                                 | nop
FF8_EN.exe+1221E6 | 80 E1 FE                 | and cl,FE                               | nop

Loading Zone

FF8_EN.exe+12BE1D | 8A 90 D1 00 00 00        | mov dl,byte ptr ds:[eax+D1]             | mov dl, 1
FF8_EN.exe+12BE2D | 80 E2 FC                 | and dl,FC                               | nop
Title: Re: [FF8PC-Steam] Difficulty Patch and Add-on's (2014-07-11)
Post by: Mcindus on 2017-06-20 02:12:39
I am the author of the dll files. The reason something might not work is due to version discrepancies and because it was poorly coded. These were put together before the Steam release and I stopped playing FF8 shortly after to work on other projects. I no longer have the source files, but I can show you how they work.

Spoiler: show
Damage.dll:
Code: [Select]
510620C8 | 81 C1 FF FF 00 00        | add ecx,FFFF                            |
Hard.dll (pseudocode):
Code: [Select]
ReturnType CallingConvention FunctionHook(VariableType VariableName, ...)
{
    VariableName *= Multiplier;
    return OriginalFunction(VariableName);
}

HP.dll:
Code: [Select]
510620C8 | 81 FA FF 7F 00 00        | cmp edx,7FFF                            |
510620CE | 7E 05                    | jle hp.510620D5                         |
510620D0 | BA FF 7F 00 00           | mov edx,7FFF                            |

Magic.dll:
Code: [Select]
0F7120C8 | 32 C9                    | xor cl,cl                               |


I will modify the post with updated patches for Steam BuildID: 296320 as I rediscover them.

Spoiler: show
Break Damage Limit:
Code: [Select]
FF8_EN.exe+91137 | 81 C1 0F 27 00 00        | add ecx,270F                            | add ecx, 0xffff
Break HP Limit:
Code: [Select]
GF

FF8_EN.exe+95E6D | 81 FA 0F 27 00 00        | cmp edx,270F                            | cmp edx, 0xffff
FF8_EN.exe+95E75 | BA 0F 27 00 00           | mov edx,270F                            | mov edx, 0xffff

Party

FF8_EN.exe+95A1A | 81 FA 0F 27 00 00        | cmp edx,270F                            | cmp edx, 0xffff
FF8_EN.exe+95A22 | BA 0F 27 00 00           | mov edx,270F                            | mov edx, 0xffff

Limitless Magic (does not break Double/Triple and works in Battle/Field):
Code: [Select]
Battle

FF8_EN.exe+86B0C | FE C9                    | dec cl                                  | nop

Field

FF8_EN.exe+F3027 | FE CB                    | dec bl                                  | nop

Save Anywhere - Address (set value to 1 and freeze):
Code: [Select]
FF8_EN.exe+18FEA89
Save Anywhere - Patch:
Code: [Select]
Save Point

FF8_EN.exe+1221CF | 8A 88 D1 00 00 00        | mov cl,byte ptr ds:[eax+D1]             | mov cl, 1
FF8_EN.exe+1221D7 | 80 C9 01                 | or cl,1                                 | nop
FF8_EN.exe+1221E6 | 80 E1 FE                 | and cl,FE                               | nop

Loading Zone

FF8_EN.exe+12BE1D | 8A 90 D1 00 00 00        | mov dl,byte ptr ds:[eax+D1]             | mov dl, 1
FF8_EN.exe+12BE2D | 80 E2 FC                 | and dl,FC                               | nop


YES!!!  Welcome back :)  I'm glad you're working on this project.  Have you seen the editing tools available for FF8 now?  You might be able to utilize them in conjunction with your mods.

I hope this works!  There are many people trying to make the game more difficult, but as you know - it's an ongoing struggle to balance FF8 properly without everyone always exploiting the heck out of it. lol.
Title: Re: [FF8PC-Steam] Difficulty Patch and Add-on's (2014-07-11)
Post by: DLPB on 2017-06-20 14:24:24
I'll soon be releasing my own DLL which automatically adds the ability to use text file byte change instructions without need for injection (part of RaW).  So you don't need to mess about with dlls.
Title: Re: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: Mcindus on 2017-08-25 22:34:18
As we patiently wait for DLPB to finish his new ddraw.dll for FF8, I present everyone with an "easy" way to implement these add-on's! 
I fixed old compatibility issues and streamlined the process.

Right now, I'm using dll injection from the old files still - and as soon as someone can help me figure out how to translate gaastly's hex instructions into HEXT, we won't have to use the .dll's anymore.

Until then - try the new "Hard Launcher" HERE (http://forums.qhimm.com/index.php?topic=15354.0)
Title: Re: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: Zara9 on 2017-08-25 22:54:29
Hey

what does this new add-on launcher do anyways
Title: Re: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: Mcindus on 2017-08-25 22:57:54
Hey

what does this new add-on launcher do anyways

It adds the Add-On's listed in the main post: Hard.dll, Damage.dll, HP.dll, Magic.dll, and Publish.dll

To find out what they do, either read the main post or the instructions that come with the mod.
Title: Re: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: Godlift on 2017-08-26 16:27:21
To be clear the magic.dll hasnt been updated with gaaasstly fixes to double and triple spell right?
Title: Re: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: Mcindus on 2017-08-30 01:49:20
To be clear the magic.dll hasnt been updated with gaaasstly fixes to double and triple spell right?

correct.  Actually, if someone could help me translate gaastly's hex changes into hext instructions for (From DLPB's Hext Tools), we could update the mod with a better method of injection.  this would allow us to update and/or edit the mods without messing around with .dll's

I don't really have time to learn how to translate it myself right now, as i'm working 70 hour weeks
Title: Re: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: DLPB on 2017-09-07 18:15:04
Translation is extremely easy.  The syntax is pretty much as simple as it can be. There is a full help file in Hext Tools  download and it wouldn't take you long at all to work it out.  Most instructions are simple ones:

Address = byte sequence separated by spaces
Address = byte - colon - number of times to repeat byte.

You are right that no dll is needed.  This will be made even easier when next version of raw comes out for ff8... since I am building HextLaunch into the ddraw.dll itself.
Title: Re: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: Mcindus on 2017-09-08 23:09:30
Translation is extremely easy.  The syntax is pretty much as simple as it can be. There is a full help file in Hext Tools  download and it wouldn't take you long at all to work it out.  Most instructions are simple ones:

Address = byte sequence separated by spaces
Address = byte - colon - number of times to repeat byte.

You are right that no dll is needed.  This will be made even easier when next version of raw comes out for ff8... since I am building HextLaunch into the ddraw.dll itself.

Oh, I'm very familiar with Hext Tools and all of the help files.  I've read them over and over again and quite thoroughly.  Unfortunately, I know absolute strawberriese about hex and don't know any syntax for anything other than some rusty 16 year old GW Basic floating around in my noggin somewhere.  So looking at someone's beautiful hex code for some cool change to FF8 and then trying to implement it myself are two very drastically different things.
I need to learn some basics about hex, and I just don't have a lot of time right now to do so.

When you make your new ddraw.dll, is there any chance you can make a proxy .dll call in an .ini file or something somewhere that let's us rename a .dll that should be loaded into the parent directory, and have it load proxy-wise through ddraw.dll?  (This is how the program ENB works.  It uses d3d9.dll, and since most other injectors/overlays also do, it lets you rename any dll and loads it in proxy through ENB, such as ReShade.  very very handy.)
Title: Re: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: DLPB on 2017-09-08 23:34:43
That's already how the new ddraw works (not released yet) - as well as ff7 version I still haven't released. HextLaunch will then be obsolete for FF7 and FF8.
Still, most of these dlls definitely aren't needed.  If someone can get me what hex values are being changed, I can see how difficult this translation to Hext is going to be.
Title: Re: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: Mcindus on 2017-09-09 19:21:33
That's already how the new ddraw works (not released yet) - as well as ff7 version I still haven't released. HextLaunch will then be obsolete for FF7 and FF8.
Still, most of these dlls definitely aren't needed.  If someone can get me what hex values are being changed, I can see how difficult this translation to Hext is going to be.

gaastly posted his code earlier in the thread under the 'spoilers' here, but i think the ones on the bottom are the ones we want.

I am the author of the dll files. The reason something might not work is due to version discrepancies and because it was poorly coded. These were put together before the Steam release and I stopped playing FF8 shortly after to work on other projects. I no longer have the source files, but I can show you how they work.

Spoiler: show
Damage.dll:
Code: [Select]
510620C8 | 81 C1 FF FF 00 00        | add ecx,FFFF                            |
Hard.dll (pseudocode):
Code: [Select]
ReturnType CallingConvention FunctionHook(VariableType VariableName, ...)
{
    VariableName *= Multiplier;
    return OriginalFunction(VariableName);
}

HP.dll:
Code: [Select]
510620C8 | 81 FA FF 7F 00 00        | cmp edx,7FFF                            |
510620CE | 7E 05                    | jle hp.510620D5                         |
510620D0 | BA FF 7F 00 00           | mov edx,7FFF                            |

Magic.dll:
Code: [Select]
0F7120C8 | 32 C9                    | xor cl,cl                               |


I will modify the post with updated patches for Steam BuildID: 296320 as I rediscover them.

Spoiler: show
Break Damage Limit:
Code: [Select]
FF8_EN.exe+91137 | 81 C1 0F 27 00 00        | add ecx,270F                            | add ecx, 0xffff
Break HP Limit:
Code: [Select]
GF

FF8_EN.exe+95E6D | 81 FA 0F 27 00 00        | cmp edx,270F                            | cmp edx, 0xffff
FF8_EN.exe+95E75 | BA 0F 27 00 00           | mov edx,270F                            | mov edx, 0xffff

Party

FF8_EN.exe+95A1A | 81 FA 0F 27 00 00        | cmp edx,270F                            | cmp edx, 0xffff
FF8_EN.exe+95A22 | BA 0F 27 00 00           | mov edx,270F                            | mov edx, 0xffff

Limitless Magic (does not break Double/Triple and works in Battle/Field):
Code: [Select]
Battle

FF8_EN.exe+86B0C | FE C9                    | dec cl                                  | nop

Field

FF8_EN.exe+F3027 | FE CB                    | dec bl                                  | nop

Save Anywhere - Address (set value to 1 and freeze):
Code: [Select]
FF8_EN.exe+18FEA89
Save Anywhere - Patch:
Code: [Select]
Save Point

FF8_EN.exe+1221CF | 8A 88 D1 00 00 00        | mov cl,byte ptr ds:[eax+D1]             | mov cl, 1
FF8_EN.exe+1221D7 | 80 C9 01                 | or cl,1                                 | nop
FF8_EN.exe+1221E6 | 80 E1 FE                 | and cl,FE                               | nop

Loading Zone

FF8_EN.exe+12BE1D | 8A 90 D1 00 00 00        | mov dl,byte ptr ds:[eax+D1]             | mov dl, 1
FF8_EN.exe+12BE2D | 80 E2 FC                 | and dl,FC                               | nop

Title: Re: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: Godlift on 2017-09-09 20:36:30
The only thing that has kept me from playing ff8 again is waiting for an explanation on how to use gastlys updated limitless magic changes without the other "Hacks". I have been lurking this thread like a hawk haha.
Title: Re: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: march on 2017-09-09 21:35:41
Hard Mode and Add-on's Launcher
Difficulty Mod and other Add-on's for FF8 on STEAM
Now All Languages Supported!
Mod Updated with easier process!

These mods use HextLaunch from DLPB's Tools
And they will until he finishes his new version of ddraw.dll for FF8 :)

I compiled some old mods for those of you using the STEAM version of FF8

Add-on's:
Hard.dll: Makes the game generally more difficult:
-   Decreases the player's melee damage by a factor of 1.5
-   Increases the level of enemies by a factor of 1.1
-   Increases the melee damage of enemies by a factor of 1.1
    (this does not effect magic damage)
Damage.dll
-   Max damage increased to 65k instead of 9999; affects your group and opponents too.
HP.dll
-   Max hp cap increased to 32k from 9999
Magic.dll
-   You won't lose magic from your inventory when you cast it in battle.
    (Negates Double and Triple effects. I don't use this one.)
Publish.dll
-   Removes the Square Enix splash logo on Startup

DOWNLOADS: Only pick one!
Hard Launcher (English) (https://goo.gl/SMdw5e)
Hard Launcher (Spanish) (https://mega.nz/#!6sgjgS4J!LpQ4IXeNrHnidEKQKDFaWxy9Aq73i1LlkPxZpBv1r7A)
Hard Launcher (French) (https://mega.nz/#!KlokyaxI!SHyIzVUJCADhXZwU3soyVlZVzEddrFGqqKy4rLvexXg)
Hard Launcher (German) (https://mega.nz/#!GhZVTA6R!_Fu8Cgr8atx3-ikFemsqPWaLU_n7Q0b4TcR8kOB53Bo)
Hard Launcher (Italian) (https://mega.nz/#!m05hTT4D!F2XUl8MPwDZT4B0yrInRLDD9xx66nwi4z2qbKEQgIoQ)


Instructions:

1.   Move "HL_Files" and "FF8_Hard_Launcher" into your parent FF8 directory.
     (steamapps/common/FINAL FANTASY VIII)
2.   Launch the game from the new "Hard" Launcher
3.   The command window will let you know if .dll injection was done correctly
     (there is also a HextLaunch.txt log file)

*If you're using RaW, you can move the RaW.dll into /HL_Files/DLL_in as well to resolve possible issues
**If you use any Tonberry mods, do not move any of the Tonberry .dll's into this location - it will render Tonberry useless.

======================================================
If you choose, you may remove the Magic.dll and Publish.dll Add-On's with no glitches
======================================================

Original thread for 2000 PC version:
Go HERE (http://forums.qhimm.com/index.php?topic=15046.0) to use these Add-ons with Aali's Driver.

Thanks to JeMaCheHi for trying so hard to get the mod to work and helping me figure out where I went wrong!

Thanks to DLPB for his Hext Tools!  Go HERE (http://forums.qhimm.com/index.php?topic=13574.0) to support him!

fern this crap , sorry for be so rude , but this comment is useful to show to everyone that the masochistic gamers can't just come in our " territory " and ruin even the cheating and modding side of gaming ( that usually don't catch their attention ), and spoil even that to us , i said all that because as you all noticed , whatever the masochistic ( competitive ) gamers are interested in , become completely set for their predilections and for their predilections only , but this isn't right , there still are and there will always exist gamers who love to cheat and to mod their games to become omnipotent , so don't forget about us , is ok to satisfy even the needs of those masochistic gamers , but this doesn't autorize them to prevent us to get help and support ( as always happened ) to get the various almighty settings and mods , not that they are doing something directly , but as you can notice , whatever someone try to post something about mods and hacks to become omnipotent , they immediately complain , like it's their own business , well is not their business , is not like from now on , none can still be interested in mods and hacks to become omnipotent
Title: Re: [FF8PC-Steam] Add-on DLLs (2014-07-11)
Post by: Godlift on 2017-09-10 14:42:24
I am the author of the dll files. The reason something might not work is due to version discrepancies and because it was poorly coded. These were put together before the Steam release and I stopped playing FF8 shortly after to work on other projects. I no longer have the source files, but I can show you how they work.

Spoiler: show
Damage.dll:
Code: [Select]
510620C8 | 81 C1 FF FF 00 00        | add ecx,FFFF                            |
Hard.dll (pseudocode):
Code: [Select]
ReturnType CallingConvention FunctionHook(VariableType VariableName, ...)
{
    VariableName *= Multiplier;
    return OriginalFunction(VariableName);
}

HP.dll:
Code: [Select]
510620C8 | 81 FA FF 7F 00 00        | cmp edx,7FFF                            |
510620CE | 7E 05                    | jle hp.510620D5                         |
510620D0 | BA FF 7F 00 00           | mov edx,7FFF                            |

Magic.dll:
Code: [Select]
0F7120C8 | 32 C9                    | xor cl,cl                               |


I will modify the post with updated patches for Steam BuildID: 296320 as I rediscover them.

Spoiler: show
Break Damage Limit:
Code: [Select]
FF8_EN.exe+91137 | 81 C1 0F 27 00 00        | add ecx,270F                            | add ecx, 0xffff
Break HP Limit:
Code: [Select]
GF

FF8_EN.exe+95E6D | 81 FA 0F 27 00 00        | cmp edx,270F                            | cmp edx, 0xffff
FF8_EN.exe+95E75 | BA 0F 27 00 00           | mov edx,270F                            | mov edx, 0xffff

Party

FF8_EN.exe+95A1A | 81 FA 0F 27 00 00        | cmp edx,270F                            | cmp edx, 0xffff
FF8_EN.exe+95A22 | BA 0F 27 00 00           | mov edx,270F                            | mov edx, 0xffff

Limitless Magic (does not break Double/Triple and works in Battle/Field):
Code: [Select]
Battle

FF8_EN.exe+86B0C | FE C9                    | dec cl                                  | nop

Field

FF8_EN.exe+F3027 | FE CB                    | dec bl                                  | nop

Save Anywhere - Address (set value to 1 and freeze):
Code: [Select]
FF8_EN.exe+18FEA89
Save Anywhere - Patch:
Code: [Select]
Save Point

FF8_EN.exe+1221CF | 8A 88 D1 00 00 00        | mov cl,byte ptr ds:[eax+D1]             | mov cl, 1
FF8_EN.exe+1221D7 | 80 C9 01                 | or cl,1                                 | nop
FF8_EN.exe+1221E6 | 80 E1 FE                 | and cl,FE                               | nop

Loading Zone

FF8_EN.exe+12BE1D | 8A 90 D1 00 00 00        | mov dl,byte ptr ds:[eax+D1]             | mov dl, 1
FF8_EN.exe+12BE2D | 80 E2 FC                 | and dl,FC                               | nop



I have hex edited before when modding Pokemon games back in the day the instructions were pretty simple it would be like go to this address and change like 1D 2D 3D to 4D 4D 4D for example but I am not familiar enough with it to understand what this means

FF8_EN.exe+86B0C | FE C9                    | dec cl                                  | nop

I open up the FF8_EN.exe go to 86B0C location and it highlights over FE C9 from there the instructions I am usually given would be change the numbers "1D 2D 3D to 4D 4D 4D example" which is easy as hell however I am totally clue less as to this part here " | dec cl                                  | nop"

If anyone is willing to explain what exactly I am supposed to do with that information I would be very grateful! This is the last thing I need to set up for my FF8! playthrough.
Title: Re: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: DLPB on 2017-09-10 16:09:58
You don't need that information.  It's simply the machine code translated into human readable operations.

dec cl (decrease cl by 1. cl is part of ecx.  It's the lower 8 bit of the 32 bit ecx register)
nop (no operation. This has code 90, which you've obviously missed above).

On its own that tells you nothing.  But like I say you don't need to know it.  You only need the address and the hex values.  I can certainly look into sorting some hext files from the info already sent.
Title: Re: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: Godlift on 2017-09-10 19:12:07
You don't need that information.  It's simply the machine code translated into human readable operations.

dec cl (decrease cl by 1. cl is part of ecx.  It's the lower 8 bit of the 32 bit ecx register)
nop (no operation. This has code 90, which you've obviously missed above).

On its own that tells you nothing.  But like I say you don't need to know it.  You only need the address and the hex values.  I can certainly look into sorting some hext files from the info already sent.

Haha yes I definitely missed the mark on that one, im not very experienced with stuff like this but I like to try and figure stuff out as I go along.

If you can get some hext files ready it would be absolutely amazing! I look at this thread like everyday waiting to use limitless magic aha.
Title: Re: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: march on 2017-09-10 19:39:13
You don't need that information.  It's simply the machine code translated into human readable operations.

dec cl (decrease cl by 1. cl is part of ecx.  It's the lower 8 bit of the 32 bit ecx register)
nop (no operation. This has code 90, which you've obviously missed above).

On its own that tells you nothing.  But like I say you don't need to know it.  You only need the address and the hex values.  I can certainly look into sorting some hext files from the info already sent.


still you should tell him that information , is just scandalous that an hacker suggest someone to prefer ignorance
Title: Re: [FF8PC-Steam] Add-on DLLs (2014-07-11)
Post by: march on 2017-09-10 19:43:04

I have hex edited before when modding Pokemon games back in the day the instructions were pretty simple it would be like go to this address and change like 1D 2D 3D to 4D 4D 4D for example but I am not familiar enough with it to understand what this means

FF8_EN.exe+86B0C | FE C9                    | dec cl                                  | nop

I open up the FF8_EN.exe go to 86B0C location and it highlights over FE C9 from there the instructions I am usually given would be change the numbers "1D 2D 3D to 4D 4D 4D example" which is easy as hell however I am totally clue less as to this part here " | dec cl                                  | nop"

If anyone is willing to explain what exactly I am supposed to do with that information I would be very grateful! This is the last thing I need to set up for my FF8! playthrough.


i am not an hacker but is often do that to my exe for final fantasy 8 , and apply that change will forever prevent some reaction ( like the decreasing of the magics once you use them in battle or in the menu ) to trigger , that's all , but i don't know exactly what kind of limitation or subtraction will permanently null that function , for that we should ask to the hackers here , but hey , as you can see from their replies they like to keep people ignorant , i just hope that sooner or later they will also need the same kind of help that you are requiring now and only get this same obstructionism instead
Title: Re: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: DLPB on 2017-09-10 21:32:57

still you should tell him that information , is just scandalous that an hacker suggest someone to prefer ignorance

I did no such thing.
You want me to start teaching assembly here?  Are you for real?  :P Assuming this person wants to know the finer details, the entire Internet is there with information and tutorials.   And, btw, I DID tell him what those instructions meant. Not that it would do him ANY good.
Title: Re: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: march on 2017-09-10 22:27:17
I did no such thing.
You want me to start teaching assembly here?  Are you for real?  :P Assuming this person wants to know the finer details, the entire Internet is there with information and tutorials.   And, btw, I DID tell him what those instructions meant. Not that it would do him ANY good.

all you said is that he didn't need to know what that can do , also , it can't do any good ? you mean that modification will cause the game to crash ? or i just your opinion about the result that he want to obtain ? -.-
Title: Re: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: gaaasstly on 2017-09-12 14:08:22
It would be easier to use a program like Cheat Engine, but you can translate the instructions here (https://defuse.ca/online-x86-assembler.htm).
Title: Re: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: DLPB on 2017-09-12 15:47:42
Cheat Engine is more difficult than HextLaunch - and it has the disadvantage of having to be loaded up every single time you start the game (unless you want to hard code change the exe).    Plus editing it is more messing.
Title: Re: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: Mcindus on 2017-09-12 16:24:03
Cheat Engine is more difficult than HextLaunch - and it has the disadvantage of having to be loaded up every single time you start the game (unless you want to hard code change the exe).    Plus editing it is more messing.

In application, I agree with DLPB.  HextLaunch and HextEdit are much more convenient to me than CheatEngine... especially since each mod can be placed individually within it's own .txt file and added/removed with extreme ease.  It might be easier for an experienced programmer/engineer type to use CheatEngine in that way, but I find the HextTools to be -really- functional for modders and the average user to be able to choose which mod they would like to run, and to be able to run it automatically on game-launch.  Not only that, but Hext Tools are extremely low resource, and don't interfere with my other injectors such as GeDoSaTo, ReShade, RaW, and Tonberry.
Title: Re: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: gaaasstly on 2017-09-12 18:15:38
Cheat Engine is about as simple as it gets; create a script and enable/disable it. It won't interfere with any mods you have installed.

Code: [Select]
[ENABLE]
FF8_EN.exe+86B0C:
nop
nop

[DISABLE]
FF8_EN.exe+86B0C:
dec cl

The only time I use a dll anymore is to hook functions (which can be done in CE, but is much more effort than it is worth) and even then I do not use a proxy like ddraw.dll.
Title: Re: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: Mcindus on 2017-09-12 22:07:08
Well,
Cheat Engine is about as simple as it gets; create a script and enable/disable it. It won't interfere with any mods you have installed.

Code: [Select]
[ENABLE]
FF8_EN.exe+86B0C:
nop
nop

[DISABLE]
FF8_EN.exe+86B0C:
dec cl

The only time I use a dll anymore is to hook functions (which can be done in CE, but is much more effort than it is worth) and even then I do not use a proxy like ddraw.dll.

The UV Fix for the textures that Maki created is only currently available in Hext - and I don't want to have to run HextLaunch -and- CheatEngine, when they function the same way - and if I get all the codes I want, I can then patch my .exe with HextEdit and not have to worry about any co-launchers when I run the game.
I don't see why so resistant to hext format?

ddraw.dll is only in use in RaW right now, and not in the HextTools.  HextLaunch is an .exe that allows injection of Hex and .dll's -  and HextEdit is an .exe Hex patcher.
Title: Re: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: DLPB on 2017-09-12 22:41:56
And soon Hext files will be loadable by RaW, meaning no HextLaunch program needed.

Also

Code: [Select]
[ENABLE]
FF8_EN.exe+86B0C:
nop
nop

[DISABLE]
FF8_EN.exe+86B0C:
dec cl

is not easy for a novice.  And it doesn't use hex values... so if you were doing a comparison of exes to create a list of hex changes - they'd be worthless there?  In Hext, they can be pasted right in.
Title: Re: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: gaaasstly on 2017-09-13 20:49:08
You can use 'db 90 90' in place of 'nop nop', etc.
Title: Re: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: Godlift on 2017-09-13 21:06:57
You can use 'db 90 90' in place of 'nop nop', etc.

What hex addresses would need to be changed? If you are able to post them here then Mcindus would be able to improve the magic.dll and a lot more people would really be able to enjoy ff8.
I know that the main complaint I hear for FF8 is drawing magic and if you can help by posting the address(s) and the changes then this could easily become a staple in most peoples play through for ff8!
Title: Re: [FF8PC-Steam] Hard Mode and Add-on's Launcher (2017-08-25)
Post by: DLPB on 2017-09-13 21:15:21
There are decompilers online, but it would be much easier if the full list of hex changes were present. Is that all of them in the posts above?  I'll do the converting at some point.