Help.When i try change the time of day, it won't follow time in main story anymore.oriberu wrote: ↑Sat Mar 20, 2021 1:46 amHere is a - very rudimentary - table with some basic values and scripts for Yakuza 4; I'll possibly add more as I'm playing the game. Hope it helps somebody.
Game: Yakuza 4 (Steam)
Cheat Engine: 7.2
Values: Karaoke, Health, Heat, XP, Yen, Soul Orbs, Damage done, Enemy Health, misc.
Update 1:
- added main inventory, some minigame-related scripts and values, weapon health script, sobriety script
- fixed script injection conflicts
Update 2:
- added script that makes the opponent in a chase get severely reduced stamina
- added script that makes the player not sustain damage (can still be grabbed and be subjected to hit animation)
- added script that makes the player unhittable (can still be grabbed)
- added script that makes the player not lose heat
A word of context: I'm still playing as Akiyama (just started Chapter 3), so if some values or scripts don't work for later player characters, I'll address that when I get there. Also, still a noob, so let me know if stuff does not work.
Update 3:
- added script which allows creating/updating items without meeting requirements
Note: the script for item modding is highly experimental; your PC should not catch on fire, but I'll not vouch either way... It worked for me, but please save in a different slot, check for missing items and disable it after use.
Update 4:
- (script) player may buy many meals at once (see notes)
- (script) fixed XP multiplier (see notes)
- (values) hostess maker: hostess data
- (script) hostess maker: all dresses are made available (see notes)
- (values) essentials, inventory for all player characters
- (script) Unlimited ammo
- some misc. values
Notes:
The multiple meals script modifies player max health, which is messy, but that was the only way I got it to work; only toggle it inside a restaurant and don't otherwise force health values while doing it.
The hostess maker script should add all dresses to the hostess menu; can be enabled/disabled once and then safely ignored. This _may_ help with the Fashionista trophy; can't test, since I already got it before making this script (omg, that was a slog).
Any clue how to add a non-address input/text box to the standard cheat table, if that's even possible, would be welcome. As is, scripts like XP multiplier only use a fixed value.
The very first value in the table is now an indicator for which player character is active; that's not for changing the character, just as a reminder which essentials/inventory to use. All scripts _should_ now work for all player characters, but I might have missed some. Please let me know.
Update 5:
- Aroma Massage: serene performance
- Table Tennis: maximum heat
- Table Tennis: opponent does not score
- Table Tennis: player wins a game in one point
- Roulette: 17 always wins
- Blackjack: player card value is always counted as 21
- Poker: player earns more chips for winning
- Pool: don't switch turn to opponent
- Pool: Rotation, sink all balls at once
- Baccarat: game always results in a tie
- Cho-han: always roll snake eyes
- Oicho-kabu: player hand gets evaluated as Four/Nine-One every time
- Cee-lo: player always gets triple-1, opponents are less lucky
- Koi-koi: only player earns points
- Mahjong: player gets 999.999 points
- Shogi: every tile the opponent moves, turns into a player tile
- Batting: complete course in one at-bat
- Batting: infinite pitches
- Items do not get removed through use
- Money does not decrease
- added entry for Difficulty Level
- added several misc. values
Update 6:
- Bowling: player throws are always evaluated as strikes
- Bowling: Split, infinite balls
- Boxcelios 1: fix enemy timer
- Boxcelios 2: fix enemy timer
- Darts: 01, player wins in one hit
- Darts: Cricket/Count-up, player wins after the first round
- Golf: Near Pin, every stroke counts as hole-in-one
- Sea Fishing: fishing line will not break or slacken
- Shogi: preserve take backs
- UFO Catcher: infinite turns
- added Sodachi Dojo (Saejima) category
- added Hostesses category
- added swing speed modifier for Golf
- added entries for UFO Catcher prizes
Notes:
Renamed the original Shogi script to better reflect what it effectively does, i.e. make the opponent surrender; other small changes to existing entries.
Update 7:
- Boat Chase: infinite player health
- Modding: item costs no materials (see notes)
- Pool: pocket all balls except the last one
- Timer does not run out
- Timer runs out immediately
- added multiple sets of completion values (IF7-R, Heat Actions, Revelations, etc.)
- added multiple misc. values (time of day, police scanner, broken weapons, etc.)
Notes:
The modding script only works for items that are known and the item created always overwrites the first inventory slot, so make sure you keep that one empty when using the script.
I reordered and renamed some values in order to, hopefully, make a little more sense. Most of the completion values are under -- Misc -- and should be used with caution (save beforehand); they can't be turned off gracefully.
Cheers.
Sorry bad english