Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add modification that disables AVI limits. #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Bitl
Copy link

@Bitl Bitl commented Aug 13, 2021

Hi, I would like to suggest a modification that can be done to the Meteo application that disables the minimum resolution limit and the maximum file limit.
Note that this will result in most roms not being able to be fit in a normal GBA cart, but these can be fit in a flash cart.

How to modify:

  1. Download x64dbg (https://x64dbg.com)
  2. Go through the setup and choose x32dbg.
  3. Drag and drop the original Meteo140EN.exe into x32dbg, and then press F9.
  4. Click on "Find Strings" (the button that has a capital A and a lowercase z). This will redirect you to the "References" tab, where you can see all the strings.
  5. Double click on the "ROM is bigger than 32MB(256Mbit)" string.
  6. Double click on the jbe right above the string and chance the jbe to jmp. Click OK.
  7. Go back to the References tab and click on the "Resolution is too small." string.
  8. Above that, there should be a je, double click on that and cahnge it to a jmp.
  9. Now we are done patching. Go to File > Patch File and in the "Patches" menu, click "Patch File". Save the file wherever, just try to save it as an exe file!
  10. After saving, you should be able to run the application without any limits.

Included in this pull request is a *.1337 patch file usable in x32dbg, which allows you to quickly modify the application without needing to do the above.
Just open x32dbg, drag and drop the exe file into it, and open up the "Patches" within File > Patch File menu, then click Import. Browse to where you downloaded the patch file, then open it. Then all you would need to do at that point is click on "Patch File", and save the file to wherever.

EDIT: forgot to note that this pull request contains the modified EXE file. If I shouldn't provide it, I will remove it in a future commit.

@Bitl
Copy link
Author

Bitl commented Aug 13, 2021

Here's a VirusTotal definition I did of the application earlier. Only 1 in 68 AVs detected it, but I believe this was a false positive as the rest didn't detect anything.
https://www.virustotal.com/gui/file/44c20cd3ab116d1781fff216e84c4cf62040156ca92bbd2ed3bae178298abdfa/detection

Please note this is the same result as the original unmodified file, where I provided the VirusTotal link below.
https://www.virustotal.com/gui/file/4b2b8dfd8390ba7d7eb8a38f9188d6ba9ec9ea35dc379262fc64e2e5da180ede/detection

@Bitl
Copy link
Author

Bitl commented Aug 13, 2021

Here's an image of a ROM converted with a modded exe.
https://i.imgur.com/zLAGIb1.png

@Suffice
Copy link

Suffice commented Aug 20, 2022

I was not able to double click on jbe to change it to jmp, instead I modified these two values:

00006404:76->EB
000068C7:74->EB

And it works!

Unfortunately, with the EZ Flash Omega DE cart, video roms over 32 mbs won't work. You can transfer video roms to XOR (takes about 4 minutes) and then (maybe) they will work, but there's only about 64mbs of free space on there, maybe a little more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants