Golden Sun Hacking Community
June 24, 2019, 03:22:51 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
  Home Forum DC Wiki Help Search Calendar   Downloads   Login Register  
 
  Search  


PRNG Randomness fix (GS2, version 2)
GS2PRNGfixV2.ips
Filesize: 110B  Views: (691)  Downloads (131)  Last Download: Yesterday at 11:12:55 PM 
Previous Download | Next Download
Description: We all know (and have a love/hate relationship with, at least for the most part) Golden Sun's broken and/or easily manipulatable random number generator. This IPS file aims to patch that so the prng is both essentially unmanipulatable (at least without codes/forcing it to certain values via ramhacking...), AND is more uniformly random (meaning better AI capabilities for enemies!).

As of this version, both of those features are already in, but it still needs testing done on it to determine how much more random it actually is compare to vanilla --- and whether any further adjustments are necessary. Hence me posting it here for more viewers / users than just on the discord.

edit: Just for transparency's sake, this code adds an additional prng formula setup (based off the one at 08014878 in ROM, with the additional code tagged on at the start) in a minor amount of free space at 080C9620. This is pointed to by an adjusted pointer at 080CA09C that will call it instead of 08014878.

Note that this ties the reseeding to the first directional movement input made after every new room load / battle won; while this much is functional + does not break the game, I cannot stress enough that this IPS still needs testing done on it to confirm the changed randomness works as intended.


Edit2: after a fair amount of testing I discovered a potential bug (dunno whether it would be a problem or not in actuality, but better to remove it / rerandomize it than be sorry down the line) I've updated the reseeding formula in the .ips (and reupped the DL with this change).

Cheers! Venus Djinni Set
Keywords: GS2, PRNG 
Posted by: Guest September 25, 2018, 07:53:13 PM

Rating: This download has not been rated yet.
Linking Codes
Direct Link
0 Members and 1 Guest are viewing this files.

Comments

Add Comment
Comment: 
Your comment will not appear until it has been approved.
Return to Downloads

Powered by: Download System by CreateAForum.com
Cbox
Today at 08:05:17 AM
Fox: Such a patch would mean you need to be careful with item drops, coins, exp, etc. Because those things would then no longer be an infinite supply.  Whether or not one uses it depends on what they want to do with it.
Today at 07:55:01 AM
Fox: (High enough being based on the area you are in.)
Today at 07:54:02 AM
Fox: I had a thought today. What if I look into making a simple patch just for lulz.  One that works the same way as using Avoid, but it lasts from start to finish, and can't be disabled.  Avoid only works if your levels are high enough, though... so thought is to keep that as is.
Today at 01:55:17 AM
ryancaesar12345: hi guys i have new update in Golden Sun 2 Lost Age Revise Mod.ips try this. :)
Today at 01:54:16 AM
ryancaesar12345: where's that link?
Today at 01:53:56 AM
ryancaesar12345: i have no account in discord.*
Yesterday at 08:44:52 PM
Salanewt: Although in the case of Wish, you could probably just use Breeze instead.
Yesterday at 08:44:36 PM
Salanewt: Yeah, it's a messaging program sort of like Skype. I find that it's much easy to walk people through some of the basics of assembly, since that's what you'll need for most animation hacks.
Yesterday at 09:39:10 AM
ryancaesar12345: discord? im not good in asm or assembly.
June 22, 2019, 09:37:26 AM
MaxiPower: gpnna update my thread on progress of my character art if anyones interested. :P
June 21, 2019, 07:51:44 PM
Salanewt: Hey there! Animation editing can be tricky, but I can share some notes with you if you pop in on our Discord. Are you good with assembly?
June 21, 2019, 02:59:40 PM
ryancaesar12345: and how to change a death curse turn in hex editor?
June 21, 2019, 02:50:00 PM
ryancaesar12345: and how to make animation but changing palette only like wish blue i want to change violet. for AOE healing and earth element.
June 21, 2019, 02:47:44 PM
ryancaesar12345: im done already thanks man i change the icon in that tutorial and all i need is animation most of elemental like healing like wish but wind element. how to import animation in TLA editor in *game crashes* index
June 21, 2019, 12:01:35 PM
Fox: Oh that. You are talking about Caledor's tutorial?
June 21, 2019, 11:49:55 AM
Fox: So in little endian... 08FA0000 (32-bit) is the same as 00 00 FA 08 (8-bits) (Since GBA is little endian) ;;; but if this were big-endian, it would have been 08 FA 00 00 (8-bits)     
June 21, 2019, 11:42:17 AM
Fox: "in the ROM file" = I mean when using any other hex editor to look in the file... ROM section in VBA is 08000000-09FFFFFF, but ROM files are different sizes, so GS1 stops a quarter the way (08800000 / 8MB), and GS2 stops half way. (09000000 / 16MB)
June 21, 2019, 11:39:55 AM
Fox: I am not sure I understand what you are trying to do? ... But all little endian is is just reverse byte. (of the bytes in a data type).... So like... 8-bit is the same regardless of big or little endian. 16-bit is like 0102=big endian 0201=little endian .... 32-bit is like 01020304=big endian ; 04030201=little endian.  (I use 01-04 numbers to represent how the bytes are ordered by address.) ; 00FA0000 in the ROM file is 08FA0000 in VBA's memory viewer/and that's how it works when the game reads
June 21, 2019, 05:20:47 AM
ryancaesar12345: i sa that in icon compressor 00FA0000 -> in 00FA0008 hmm?
June 21, 2019, 05:14:41 AM
ryancaesar12345: how to convert in hex editor a address in little endian like this? 00FA0080?

Affiliates
Temple of Kraden Golden Sunrise
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.114 seconds with 18 queries.