Thread: CxBx Reloaded

Page 1 of 5 12345 LastLast
Results 1 to 20 of 83
  1. Collapse Details
    CxBx Reloaded 
    #1
    Senior Member
    MainSecondary
    Join Date
    May 2015
    Posts
    101
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site
    I had messaged Luke Usher on Patreon about adding full rl cli support for CxBx Reloaded. He said he will add that in. I an out of town all week on biz, so I am not around my gaming computer. Is there a CxBx Reloaded module currently?

    I was just wondering if a module had already been created and how much was currently supported.

    Sent from my SM-G920V using Tapatalk
     

  2. Collapse Details
    Re: CxBx Reloaded 
    #2
    RocketLauncher Developer

    MainSecondary
    Join Date
    Apr 2014
    Posts
    4,792
    I don't think there's a module, but isn't that a bit too early? I believe only a couple of games run decently on it at this point.

    That being said if CLI support is added creating a basic module should be pretty simple.
     

  3. Collapse Details
    Re: CxBx Reloaded 
    #3
    Junior Member

    MainSecondary
    Join Date
    May 2015
    Posts
    26
    Here is one for cxbx-reloaded, based off the official module for cxbx

    Cxbx-Reloaded.ahk
    Code:
    MEmu := "Cxbx-Reloaded"
    MEmuV := "nightly"
    MURL := ["https://github.com/Cxbx-Reloaded/Cxbx-Reloaded"]
    MAuthor := ["teeedubb"]
    MVersion := "1.0"
    MSystem := ["Microsoft XBOX"]
    ;----------------------------------------------------------------------------
    ; Notes: 
    ;Based on djvj's cxbx module
    ;
    ;----------------------------------------------------------------------------
    StartModule()
    FadeInStart()
    
    settingsFile := modulePath . "\" . moduleName . ".ini"
    Fullscreen := IniReadCheck(settingsFile, "settings", "Fullscreen","true",,1)
    7z(romPath, romName, romExtension, 7zExtractPath)
    
    ; Setting Fullscreen setting in registry if it doesn't match what user wants above
    currentFullScreen := ReadReg("Fullscreen")
    If ( Fullscreen != "true" And currentFullScreen = 1 )
    	WriteReg("Fullscreen", 0)
    Else If ( Fullscreen = "true" And currentFullScreen = 0 )
    	WriteReg("Fullscreen", 1)
    
    	Run(executable . " """ . romPath . "\default.xbe""", emuPath)
    
    WinWait("Cxbx-Reloaded ahk_class WndMain")
    WinWaitActive("Cxbx-Reloaded ahk_class WndMain")
    
    FadeInExit()
    Process("WaitClose", executable)
    7zCleanUp()
    FadeOutExit()
    ExitModule()
    
    
    ReadReg(var1) {
    	RegRead, regValue, HKEY_CURRENT_USER, Software\Cxbx-Reloaded\XBVideo, %var1%
    	Return %regValue%
    }
    
    WriteReg(var1, var2) {
    	RegWrite, REG_DWORD, HKEY_CURRENT_USER, Software\Cxbx-Reloaded\XBVideo, %var1%, %var2%
    }
    
    CloseProcess:
    	FadeOutStart()
    	WinClose("Cxbx-Reloaded ahk_class WndMain")
    Return
    Cxbx-Reloaded.isd
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <INISCHEMA>
    	<INIFILES>
    		<INIFILE name="%ModuleName%" required="false">
    			<INITYPE>Module</INITYPE>
    			<SECTIONS>
    				<SECTION name="settings" required="false">
    					<SECTIONTYPE>Global</SECTIONTYPE>
    					<KEYS>
    						<KEY name="Fullscreen" required="false" nullable="false">
    							<KEYTYPE>Boolean</KEYTYPE>
    							<DESCRIPTION>If true emulator will run fullscreen.</DESCRIPTION>
    						</KEY>
    					</KEYS>
    				</SECTION>
    			</SECTIONS>
    		</INIFILE>
    	</INIFILES>
    </INISCHEMA>
     

  4. Collapse Details
    Re: CxBx Reloaded 
    #4
    Senior Member
    MainSecondary
    Join Date
    Dec 2014
    Posts
    152
    Hey guys, I was wondering if one of you guys could give me a hand with my AHK skills. I've tried using teeedub's modified module. The problem that I appear to be having is this: each new version of Cxbx reloaded has a date in the window title, such as this: "Cxbx-Reloaded 97b7a2e9 (Mar 6 2018)" for the Window title. The module is looking for just the following for the Window title: "Cxbx-Reloaded ahk_class WndMain". My question is, is there a way to change the window parameter it is looking for, so that with the new versions it will work with rocketlauncher? I'm not very experienced with AHK, but I would think if it can look for the exe or something to that extent instead, it would work even with the updates.

    Thanks in advance
     

  5. Collapse Details
    Re: CxBx Reloaded 
    #5
    Junior Member

    MainSecondary
    Join Date
    May 2015
    Posts
    26
    I have a feeling that there was an option in cxbxr to remove that extra info from the title bar. Failing that there is the SetTitleMatchMode function in AHK: https://www.autohotkey.com/docs/comm...eMatchMode.htm
     

  6. Collapse Details
    Re: CxBx Reloaded 
    #6
    Junior Member

    MainSecondary
    Join Date
    May 2015
    Posts
    26
    V1.1 which detects the cxbx render window instead of the main window and will close both on exit

    Code:
    MEmu := "Cxbx-Reloaded"
    MEmuV := "nightly"
    MURL := ["https://github.com/Cxbx-Reloaded/Cxbx-Reloaded"]
    MAuthor := ["teeedubb"]
    MVersion := "1.1"
    MSystem := ["Microsoft XBOX"]
    ;----------------------------------------------------------------------------
    ; Notes: 
    ;Based on djvj's cxbx module
    ;
    ;----------------------------------------------------------------------------
    StartModule()
    FadeInStart()
    
    settingsFile := modulePath . "\" . moduleName . ".ini"
    Fullscreen := IniReadCheck(settingsFile, "settings", "Fullscreen","true",,1)
    7z(romPath, romName, romExtension, 7zExtractPath)
    
    ; Setting Fullscreen setting in registry if it doesn't match what user wants above
    currentFullScreen := ReadReg("Fullscreen")
    If ( Fullscreen != "true" And currentFullScreen = 1 )
    	WriteReg("Fullscreen", 0)
    Else If ( Fullscreen = "true" And currentFullScreen = 0 )
    	WriteReg("Fullscreen", 1)
    
    	Run(executable . " """ . romPath . "\default.xbe""", emuPath)
    
    WinWait("Cxbx-Reloaded ahk_class CxbxRender")
    WinWaitActive("Cxbx-Reloaded ahk_class CxbxRender")
    
    FadeInExit()
    Process("WaitClose", executable)
    7zCleanUp()
    FadeOutExit()
    ExitModule()
    
    
    ReadReg(var1) {
    	RegRead, regValue, HKEY_CURRENT_USER, Software\Cxbx-Reloaded\XBVideo, %var1%
    	Return %regValue%
    }
    
    WriteReg(var1, var2) {
    	RegWrite, REG_DWORD, HKEY_CURRENT_USER, Software\Cxbx-Reloaded\XBVideo, %var1%, %var2%
    }
    
    CloseProcess:
    	FadeOutStart()
    	WinClose("Cxbx-Reloaded ahk_class CxbxRender")
    	WinWaitClose("Cxbx-Reloaded ahk_class CxbxRender")
    	WinClose("Cxbx-Reloaded ahk_class WndMain")
    Return
     

  7. Collapse Details
    Re: CxBx Reloaded 
    #7
    Senior Member
    MainSecondary
    Join Date
    Dec 2014
    Posts
    152
    Hey teeedub, I've got one more question. When I set the module to Fullscreen = false, it doesn't capture the window. I'm actually trying to set it so that it starts in windowed mode, and then I would send Alt+Enter to go to fullscreen, because currently the fullscreen within cxbx really distorts the image if you use the mode within the emulator. Would you be able to see if you could get the Window title of cxbx when it's not fullscreen?

    Thanks
     

  8. Collapse Details
    Re: CxBx Reloaded 
    #8
    Super Moderator
    agent47's Avatar
    MainSecondary
    Join Date
    Jan 2016
    Posts
    1,371
    I can post my module sometime tomorrow, I'm off to sleep now. Looking at the module posted here I can see why his doesn't work, it's always waiting for the Render Window instead of looking for the Main one when windowed.
     

  9. Collapse Details
    Re: CxBx Reloaded 
    #9
    Senior Member
    MainSecondary
    Join Date
    Dec 2014
    Posts
    152
    Sounds good, thanks agent
     

  10. Collapse Details
    Re: CxBx Reloaded 
    #10
    Super Moderator
    agent47's Avatar
    MainSecondary
    Join Date
    Jan 2016
    Posts
    1,371
    Edit: Removed module for now
    Last edited by agent47 ; 06-28-2018 at 01:52 AM.
     

  11. Collapse Details
    Re: CxBx Reloaded 
    #11
    Senior Member
    MainSecondary
    Join Date
    Dec 2014
    Posts
    152
    Thanks for posting agent. For some reason when using the module you posted I'm getting the error: "Unable to open default xbe" each time I try to run it. The previous module does work for me. Does it have something to do with how my roms are organized? Currently the structure is D:/Roms/Microsoft Xbox/[game name]/default.xbe. My rom path is set to the folder that contains all the game folders.
     

  12. Collapse Details
    Re: CxBx Reloaded 
    #12
    Super Moderator
    agent47's Avatar
    MainSecondary
    Join Date
    Jan 2016
    Posts
    1,371
    Your directory structure should be fine, that's how I have mine stored. I haven't messed with the module since I wrote it a few months back. Can you post a troubleshooting log?
     

  13. Collapse Details
    Re: CxBx Reloaded 
    #13
    Member
    MainSecondary
    Join Date
    May 2015
    Posts
    31
    Quote Originally Posted by agent47 View Post
    Your directory structure should be fine, that's how I have mine stored. I haven't messed with the module since I wrote it a few months back. Can you post a troubleshooting log?
    There is more important issues here DOA 2 Ultimate has 2 xbe files, the default one does not work presently.
    So we have to find a method to launch individual xbe files ie doa1.xbe and doa2.xbe.
    I doubt anyone will be interested as the history of this system has proven.
     

  14. Collapse Details
    Re: CxBx Reloaded 
    #14
    Senior Member mccorkled's Avatar
    MainSecondary
    Join Date
    May 2015
    Posts
    415
     

  15. Collapse Details
    Re: CxBx Reloaded 
    #15
    Super Moderator
    agent47's Avatar
    MainSecondary
    Join Date
    Jan 2016
    Posts
    1,371
    Since you didn't bother to post any info whatsoever as to which of the 3 modules in the thread that error is resulting from or any of the settings you're using I wasn't able to reproduce it.

    However, while attempting to replicate the error I realized my module wouldn't work if you had games compressed and the parameters used in teeedubb's module won't work with extracted games.

    Offhand I can think of 5 or so different approaches and I don't really like any of them so I'll have to play around later and see which one I hate the least or test a different one.

    Edit: Meh, this one should work except for games with multiple xbe files but those are already problematic. I'll look into handling those w/o duplicating files or using rom mapping eventually
    Last edited by agent47 ; 06-28-2018 at 02:33 AM.
     

  16. Collapse Details
    Re: CxBx Reloaded 
    #16
    Member
    MainSecondary
    Join Date
    Aug 2014
    Posts
    64
    Quote Originally Posted by agent47 View Post
    Edit: Meh, this one should work except for games with multiple xbe files but those are already problematic. I'll look into handling those w/o duplicating files or using rom mapping eventually
    Capturar.JPG i use this and ERROR
     

  17. Collapse Details
    Re: CxBx Reloaded 
    #17
    Super Moderator
    agent47's Avatar
    MainSecondary
    Join Date
    Jan 2016
    Posts
    1,371
    I need a RL troubleshooting log to see if the module is working correctly since that error is from the emulator.
     

  18. Collapse Details
    Re: CxBx Reloaded 
    #18
    Senior Member mccorkled's Avatar
    MainSecondary
    Join Date
    May 2015
    Posts
    415
    What are you guys doing for games like below. Do you just delete dashupdate.xbe, downloader.xbe, and update.xbe? The RPCS3 module look for eboot.bin I believe. Maybe something similar can be done with default.xbe



    Quote Originally Posted by agent47 View Post
    Edit: Meh, this one should work except for games with multiple xbe files but those are already problematic. I'll look into handling those w/o duplicating files or using rom mapping eventually
    This new module works.

    Quote Originally Posted by gamesmame View Post
    Capturar.JPG i use this and ERROR
    Download the newest version.
    Last edited by mccorkled ; 06-29-2018 at 12:35 PM.
     

  19. Collapse Details
    Re: CxBx Reloaded 
    #19
    Super Moderator
    agent47's Avatar
    MainSecondary
    Join Date
    Jan 2016
    Posts
    1,371
    That's what my previous module was attempting to do but I need to check what 7z sets the rom path to because I may need to handle that differently. I was planning on taking a closer look this weekend and also trying to see how to handle the case manson mentioned above.

    If you're asking about removing the xbe files because the module is loading an xbe other than default that's because the few games I tested with only had a single xbe file so I didn't think the match extension solution would be a problem and it was the simplest one. After checking out a few more games I realized multiple xbe files were more common than I thought.

    I don't think sending F5 is needed unless maybe you're trying to load a game that throws an error/warning in the emu. I know the module was loading JSRF for me w/o it.
     

  20. Collapse Details
    Re: CxBx Reloaded 
    #20
    Member
    MainSecondary
    Join Date
    Aug 2014
    Posts
    64
    Quote Originally Posted by mccorkled View Post
    Download the newest version.
    Im use the newest version


    Capturar.JPG
     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •