Posts for MUGG


Editor, Experienced Forum User, Published Author, Expert player (2315)
Joined: 5/15/2007
Posts: 3856
Location: Germany
I think this might have been my favorite 1st April TAS
Editor, Experienced Forum User, Published Author, Expert player (2315)
Joined: 5/15/2007
Posts: 3856
Location: Germany
Your bounty qualifies as long as you say it does. I would not add it to the page, however, because there doesn't appear to be a rerecording emulator for your game yet. But I don't have a final say in what goes or doesn't go onto the page by any means, so please feel free.
Editor, Experienced Forum User, Published Author, Expert player (2315)
Joined: 5/15/2007
Posts: 3856
Location: Germany
You can do something like this. But it will not remember the values from previous frames when you load a state. I did not figure out my item display stuff yet btw.. not that it matters too much.
Language: Lua

function text(x, y, text, color) gui.pixelText(x, y, text,color,0x00000000) end valuetable = { [0] = "-", -- current frame [1] = "-", -- previous frame [2] = "-", -- frame before that [3] = "-" -- frame before that } event.onloadstate(function() valuetable = { [0] = "-", [1] = "-", [2] = "-", [3] = "-" } end) while true do testvalue = memory.read_u16_le(0xc900) valuetable[3] = valuetable[2] valuetable[2] = valuetable[1] valuetable[1] = valuetable[0] valuetable[0] = testvalue text(80,38,valuetable[0],0xFF000000) text(80,48,valuetable[1],0xFF000000) text(80,58,valuetable[2],0xFF000000) text(80,68,valuetable[3],0xFF000000) emu.frameadvance() end
Editor, Experienced Forum User, Published Author, Expert player (2315)
Joined: 5/15/2007
Posts: 3856
Location: Germany
Link to video It should be tested if getting the speed upgrade is faster. Otherwise, I think this is good enough so I would go on to do the other courses to make it into a fullgame run. I do the A courses instead of C because I want to aim for a fast time without having to worry about the timelimit and picking up time items all the time, which would slow down the pace.
Editor, Experienced Forum User, Published Author, Expert player (2315)
Joined: 5/15/2007
Posts: 3856
Location: Germany
In my experience that is waaaaaaaay too slow
XP or hourglass? XP runs fine for me.
Editor, Experienced Forum User, Published Author, Expert player (2315)
Joined: 5/15/2007
Posts: 3856
Location: Germany
Can't you just emulate XP in virtualbox and run hourglass in it? That's what I tried, but my games of interest don't seem to work with hourglass.
Editor, Experienced Forum User, Published Author, Expert player (2315)
Joined: 5/15/2007
Posts: 3856
Location: Germany
I need help with a luascript I made for GB Motocross Maniacs. There are items you can collect throughout the course but some of them can be hidden. I want to show hidden items on screen. Starting at $CA00 are item slots, with 4 bytes, each byte tells respectively: - kind of item - amount? - ypos - xpos But since the position values are only 1 byte, I don't know what to do to determine at what point in the course it should be displayed. I would appreciate help http://pastebin.com/2vd6nnGU
Editor, Experienced Forum User, Published Author, Expert player (2315)
Joined: 5/15/2007
Posts: 3856
Location: Germany
Infos about items:
Item slot addresses at $CA00~$CAFF (System Bus). 
Each slot tells (1byte each): what item, status, ypos, xpos.

  Items:
