Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Latest Threads
Help with mGBA and tradin...
Last Post: verarrewfashra
4 hours ago
Need help with destinatio...
Last Post: Guy71
10-13-2024, 06:15 PM
Master Pause Feature
Last Post: Amichi
10-12-2024, 04:14 AM
mGBA Xbox 1 controller is...
Last Post: Pokemonredfan
10-02-2024, 12:16 PM
Some help is needed
Last Post: endrift
09-30-2024, 11:54 PM
Hello, just joined this c...
Last Post: Hazstar98
09-28-2024, 05:41 PM
Pokémon GSC internal clo...
Last Post: endrift
09-12-2024, 11:39 PM
Cheats on emudeck steam d...
Last Post: Drag0n_f@fnir
09-08-2024, 10:03 PM
Multiplayer Window Cannot...
Last Post: endrift
08-27-2024, 02:58 AM
How do i load my game sav...
Last Post: MazkaSantos
08-22-2024, 12:58 AM

Forum Statistics
» Members: 1,600,   » Latest member: verarrewfashra,   » Forum threads: 625,   » Forum posts: 2,358,  
Full Statistics

Exclamation mGBA Creates Issues After Re-Injecting Sav Into a NSUI VC Game
Posted by: Vespuria - 08-04-2024, 07:48 PM - Forum: General - Replies (2)

I recently started playing a game of Pokemon Emerald Version on my 3DS running CFW. I created a Virtual Console game of Pokemon Emerald Version using New Super Ultimate Injector and used the save type "Flash 1Mbit (Macronix, ID: 0x09C2) + RTC" to create the .cia. After playing for a few day, I dumped the .sav onto my PC and ran it using mGBA in order to trade Pokemon with myself on another rom. Everything was going great until I tried to inject the .sav back into my VC game of Emerald on my 3DS which gave me an error. After troubleshooting, I discovered that mGBA adds 16 bytes of data onto the end of the .sav to keep it's RTC. Once I discovered this, I was able to edit the data by removing those 16 bytes which allowed me to successfully inject the .sav back into my VC of Emerald.

Fast forward 2 IRL days and I've noticed that my berries aren't growing, but they were growing just fine before I used mGBA. Using PKHex I was able to see that my RTC had not progressed in 2 days. I figured it was the missing code and upon rebooting the .sav in mGBA, the berries have grown and opening it in PKHex shows that the RTC has progressed again.

The issue now is that I cannot inject the .sav the way it is since it has 131,088 bytes of data and it must have exactly 131,072 to be injected back into my VC running Pokemon Emerald. Removing those 16 bytes allows me to inject the .sav but the RTC is disabled which disables many important functions of the game. Sadly, the .sav file is missing data that it not need before.

I have tried checking the "Reset RTC" flags in PKHex does not progress the RTC either. I see my only options as restarting a new game and never touching mGBA again (regrettably) or continuing to play the game on an emulator on my 3DS (which sadly does not run as smoothly or seamlessly as a virtual console title).

Given these symptoms, does the community have any ideas as to what I could try to do to fix my .sav and make it work properly again? I have included my most recent .sav without the 16 bytes that mGBA added. Running it through mGBA makes the RTC work again, but the real solution would be for mGBA to not add these 16 bytes to the .sav in the first place and to emulate an RTC itself.



Attached Files
.sav   Pokemon Emerald (08042024).sav (Size: 128 KB / Downloads: 0)
Print this item

  Can't get Lua example scripts to work
Posted by: ColemanSloth - 08-03-2024, 05:50 PM - Forum: General - Replies (2)

I'm trying to create a Lua script to alter keys in the midst of gameplay (specifically for the game Kingdom Hearts - Chain of Memories), but I can't seem to get any of the Lua scripts to work at all. I downloaded some from the GitHub repo and loaded them in the `Tools -> Scripting` window, but if I try to run them while a game is playing they'll throw errors like "attempt to index a nil value (global 'input')" for `analog-interpolate` and `gamepad-demo`, or "attempt to index a nil value (global 'image')" for `color-mask`.

Is there something I'm missing here, like a script you need to run beforehand to set up these global variables, or am I only supposed to run these against an example ROM or something? I've tried for over an hour now to find documentation, but all I can find is the Scripting API and the example Lua snippets. Would greatly appreciate any help or advice.

Print this item

  Emulator will not recognize .sav or .ss files
Posted by: Rowan0 - 07-28-2024, 01:48 PM - Forum: General - No Replies

I have mGBA and the game's ROM under C:\users\[my computer account]\Downloads, and while playing I saved my game to one of the game's built-in save slots and to two different savestates. The files are indeed there in the game's folder, and are not empty. However, when I open mGBA, loading the ROM will act as if it is my first time playing, and my saves are not there when I open the dropdown menu at the top of the emulator window.

