How do I edit damage formulas? [FFVIII]

  • Thread starter Thread starter SunnyD
  • Start date Start date
Status
Not open for further replies.
Ah thanks, I'll try this tonight. :D So, if I understand well, all shops are one after one on this code, right ? So what's the use of the code before Balamb shop ? And how I can modifie shops with Familiar (for Esthar shop)

Thanks Volania, I'll do it. ;)
 
The code before Balamb Shop is for Timber Pet Shop, so the order of shops in shop.bin seems to be identical to the order they appear in the Call Shop menu in-game.

The Esthar shops are located as follows:

- Cloud's shop is from offset 0x100 to 0x11F.
- Rinrin's Store is from offset 0x1FA to 0x23F.
- Karen's Store is from offset 0x240 to 0x25F.
- Johnny's Shop is from offset 0x260 to end.

Each value right before "FF" or "00" corresponds to an item which is assigned a certain ID. Potion is ID 1, Hi-Potion ID 3, Tent ID 33 etc. The order is the same as the item order in Item menu in-game. You need to convert these numbers to hex and put that value at the right place in shop.bin. For example, if you want the first item in Balamb Shop to be an Ultima-Stone instead of a Potion, you replace the "01" at offset 0x20 with with "1D", the hex value for Ultima-Stone (ID 29).
 
Last edited:
Hmmm that doesn't work. I extracted the file with FF8 AC:

1466357799-capture2.png


And then changed the values here:

1466357846-capture.png


And replaced the files with FF8 AC. But I have no changings in game. Did I do something wrong ?
 
