Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upHow to make IodineGBA load the BIOS file directly from the server? #41
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
taisel
Oct 14, 2016
Owner
Sorry I haven't gotten back sooner. I don't like the idea of having the base GUI of having a specific way to load ROMs from the server. Should be relegated to modified GUIs.
That being said, the BIOS can be technically saved client side after first load, via the same methodology as the saves system. So this should be a feature request to persist the BIOS file client side.
|
Sorry I haven't gotten back sooner. I don't like the idea of having the base GUI of having a specific way to load ROMs from the server. Should be relegated to modified GUIs. That being said, the BIOS can be technically saved client side after first load, via the same methodology as the saves system. So this should be a feature request to persist the BIOS file client side. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Heath123
commented
Feb 13, 2017
|
Caan games load without a BIOS? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Onimishra
Feb 13, 2017
Nope, there is no BIOS emulation in Iodine. It is however possible to use the OpenSource BIOS developed by Normatt, which can be found here. It uses a different splash screen than the standard GBA one, but it works mostly the same.
Onimishra
commented
Feb 13, 2017
|
Nope, there is no BIOS emulation in Iodine. It is however possible to use the OpenSource BIOS developed by Normatt, which can be found here. It uses a different splash screen than the standard GBA one, but it works mostly the same. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
roguesaloon
Aug 26, 2017
This never really got answered before. I am now trying to do something similar. I have a rom (which I developed) and the open source BIOS on my server, and I want to know what javascript needs changing to get them to load in automatically when the emulator is loaded, so the user can get straight into the game.
roguesaloon
commented
Aug 26, 2017
|
This never really got answered before. I am now trying to do something similar. I have a rom (which I developed) and the open source BIOS on my server, and I want to know what javascript needs changing to get them to load in automatically when the emulator is loaded, so the user can get straight into the game. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
roguesaloon
Aug 26, 2017
Thanks to the slightly outdated code found in over here https://github.com/jsemu2/gba, I was able to get this working the way I wanted it.
In in CoreGlueCode.js add the following four functions
function downloadBIOS() {
downloadFile("../gba_bios.bin", registerBIOS);
}
function registerBIOS() {
processDownload(this, attachBIOS);
downloadROM(location.hash.substr(1));
}
function downloadROM(gamename) {
downloadFile("../game.gba", registerROM);
}
function registerROM() {
processDownload(this, attachROM);
IodineGUI.Iodine.play();
}
Then call downloadBIOS(); from window.onload function. The directory should be relative to where the emulator is located on the server.
roguesaloon
commented
Aug 26, 2017
•
|
Thanks to the slightly outdated code found in over here https://github.com/jsemu2/gba, I was able to get this working the way I wanted it. In in CoreGlueCode.js add the following four functions
Then call downloadBIOS(); from window.onload function. The directory should be relative to where the emulator is located on the server. |
perelowski commentedOct 7, 2016
•
edited
Edited 1 time
-
perelowski
edited Oct 7, 2016 (most recent)
Hello,
I am trying to save some time when waiting for a game and skip the BIOS upload step. In order to do this I want to change the code to load the BIOS automatically upon the page load, from the same directory that IodineGBA is located.
How to achieve that? I have checked the ROMLoadGlueCode.js and there is a function named 'downloadFile' - unfortunately I cannot get it to work. Any help would be appreciated!
best regards,
p-ski