Jump to content
LaunchBox Community Forums

CXBX Reloaded script needed


smpetty

Recommended Posts

5 minutes ago, DeadVoivod said:

I mean the games starts, I can play, but all of a sudden LB is showing the closing screen, and closes. But the game stays, only that it goes from fullscreen to windowed mode. 

He means messing with the Startup theme setting in LB. Go to >Tools>Manage emulators and edit CXBX. In the Startup tab turn of startup themes and see if the issue goes away. If it does you now know it is LB Startups causing the issue. You can then turn it back on and tweak the settings in it to see if you can find a setting that will not cause the issue.  

Link to comment
Share on other sites

38 minutes ago, DeadVoivod said:

Don't know what you mean?

I meant the LaunchBox / BigBox startup screens. One thing you could try that I can think of. Do the games run if you try them in CXBX directly? Sometimes an emulator in heavy development has a regression that prevents games that once worked from working.

What workes for me:

- Setting cxbx-ldr.exe as my emulator in LaunchBox using the /load argument in the command line.

- No ahk script except to close cxbx-ldr.exe

- Ticking "Use Exclusive Fullscreen Mode" in CXBX videosettings. (I myself use a Display Resolution 3840 x 2160 32 bit.)

- In LaunchBox "Manage Emulator" settings for CXBX Reloaded in the "Startup Screen" tab: "Hide all windows that are not in Exclusive Fullscreen Mode" ticked with a "Startup Load Delay" of 3 seconds.

 

One thing to note though, I do not have the games you mentioned as not working. (Blood Wake and Crimson Skies).

Edited by Koroth
Link to comment
Share on other sites

1 hour ago, Koroth said:

What workes for me:

- Setting cxbx-ldr.exe as my emulator in LaunchBox using the /load argument in the command line.

- No ahk script except to close cxbx-ldr.exe

- Ticking "Use Exclusive Fullscreen Mode" in CXBX videosettings. (I myself use a Display Resolution 3840 x 2160 32 bit.)

- In LaunchBox "Manage Emulator" settings for CXBX Reloaded in the "Startup Screen" tab: "Hide all windows that are not in Exclusive Fullscreen Mode" ticked with a "Startup Load Delay" of 3 seconds.

Ok, it works partially for me. 

Tried with Blood Wake. Shortly after starting the mission, the Shutdown Screen shows again, like before, although after 2 seconds it returns to the game, like before, but this time it stays in fullscreen. Almost good.

I tried to untick "Enable Game Shutdown Screen", but then it switches to LB screen for 2 seconds, and back into game.

Link to comment
Share on other sites

  • 2 months later...
On 10/25/2020 at 5:53 AM, Koroth said:

I meant the LaunchBox / BigBox startup screens. One thing you could try that I can think of. Do the games run if you try them in CXBX directly? Sometimes an emulator in heavy development has a regression that prevents games that once worked from working.

What workes for me:

- Setting cxbx-ldr.exe as my emulator in LaunchBox using the /load argument in the command line.

- No ahk script except to close cxbx-ldr.exe

- Ticking "Use Exclusive Fullscreen Mode" in CXBX videosettings. (I myself use a Display Resolution 3840 x 2160 32 bit.)

- In LaunchBox "Manage Emulator" settings for CXBX Reloaded in the "Startup Screen" tab: "Hide all windows that are not in Exclusive Fullscreen Mode" ticked with a "Startup Load Delay" of 3 seconds.

 

One thing to note though, I do not have the games you mentioned as not working. (Blood Wake and Crimson Skies).

This worked for me Thanks!

 

Quote

Does anyone know if I can rename default.xbe?  I tried it on crazy taxi 3, but apparently crazy taxi 3 doesn't work anyway.  I'm looking for an easy way to add to launchox.  Thinking of making shortcuts.  Any other suggestions

NVM all of this quote I found that awesome feature of using the names of the folders not rom files.

Edited by Aevans0001
Link to comment
Share on other sites

  • 1 month later...
On 9/30/2020 at 6:25 PM, Dark Fact said:

