Xemu module

BlackPredator72

Member
RL Member
The Xemu emulator looks promising. At the moment with 0.4.0 there is no sound but I got a lot of games playing flawlessly.
Had some troubles with finding the right files that Xemu needed but now it's working like a charm.
Here's a tutorial: https://www.youtube.com/watch?v=auzc2p6PNro
It only supports iso so converted a few of my xbe files with XDVDMulleter Beta 10.2 back to iso.

Now if only someone could create a module for this emu...

I read on another topic that our man Agent47 already created a module for xqemu so maybe it's similar to this??
 

manson976

Member
RL Member
The Xemu emulator looks promising. At the moment with 0.4.0 there is no sound but I got a lot of games playing flawlessly.
Had some troubles with finding the right files that Xemu needed but now it's working like a charm.
Here's a tutorial: https://www.youtube.com/watch?v=auzc2p6PNro
It only supports iso so converted a few of my xbe files with XDVDMulleter Beta 10.2 back to iso.

Now if only someone could create a module for this emu...

I read on another topic that our man Agent47 already created a module for xqemu so maybe it's similar to this??

Try making bat files for each game then load it via pclauncher

xemu.exe -dvd_path "C:\Systems\xemu\Evil Dead A Fistful Of Boomstick.iso"
 

NRJ541

New member
I dont understant, is it possible to explain process ?
For exemple have more and more game ?

I have test these, run and close imediately

MEmu := "Xemu"
MEmuV := "v1.0.0"
MURL := ["http://xenia.jp/"]
MAuthor := ["drik333"]
MVersion := "1.0.0"
MCRC := ""
iCRC := ""
MID := ""
MSystem := ["Microsoft Xbox"]
;----------------------------------------------------------------------------
; Notes:
; The module is able to launch extracted games.
; For extracted games, you have to name the folders of the games like your database. To see these games in RLUI, create blank txt files named like your database and edit iso|txt|xex as Rom Extensions in RLUI.
;----------------------------------------------------------------------------
StartModule()
BezelGUI()
FadeInStart()

primaryExe := new Emulator(emuPath . "" . executable) ; instantiate emulator executable object
emuPrimaryWindow := new Window(new WindowTitle("Xemu","wxWindowNR")) ; instantiate primary emulator window object

Fullscreen := moduleIni.Read("Settings", "Fullscreen","true",,1)

hideEmuObj := Object(emuPrimaryWindow,1)
7z(romPath, romName, romExtension, sevenZExtractPath)

BezelStart("FixResMode")
HideAppStart(hideEmuObj,hideEmu)

If (Fullscreen = "true")
Params := " -f"

