Posts for MUGG


Editor, Experienced Forum User, Published Author, Expert player (2316)
Joined: 5/15/2007
Posts: 3856
Location: Germany
S7E11 Not Asking for Trouble Ok, this episode was decent but I don't think I agree with the end at all. Pinkie helping the Yaks without them asking for help ended up being ok? So is the morale to be learned that you should give help to people that deny it?
Editor, Experienced Forum User, Published Author, Expert player (2316)
Joined: 5/15/2007
Posts: 3856
Location: Germany
I verified the pause glitch also works on Bizhawk (gambatte core). $A201 onward are executed on rare occasion when doing the bug, and depending on the values of those addresses, various things can happen, as was the case in VBA. I didn't manage to do the credit warp by editing memory to C4 C3 05 ... C0 though. I only did manage to leave the level early by C4 BC 05 ... C0. This could be because of the glitch being stubborn or because of emulation differences, I don't know. I tried with five different scenarios and it barely works. I remember the bug was more compliant in VBA.
Editor, Experienced Forum User, Published Author, Expert player (2316)
Joined: 5/15/2007
Posts: 3856
Location: Germany
Edit: Nevermind. I guess Bizhawk doesn't like luascripts that has a trailing commented block that starts with --[[ but never ends with ]].
Editor, Experienced Forum User, Published Author, Expert player (2316)
Joined: 5/15/2007
Posts: 3856
Location: Germany
I looked into the desync. There is a lagframe at frame 16180 in Bizhawk 1.12.0, which is no longer there in Bizhawk 1.12.2. Next difference after fixing that is at frame 22845 where the in-battle dialogue takes 2 frames longer to start. I didn't check thoroughly, but I saw ingame timer ended up being behind by 1 frame in Bizhawk 1.12.2. I think RNG probably wouldn't comply later on so I'm giving up on trying to convert the WIP.
Editor, Experienced Forum User, Published Author, Expert player (2316)
Joined: 5/15/2007
Posts: 3856
Location: Germany
@jdaster64: Sounds good. I think it's for the better if I don't bother trying to add RNG stuff to my luascript since I'm not motivated nor do I understand the technicalities much. Having this as a separate script (which you are writing) seems like a better idea, for now at least. I did manage to sorta finish NPC stuff though, finally. Luascript 0.12.4 It seems unused entries are loaded to WRAM, so this script could help find unused objects. Happy tcrf hunting? EDIT: Restored post after I accidentally edited over it.
Editor, Experienced Forum User, Published Author, Expert player (2316)
Joined: 5/15/2007
Posts: 3856
Location: Germany
I tried it in mGBA 0.5.2 at the same place with the same NPC but it doesn't occur. EDIT: Easier way to reproduce the bug in Bizhawk is to go to the title screen menu and press up or down and loadstate right after (during the sound effect it makes).
Editor, Experienced Forum User, Published Author, Expert player (2316)
Joined: 5/15/2007
Posts: 3856
Location: Germany
In Bizhawk 1.12.2 mgba-core, in Mario & Luigi Superstar Saga when talking to NPC in the castle town and loading a state at the same time, the audio messes up. (And it's not because of the luascript or bugged states. I rebooted core many times and took fresh states and this happens without the script running, too.) Link to video EDIT: Use this movie to go to the place in the video. http://dehacked.2y.net/microstorage.php/info/1970868117/Mario%20%26%20Luigi%20-%20Superstar%20Saga%20%28USA%2C%20Australia%29.bk2
Editor, Experienced Forum User, Published Author, Expert player (2316)
Joined: 5/15/2007
Posts: 3856
Location: Germany
S7E7 Parental Glideance I can't believe we still didn't learn anything about Scootaloo's own past after this episode... It was a really great episode though. Many moments that made me pause the video and think and feel. I still want to work on the timeline thing sometime... But there's so much I need to catch up on.
Editor, Experienced Forum User, Published Author, Expert player (2316)
Joined: 5/15/2007
Posts: 3856
Location: Germany
Editor, Experienced Forum User, Published Author, Expert player (2316)
Joined: 5/15/2007
Posts: 3856
Location: Germany
Editor, Experienced Forum User, Published Author, Expert player (2316)
Joined: 5/15/2007
Posts: 3856
Location: Germany
Great run! A bit of a shame about the graphical emulation glitches, but I guess those can't be helped with the GIM glitch only working on a specific plugin, as the author explained. I kinda wish some video editing could be done to replace those glitchy sections with how it should normally look. I think the run looked optimal enough.
Editor, Experienced Forum User, Published Author, Expert player (2316)
Joined: 5/15/2007
Posts: 3856
Location: Germany
I haven't looked into it yet. But I have provided the means that others can look into it if they want. Just download the WIP and play it back on Bizhawk...
  • 1.12.0 or 1.12.1
  • 1.12.2
and check for differences somewhere at framecount 21000. I have my doubts it can be resynced, but who knows.
Editor, Experienced Forum User, Published Author, Expert player (2316)
Joined: 5/15/2007
Posts: 3856
Location: Germany
Tried playing back the Mario & Luigi WIP in bizhawk 1.12.2, and it desynced in the Koopa Cruiser, 21000 frames into the run. Just as a FYI. Bizhawk 1.11.7 (mGBA-0.4.0) --> WIP was started on this version Bizhawk 1.11.9.1 (mGBA-0.5.0) --> WIP still syncs Bizhawk 1.12.1 (mGBA-0.5.0) --> WIP still syncs Bizhawk 1.12.2 (mGBA-0.5.2) --> desync EDIT: added link to WIP.
Editor, Experienced Forum User, Published Author, Expert player (2316)
Joined: 5/15/2007
Posts: 3856
Location: Germany
Amaraticando wrote:
This code is not very readable.
Yes, I'm sorry. I should probably have explained but the basic idea is this: AddressTableNPC contains a set of addresses (more specifically, a set of offsets) for each type of NPC. This table is hard-coded in the script and never changes. It's only supposed to be read from. NPCPreviewTable is what would be written to and updated - based on AddressTableNPC - each time I enter a new room, as that's the point when NPC memory changes. The line
 NPCPreviewTable[z][r][5]=NPCPreviewTable[z][r][5]+startingaddress
is supposed to write the actual memory address to NPCPreviewTable (calculated by taking the offset and the starting point of a slot). And then I want to read those memory addresses and display their values. I haven't tried coming up with a solution yet, but it should be doable based on your help (reference is written to NPCPreviewTable instead of the table). About readability, I could probably condense the part right after
for z=1,32,1 do
into a table. Everything else seems fine to me.
Editor, Experienced Forum User, Published Author, Expert player (2316)
Joined: 5/15/2007
Posts: 3856
Location: Germany
I'm trying to figure out a problem. This picture should sum it up nicely Can't pastebin the code because for some reason my browser hangs when I use pastebin. But here is the most important code. Hope someone can help
Language: Lua

local NPCPreviewTable = {} local AddressTableNPC = { ["FPC"] = {[1]= {0,"FPC",0xFFB0B0B0}, [2] = {1,"X",0xFFFFD080,"EWRAM",0x10,4,true,nil,nil,nil}, [3] = {1,"Y",0xFFFFD080,"EWRAM",0x14,4,true,nil,nil,nil}, [4] = {1,"Z",0xFFFFD080,"EWRAM",0x18,4,true,nil,nil,nil}, [5] = {1,"Altitude",0xFFFFD080,"EWRAM",0x1C,4,true,nil,nil,nil}, }, ["FCHR"] = {[1]= {0,"FCHR",0xFFB0B0B0}, [2] = {1,"X",0xFFFFD080,"EWRAM",0x10,4,true,nil,nil,nil}, [3] = {1,"Y",0xFFFFD080,"EWRAM",0x14,4,true,nil,nil,nil}, }, ["FBRD"] = {[1]= {0,"FBRD",0xFFB0B0B0}, [2] = {1,"X",0xFFFFD080,"EWRAM",0x10,4,true,nil,nil,nil}, [3] = {1,"Y",0xFFFFD080,"EWRAM",0x14,4,true,nil,nil,nil}, }, ["FMON"] = {[1]= {0,"FMON",0xFFB0B0B0}, [2] = {1,"X",0xFFFFD080,"EWRAM",0x10,4,true,nil,nil,nil}, [3] = {1,"Y",0xFFFFD080,"EWRAM",0x14,4,true,nil,nil,nil}, }, ["FMCH"] = {[1]= {0,"FMCH",0xFFB0B0B0}, [2] = {1,"X",0xFFFFD080,"EWRAM",0x10,4,true,nil,nil,nil}, [3] = {1,"Y",0xFFFFD080,"EWRAM",0x14,4,true,nil,nil,nil}, }, ["FBRL"] = {[1]= {0,"FBRL",0xFFB0B0B0}, [2] = {1,"X",0xFFFFD080,"EWRAM",0x10,4,true,nil,nil,nil}, [3] = {1,"Y",0xFFFFD080,"EWRAM",0x14,4,true,nil,nil,nil}, }, ["FRCK"] = {[1]= {0,"FRCK",0xFFB0B0B0}, [2] = {1,"X",0xFFFFD080,"EWRAM",0x10,4,true,nil,nil,nil}, [3] = {1,"Y",0xFFFFD080,"EWRAM",0x14,4,true,nil,nil,nil}, }, ["FSPL"] = {[1]= {0,"FSPL",0xFFB0B0B0}, [2] = {1,"X",0xFFFFD080,"EWRAM",0x10,4,true,nil,nil,nil}, [3] = {1,"Y",0xFFFFD080,"EWRAM",0x14,4,true,nil,nil,nil}, }, ["FBLK"] = {[1]= {0,"FBLK",0xFFB0B0B0}, [2] = {1,"X",0xFFFFD080,"EWRAM",0x10,4,true,nil,nil,nil}, [3] = {1,"Y",0xFFFFD080,"EWRAM",0x14,4,true,nil,nil,nil}, }, ["FPSB"] = {[1]= {0,"FPSB",0xFFB0B0B0}, [2] = {1,"X",0xFFFFD080,"EWRAM",0x10,4,true,nil,nil,nil}, [3] = {1,"Y",0xFFFFD080,"EWRAM",0x14,4,true,nil,nil,nil}, }, ["SBLK"] = {[1]= {0,"SBLK",0xFFB0B0B0}, [2] = {1,"X",0xFFFFD080,"EWRAM",0x10,4,true,nil,nil,nil}, [3] = {1,"Y",0xFFFFD080,"EWRAM",0x14,4,true,nil,nil,nil}, }, } local updateNPCPreviewTable = function() NPCPreviewTable={} AddressTableDisplayOffset["NPCPreview"]=0 memory.usememorydomain("IWRAM") basepointer=0x0D7C -- this might be version specific basepointer=memory.read_u16_le(basepointer) + 0x28 startingaddress=memory.read_u16_le(basepointer) - 0x04 memory.usememorydomain("EWRAM") --going through the 32 slots for z=1,32,1 do if memory.read_u32_le(startingaddress) == 0x00435046 then npctype="FPC" -- Field Player Character (e.g. Mario, Luigi) nextslot=0x39C elseif memory.read_u32_le(startingaddress) == 0x52484346 then npctype="FCHR" -- Field Character (e.g. NPC) nextslot=0x34C elseif memory.read_u32_le(startingaddress) == 0x44524246 then npctype="FBRD" -- Field Board (e.g. pedal) nextslot=0x34C elseif memory.read_u32_le(startingaddress) == 0x4E4F4D46 then npctype="FMON" -- Field Monster nextslot=0x358 elseif memory.read_u32_le(startingaddress) == 0x48434D46 then npctype="FMCH" -- ? nextslot=0x358 elseif memory.read_u32_le(startingaddress) == 0x4C524246 then npctype="FBRL" -- Field Barrel nextslot=0x34C elseif memory.read_u32_le(startingaddress) == 0x4B435246 then npctype="FRCK" -- Field Rock nextslot=0x34C elseif memory.read_u32_le(startingaddress) == 0x4C505346 then npctype="FSPL" -- Field Special nextslot=0x34C elseif memory.read_u32_le(startingaddress) == 0x4B4C4246 then npctype="FBLK" -- Field Block (e.g. saveblocks, special blocks) nextslot=0x360 elseif memory.read_u32_le(startingaddress) == 0x42535046 then npctype="FPSB" -- ? nextslot=0x5C elseif memory.read_u32_le(startingaddress) == 0x4B4C4253 then npctype="SBLK" -- Block nextslot=0x360 else break end NPCPreviewTable[z]=AddressTableNPC[npctype] print("z: " .. z .. " " .. NPCPreviewTable[1][2][5]) for r=2,table.getn(NPCPreviewTable[z]),1 do print("z: " .. z .. " r: " .. r .. " " .. NPCPreviewTable[1][2][5]) NPCPreviewTable[z][r][5]=NPCPreviewTable[z][r][5]+startingaddress print("z: " .. z .. " r: " .. r .. " " .. NPCPreviewTable[1][2][5]) end if nextslot~=nil then startingaddress=startingaddress+nextslot end end end
Editor, Experienced Forum User, Published Author, Expert player (2316)
Joined: 5/15/2007
Posts: 3856
Location: Germany
I found a new trick, but seems useless for any% Link to video I'm disappointed especially that it doesn't work in the barrel maze room.
Editor, Experienced Forum User, Published Author, Expert player (2316)
Joined: 5/15/2007
Posts: 3856
Location: Germany
Post subject: Re: #5481: Migu's DS Mario & Luigi: Partners in Time in 3:21:09.92
Editor, Experienced Forum User, Published Author, Expert player (2316)
Joined: 5/15/2007
Posts: 3856
Location: Germany
TASVideoAgent wrote:
MUGG, for working on this game quite a bit, and for working on the Superstar Saga TAS, which WILL be finished in 2017 (you can do it!)
Good run, yes!
Editor, Experienced Forum User, Published Author, Expert player (2316)
Joined: 5/15/2007
Posts: 3856
Location: Germany
The lua I had made for my team at the beginning of the contest http://www.mediafire.com/file/dap976tq3t65j0e/ZookLua.lua Not really useful but idk And there seems to be a few crash bugs, this is one of them that we found: http://dehacked.2y.net/microstorage.php/info/1707822396/Zook%20Castle%20Crash.bk2
Editor, Experienced Forum User, Published Author, Expert player (2316)
Joined: 5/15/2007
Posts: 3856
Location: Germany
natt wrote:
Starting from the beginning of that game, leaving all channels off, I'm not hearing any sound.
So I have all 6 toggles on false, playing on the US version of Mario & Luigi. It makes a sound when the Nintendo logo drops after power-on. And there is some noise audible on the titlescreen. When pressing A to confirm menu options (to start a new game), it makes a sound. This happens on Bizhawk 1.12.0 and 1.12.1. So are you saying you cannot hear any of those sounds?
Editor, Experienced Forum User, Published Author, Expert player (2316)
Joined: 5/15/2007
Posts: 3856
Location: Germany
Mario & Luigi Superstar Saga You don't need a save, the problem should be reproducible at game start. Thanks for looking into this.
Editor, Experienced Forum User, Published Author, Expert player (2316)
Joined: 5/15/2007
Posts: 3856
Location: Germany
First episode was good, I liked Celestia's little speeches. Second episode was kind of stupid. Third episode was sweet and heart-warming. I'm not as much into MLP as I used to be. It's been a long break and a long time. I remember when I started watching back in season 2, and loved the hell out especially of the main storyline which really hit home in season 4, imo. Now with season 5, 6 and 7 things calmed down a lot. It focuses more on character development now and there doesn't seem to be any main storyline to speak of... (I didn't really like the 2nd changeling attack that much.) I hope the cutie map itself, the tree of harmony, or such things will be picked up again for future arcs.
Editor, Experienced Forum User, Published Author, Expert player (2316)
Joined: 5/15/2007
Posts: 3856
Location: Germany
natt wrote:
MUGG wrote:
The audio toggles in the GBA core settings still don't seem to work properly. I'm on mgba (bizhawk 1.12.0) and, for example, toggling them all "false" should make it all mute right? But I can still hear some noise. And if I toggle everything except direct sound A and B to "false", it doesn't seem to have any effect at all, as I can still hear all the sound effects along with the BGM. I've been waiting for this feature a while now and it's disappointing it still doesn't work.
Cannot reproduce. All 6 toggles appear to be working.
Link to video
Editor, Experienced Forum User, Published Author, Expert player (2316)
Joined: 5/15/2007
Posts: 3856
Location: Germany
I'm not sure what to learn from this picture... But I'm happy to tell you I'm not currently in a depressed state. I'm actually in the middle of participating in life, trying to organize my future, and overall opening up to people more. I still go to that kindergarten. It's that one place where I feel accepted and can grow and be in a social and healthy environment. I'm worried about it coming to a close this summer because of what that would involve: I suddenly stop seeing all the kids and people I bonded with. I stop having that kindergarten life (going there 8:00 and leaving 13:30 and having the best time of my life inbetween). There is a lot of danger and risk that I could fall back to being depressed. But there is also a lot of hope that I could find this peace again sometime in the future. It's still more than 3 months before this will happen. I have also recently thought about starting to write a book about this kindergarten life. Everything I had experienced there, the ups and the downs, especially the time when I fell into depression last September, but also the time how I slowly made it back and look forward to a bright future (at least from where I'm standing right now).
Editor, Experienced Forum User, Published Author, Expert player (2316)
Joined: 5/15/2007
Posts: 3856
Location: Germany
That's great news indeed! Did Anwonu see the run already or will it be a surprise to him? And are you planning on submitting it?