I am thinking this *might* be an issue with the saves being in the wrong folder, so I ask where the saves usually are? I know they should be in the same folder as the ROM, but I don't know where exactly that folder should be in relation to the emulator's own folder.


I did not mention this in the post, but the save state/load state menu you can access while playing the actual game with f10/shift+f10 is also completely empty.

OK, so I appear to have made a mistake. The folder that the saves are being made in is not where the ROM is, instead that is just the shortcut to run that game in mGBA immediately. Now my issue is just finding the actual ROM in my computer's files. So that will be fun.

Print this item

  keyboard shortcuts are not working
Posted by: clancykneel - 07-26-2024, 08:31 AM - Forum: General - No Replies

As the title says, my keyboard shortcuts are not working. I’m playing Pokémon Ruby. I can walk and press A/B, but I can’t fast forward or take screenshots and stuff like that.
Also, how do I restore keyboard shortcuts to the default?
tunnel rush

Print this item

  Legal Roms and BIOS
Posted by: dsmati - 07-26-2024, 02:20 AM - Forum: General - Replies (1)

Hello. I would like to know if there is any way to legally get roms, such as all the third generation Pokémon ones. And I would also like to know how to get a GBA BIOS.
Thank you for your time, regards

Print this item

Sad Please check whether the wireless adapter is connected properly and turn on the power
Posted by: dimlylitfroggit - 07-24-2024, 06:09 PM - Forum: General - Replies (1)

This might be a stupid question but how do I fix the following error:

"Please check whether the Wireless Adapter is connected properly and turn on the power again."

This is happening when I try to load a Pokemon Fire Red rom.

I have had the same error on 3DS mGBA and MacOS mGBA.

Image attached.

Thanks,
F



Attached Files
.png   error.png (Size: 28.47 KB / Downloads: 70)
Print this item

  Two players on the same PC
Posted by: dsmati - 07-24-2024, 12:49 AM - Forum: General - Replies (2)

Hello everyone.
First of all, forgive my English, I use a translator.
I want to know if it is possible for two people to play Pokémon at the same time.
I've been trying to configure the buttons for each window, but only the window that is selected moves. And if I use a Joystick (XBOX Series Controller), it moves the game in both windows at the same time. Is there a way to set this up so that everyone plays their game at the same time?
Greetings and thanks.

Print this item

  Corrupted Save State
Posted by: Lucifer - 07-23-2024, 03:12 AM - Forum: General - Replies (4)

I've been using mGBA for a few years now and I like to use save states alongside the actual save because saving to the .sav file does not always work.

This method and save states have been life savers on some occasions and I have never had a problem until now.

I am playing Pokemon Scorched Silver and out of nowhere my save state corrupted.

It seems to be just the state in the first slot and I have another state in the second created from the last position the actual save was on BTW which did not save where I had the corrupted save state, this is the reason I use both.

Fortunately, all I really lost was almost 1.6k coins from spamming the roulette in the Goldenrod Game Corner but that is still a lot of time I spent for nothing.

Is there a way to fix a corrupted save state?



Attached Files
.png   Screenshot 2024-07-22 200216.png (Size: 160.41 KB / Downloads: 2)
Print this item

  rewind (hold) feature
Posted by: Bo99 - 07-03-2024, 04:52 AM - Forum: General - No Replies

how do I set the max rewind frame memory to more than 3600 frames history? i had it going back a lot farther than that, but something happened to my comp and now I can't get it back past 3600 frames. I want to set it to like 9999 if I can, or however much the absolute max is

Print this item

  Permanently disabling end of .sav data in mGBA
Posted by: xelly - 06-20-2024, 10:52 PM - Forum: General - Replies (1)

Hi, I'm trying to use pkhex on my rom hack and there's a problem. Every MGBA .sav has some sort of computer timestamp at the end which makes it impossible to load into pkhex without deleting it. See here:

https://projectpokemon.org/home/forums/t...ent=279878

On my end: https://postimg.cc/K4dmvNrM

I saw this post that I thought could help, which talks about game overrides: https://www.reddit.com/r/pokemonrng/comm...are_button

I may have been able to export a save without this filler data at the end once, but I definitely have not been able to do so consistently. I never had this problem on my mac, and I'm just now on windows. I tried using the old version of mgba (0.9.1) on windows which didn't do anything, I tried the portable version and the normal installable version and all of these emulators consistently add the junk data at the end of the .sav which really annoys me. Is there any way to consistently have mgba stop adding this extra save data on my windows computer?

I never ever had this problem on my mac. I've tried unchecking the autodetect option and enabling realtime clock with all sorts of save types and nothing has worked. Deleting this filler data at 0x20000 always lets me use pkhex.

Thanks!

Print this item


Online Users
There are currently 240 online users. » 0 Member(s) | 240 Guest(s)

Powered By MyBB, © 2002-2024 Melroy van den Berg.