Jump to content

VirtualJaguar help


kenshutt97

Recommended Posts

Posted

Hi - newbie here, just getting started. So far I've configured quite a few systems thanks to all the help here.

However, I'm struggling with Jaguar. I know it's not the best state right now, but without hyperspin, I can run most of the games I want with the newest version of VirtualJaguar, however, I can't seem to get hyperspin to load.

1st question - When I select the emulator from the wheel, it opens jaguar and just get the jaguar bios screen without actually loading a rom. In fact, the bios screen doesn't even finish loading, it turns red almost right away. I can still load a cartraige from the emu manually, but I can't get it to open automatically based on what I select.

Is there a specific ahk file I should be using or some kind of specific configuration in hyperHQ? I can't get it to launch with hyper launch.

2nd unrelated question - I have heard people using different emulators for different games. How do you set that up in hyperHQ or do you have to do it elsewhere?

Posted

Most of us use Retroarch for Jaguar emulation. I would sugest you go with that for 80% of your systems. It will make your life a lot easier.

Posted

The red BIOS screen means that there is no cart inserted, meaning you aren't properly passing on the command line arguments that VJ needs. Also you likely aren't using HyperLaunch/RocketLauncher.

Posted
Most of us use Retroarch for Jaguar emulation. I would sugest you go with that for 80% of your systems. It will make your life a lot easier.

Ok, i'm looking into this. Thanks!

Posted
The red BIOS screen means that there is no cart inserted, meaning you aren't properly passing on the command line arguments that VJ needs. Also you likely aren't using HyperLaunch/RocketLauncher.

I tried both hyperlaunch options and I got nothing. How do you properly pass the command line arguments?

Posted

Ok, please forgive my ignorance here, but I still cannot get this to work. I have the newest version of hyperspin. I've had plenty of success with all other Atari emulators, except for this one. I'm using the most recent version of virtual jaguar 2.1.2. I have the jagboot.rom file in the eeproms folder as the database ahk file asks for. My rom files are named correctly according to the database file.

HyperHQ settings:

Execution: If Normal, it loads Virtual jaguar and with red bios screen, so not loading roms. If hyperlaunch, nothing happens.

PC game: disabled

Excecutable - to my vj exe file.

ROms - to my jag roms folder

params - nothing

extentions: j64, jag, zip

Use full path to roms: disabled

search subfolders: disabled

winstate normal

Here is my module Atari jaguar.ahk file: I can't remember where I found this.

MEmu = Virtual Jaguar
MEmuV =  v2.1.2
MURL = http://icculus.org/virtualjaguar/
MAuthor = djvj & brolly
MVersion = 2.1.0
MCRC = C1F665E4
iCRC = 31619F7D
MID = 635038268931827139
MSystem = "Atari Jaguar"
;----------------------------------------------------------------------------
; Notes:
; The Atari Jaguar bios "jagboot.rom" must exist in the eeproms emulator folder
; The emu stores its config in the registry @ HKEY_CURRENT_USER\Software\Underground Software\Virtual Jaguar
;----------------------------------------------------------------------------
StartModule()
BezelGUI()
FadeInStart()

settingsFile := modulePath . "\" . moduleName . ".ini"
Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)
WindowZoom := IniReadCheck(settingsFile, "Settings", "WindowZoom","3",,1)
Filter := IniReadCheck(settingsFile, "Settings", "Filter","0",,1)

VideoMode := IniReadCheck(settingsFile, "Settings" . "|" . romName, "VideoMode","0",,1)
GPUEnabled := IniReadCheck(settingsFile, "Settings" . "|" . romName, "GPUEnabled","true",,1)
DSPEnabled := IniReadCheck(settingsFile, "Settings" . "|" . romName, "DSPEnabled","true",,1)
EnableJaguarBIOS := IniReadCheck(settingsFile, "Settings" . "|" . romName, "EnableJaguarBIOS","true",,1)
UseFastBlitter := IniReadCheck(settingsFile, romName, "useFastBlitter","false",,1)

If bezelEnabled
{
If (Fullscreen = "true") {
	disableForceFullscreen := true
	disableWinMove := true
	disableHideTitleBar := true
	disableHideToggleMenu := true
	disableHideBorder := true
	BezelStart()
} Else {
	disableHideToggleMenu := true
	disableHideBorder := true
	bezelTopOffset := IniReadCheck(settingsFile, "Settings", "Bezel_Top_Offset","62",,1)
	bezelBottomOffset := IniReadCheck(settingsFile, "Settings", "Bezel_Bottom_Offset","52",,1)
	bezelRightOffset := IniReadCheck(settingsFile, "Settings", "Bezel_Right_Offset", "8",,1)
	bezelLeftOffset := IniReadCheck(settingsFile, "Settings", "Bezel_Left_Offset", "8",,1)
	BezelStart("fixResMode")
}
}