primaryExe.Run(Params . " -g """ . romPath . "" . romName . romExtension . """")

emuPrimaryWindow.Wait()
emuPrimaryWindow.WaitActive()

;If (fullscreen = "true")
; emuPrimaryWindow.MenuSelectItem("Options","Fullscreen")

; Load image
; emuPrimaryWindow.WinMenuSelectItem("File","Load")
; OpenROM("Open file to launch", romPath . "" . romName . romExtension)
; emuPrimaryWindow.WaitActive()

BezelDraw()
HideAppEnd(hideEmuObj,hideEmu)
FadeInExit()
primaryExe.Process("WaitClose")
7zCleanUp()
BezelExit()
FadeOutExit()
ExitModule()


CloseProcess:
FadeOutStart()
emuPrimaryWindow.Close()
Return
 

agent47

Super Moderator
Staff member
Supporter
RL Member
The emulator is crashing because the args the module is sending are invalid.

I wrote a module a while back but not sure if it works with recent versions.
 

NRJ54

New member
The emulator is crashing because the args the module is sending are invalid.

I wrote a module a while back but not sure if it works with recent versions.

Could you share it to test or help for creating good module ahk for xemu 0.5 ?
 
Last edited:

mccorkled

Member
RL Member
Here is a little script to use in a .bat to batch convert all of your extracted games to XDVDFS ISOs. You need to have UltraISO installed and edit the script to point to your UltraISO install directory.

Code:
::Parameters
set "ULTRAISO_DIR=D:\UltraISO"
::End Parameters
for /D %%i in (*) do "%ULTRAISO_DIR%\ultraiso" -imax -l -d "%CD%\%%i" -xdvdfs -out "%CD%\%%i.iso"
 

NRJ54

New member
Here is a little script to use in a .bat to batch convert all of your extracted games to XDVDFS ISOs. You need to have UltraISO installed and edit the script to point to your UltraISO install directory.

Code:
::Parameters
set "ULTRAISO_DIR=D:\UltraISO"
::End Parameters
for /D %%i in (*) do "%ULTRAISO_DIR%\ultraiso" -imax -l -d "%CD%\%%i" -xdvdfs -out "%CD%\%%i.iso"

Hello,

My all ISOs are good, they work directly with Xemu (loading disk)

I need a xemu.ahk to integrate it into my rlaucher hyperspin

I don't understand, I watch Cemu.ahk, Tempest.ahk, cxbx.ahk ... to perform a Xemu specific ahk, but each time Xemu opens and closes instantly

a few times without even an error message
 

mccorkled

Member
RL Member
As Agent47 said, the arguments you?re sending in the AHK are invalid.


Sent from my iPhone using Tapatalk
 

Flostingyeti

Member
RL Member
I've been using the PClauncher module and shortcuts

parameters: -full-screen -dvd_path "{ImagePath}"
exit method: WinClose Application

It works well enough but I would love to have a proper module.

There are 600 "playable" games for this emulator, I think it deserves some attention.

I can't locate the xqemu that Agent47 made, could anyone please share it?
 

garrettsmith521

New member
RL Member
agent47, is there anyway you can share your module for XEMU? I would love to give it a try in order to get all the features working with that system. Thanks!
 

Flostingyeti

Member
RL Member
That module worked perfectly! Thank you!

Could you add 7z support, I attempted but was unsuccessful?


I just found out the latest version of Xemu now has resolution scaling! This is a good day!
 
Last edited:

Mute64

New member
RL Member
Allright so i have added the Emulator Xemu into RL added the file extension as iso, i have downloaded and added this module but nothing seams to happen at all when i try to launch a game thru RL. I can open the Emulator up via RL tho. Is there a setting or step i have missed?

Update ahh worked it out, all good
 
Last edited:

Mute64

New member
RL Member
Desktop Screenshot 2021.08.28 - 16.15.37.61.jpg

So i have tried using a Bezel but it doesnt fit to the fullscreen? anyone else having this issue?

**UPDATE** FIXED Did a slight change to the module

MEmu := "Xemu"
MEmuV := "v0.6.0"
MURL := ["https://xemu.app/"]
MAuthor := ["emual"]
MVersion := "1.0.0"
MCRC := ""
iCRC := ""
MID := ""
MSystem := ["Microsoft Xbox"]
;----------------------------------------------------------------------------
; Notes:
; The module is able to launch ISO games.
;
;----------------------------------------------------------------------------
StartModule()
BezelGUI()
FadeInStart()

primaryExe := new Emulator(emuPath . "" . executable) ; instantiate emulator executable object
primaryWindowClassName := "SDL_app"
emuPrimaryWindow := new Window(new WindowTitle("xemu",primaryWindowClassName)) ; instantiate primary emulator window object

Fullscreen := moduleIni.Read("Settings", "Fullscreen","true",,1)

hideEmuObj := Object(emuPrimaryWindow,1)
7z(romPath, romName, romExtension, sevenZExtractPath)

BezelStart()

HideAppStart(hideEmuObj,hideEmu)

If (Fullscreen = "true")
primaryExe.Run(" -full-screen -dvd_path """ . romPath . "" . romName . romExtension . """")
Else
primaryExe.Run(" -dvd_path """ . romPath . "" . romName . romExtension . """")

emuPrimaryWindow.Wait()
emuPrimaryWindow.WaitActive()

BezelDraw()
HideAppEnd(hideEmuObj,hideEmu)
FadeInExit()
primaryExe.Process("WaitClose")
BezelExit()
FadeOutExit()
ExitModule()

CloseProcess:
FadeOutStart()
emuPrimaryWindow.Close()
Return




https://www.youtube.com/watch?v=3TlG8qRJNH0
 
Last edited:

Dime333

Active member
RL Member
I have uploaded a new module based on the one that EmuAl posted in this thread. It has some useful options available in it. As usual, I want to say that I'm not great at making modules and I'm sure things can be made a lot cleaner. But at least it works. I would appreciate if someone could tell me how to make this part better:

Code:
If (Internal_resolution_scale = "1") {
xemuini.Write("1", "display.quality", "surface_scale")
}

If (Internal_resolution_scale = "2") {
xemuini.Write("2", "display.quality", "surface_scale")
}

If (Internal_resolution_scale = "3") {
xemuini.Write("3", "display.quality", "surface_scale")
}

If (Internal_resolution_scale = "4") {
xemuini.Write("4", "display.quality", "surface_scale")
}

If (Internal_resolution_scale = "5") {
xemuini.Write("5", "display.quality", "surface_scale")
}

If (Internal_resolution_scale = "6") {
xemuini.Write("6", "display.quality", "surface_scale")
}

If (Internal_resolution_scale = "7") {
xemuini.Write("7", "display.quality", "surface_scale")
}

If (Internal_resolution_scale = "8") {
xemuini.Write("8", "display.quality", "surface_scale")
}

If (Internal_resolution_scale = "9") {
xemuini.Write("9", "display.quality", "surface_scale")
}

If (Internal_resolution_scale = "10") {
xemuini.Write("10", "display.quality", "surface_scale")

I'm sure all of that could be handled ini a line or two. The module is here.
 

agent47

Super Moderator
Staff member
Supporter
RL Member
Make a dropdown in the module settings that covers the range of acceptable integers. Set that as a variable as you would any module setting.

Then you only need one line of code in the module:
Code:
xemuini.Write(%yourVariable%, "display.quality", "surface_scale")

Done.

If you need more help to implement it let me know. I've ignored the scene for a while but if someone is making an actual effort (IE, you) I'm more than happy to help out.

Edit: I just rrealized you're using the wrong languages. I can fix the module with one line (of my updated module) but as is, it will not work because of the limitations of the old RL functions leaning on AHK.
 
Top