Author Topic: Phoenix Project  (Read 7127 times)

KTURNER

  • Sr. Member
  • ****
  • Posts: 169
    • View Profile
Phoenix Project
« on: April 25, 2018, 12:54:03 PM »
Can someone post their config file for the Atari Jaguar Phoenix Project emulator for Windows. I would greatly appreciate it.

qqplayer

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
Re: Phoenix Project
« Reply #1 on: April 25, 2018, 01:20:55 PM »
Can someone post their config file for the Atari Jaguar Phoenix Project emulator for Windows. I would greatly appreciate it.

I have it working with rocketlauncher

http://www.rlauncher.com/forum/showthread.php?5073-Phoenix-Module-for-Jaguar-Emulation/page2

Quote
Here's the exact steps I took:

1. Unzip Atari Jaguar ROMs, add j64 extension to Phoenix emulator in RLUI, if it doesn't already exist
2. Extract ph28jag-win64.zip to wherever you keep your Phoenix emulator, point RocketLauncher to it if you haven't already
3. Extract Phoenix-English_28J.rar into that directory, so that menu reads in English (google it)
4. Open the emulator, select the Jaguar icon on the far left
5. File/Add Cartridge Dump in the collection
6. Navigate to your ROM files and select all of them (ctrl+A), click 'open,' launch any game after the list is populated, then close the emulator

KTURNER

  • Sr. Member
  • ****
  • Posts: 169
    • View Profile
Re: Phoenix Project
« Reply #2 on: April 26, 2018, 05:05:18 AM »
Thank you, I gave up hyperspin partiality because of rocket launcher but I will give it another try.

hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: Phoenix Project
« Reply #3 on: April 26, 2018, 06:28:27 AM »
what are the arguments to start a romfile from commandline?
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: Phoenix Project
« Reply #4 on: April 26, 2018, 10:10:28 AM »
what are the arguments to start a romfile from commandline?

Phoenix is not a command line emulator.

qqplayer

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
Re: Phoenix Project
« Reply #5 on: April 26, 2018, 02:06:19 PM »
what are the arguments to start a romfile from commandline?

Reading the module you need to press some keys on the gui...

Code: [Select]
Send, {Alt}{Right}{Enter}{Enter} ; power on roms
But maybe we can create something like this:

Code: [Select]
function phoenix_transitions( ttype, var, ttime ) {
 switch ( ttype ) {
  case Transition.ToGame:
fe.signal( "Alt" );
fe.signal( "Right" );
fe.signal( "Enter" );
fe.signal( "Enter" );
  break;
  }
 return false;
}
fe.add_transition_callback( "phoenix_transitions" )

With some pause or a "Timer"


hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: Phoenix Project
« Reply #6 on: April 27, 2018, 04:17:38 AM »
@all
is "alt, right, enter, enter" to push this menu button?


maybe autoit suits to you.

I've downloaded Phoenix from here and english language file from there.

Title says this:


create .au3 with this sourcecode and compile it to .exe
Code: [Select]
ShellExecute(@ScriptDir & "\PhoenixEmuProject.exe")

WinWaitActive("Проект эмуляции - «Феникс» в.2.8.JAG", "QWidgetClassWindow")
WinWait("Проект эмуляции - «Феникс» в.2.8.JAG", "QWidgetClassWindow")

send("{LALT}")
send("{RIGHT}")
send("{ENTER}")
send("{ENTER}")

It starts PhoenixEmuProject.exe, waits that menu appear. sends Alt, Right, Enter, Enter for Power-Button
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM

KTURNER

  • Sr. Member
  • ****
  • Posts: 169
    • View Profile
Re: Phoenix Project
« Reply #7 on: April 27, 2018, 08:01:47 AM »
Thanks for the reply's. I think this might be a little over my head.

qqplayer

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
Re: Phoenix Project
« Reply #8 on: April 27, 2018, 01:06:57 PM »
@all
is "alt, right, enter, enter" to push this menu button?


maybe autoit suits to you.

I've downloaded Phoenix from here and english language file from there.

Title says this:


create .au3 with this sourcecode and compile it to .exe
Code: [Select]
ShellExecute(@ScriptDir & "\PhoenixEmuProject.exe")

WinWaitActive("Проект эмуляции - «Феникс» в.2.8.JAG", "QWidgetClassWindow")
WinWait("Проект эмуляции - «Феникс» в.2.8.JAG", "QWidgetClassWindow")

send("{LALT}")
send("{RIGHT}")
send("{ENTER}")
send("{ENTER}")

It starts PhoenixEmuProject.exe, waits that menu appear. sends Alt, Right, Enter, Enter for Power-Button

Awesome!! , but... any "Linux-User" option for this problem , I mean send "key events" and wait for active windows  :)

qqplayer

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
Re: Phoenix Project
« Reply #9 on: April 28, 2018, 03:47:55 PM »
@hermine.potter , can you please explain step by step how to catch the window title?


