namespace GBAtemp\ListUsers\BBCode;
class Custom
{
public static function renderListUsers(
array $tagChildren,
$tagOption,
$tagName,
array $options,
\XF\BbCode\Renderer\AbstractRenderer $renderer
) {
// Parse group IDs from the BBCode parameters
$groupIDs = explode(",", $tagOption);
// Initialize the Finder for XF:User entity
$finder = \XF::finder('XF:User');
// Construct the condition to find users with the specified group IDs
$inSet = $finder->expression("FIND_IN_SET(?, secondary_group_ids)", $groupIDs);
// Set the condition for the finder to retrieve users with the specified group IDs
$finder->where($inSet);
// Fetch users matching the condition
$users = $finder->fetch();
// Initialize an array to store user details
$userDetails = [];
// Loop through each user
foreach ($users as $user) {
// Start building user details
$userDetail = '
'; // Open a div for user details
// Get the avatar and username link
$avatarAndUsername = self::getUserAvatarAndUsername($user);
// Append the avatar and username link to the user details
$userDetail .= $avatarAndUsername;
$userDetail .= '
'; // Close the div for user details
// Add user details to the array
$userDetails[] = $userDetail;
}
// Concatenate user details with commas
$userListHTML = '
' . implode('', $userDetails) . '
';
// Return the HTML
return $userListHTML;
}
protected static function getUserAvatarAndUsername($user)
{
$templater = \XF::app()->templater();
// Render the avatar and username link using XenForo's templating system
$avatarAndUsernameHtml = $templater->fn('avatar', ['user' => $user, 'size' => 's']);
$avatarAndUsernameHtml .= '' . htmlspecialchars($user->username) . '';
// Return the HTML for the avatar and username link
return $avatarAndUsernameHtml;
}
}
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
I've been feeling like playing my good old Pokémon games on the Gameboy lately. Of course some of those games have a dead battery that I need to change, but I'll replace them eventually so no biggie.
Some other games do not have a dead battery though, but I'm planning on changing all the batteries in one go while I'm at it, hence my question : What's the cheapest alternative to dump my saves before I change the battery so I can restore my saves once it's replaced ?
I also own both a GBA and a GBA SP, so if there's a flashcard or anything that would allow me to do this for GBA and GB games, I'd be interested in it too.
They should have a distributor listed on the page near your region (France?), so the cost of shipping should be less than shipping it directly from Australia...
As a last resort, you can try getting a "InterAct Game Boy Mega Memory Card". These tend to be rare and expensive, so probably not a viable option. Just thought I'd mention it.
The GBxCart RW seems like the best option here. Unfortunately, the French seller closed shop so I'd have to wait longer before receiving it. On the bright side, the price would have been the same as if it had been shipped from Australia, as you suspected. If it's worth the price then I'll probably go with this.
Test points on the back of the game card, intended to measure battery voltage at various points in the circuit but that you can use to attach a third battery while you do the job
I second this, even works on the ed64p everdrive clones that can still be gotten for $50 on aliexpress, if you habe a n64 with a gb transfer pak already it is a good investment as it can do lore than dump carts and saves. I used it before I did the f-ram mod on all of my Pokémon carts to dump the sames and again after the mod to write them back to the carts.
Also related is https://github.com/Lorenzooone/gba-dump-gb , but that requires a special GBA-to-USB cable in addition to a GBA flashcart. (Normally it is impossible to do things with GB or GBC carts in GBA mode – that's the amazing thing!) I'm not even sure where you would get the appropriate cable or how you would make one, though. (Obviously a USB charging cable isn't going to do it.)
A jailbroken Retron5 can also be used as a dumper, but those are kind of expensive if you don't have one already. There's also the Retrode, but that's way more expensive than the alternatives.
I wish someone would make some sort of dumping program for the Game Boy Player, but if no one's done it by now, there's probably no chance of it happening.
I've been feeling like playing my good old Pokémon games on the Gameboy lately. Of course some of those games have a dead battery that I need to change, but I'll replace them eventually so no biggie.
Some other games do not have a dead battery though, but I'm planning on changing all the batteries in one go while I'm at it, hence my question : What's the cheapest alternative to dump my saves before I change the battery so I can restore my saves once it's replaced ?
I looked into this a while ago and was surprised to learn that the batteries in all my old GB carts are still ticking along just fine. Apparently reading and writing is what really drains it.
The exception is Pokemon G/S – the RTC is constantly running the battery down.
Oh hi, I didn't think I would get this many answers! It would be tedious to reply to each message one after another but first I'd like to thank you guys for giving me all this information.
While I may not have a N64 with transferpak or any flashcart, now I know how to proceed when I'll need my saves extracted.
I looked into this a while ago and was surprised to learn that the batteries in all my old GB carts are still ticking along just fine. Apparently reading and writing is what really drains it.
The exception is Pokemon G/S – the RTC is constantly running the battery down.
Yep, that's exactly it. Blue and Yellow are still fine even though they're my very first videogames as far as I remember, and the fact that I had made a new save several times to play through the games again.
As each year passes, retro games become harder and harder to play, as the physical media begins to fall apart and becomes more difficult and expensive to obtain. The...
While rumors had been floating about rampantly as to the future plans of Nintendo, the President of the company, Shuntaro Furukawa, made a brief statement confirming...
Nintendo has officially announced that a successor to the beloved Switch console is on the horizon. As we eagerly anticipate what innovations this new device will...
DOOM is well-known for being ported to basically every device with some kind of input, and that list now includes the old retro game console in Persona 5 Royal...
With the vast success of Super Mario Maker and its Switch sequel Super Mario Maker 2, Nintendo fans have long been calling for "Maker" titles for other iconic genres...
Retro handheld manufacturer Anbernic has revealed its first clamshell device: the Anbernic RG35XXSP. As the suffix indicates, this handheld's design is inspired by...
After several months of work, the Harbour Masters 64 team have released their first public build of 2Ship2Harkinian, a feature-rich Majora's Mask PC port. This comes...
After rumour got out about an upcoming NES Edition release for the famed Nintendo World Championships, Nintendo has officially unveiled the new game, titled "Nintendo...
The number of layoffs and cuts in the videogame industry sadly continue to grow, with the latest huge layoffs coming from Microsoft, due to what MIcrosoft calls a...
Ubisoft has today officially revealed the next installment in the Assassin's Creed franchise: Assassin's Creed Shadows. This entry is set in late Sengoku-era Japan...
Nintendo has officially announced that a successor to the beloved Switch console is on the horizon. As we eagerly anticipate what innovations this new device will...
While rumors had been floating about rampantly as to the future plans of Nintendo, the President of the company, Shuntaro Furukawa, made a brief statement confirming...
As each year passes, retro games become harder and harder to play, as the physical media begins to fall apart and becomes more difficult and expensive to obtain. The...
After several months of work, the Harbour Masters 64 team have released their first public build of 2Ship2Harkinian, a feature-rich Majora's Mask PC port. This comes...
Ubisoft has today officially revealed the next installment in the Assassin's Creed franchise: Assassin's Creed Shadows. This entry is set in late Sengoku-era Japan...
After a little more than three years of exclusivity with the Epic Games Store, Square Enix has decided to bring their beloved Kingdom Hearts franchise to Steam. The...
After rumour got out about an upcoming NES Edition release for the famed Nintendo World Championships, Nintendo has officially unveiled the new game, titled "Nintendo...
DOOM is well-known for being ported to basically every device with some kind of input, and that list now includes the old retro game console in Persona 5 Royal...
The number of layoffs and cuts in the videogame industry sadly continue to grow, with the latest huge layoffs coming from Microsoft, due to what MIcrosoft calls a...
Sony is once more attempting to reintroduce players to their older library of games by re-releasing classic PlayStation 2 titles onto the PlayStation Store. During...
Caller -"Everytime I start a Pc game on my S24, playing on a external monitor, someone calls or texts me, n it kicks me out of the game." Customer Support - Click (hangs up)
I found it funny cause many many years ago, had a roommate in college that did this same dumbass branding of the school logo, but it didn't look anything like it after it healed. Just looked like a birthmark.