Try deleting the non-modified shop.bin (if you can't do that with FF8 AC, try Deling Field editor instead of FF8 AC), then transfer the modified shop.bin back to menu.fs two times in a row. There seems to be some kind of overwriting issue. Having the same problem with mwepon.bin too. Always have to delete the old mwepon.bin first, then putting the new one back to menu.fs two times before any changes take effect.
 
I can't delete it with FF8AC and when I try with Deling, I have this:

1466378230-capture.png
 
Hm, weird. I can remove the file without problems using Deling 0.8b and Remove command here:

WUixPPK.png


Perhaps try downgrading too in case you are using 0.9b. Other than that I'm out of ideas :-\
 
Well the problem was that the game was in Program files. So now that I can delete twice the file and replace the modified file, it still doesn't work. No changes in game. :(
 
Let's try to rule certain possibilities out:

- Try starting the game without any shop.bin at all. Your Shop menus should be a huge mess now, but don't worry, this is reversible by putting the shop.bin back in (always have a default shop.bin ready just in case). If everything is still normal without shop.bin, there is definitely something wrong. If you can see the mess too, it's all good. Move modified shop.bin back to menu.fs twice in a row (preferably per drag and drop, as it saves some clicks) and start the game.

- Do you accidentally load a save with Tonberry's Familiar Ability unlocked? If so, delete it by using Amnesia Greens and check the Balamb Shop contents again. According to your changes from above, it should only offer G-Potion, with the rest being invisible until you have Familiar.

- Don't forget to save your changes made with Translhextion before moving files back to where they belong.
 
Let's try to rule certain possibilities out:

- Try starting the game without any shop.bin at all. Your Shop menus should be a huge mess now, but don't worry, this is reversible by putting the shop.bin back in (always have a default shop.bin ready just in case). If everything is still normal without shop.bin, there is definitely something wrong. If you can see the mess too, it's all good. Move modified shop.bin back to menu.fs twice in a row (preferably per drag and drop, as it saves some clicks) and start the game.
I've already tried this and nothing happenned, I mean the menu is still normal, nothing has changed

- Do you accidentally load a save with Tonberry's Familiar Ability unlocked? If so, delete it by using Amnesia Greens and check the Balamb Shop contents again. According to your changes from above, it should only offer G-Potion, with the rest being invisible until you have Familiar.
No, the save I use is without Familiar, I've deleted it with Hyne. And everything is normal.

- Don't forget to save your changes made with Translhextion before moving files back to where they belong.
Yes I've saved with Translhexation. The weirdest is when I extract the files again after I have done the changings and see that it doesn't work, the shop.bin is still modified, as if the game uses another shop.bin somewhere in the game. :(
 
Tested it again and the same issue... could anybody try this to see if it's just a problem with me ?
 
You know, there might be a problem with privileges.
Go to where your menu.fs file is, right click and see if the file is 'read-only' also check the menu.fl and menu.fi files.
After that run Deiling.exe with Admin privileges and then delete the shop.bin file.
Finally, after all the issues you had before - check if you maybe have two shop.bin files. You may reinstall the file or check integrity on Steam and do everything again using Deiling in administrator mode.

@EDIT: I just removed the whole shop.bin file and game crashed before jumping into store screen. Check again the files mexico and lastly reinstall game files.
 
Last edited:
Thanks for the help but... no read-only on files. And it's not working with deling with Admin privileges. And there's only one shop.bin. So the last thing is that there's some problem with Steam. Maybe I should try with my old PC version...

Edit: I think I've reinstall the game 5 or 6 times. ^^'

Edit2: I've tried the same thing as you and the game didn't crash. After that I've go back to Deling and the shop.bin is still removed... how could it be ?...
 
Last edited:
That's weird.
Are you sure you're editing the correct file?
The one that is in:
Code: [Select]
Code:
Steam\steamapps\common\FINAL FANTASY VIII\Data\lang-en
?
Try to delete whole MENU.fs file and see if the game start normally.
 
Last edited:
Oh guys, I feel stupid now... I'm french so I've modified the files in lang.fr but the game is in english by default... ^^' Sorry and thanks for the help. :)
 
Sorry for the double post.

I have 2 other questions:

Is it possible to disable the test seed ?

How can I edit prices in shops ?

Thanks by advance ! :D
 
I'm not sure if this is the right thread for this, but this thread did lead me to the pre-beta "Doomtrain" tool and there are discussions about editing weapons in here... so, my question should be simple: why does editing Squall's hit rating appear to do nothing? Even if I lower his currently modded weapon's hit rating to 0, it shows up as 0 in the junction menu, and junk shop menu, but in battle he still has a 100% success rate hitting things regardless of the enemy's evade. Other character's weapons seem to actually be impacted by changing the value, but not Squall. Why is this and how can I solve it? Sorry if this has been discussed elsewhere and my search fu was weak.
 
Is it possible to disable the test seed ?
by test seed you mean the option to take quiz for raising SeeD rank?
Try in script: 103 SARALYON:
SARALYON
EDIT: I meant SALARYOFF to actually disable the payment and maybe also disable quiz.

How can I edit prices in shops ?
Open price.bin and the strucure is:
#Price_Entry:
Code: [Select]
Code:
ushort Priceushort Unknown?
The only variables unknown takes are:
0x0a00 (10)
0x0100 (1)
0x0500 (5)

I don't know yet what does it mean.
 
Last edited:
Thanks Maki, I'll search and tell you if I find something.

I'm not sure if this is the right thread for this, but this thread did lead me to the pre-beta "Doomtrain" tool and there are discussions about editing weapons in here... so, my question should be simple: why does editing Squall's hit rating appear to do nothing? Even if I lower his currently modded weapon's hit rating to 0, it shows up as 0 in the junction menu, and junk shop menu, but in battle he still has a 100% success rate hitting things regardless of the enemy's evade. Other character's weapons seem to actually be impacted by changing the value, but not Squall. Why is this and how can I solve it? Sorry if this has been discussed elsewhere and my search fu was weak.
I think this is because of the gunblade. This is the player who determines the accurracy of the attack by using the trigger button.
 
I think due to the attack type for Squall's weapon being different from other weapons (10 instead of 1, I think), the damage formula for that attack type might ignore hit (I can't actually check right now). Changing the attack type to the same as the other weapons might fix that.
I think the gunblade trigger only determines if it crits or not.
 
Last edited:
Ah, mexico, I made a mistake. Not SARALYON, but SARALYOFF. :D
There's also: 104 SARALYDISPOFF
The SARALYON is fired after passing SeeD test, so maybe...


evilmog6 - I checked the code, the binary operations on file are fine, so the software is not a problem.
 
Status
Not open for further replies.
Back
Top