Jump to content
(Public Beta) HyperSpin 2 is now available for everyone ×
  • 0

Project64 2.2.0.3/Hyperlaunch 3 !!!


fredlac2

Question

Posted

Hello and sorry for my bad english...

 

I have configured a good numbers of system in this excellent Hyperspin 1.3.2 BUT now, I can't launch a Nintendo64 rom with PJ64 2.2.0.3 ! More than one week I search how (differents ahk modules, changes in ahk, search on web forums etc) and nothing good: I don't understand !!!

 

When I try to launch a rom with hyperlaunchHQ: I have, first, the emulator with the list of rom in a window screen and...a few seconds later this message error "ahk_class Project64 Version 1.6".

 

Well, I precise I have Windows 7 64 bits and my emulator PJ64 2.2.0.3 run fine without hyperlaunch.

 

THANK YOU very very much for your help.   Have a good day !

 

 

 

12 answers to this question

Recommended Posts

Posted

Welcome to the forum fredlac2.

 

It looks like you are using the wrong module for the version of the emulator, HyperLaunch is looking for Project64 Version 1.6, so you would be best to try Project64 (v2x).ahk.

If that does not work you need to find emulators that match the Module or try RetroArch.

56uIzxg.png

Posted

Hi guys,

You are both right.

The current module for RL(RL) supports up to v2.1xxx

When they moved to v2.2xxx and higher, they changed the ahk window class and now HL(RL) does not see the emulator.

It is an easy fix, but it does require editing the module.

Open up the file Project64 (v2x).ahk in a text editor of your choice.

Find all the lines that have:

Project64 2.0

and change it to your version, probably this:

Project64 2.2.0.3

There should be 7 occurances of this, one is commented out.

The other issue I have with the newer Project64 builds is, the menu bar cannot be hidden currently.

 

Hope this helps,

Thanks,

Ron

Code Monkey and all around Command Line geek!

If you like what someone has said or done for you, be sure and 'Thank' them.  :good:

And if they changed your life, send them a Beer!    :beerglass:

Posted

Hello Gigapig and Rfancella ! THANK YOU for the answers.

 

But, Rfancella, It don't run, I have the same problem. Here you are the module "Project64 (v2.x)" with the changes...Anything wrong ?

 

MEmu = Project64
MEmuV =  v2.2.0.3
MURL = http://www.pj64-emu.com/
MAuthor = djvj
MVersion = 2.2.0.3
MCRC = 880A4F
iCRC = 1E716C97
MID = 635038268918025653
MSystem = "Nintendo 64"
;----------------------------------------------------------------------------
; Notes:
; Run the emu manually and hit Ctrl+T to enter Settings. On Options, check "On loading a ROM go to full screen"
; If roms don't start automatically, enabled advanced settings, and go to the Advanced and check "Start Emulation when rom is opened?"
; I like to turn off the Rom Browser by going to Settings->Rom Selection and uncheck "Use Rom Browser" (advanced settings needs to be on to see this tab)
; If you use Esc as your exit key, it could crash the emu because it also takes the emu out of fullscreen,
; You can remove Esc as a key to change fullscreen mode in the Settings->Keyboard Shortcuts, change CPU State to Game Playing (fullscreen) then Options->Full Screen and remove Esc from Current Keys
; Suggested to use Glide64 Final plugin as your graphics plugin (it does not crash on exit): https://code.google.com/p/glidehqplusglitch64/downloads/detail?name=Glide64_Final.zip&can=2&q=

; Project64 Plugins stores their settings in the registry @ HKEY_CURRENT_USER\Software\JaboSoft\Project64 DLL or HKEY_CURRENT_USER\Software\N64 Emulation

; Known Plugin issues:
; Video - Rice: crashes with annoying msgbox on exiting from fullscreen
;----------------------------------------------------------------------------
StartModule()
BezelGUI()
FadeInStart()

settingsFile := modulePath . "\" . moduleName . ".ini"
Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)                ;    Controls if emu launches fullscreen or windowed

hideEmuObj := Object("ahk_class Project64 2.2.0.3",1)    ; Hide_Emu will hide these windows. 0 = will never unhide, 1 = will unhide later
7z(romPath, romName, romExtension, 7zExtractPath)

BezelStart("FixResMode")

emuCfg := CheckFile(emuPath . "\Config\Project64.cfg")    ; check for emu's settings file
currentFullScreen := IniReadCheck(emuCfg,"default","Auto Full Screen")
If ( Fullscreen != "true" And currentFullScreen = 1 )
    IniWrite, 0, %emuCfg%, default, Auto Full Screen