Hello, in case anyone sees this and needs help with CXBX Reloaded, this is what worked for me with the most recent version of the emulator as of right now:

The emulator auto loads the game now as long as you point Launchbox to the default.xbe file

There is also an alternative you can use if you want to compress the game's files. All you do is either rename the default.xbe to default.cue OR you can copy the default.xbe file and paste it in the same directory and rename it ANYTHING.cue  All that matters is that the file extension is CUE and launchbox will send it to the emulator and it will automatically load.

As far as making it go fullscreen and being able to exit, this script works for my system:

Sleep, 3000
Send !{enter}

$Esc::
{
  Send {f6}
  Send !{f4}
  Return
}

Put it in the Running AutoHotKey Script tab and you're good to go!

***Unless things work for you, be sure that the emulator's Video config settings has Use Exclusive Fullscreen Mode UNCHECKED ***
On my system that causes issues and the game screen goes black and the emulator won't close without using Task Manager to End Task.

 

Hope that all makes sense and helps someone!

 

Thx, I was able to get this to work with newest version as of today and get passed the F5 screen.

Edited by Wanderer189
  • Like 1
Link to comment
Share on other sites

  • 1 year later...
On 10/25/2020 at 6:53 AM, Your Friendly A.I Overlord said:

I meant the LaunchBox / BigBox startup screens. One thing you could try that I can think of. Do the games run if you try them in CXBX directly? Sometimes an emulator in heavy development has a regression that prevents games that once worked from working.

What workes for me:

- Setting cxbx-ldr.exe as my emulator in LaunchBox using the /load argument in the command line.

- No ahk script except to close cxbx-ldr.exe

- Ticking "Use Exclusive Fullscreen Mode" in CXBX videosettings. (I myself use a Display Resolution 3840 x 2160 32 bit.)

- In LaunchBox "Manage Emulator" settings for CXBX Reloaded in the "Startup Screen" tab: "Hide all windows that are not in Exclusive Fullscreen Mode" ticked with a "Startup Load Delay" of 3 seconds.

 

One thing to note though, I do not have the games you mentioned as not working. (Blood Wake and Crimson Skies).

So I have all this set up and everything works great except the exit. I still have to hit the escape on my keyboard. For some reason it does not recognize my exit key stroke of back + start on my xbox 360 controller. It only recognizes the escape key from the keyboard to close. Any ideas how to solve this?

Thanks in advance.

Link to comment
Share on other sites

14 hours ago, Dabil said:

So I have all this set up and everything works great except the exit. I still have to hit the escape on my keyboard. For some reason it does not recognize my exit key stroke of back + start on my xbox 360 controller. It only recognizes the escape key from the keyboard to close. Any ideas how to solve this?

Thanks in advance.

This is what i have
 

$Esc::
{
    Process, Close, {{{StartupEXE}}}
}


vk07sc000::
  Send, !{F4}
  Return

 

Link to comment
Share on other sites

  • 1 year later...
On 7/14/2019 at 7:36 PM, smpetty said:

When running CXBX-Reloaded from LB/BB, I am able to load games (default.xbe), but I need an AHK script that will do the following, after the game is loaded:

Pass keypress F5 to the emulator (starts emulation)

Pass keypress ALT-RETURN to the emulator (goes full screen)

There are no command line arguments that will do the same.  

 

Also, when quitting CXBX-Reloaded, I need an AHK script which will do the following:

Pass keypress F6 to the emulator (stops emulation)

Pass keypress ALT-F4 to the emulator (closes/exits the emulator)

Many thanks in advance!

Probably years late here, but here's a script to close out both the game and the emulator, using Virtua Cop3 as an example (ESC key closes everything). For this, you need to launch the xbe file and associate it with cxbx.exe (select always open with):

Run, C:\Virtua Cop 3 CXBX\ROMS\Virtua Cop 3\Default.xbe
$Esc:: ; Quit Game
Process, Close, cxbx.exe
Run,taskkill /im "cxbx.exe" /F
Process, Close, cxbxr-ldr.exe
Run,taskkill /im "cxbxr-ldr.exe" /F
ExitApp ; Terminate script
return

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...