New York, USA
Forum: Star Fox Adventures Thread: Star Fox Adventures Memory Leak Discovery Started by: Dark-X-raneDark-X-rane (edited: ) |
I should have posted this earlier since I've just remembered this, there's a Gecko code and an Action Replay code to enable the debug menu for this game. This should help out with figuring out what's causing the memory leak Zac. Gecko Code (Only works for 1.0) Adding c6148bc8 80137948 will give additional Tricky debug text (I doubt he's causing the memory leak). Adding c607d6dc 80137948 will display all OSReport messages. Adding 003dcded 00000001 will give you map cords. Action Replay (Only works for 1.0) I've messed around with the Debugger a bit and I've noticed one thing that seems to be present when the memory leak occurs. When it come to Thorntail Hollow itself, this area takes up about 65%-85% of memory to begin with. I've noticed that the areas where the memory leak occurs, memory usage is at about 75%-80% in those areas before we do the zoom-ins, whereas areas where the memory leak doesn't occur, memory usage is less than 75%. I'd assume that if an area is using 75% or more memory before we perform a memory leak, it's safe to assume that this would be enough to cause one. |
zcanannzcanann likes this. |
Forum: Star Fox Adventures Thread: Star Fox Adventures Memory Leak Discovery Started by: Dark-X-raneDark-X-rane |
In the case of preventing the game to crash here, I don't think this is possible to do since on actual hardware, the game doesn't lag when doing a zoom-in, it just crashes after 17-18 zoom-ins. I'd assume that if your game starts lagging on Dolphin that it's a safe bet to assume that's the equivalent to the game crashing on hardware. |
zcanannzcanann likes this. |
Forum: Star Fox Adventures Thread: Star Fox Adventures Memory Leak Discovery Started by: Dark-X-raneDark-X-rane (edited: ) |
For anyone that's on the Star Fox Discord, this is the same method/video that I've posted there about a month ago. I've decided to repost this here so that it doesn't get lost to time over there and to expose this to anyone that's not on the Discord server. ContentsDISCORD POST FROM 12/02/2020For anyone who's been following this channel for a bit, I've mentioned that this game leaks memory but we couldn't figure out how or why the game does this. Just last week I've pinpointed what causes the game to leak memory. If you were to somehow go OoBs and unload the map, the game leaks memory each time you unload the map via OoBs. My guess is that the game doesn't know how to properly clean up objects when unloading maps this way and the game orphans these objects in memory. So far I've managed to get some textures and particles to unload from messing around with this but I can't single handily figure out every single possible skip you can do with this. For anyone that's interested in glitch hunting this game, this is a huge discovery that should be messed around with. UPDATE AS OF 1/15/2021Since the last post I've made on the Discord server I've found several things that I didn't know about a few months prior. Some things that I've found with this method of leaking memory since then are: Things that still need to be looked at: UPDATE AS OF 1/23/2021We've narrowed down what causes the memory leak at Thorntail Hollow to be the WarpStone which makes this memory leak only exclusive in some places in Thorntail Hollow where the WarpStone is loaded in. However, I still think there's some other objects that are causing a memory leak in Thorntail Hollow since doing this method at different locations and at different points of the game require a different amount of zoom-ins before crashing. Also we can confirm that objects from other maps can get unloaded from this memory leak at Thorntail Hollow as seen in this video below. I must mention that in order to unload objects in other maps you'd have to save at the map which you want to unload certain objects then go to Thorntail Hollow and perform the memory leak. UPDATE AS OF 1/27/2021I should have posted these when I first made this post, but the codes below are to enable the debug menu for this game if anyone else is interested on trying to figure out what causes this memory leak. You'd also need to have enabled the debug text cheat which. If you don't know how to do this, read through this section here https://tcrf.net/Star_Fox_Adventures#Development_Stuff Gecko Code (Only works for 1.0) Adding c6148bc8 80137948 will give additional Tricky debug text (I doubt he's causing the memory leak). Adding c607d6dc 80137948 will display all OSReport messages. Adding 003dcded 00000001 will give you map cords. Action Replay (Only works for 1.0) Also it seems that the Warpstone doesn't have as much of a role in this memory leak than we first thought he had. The game uses about 75%-85% of memory in the areas where the memory leak occurs. I have no idea what is using this much memory in these locations but I'd say that this is the likely culprit to the memory leak than the Warpstone being the sole reason at this point. Edit: Seems like the magic gem and the particle effects don't get freed up when Thorntail Hollow gets unloaded. This might be one of the major factors to the memory leak but I doubt it's the only thing since it still doesn't make sense that the amount of zoom-ins require before the game crashes changes based on your location and your game progress. Image of the Warpstone area before it's unloaded: Image of the Warpstone area when it's unloaded (Magic gem and it's effects are still loaded in behind Tricky's food counter) UPDATE AS OF 1/28/2021Seems like there's a pattern with the memory leak, if there's an adjacent map that we can load from OoBs a memory leak will occur. There's another place where we can do this memory leak besides Thorntail Hollow and it's at the corner of Lightfoot Village closest to Cape Claw. Here's a picture that shows the positioning of all of the maps that this game has to give you an idea of where a memory leak can theoretically occur. Thanks to Rena for finding this out and for making this image: Based off this picture, we can also theoretically leak at Cape Claw with Krazoa Palace and at Cloudrunner Fortress (Although there's no way to get OoB in these areas normally) but we haven't been able to leak at these areas yet. ConclusionAs I've mentioned in my Discord post, this is probably one of, if not, the largest discovery for this game since ESW that can lead to huge changes for both Any% and possibly the 100% routes for this game. However, since this trick involves overwriting memory addresses, it'll probably take some time to find any use for this trick. It doesn't help that I also don't have as much free time to mess around with this glitch. If anyone is interested in glitch hunting for this game I'd still say that this glitch should be looked at. |
zcanannzcanann and BvqRzxi5BvqRzxi5 like this. |
Forum: Star Fox Adventures Thread: Newcomer! Started by: RusticoPirateRusticoPirate (edited: ) |
I'm glad to hear that you have an interest in running this game RusticoPirate! If you haven't done so already, you should join the Star Fox Discord server as the server has active discussions about speed tech for not only this game but for other Star Fox games aswell. In terms of suggestions on what you should run, as someone who has ran Any% for this game, I'd say that you should try out Any% before trying out the 100% route since most of the cool tricks that are in this game are used in that category. However, 100% is still an interesting category to run if you choose to run that on your first go. In terms of guides for this game, I'd get into contact with Celestial Derp to help you out with the 100% route since I've only ran this game's Any% route. |
RusticoPirateRusticoPirate, |
Forum: Star Fox Adventures Thread: Who is working on breaking this game? Started by: SaosSaos |
In terms of getting the lower airswim at ThornTail Hollow, this method is actually something I was trying to find a while back but couldn't find any ways to get the lower airswim in that particular area. I've posted a video awhile back of a different way on getting an airswim with that water plane as an alternate route for Queen Earthwalker skip by using different area to get that airswim. However, this method is far more risky to take as you barely softlock yourself while dropping down to get this airswim. In terms of this being used for DIME, as you may or may not know, DIME is currently something that we cannot do in Any% as we'd softlock ourselves during the Snowhorn Trail since a particular part of the Wastes that we need to go to remains locked since we skip getting a key from the Queen with DIME. |
josejavier1158josejavier1158 and zcanannzcanann like this. |