Daily Lucky Numbers:
10
16
20
39
45
49

Bad EmulatorJS Install?

Started by Senkusha, February 22, 2025, 07:29:05 PM

Previous topic - Next topic

Senkusha

I think I must have messed something up during the installation because I get this whenever I try to play certain ROMS:

2025-02-22 19_26_25-Arcade ROM Emulator — Mozilla Firefox.png
2025-02-22 19_26_35-Arcade ROM Emulator — Mozilla Firefox.png

But I'm not sure where to look. 
-- Senkusha
Creative Pioneer exploring anime role playing adventures!
Kawaii Klub

Chen Zhen


When you edit one of those games does it show a ROM game type?
Some raw ROM games use a general file type that can be applied to multiple consoles ( example: .BIN ).
This means that during installation for that scenario the Arcade will not know what game type to set & manually setting it may be required.

ref. https://web-develop.ca/index.php?page=arcadeinfo
 
Quote from: SMF Arcade Info[RAW-ROM & SMF-ROM] Game Formats
For this SMF-Arcade version, "raw" ROM game archives can only be uploaded as a zip or 7z archive.
Many "raw" ROM games are supported usually in a single file format ( [1 file] -or- [1 bin + 1 cue] ) but not all will function using EmulatorJS. You will need to use trial & error when installing ROM games in the "raw" format. These sourced games do not come with any set-up files or thumbnails therefore a random thumbnail is provided upon installation & it will be up to an Arcade-Admin to enter the description, help text & to replace the thumbnail if desired. The Arcade attempts to determine the console type during installation but will leave the game unset if the ROM file type can be used for multiple consoles or if it fails to detect it.

For this SMF-Arcade version, SMF-ROM game archives can only be uploaded as a zip archive.
SMF-ROM games are supported so long as they are working on another SMF-Arcade platform. Any thumbnails, description, help, console type, etc. should be included in its zip archive & will install similar to FLASH/HTML5 games in that respect.

At this time ROM games are void of score support although we are looking into adding this in an upcoming SMF-Arcade release. However, these game types do allow for saving progress to a file on the users device.

Senkusha

I know this is related, but I discovered that both EmulatorJS and Razzle were not properly installed.  I manually updated both software sets using the Maintenance tab and installed them both.  But the problem remains.  These games do play on my PC with RetroArch installed.
-- Senkusha
Creative Pioneer exploring anime role playing adventures!
Kawaii Klub

Chen Zhen

#3
Quote from: Senkusha on February 23, 2025, 07:21:05 AMI know this is related, but I discovered that both EmulatorJS and Razzle were not properly installed.

I think you mean "Ruffle" which is for flash game support.
You can use the CDN or a self hosted environment but for the latter you need to use SMF-Arcade maintenance to install it.
The 3rd party emulators do not come pre-packaged mostly due to file size. 
You can always opt the CDN in the Arcade settings if you think there is a problem with the self hosted download.

You say that other games are playable so that would suggest that EJS is indeed working properly.
EJS does not work with all file formats nor does SMF-Arcade know what console to auto set in some scenarios.

Is the game in question for NES & is it set to that game type?
What is the file type of the game? Is it compressed & if it is, what compression format?


Senkusha

Ah yes!  Ruffle, not whatever it was I said.  I was going by memory, and failed!

Okay, one of the files in question is:  Sky_Shark_U.zip.
The file compressed filename is Sky Shark(U).nes

When I click on the Settings in the game, I'm met with Game Boy options?  But I thought this was a NES game?  So, I'm a bit confused.
2025-02-23 20_03_56-Arcade ROM Emulator — Mozilla Firefox.png
-- Senkusha
Creative Pioneer exploring anime role playing adventures!
Kawaii Klub

Senkusha

I found the problem.  The Core was set to None.  I changed it to the appropriate Core (Sega Mega Drive and the games work fine now!
-- Senkusha
Creative Pioneer exploring anime role playing adventures!
Kawaii Klub

Chen Zhen

#6
Quote from: Senkusha on February 23, 2025, 08:30:44 PMI changed it to the appropriate Core (Sega Mega Drive and the games work fine now!

There are core settings from within EJS itself that may need to be adjusted for some games but usually the default will work.
However, all of what you stated regarding a nes game type does not make sense to me.
nes file types belong to the NES console (not Sega) and should work using that ROM setting from SMF Arcade itself.

Edit that specific game from the SMF-Arcade admin and look for the "ROM System" setting (Admin -> ROM Games -> Edit ROM Games).
Select that game from the list & ensure the ROM System is set to "NES" & save the setting (bottom right of that page).
After doing that; attempt to play the game.. NES games have 2 cores available in EJS itself but the one it initially selects for you will likely work just fine.
View the attached image which shows an example of the setting.