Licensed under the MIT License.
ayvacs / gba.js.org Goto Github PK
View Code? Open in Web Editor NEW👾 Emulate GBA games for free, right in your browser.
Home Page: https://gba.js.org
License: Other
👾 Emulate GBA games for free, right in your browser.
Home Page: https://gba.js.org
License: Other
Licensed under the MIT License.
Describe the bug: A clear and concise description of what the bug is, what you expected to happen, and steps to reproduce the behavior.
Whenever i save i then export my saves, but whenever i import said saves they don't work
Screenshots: If applicable, add screenshots to help explain your problem.
Device information: Information about the device you used to find the bug, including the OS and browser version.
Additional context: Add any other context about the problem here.
a user on reddit had the same issue https://www.reddit.com/r/emulator/comments/viwe6y/am_i_just_dumb_online_gba_emulator_saves/
Maybe adding Awsd keys instead of arrow keys so it can work for people using mobile with a keyboard? Ive tried this on mobile with a keyboard and the only thing that doesn’t work is the arrow keys and adding awsd keys as the arrow keys should fix this problem and make this playable for players with a mobile keyboard and it souldn’t change much for pc players. Tysvm for your time <3
I completed The Legend of Zelda: A Link to the Past in Microsoft Edge on desktop, then clicked "Export All Saves" and imported the saves into Google Chrome. Now, some games will not display "Loaded save." in the bottom left. Of the games I tested, Metroid Zero Mission, Kirby & The Amazing Mirror, and Kirby: Nightmare in Dream Land will not load saves. This applies in both Chrome and Edge on Windows 11 desktop and Google Chrome on Android 14.
Hey so i exported a save for a game and i tried loading it in but idk how do you think you could tell me the proper way or if it even works?
I am hosting the source code on cPanel, and the home page loads up perfectly however when I press on a game, I get "404: Not Found The resource requested could not be found on this server!" error. I was hoping that I could get some assistance with this, I tried to watch a YouTube video where they talked about .htaccess files and I tried to implement that into my code but that didn't work either.
As it's pretty obvious, I don't know what I'm doing so pardon the silly question.
The site I'm trying to do this on is https://testsitelol.org
The minish cap built in ROM uses the PAL version of the game, which has several bugs that are not in the US or Japanese versions
stuck on white screen I need some help. file:///home/chronos/u-d21651d33cef254e544b8e9fa51b503f2b21502c/MyFiles/Downloads/Screenshot%202022-01-15%205.30.49%20PM.png
Hi. I have a GB rom that has a GBC mode in it. It is Pokemon Blue. When I went into a game, went file>import game, it wouldn't load. This works everywhere but here.
When I attempt to save a game it doesn't work.
I save in-game then I select "export all saves" I then attempt to load the save, or even just reopen the game without loading, make sure to hit play, but then I just get a white screen.
What's going on?
Every button has a valid keybinding except the L and R shoulder buttons
Hey,
A simple request, publish the .htaccess
/ nginx rules needed to self-host this properly.
Thank you.
Just an FYI that the jsemu2 repo has been taken down for...
"marketing or otherwise making available products and/or services that infringe
on ESA Members’ copyrights and trademarks"
e.g.
• https://jsemu2.github.io/gba/launcher.html#advancewars
• https://jsemu2.github.io/gba/launcher.html#advancewars2
• https://jsemu2.github.io/gba/launcher.html#bomberman_max2blue
• https://jsemu2.github.io/gba/launcher.html#bomberman_tournament
And I noticed that your repo similarly uses licensed games to demo gba.js
It might be worth swapping these out with some open source games.
how do i save a game to play it later if my tab closes. i am confused with the export files
I would like if you could make it so you can also run GB/GBC games, and add your own the the homepage. (ex. Kirby's Dreamland, Oracle Of Ages)
Regarding the Audio FIFO
In the push8 function;
why would you push the sample 4 times into the fifo? :)
wouldnt one want to fill the rest of the 32bit with leading zeroes (if the fifo is read in 32bit chunks)?
From my understanding, the audioplayer would play/repeat the sample 4 times which should probably end in some weird sound.
What am i not getting here?
I would really appreciate an answer
function i'm reffering to:
GameBoyAdvanceFIFO.prototype.push8 = function (sample) {
sample = sample | 0;
this.push(sample | 0);
this.push(sample | 0);
this.push(sample | 0);
this.push(sample | 0);
}
Will it add network API in the near future? So that players can link together through websocket or webRTC via the server. Many gba games would be more fun if it could played in multiplayr mode.
I wrote a small program using tonc that just displays the string resulting from sprintf(str, "should print \"-1\": %d\n", -1);
. The resulting GBA file faithfully prints should print "-1": -1
on mGBA on mac, PizzaBoy on Android, and SkyEmu in browser; but for gba.js.org, it prints should print "-1": -4294967297
.
-4294967297 is 0x100000001 in hex; I would expect 0xffffffff instead. If I change the format string from %d
to %x
, all emulators print 0xffffffff. To me this indicates that the affected code is in sprintf, but the bug is in the emulator as an identical sprintf version is compiled into the same .gba file that results in different behavior per emulator.
Screenshots:
main.c:
#include <string.h>
#include <tonc.h>
void update_console() {
tte_erase_screen();
tte_write("#{P:1,1}");
char str[48];
sprintf(str, "should print \"-1\": %d\n", -1);
tte_write(str);
}
int main() {
REG_DISPCNT= DCNT_OBJ | DCNT_OBJ_1D;
REG_DISPCNT = REG_DISPCNT | DCNT_MODE0 | DCNT_BG0 | DCNT_BG1;
REG_BGCNT[1]= BG_CBB(1) | BG_SBB(31) | BG_4BPP | BG_REG_32x32;
tte_init_se(1, (BG_CBB(1))|BG_SBB(31), 0, CLR_YELLOW, 14, NULL, NULL);
/* Main Loop */
while(1) {
vid_vsync();
update_console();
}
return 0;
}
Attached .zip file includes sources and built .gba file. Depends on a working devkitPro toolchain to build from source.
I have a few roms of my own that I would like to run that aren't on the current list. I don't know if you would accept them and add them on to this project, so I wanted a guide so I can add it to my own fork.
I can't play this on Android Chrome as the on-screen buttons do nothing.
I was only able to confirm this after getting past the first boss, but Mega Man Zero, and probably the other's save function do not work, meaning any mission failed is permanent, and every time you run out of continues, it means restarting the whole game.
The L and R buttons are not labeled in the diagram on the main page showing the default keybinds.
The emulator works very well on computer. But I seems can't do the keybinding for on-screen buttons of the emulator. And the on-screen buttons don't work by default. Did I miss anything? Thanks.
undefined
With the save outputs that the online emulator creates, is there a way to change these to be compatible with another emulator like delta for example so that they can be moved from one to the other and vice versa?
Describe the bug: A clear and concise description of what the bug is, what you expected to happen, and steps to reproduce the behavior.
the games won't open and say Your file couldn’t be accessedIt may have been moved, edited, or deleted. ERR_FILE_NOT_FOUND
Screenshots: If applicable, add screenshots to help explain your problem.
Device information: Information about the device you used to find the bug, including the OS and browser version.
Additional context: Add any other context about the problem here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.