mupen64plus / mupen64plus-core

Core module of the Mupen64Plus project
1.29k stars 257 forks source link

Request: Options for Use TLB and TLB Umapping. #184

Open retrobenny opened 8 years ago

retrobenny commented 8 years ago

The use case for toggling these options on/off is for some games that require it to function without crashing at one point such as the Castlevania games,and some games that don't need it in order to function and run slower with them on,also benefitting in other ways such as codes not triggering a freeze/crash.

A good example of codes that crash with TLB enabled and work fine with it disabled is DK64 and my really entertaining Rambi Bongos code. 816F1156 0008 816F115E 0014

PJ64 test; Enabled TLB: When attempting to play the instrument,the game crashes with a LoadFileImage error. Disabled TLB: When playing the instrument,Rambi spawns with the special attack action and takes ownership of DK's item detection for the session,each subsequent spawn takes that trait again,doing so on a crystal coconut will cause the 2nd freshly spawned Rambi to collect that crystal coconut for you.

This may also make the difference for Banjo-Tooie's (albeit buggy) split-up anywhere code and many other codes that trigger a freeze when used instead of running.

retrobenny commented 7 years ago

Someone please respond.

Please @Gillou68310 and @fzurita

fzurita commented 7 years ago

I don't know enough about the core to say much.

richard42 commented 7 years ago

I'm okay with adding this capability in the .ini file as a game-specific option. If someone writes a cleanly-implemented patch to add this feature, I'll merge it.