0x00 crashes the game.
0x01 ?
0x02 Speed (S) -- Increases max speed from 784 to 896.
0x03 Time (T) -- Gives 10 extra sec of gas.
0x04 Nitro (N) -- Gives 4 nitros.
0x05 Tire (R) -- Allows better acceleration in sand.
0x06 Jet (J) (hidden) -- Lets you use nitros in air.
0x07 biker (hidden) -- Prevents you from losing items on fall (but doesn't work because devs messed up, it seems).
0x08 crashes the game.
0x09 crashes the game.

  Status:
I think this address is really the amount of times this item can be collected. 
If collected, this address depletes by 1 and you need to go to the next lap to collect it again.
The last few slots in that area show illegal items (0x0D etc.), so maybe that area is not related. I have to study it. I will try to add an item display to the lua.
Editor, Experienced Forum User, Published Author, Expert player (2315)
Joined: 5/15/2007
Posts: 3856
Location: Germany
luascript http://pastebin.com/dZuwRKpB http://pastebin.com/2vd6nnGU (with item display but doesn't really work...) Shows (sort of): xpos acceleration nitro count time left current time Here is another little bug:
Editor, Experienced Forum User, Published Author, Expert player (2315)
Joined: 5/15/2007
Posts: 3856
Location: Germany
Ok I figured out some stuff. I played World class again and cheated my time to be always good, so I was always 1st. I'm guessing you need to get max points in a class in order to unlock something. I unlocked super world class and track 16... and apparently it also unlocked a new skin: You can now play as the man himself instead of the bike. He runs through the tracks :P. Super world class is track 11-16, with 3 laps instead of 2 (which sucks for TASing :P). Completing it gives the same boring credits screen. You don't really get anything for running championship mode and if you wanted to run all classes, you'd have to re-play tracks 11-15. So a TAS should better use time attack mode and start from SRAM to have all tracks available. Next question is if to use easy, medium or hard difficulty. Easy --> Forgiving time limit, you can basicly go all out Medium --> No reason to use this over the others Hard --> Harsh time limit, you basicly need to go out of your way to pick up time items often. But that's what poses an interesting challenge to the TAS. So I think we should use this difficulty. ----- Unlockables: You can select tracks 1-10 in time attack mode, and rookie class and national class in championship mode. - Winning national class (1st in each track) unlocks tracks 11-15 and world class. Might require hard difficulty. - Winning world class (1st in each track) unlocks track 16 and super world class. Might require hard difficulty.
Editor, Experienced Forum User, Published Author, Expert player (2315)
Joined: 5/15/2007
Posts: 3856
Location: Germany
Post subject: added note
Editor, Experienced Forum User, Published Author, Expert player (2315)
Joined: 5/15/2007
Posts: 3856
Location: Germany
MLSS Script v0.10 MLSS Script v0.10 r1 preview image wiki page Notes - Before using, go to Config>Display and turn off "Stretch by integers only". - Stats shown in "Basic Info Display" are out-of-battle. Stats shown by "Battle Display" are in-battle. - I learned that the game crashes if you get hit in-battle while you have more than 32767 HP, because the ingame display can't handle it. - I learned that Red and Green Pepper boost to x1.25 in Japan, but x1.5 in English. The Pepper glitch works only on English.
Changes in 0.10
- Minor bugfixes and changes here and there.
- Added "Add more space": You can now set extra screen space to move displays into. The script does not account for displays ending up off-screen, so be careful.
- Battle Display: Now accounts for camera scrolling.
- Battle Display: You can click on a field to show more stats per enemy.
- Notifications: Keeps track of in-battle changes (currently only health).
- Added "Run while paused" option, because I don't like the flickering when frame-advancing... 
Changes in 0.10 r1
- Battle: Fix camera position bug.
- Notifications: Buggy notifications when loadstating from titlescreen to ingame should not show up anymore.
I need an address that indicates if I control Mario, Luigi or both. I wasn't able to find it... I think I will add RNG display next.
Editor, Experienced Forum User, Published Author, Expert player (2315)
Joined: 5/15/2007
Posts: 3856
Location: Germany
in bizhawk, when doing action command glitch in mario & luigi (when the screen flickers), the audio pitch turns down a lot. That doesn't happen on console. Idk if it happens in the standalone mgba.
Editor, Experienced Forum User, Published Author, Expert player (2315)
Joined: 5/15/2007
Posts: 3856
Location: Germany
Well, I leave it up to the site runners if they want to keep up the bounty system. As for requesting TASes, just go to / make a game topic and ask away.
Editor, Experienced Forum User, Published Author, Expert player (2315)
Joined: 5/15/2007
Posts: 3856
Location: Germany
Just use whatever timing the last run used.
Editor, Experienced Forum User, Published Author, Expert player (2315)
Joined: 5/15/2007
Posts: 3856
Location: Germany
Editor, Experienced Forum User, Published Author, Expert player (2315)
Joined: 5/15/2007
Posts: 3856
Location: Germany
Mothrayas wrote:
MUGG wrote:
Is there a Sokoban solver that can calculate the least steps needed to beat a level?
This Sokoban clone/editor has a solver and optimizer which were used for the Sokoban DS TAS. It says the solver is designed for small levels, but it may still help out.
Looks neat. But the funny thing is, I tried that on the first level of GB Soukoban (aka. Boxxle), and I think I have found a faster way by 2 steps than the software (edit: I confirmed it). It's a bit difficult to describe, but if you want, I will make some video about it. When I clicked on the solve button, it showed a result immediately. I expected it would compute for a while before showing results. Maybe I need to look at the settings more? What is the "optimizer" anyway? Edit: Looks like if I turn off the "small optimizations", it comes up with my solution. Funny
Editor, Experienced Forum User, Published Author, Expert player (2315)
Joined: 5/15/2007
Posts: 3856
Location: Germany
Editor, Experienced Forum User, Published Author, Expert player (2315)
Joined: 5/15/2007
Posts: 3856
Location: Germany
Not related to what's been said before me... but: There are some images shown on Game resource pages that are hosted externally. Those images should be hosted on the site server instead to prevent them from getting lost in the future. (list has been moved to newer post)
Editor, Experienced Forum User, Published Author, Expert player (2315)
Joined: 5/15/2007
Posts: 3856
Location: Germany
It looks like the stretching can be worked around by turning off "stretch by integers only" in Display > Config. Otherwise, wait for the next Bizhawk version
Editor, Experienced Forum User, Published Author, Expert player (2315)
Joined: 5/15/2007
Posts: 3856
Location: Germany
Is there a Sokoban solver that can calculate the least steps needed to beat a level?
Editor, Experienced Forum User, Published Author, Expert player (2315)
Joined: 5/15/2007
Posts: 3856
Location: Germany
I would argue that MLSS can be done in under an hour. But it's not confirmed. I added ventuz' and yours to the page.
Editor, Experienced Forum User, Published Author, Expert player (2315)
Joined: 5/15/2007
Posts: 3856
Location: Germany
WIP I made (level 1 only) http://dehacked.2y.net/microstorage.php/info/1299696949/stuart2-mugg-2016.bk2 is 88 frames faster than nitrogenesis, achieved by better clip zipping. Luascript I made http://pastebin.com/Y8EeVy9F http://pastebin.com/mUBkj6TX Luascript notes: - Addresses seem dynamic, so you have to go looking for them every level. I just went ahead and made an address table that goes alongside my WIP*. You need to edit the addresstable inside the script with addresses of domain "Combined WRAM" as you progress. - Script seems to sometimes cause bizhawk to crash, especially when using Hard reset. maybe it will be fixed in the next Bizhawk As for the WIP... I don't feel like TASing 3 minute autoscroller lol. Who wants to do it? EDIT: The address that seems to correspond to the current level, memory domain "Combined WRAM" $009784, will update when choosing a correct password on the password screen. But there is a bug where you can cancel the password screen after selecting a password. The level address then doesn't update if you start a new game. Either the level address is wrong or the game gets confused about which level is currently active. You can start the first level with the address telling you are in level 7 or whatever. But I haven't tested further. EDIT: Looks like if you finish level 1 (address says 0 normally but can be glitched to say another number, as said) with a wrong level number, game still gives you the next correct password and corrects its level number. ___ * I have hex edited my WIP a few times so in case I ever post another version of my luascript, the addresses used in it might be outdated/not working.
Editor, Experienced Forum User, Published Author, Expert player (2315)
Joined: 5/15/2007
Posts: 3856
Location: Germany
http://pastebin.com/tHZMe9VK Lua script I made for Stuart Little 2 (UE) When I run this in mgba core and Hard reset, emu crashes.
Post subject: Motocross Maniacs 2
Editor, Experienced Forum User, Published Author, Expert player (2315)
Joined: 5/15/2007
Posts: 3856
Location: Germany
Looks like a really cool game, but probably sucks to routeplan. There is a timeattack mode and a championship mode. From a fresh savegame, there are 10 race tracks. In championship mode, you can select rookie class or national class which consist of tracks 1-5 and 6-10 respectively. If you beat national class*, it unlocks tracks 11-15 and world class. If you beat world class at hard difficulty, nothing gets unlocked. But I know that there is a 16th track in the game. If someone knows how to unlock it, I would like to hear it. I think a TAS should do hard difficulty championship mode (all classes). In case there is a 4th championship class that consists of all tracks + track 16, then I think the run should start from sram and just do that class alone. * might require hard difficulty[/b]