qqplayer

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
Re: Phoenix Project
« Reply #10 on: April 29, 2018, 01:40:39 PM »
I have crated the .au3 file but seems to need something more to run the games...  :(

Code: [Select]
WinWait("ahk_class Qt5QWindowIcon")
WinWaitActive("ahk_class Qt5QWindowIcon")
;WinMenuSelectItem, ahk_class Qt5QWindowPopupDropShadow,, 2&, 1&

Send, {Alt}{Right}{Enter}{Enter} ; power on roms

If Fullscreen = true
Send, {F11} ; fullscreen


Complete working 3DO module here:

Code: [Select]
MEmu := "Phoenix"
MEmuV := "v1.1"
MURL := ["http://www.arts-union.ru/node/23"]
MAuthor := ["djvj"]
MVersion := "2.0.4"
MCRC := "BD5A0D04"
iCRC := "109E182B"
MID := "635038268914342592"
MSystem := ["Panasonic 3DO","Atari Jaguar"]
;----------------------------------------------------------------------------
; Notes:
; This emu only supports iso images
; Set SelectGameMode if you have any problems with the emu opening the game
; If your bios file is called fz10_rom.bin, rename it to fz10.rom, it should be placed in the same dir as the emu exe.
; On first launch, Phoenix will ask you to point it to the fz10.rom. After you do that, exit the emu and select a game in your Front End and it should work.
; If you do not have an English windows, set the language you use for the MLanguage setting in RocketLauncherUI. Currently only Spanish/Portuguese is supported.
;
; Phoenix stores its config in the registry @ HKEY_CURRENT_USER\Software\FreeDO\FreeDO Emulator
;----------------------------------------------------------------------------

StartModule()
BezelGUI()
FadeInStart()

Fullscreen := moduleIni.Read("Settings", "Fullscreen","true",,1)
ControlDelay := moduleIni.Read("Settings", "ControlDelay","20",,1) ; raise this if the module is getting stuck somewhere
KeyDelay := moduleIni.Read("Settings", "KeyDelay","-1",,1) ; raise this if the module is getting stuck

dialogOpen := ("dialog.open") ; Looking up local translation

If bezelEnabled
BezelStart(If Fullscreen = "true" ? "" : "fixResMode")

;hideEmuObj := Object(dialogOpen . " ahk_class #32770",0,"Phoenix ahk_class Qt5QWindowIcon",1) ; Hide_Emu will hide these windows. 0 = will never unhide, 1 = will unhide later
7z(romPath, romName, romExtension, 7zExtractPath)

SetControlDelay, %ControlDelay%
SetKeyDelay(KeyDelay)

If romExtension in .7z,.rar,.zip
ScriptError("Pheonix does not support archived or cue files. Only ""iso"", ""img"", and ""bin"" files can be loaded. Either enable 7z support, or extract your games first.")

HideEmuStart() ; This fully ensures windows are completely hidden even faster than winwait

; Your XML file to be altered in a variable
FileRead, xml, %emuPath%\phoenix.config.xml
romPath2 = %romPath%/%romName%%romExtension%
romPath3 = %romPath%
StringReplace, romPath2, romPath2, \, /, UseErrorLevel
StringReplace, romPath3, romPath3, \, /, UseErrorLevel

If (!StringUtils.Contains(xml,"</CARTRIDGE>","CD-ROM")) {
ScriptError("You don't have any games stored in phoenix.config.xml")
}



; Use regex to setup the game to load
ToReplace =
(
<CARTRIDGE [^>]*
)
Replacement =
(
<CARTRIDGE expanded="true" attach="%romPath2%" last-path="%romPath3%"
)
xml := StringUtils.RegExReplace(xml,ToReplace,Replacement )

FileDelete, %emuPath%\phoenix.config.xml
FileAppend, %xml%, %emuPath%\phoenix.config.xml

Run(executable, emuPath)
DetectHiddenWindows, on

WinWait("ahk_class Qt5QWindowIcon")
WinWaitActive("ahk_class Qt5QWindowIcon")
;WinMenuSelectItem, ahk_class Qt5QWindowPopupDropShadow,, 2&, 1&

Send, {Alt}{Right}{Enter}{Enter} ; power on roms

If Fullscreen = true
Send, {F11} ; fullscreen

Sleep, 1000

BezelDraw()
HideEmuEnd()
FadeInExit()
Process("WaitClose", executable)
7zCleanUp()
BezelExit()
FadeOutExit()
ExitModule()

CloseProcess:
FadeOutStart()
WinClose("ahk_class Qt5QWindowIcon") ; Removing Phoenix from the title because the emulator shows statistics in the title while a game is playing
Return

http://www.rlauncher.com/forum/showthread.php?5073-Phoenix-Module-for-Jaguar-Emulation
« Last Edit: April 29, 2018, 01:44:35 PM by qqplayer »

hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: Phoenix Project
« Reply #11 on: May 01, 2018, 10:32:19 PM »
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM

qqplayer

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
Re: Phoenix Project
« Reply #12 on: May 02, 2018, 07:37:05 AM »