; Setting Fullscreen setting in registry if it doesn't match what user wants above
currentFullScreen := ReadReg("fullscreen")
If ( Fullscreen = "true" And currentFullScreen = "false" )
WriteReg("fullscreen", "true")
Else If ( Fullscreen != "true" And currentFullScreen = "true" )
WriteReg("fullscreen", "false")

;Same for window zoom
currentWindowZoom := ReadReg("zoom")
If ( WindowZoom != currentWindowZoom )
WriteReg("zoom", WindowZoom, "REG_DWORD")

;Same for GPU Enabled
currentGPUEnabled := ReadReg("GPUEnabled")
If ( GPUEnabled = "true" And currentGPUEnabled = "false" )
WriteReg("GPUEnabled", "true")
Else If ( GPUEnabled != "true" And currentGPUEnabled = "true" )
WriteReg("GPUEnabled", "false")

;Same for DSP Enabled
currentDSPEnabled := ReadReg("DSPEnabled")
If ( DSPEnabled = "true" And currentDSPEnabled = "false" )
WriteReg("DSPEnabled", "true")
Else If ( DSPEnabled != "true" And currentDSPEnabled = "true" )
WriteReg("DSPEnabled", "false")

;And for use BIOS
currentEnableJaguarBIOS := ReadReg("useJaguarBIOS")
If ( EnableJaguarBIOS = "true" And currentEnableJaguarBIOS = "false" )
WriteReg("useJaguarBIOS", "true")
Else If ( EnableJaguarBIOS != "true" And currentEnableJaguarBIOS = "true" )
WriteReg("useJaguarBIOS", "false")

;And for bilenear filter
currentFilter := ReadReg("glFilterType")
If ( Filter != currentFilter )
WriteReg("glFilterType", Filter, "REG_DWORD")

;And Video Mode
currentHardwareTypeNTSC := ReadReg("hardwareTypeNTSC")
If ( VideoMode = "PAL" And currentHardwareTypeNTSC = "true" )
WriteReg("hardwareTypeNTSC", "false")
Else If ( VideoMode = "NTSC" And currentHardwareTypeNTSC = "false" )
WriteReg("hardwareTypeNTSC", "true")

;And Fast Blitter
currentUseFastBlitter := ReadReg("useFastBlitter")
If ( UseFastBlitter = "true" And currentUseFastBlitter = "false" )
WriteReg("useFastBlitter", "true")
Else If ( UseFastBlitter != "true" And currentUseFastBlitter = "true" )
WriteReg("useFastBlitter", "false")

jagBIOS := emuPath . "\eeproms\jagboot.rom"
CheckFile(jagBIOS, "Could not find ""jagboot.rom"" bios rom, it is required for " . MEmu . ": " . jagBIOS)

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

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

Run(executable . " """ . romPath . "\" . romName . romExtension . """", emuPath)

WinWait("Virtual Jaguar ahk_class QWidget")
WinWaitActive("Virtual Jaguar ahk_class QWidget")

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

ReadReg(var1) {
regValue := RegRead("HKEY_CURRENT_USER", "Software\Underground Software\Virtual Jaguar", var1) 
Return %regValue%
}

WriteReg(var1, var2, ValueType="REG_SZ") {
RegWrite(ValueType, "HKEY_CURRENT_USER", "Software\Underground Software\Virtual Jaguar", var1, var2)
}

CloseProcess:
FadeOutStart()
WinClose("Virtual Jaguar ahk_class QWidget")
Return


I've spent so much time on this. I'm not sure why as I should just move on to something else, but it's bothering me. At this point, I'm willing to pay somebody to assist set this up. We can do phone/chat join.me session, whatever it takes.

Any help is appreciate.

Note: I have not started to mess with RetroArch. When I tried to run virtualjag from there, I had all kinds of sound issues. I'm happy with how virtual jag runs for the time being. Also, I haven't begun to even think about how to get retroarch in hyperspin. I'm literally a week new to all of this.

Posted
Are you using RocketLauncher? Hearing you talk about Hyperhq makes me think you aren't.

Doesn't appear to be. Seems I'm using Hyperlaunch 2.25. I downloaded version 3 though. Guess I need to figure out how to use that.

Archived

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

×
×
  • Create New...