Else If ( Fullscreen = "true" And currentFullScreen = 0 )
    IniWrite, 1, %emuCfg%, default, Auto Full Screen

HideEmuStart()    ; This fully ensures windows are completely hidden even faster than winwait
Run(executable . " """ . romPath . "\" . romName . romExtension . """", emuPath)

WinWait("ahk_class Project64 2.2.0.3")
WinWaitActive("ahk_class Project64 2.2.0.3")

If (bezelEnabled = "true")
    Control, Hide,, msctls_statusbar321, ahk_class Project64 2.2.0.3 ; Removes the StatusBar

Sleep, 1000    ; required otherwise bezels don't get drawn correctly

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


HaltEmu:
    PostMessage, 0x111, 4152,,, ahk_class %EmulatorClass%    ; Pause/Resume emulation
    If (fullscreen  = "true") {
        PostMessage, 0x111, 4172,,, ahk_class %EmulatorClass%    ; fullscreen part1
        PostMessage, 0x111, 4173,,, ahk_class %EmulatorClass%    ; fullscreen part2
    }
Return
RestoreEmu:
    Winrestore, ahk_class %EmulatorClass%
    If (fullscreen  = "true") {
        Sleep, 1000    ; couple required sleeps otherwise the emu doesn't always return to Fullscreen state
        PostMessage, 0x111, 4172,,, ahk_class %EmulatorClass%    ; fullscreen part1
        Sleep, 500
        PostMessage, 0x111, 4173,,, ahk_class %EmulatorClass%    ; fullscreen part2
    }
    PostMessage, 0x111, 4152,,, ahk_class %EmulatorClass%    ; Pause/Resume emulation
Return

CloseProcess:
    FadeOutStart()
    PostMessage, 0x111, 4003,,, ahk_class Project64 2.2.0.3    ; End emulation
    Sleep, 500
    ; WinClose("ahk_class Project64 2.2.0.3")    ; Often leaves the process running
    PostMessage, 0x111, 4006,,, ahk_class Project64 2.2.0.3    ; Exit Emu
Return

 

Thank you very much for your help but if it's too difficult, I am  waiting for your new next AHK.

Another thing: you do a great great work with DJVJ (and perhaps others persons) so THANK YOU for all this pleasure you give !

 

See you soon   Frédérik

 

Posted

I think it would be nice if there was a place that had all the different modules for specific versions available for download.  So you could just pick and choose based on what you have.

Posted

Hi,

There have been some changes to the module.  If you have the new RocketLauncher 1 the changes have been incorporated into the new module.

You can now go to your Module Settings and enter the correct emu version if it is not 2.0.

 

Thanks,

Ron

 

 

Hello Gigapig and Rfancella ! THANK YOU for the answers.

 

But, Rfancella, It don't run, I have the same problem. Here you are the module "Project64 (v2.x)" with the changes...Anything wrong ?

 

...snip...

 

Thank you very much for your help but if it's too difficult, I am  waiting for your new next AHK.

Another thing: you do a great great work with DJVJ (and perhaps others persons) so THANK YOU for all this pleasure you give !

 

See you soon   Frédérik

Code Monkey and all around Command Line geek!

If you like what someone has said or done for you, be sure and 'Thank' them.  :good:

And if they changed your life, send them a Beer!    :beerglass:

Posted

Hello Rfancella,

 

Well...I have now the RocketLaunch installation complete and all run fine EXCEPT this emulator :

 

1. options check in the emulator PJ64 2.2.0.3 like DJVJ said in the module v2.x

2. in the module settings : I've put "2.2.0.3"

3. in the AHK Module script : I've changed all the "Project64 2.0" in "Project64 2.2.0.3"

 

Result : when I test with RocketLaunchUI (and Hyperspin for to be sure...), I have first, the program emulator in window screen appear without any game and a few seconds later (like before the big update changes), the message ""ahk_class Project64 Version 1.6 etc...".

 

I don't know now.

 

If you can send me your ahk 2.x version script for to be sure ???

 

Here you are the copy of my ahk. THANK YOU very much !!! See you next time. Frédérik

 

MEmu = Project64
MEmuV =  v2.2.0.3
MURL = http://www.pj64-emu.com/
MAuthor = djvj
MVersion = 2.0.1
MCRC = 880A4F
iCRC = 1E716C97
MID = 635038268918025653
MSystem = "Nintendo 64"
;----------------------------------------------------------------------------
; Notes:
; Run the emu manually and hit Ctrl+T to enter Settings. On Options, check "On loading a ROM go to full screen"
; If roms don't start automatically, enabled advanced settings, and go to the Advanced and check "Start Emulation when rom is opened?"
; I like to turn off the Rom Browser by going to Settings->Rom Selection and uncheck "Use Rom Browser" (advanced settings needs to be on to see this tab)
; If you use Esc as your exit key, it could crash the emu because it also takes the emu out of fullscreen,
; You can remove Esc as a key to change fullscreen mode in the Settings->Keyboard Shortcuts, change CPU State to Game Playing (fullscreen) then Options->Full Screen and remove Esc from Current Keys
; Suggested to use Glide64 Final plugin as your graphics plugin (it does not crash on exit): https://code.google.com/p/glidehqplusglitch64/downloads/detail?name=Glide64_Final.zip&can=2&q=

; Project64 Plugins stores their settings in the registry @ HKEY_CURRENT_USER\Software\JaboSoft\Project64 DLL or HKEY_CURRENT_USER\Software\N64 Emulation

; Known Plugin issues:
; Video - Rice: crashes with annoying msgbox on exiting from fullscreen
;----------------------------------------------------------------------------
StartModule()
BezelGUI()
FadeInStart()

settingsFile := modulePath . "\" . moduleName . ".ini"
Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)                ;    Controls if emu launches fullscreen or windowed

hideEmuObj := Object("ahk_class Project64 2.2.0.3",1)    ; Hide_Emu will hide these windows. 0 = will never unhide, 1 = will unhide later
7z(romPath, romName, romExtension, 7zExtractPath)

BezelStart("FixResMode")

emuCfg := CheckFile(emuPath . "\Config\Project64.cfg")    ; check for emu's settings file
currentFullScreen := IniReadCheck(emuCfg,"default","Auto Full Screen")
If ( Fullscreen != "true" And currentFullScreen = 1 )
    IniWrite, 0, %emuCfg%, default, Auto Full Screen
Else If ( Fullscreen = "true" And currentFullScreen = 0 )
    IniWrite, 1, %emuCfg%, default, Auto Full Screen

HideEmuStart()    ; This fully ensures windows are completely hidden even faster than winwait
Run(executable . " """ . romPath . "\" . romName . romExtension . """", emuPath)

WinWait("ahk_class Project64 2.2.0.3")
WinWaitActive("ahk_class Project64 2.2.0.3")

If (bezelEnabled = "true")
    Control, Hide,, msctls_statusbar321, ahk_class Project64 2.2.0.3 ; Removes the StatusBar

Sleep, 1000    ; required otherwise bezels don't get drawn correctly

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


HaltEmu:
    PostMessage, 0x111, 4152,,, ahk_class %EmulatorClass%    ; Pause/Resume emulation
    If (fullscreen  = "true") {
        PostMessage, 0x111, 4172,,, ahk_class %EmulatorClass%    ; fullscreen part1
        PostMessage, 0x111, 4173,,, ahk_class %EmulatorClass%    ; fullscreen part2
    }
Return
RestoreEmu:
    Winrestore, ahk_class %EmulatorClass%
    If (fullscreen  = "true") {
        Sleep, 1000    ; couple required sleeps otherwise the emu doesn't always return to Fullscreen state
        PostMessage, 0x111, 4172,,, ahk_class %EmulatorClass%    ; fullscreen part1
        Sleep, 500
        PostMessage, 0x111, 4173,,, ahk_class %EmulatorClass%    ; fullscreen part2
    }
    PostMessage, 0x111, 4152,,, ahk_class %EmulatorClass%    ; Pause/Resume emulation
Return

CloseProcess:
    FadeOutStart()
    PostMessage, 0x111, 4003,,, ahk_class Project64 2.2.0.3    ; End emulation
    Sleep, 500
    ; WinClose("ahk_class Project64 2.2.0.3")    ; Often leaves the process running
    PostMessage, 0x111, 4006,,, ahk_class Project64 2.2.0.3    ; Exit Emu
Return
 

Posted

Hi,

That is not the most up to date module.  The current module for Project64 (v2.x).ahk is MVersion = 2.0.2

With the module above, you do not need to edit the module at all.  Just enter the version number in the Module Settings.

Update your RocketLauncher setup and it should work.

 

If it doesn't.  Please post your RocketLauncher.log using code tags so it can be read.

 

Thanks,

Ron

 

Hello Rfancella,

 

Well...I have now the RocketLaunch installation complete and all run fine EXCEPT this emulator :

 

1. options check in the emulator PJ64 2.2.0.3 like DJVJ said in the module v2.x

2. in the module settings : I've put "2.2.0.3"

3. in the AHK Module script : I've changed all the "Project64 2.0" in "Project64 2.2.0.3"

 

Result : when I test with RocketLaunchUI (and Hyperspin for to be sure...), I have first, the program emulator in window screen appear without any game and a few seconds later (like before the big update changes), the message ""ahk_class Project64 Version 1.6 etc...".

 

I don't know now.

 

If you can send me your ahk 2.x version script for to be sure ???

 

Here you are the copy of my ahk. THANK YOU very much !!! See you next time. Frédérik

 

MEmu = Project64
MEmuV =  v2.2.0.3
MURL = http://www.pj64-emu.com/
MAuthor = djvj
MVersion = 2.0.1
MCRC = 880A4F
iCRC = 1E716C97
MID = 635038268918025653
MSystem = "Nintendo 64"
;----------------------------------------------------------------------------
; Notes:
; Run the emu manually and hit Ctrl+T to enter Settings. On Options, check "On loading a ROM go to full screen"
; If roms don't start automatically, enabled advanced settings, and go to the Advanced and check "Start Emulation when rom is opened?"
; I like to turn off the Rom Browser by going to Settings->Rom Selection and uncheck "Use Rom Browser" (advanced settings needs to be on to see this tab)
; If you use Esc as your exit key, it could crash the emu because it also takes the emu out of fullscreen,
; You can remove Esc as a key to change fullscreen mode in the Settings->Keyboard Shortcuts, change CPU State to Game Playing (fullscreen) then Options->Full Screen and remove Esc from Current Keys
; Suggested to use Glide64 Final plugin as your graphics plugin (it does not crash on exit): https://code.google.com/p/glidehqplusglitch64/downloads/detail?name=Glide64_Final.zip&can=2&q=

; Project64 Plugins stores their settings in the registry @ HKEY_CURRENT_USER\Software\JaboSoft\Project64 DLL or HKEY_CURRENT_USER\Software\N64 Emulation

; Known Plugin issues:
; Video - Rice: crashes with annoying msgbox on exiting from fullscreen
;----------------------------------------------------------------------------
StartModule()
BezelGUI()
FadeInStart()

settingsFile := modulePath . "\" . moduleName . ".ini"
Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)                ;    Controls if emu launches fullscreen or windowed

hideEmuObj := Object("ahk_class Project64 2.2.0.3",1)    ; Hide_Emu will hide these windows. 0 = will never unhide, 1 = will unhide later
7z(romPath, romName, romExtension, 7zExtractPath)

BezelStart("FixResMode")

emuCfg := CheckFile(emuPath . "\Config\Project64.cfg")    ; check for emu's settings file
currentFullScreen := IniReadCheck(emuCfg,"default","Auto Full Screen")
If ( Fullscreen != "true" And currentFullScreen = 1 )
    IniWrite, 0, %emuCfg%, default, Auto Full Screen
Else If ( Fullscreen = "true" And currentFullScreen = 0 )
    IniWrite, 1, %emuCfg%, default, Auto Full Screen

HideEmuStart()    ; This fully ensures windows are completely hidden even faster than winwait
Run(executable . " """ . romPath . "\" . romName . romExtension . """", emuPath)

WinWait("ahk_class Project64 2.2.0.3")
WinWaitActive("ahk_class Project64 2.2.0.3")

If (bezelEnabled = "true")
    Control, Hide,, msctls_statusbar321, ahk_class Project64 2.2.0.3 ; Removes the StatusBar

Sleep, 1000    ; required otherwise bezels don't get drawn correctly

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


HaltEmu:
    PostMessage, 0x111, 4152,,, ahk_class %EmulatorClass%    ; Pause/Resume emulation
    If (fullscreen  = "true") {
        PostMessage, 0x111, 4172,,, ahk_class %EmulatorClass%    ; fullscreen part1
        PostMessage, 0x111, 4173,,, ahk_class %EmulatorClass%    ; fullscreen part2
    }
Return
RestoreEmu:
    Winrestore, ahk_class %EmulatorClass%
    If (fullscreen  = "true") {
        Sleep, 1000    ; couple required sleeps otherwise the emu doesn't always return to Fullscreen state
        PostMessage, 0x111, 4172,,, ahk_class %EmulatorClass%    ; fullscreen part1
        Sleep, 500
        PostMessage, 0x111, 4173,,, ahk_class %EmulatorClass%    ; fullscreen part2
    }
    PostMessage, 0x111, 4152,,, ahk_class %EmulatorClass%    ; Pause/Resume emulation
Return

CloseProcess:
    FadeOutStart()
    PostMessage, 0x111, 4003,,, ahk_class Project64 2.2.0.3    ; End emulation
    Sleep, 500
    ; WinClose("ahk_class Project64 2.2.0.3")    ; Often leaves the process running
    PostMessage, 0x111, 4006,,, ahk_class Project64 2.2.0.3    ; Exit Emu
Return
 

Code Monkey and all around Command Line geek!

If you like what someone has said or done for you, be sure and 'Thank' them.  :good:

And if they changed your life, send them a Beer!    :beerglass:

Posted

Hi Rfancella !

 

Well, I go to progress in american language !!! :rofl:

 

I don't know why but despite the RL update, I had a v2.x.ahk 2.0.1 and not, like you said me 2.0.2 !?...Anyway, now I have the good module and my  PJ64 emulator 2.2.0.3 launch a game in fullscreen with RL ! VERY GOOD........but.......

 

I can only launch one game with RL or HS because when I quit, I receive a message from a little window : DIRECT3D8  "ChangeWindowException" and despite the fact I don't see the emulator, I have the obligation to do Ctrl+Alt+Suppr for to stop really PJ64 ! It's a problem because I can't launch another game without this command and with, HS, I can't move the wheel and I have to do the same ultimate command. I use the Jabo's direct3D8 1.7.0.57-ver5 plugin (I can't to change to the Glide64 plugin, impossible)

 

PPPfff.....I configured a lot of emulators with hyperspin (sometimes it was easy and sometimes difficult) but it's the first time I search so hard for a system and I use a forum ! :diablo:  INFERNAL !!!

 

One last question : do you know how skip the blue message display "emulation start" with the time when you launch a game with this diabolic program ?! ...Impossible to find where and how and it's horrible to see !

 

THANK YOU one more time for your patience ! See you soon.

Posted

Hi,

Nice!  Glad it's finally working!

 

Yes, RetroArch is a good alternative.

 

To answer your questions:

 

I don't think there is a way to get rid of the message "Emulation Start".  None that I can find.  :(

You might try installing DirectX9 Redistributable, if you don't already have it.  That might help the DX8 error.

 

Thanks,

Ron

 

Hi Rfancella !

 

Well, I go to progress in american language !!! :rofl:

 

I don't know why but despite the RL update, I had a v2.x.ahk 2.0.1 and not, like you said me 2.0.2 !?...Anyway, now I have the good module and my  PJ64 emulator 2.2.0.3 launch a game in fullscreen with RL ! VERY GOOD........but.......

 

I can only launch one game with RL or HS because when I quit, I receive a message from a little window : DIRECT3D8  "ChangeWindowException" and despite the fact I don't see the emulator, I have the obligation to do Ctrl+Alt+Suppr for to stop really PJ64 ! It's a problem because I can't launch another game without this command and with, HS, I can't move the wheel and I have to do the same ultimate command. I use the Jabo's direct3D8 1.7.0.57-ver5 plugin (I can't to change to the Glide64 plugin, impossible)

 

PPPfff.....I configured a lot of emulators with hyperspin (sometimes it was easy and sometimes difficult) but it's the first time I search so hard for a system and I use a forum ! :diablo:  INFERNAL !!!

 

One last question : do you know how skip the blue message display "emulation start" with the time when you launch a game with this diabolic program ?! ...Impossible to find where and how and it's horrible to see !

 

THANK YOU one more time for your patience ! See you soon.

Code Monkey and all around Command Line geek!

If you like what someone has said or done for you, be sure and 'Thank' them.  :good:

And if they changed your life, send them a Beer!    :beerglass:

Posted

@fredlac. I think that window exception error is down to the graphics plugin you are using. Open up pj64 outside of hyperspin/rocket launch and change the graphics plugin to the latest glide one there.

Should sort the window exception error out, and remove the emulation started message (because that's tied to the plugin ur using currently).

This from memory so apologies if not 100% correct. But I did have exact same problem as you and fixed it so if still problem let me know and I'll check my setup for more precise advice :)

Posted

Hello guys and thank you for your help because the problem is CLEAR !!! YEEEEES !!!! :nyam1:

 

@Aletterfromthelostdays: well, thx for the idea but I did not want to use this so....

 

@Rfancella: ......so I updated my directx. Good but for nothing because I had the same problem ! ........

 

@Dunk3000: .....before my late post, I tried to change the video plugin but it was impossible (Jabo come back automatically...it was a bug) so, I reinstalled Project64 and finally I changed the Jabo dx6 to GlideN64 Public release 1 !

Conclusion: the dx8 problem don't appear and it's fix the blue message display in emulation start AND RL/HS RUN PERFECT !!!

 

Thank you to all !!!

 

   Have a good day, see you next time, :good:

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...