Welcome to the Gamebase 64 forums.                 An attempt to document ALL Commodore 64 gameware before it's too late!

MSX2 Gamebase problem.

Are you having problems setting up GB64 on your machine? Ask your questions in here!

Moderator: Jimbo

minamoto kobayashi
Keen Member
Keen Member
Posts: 50
Joined: Mon Mar 21, 2011 11:44 am

MSX2 Gamebase problem.

Mon Mar 21, 2016 4:56 am

Hi to all!
After some years of absence I will return here, because beautiful things you never forget! :lol:
I migrate to a new powerful system with a Synology 40TB RAID5 NAS (5x8TB Seagate Enterprise Storage), so I have stored all my life inside that beast 8)
Of course I stored also MAME and GAMEBASE with 25 emulated systems.
I have checked and modified every .ini to have the right paths in every emulators, and now everything works fine again, with exception for the MSX2 system.
When I try to launch a game, the Gamebase return this error:
"There was an error running the following program:
Y:\Gamebase\MSX2\scripts\MSXCLDR.EXE"
I do not know why this program is called, since I chose the emulator BlueMSX for this system.
If I try to manually launch the MSXCLDR program, a message appear:
"Please run Cassette Loader with Gamebase and when BluMSX has loaded! (written for Gamebase MSX1 for BlueMSX v2.7.1/v2.8)"
So I think this is the reason why Gamebase return an error.
But why this happen? The last time that I played games with this system, everything was ok !!
User avatar
.mad.
Highly Commended Member
Highly Commended Member
Location: Lancashire
Posts: 1600
Joined: Sun Jun 19, 2005 3:30 pm

Mon Mar 21, 2016 8:45 am

Hi,

That program is the MSX Cassette LoaDeR
The BLUEMSX script uses that program to reconfigure the keymap and sendkeys to the emulator.

BLOAD"CAS:",R

CLOAD
RUN

RUN"CAS:"

It also is used to hold CTRL or SHIFT key down when booting disks.

The problem could be the location of Gamebase and the rezip folder, as you are using drive Y:

when it was working before, was gamebase installed on C:

the MSXCLDR.EXE should be in the ..\GameBase\MSX\scripts\ folder.

it also requires special cassette machine configs which disable floppy drive in this folder
..\GameBase\MSX\Emulator\blueMSX\Machines\

MSX Cassette
MSX - Brazilian Cassette
MSX - Spanish Cassette
MSX - Japanese Cassette

MSX2 Cassette
MSX2 - Brazilian Cassette
MSX2 - Japanese Cassette

(example)
MSX - Brazilian Cassette
C:\GameBase\MSX\Emulator\blueMSX\Machines\MSX - Brazilian Cassette\config.ini

Code: Select all

[CMOS]
Enable CMOS=1
Battery Backed=1

[Video]
version=TMS99x8A
vram size=16kB

[Subslotted Slots]
slot 0=0
slot 1=0
slot 2=0
slot 3=1

[External Slots]
slot A=1 0
slot B=3 2

[FDC]
Count=1
[CPU]
Z80 Frequency=3579545Hz
[Board]
type=MSX
[Slots]
0 0 0 4 66 "Machines/Shared Roms/MSXBR.rom" ""
2 0 0 8 23 "" ""
The MSX GameBase is currently getting an update.
so if you tell me your country keyboard i can add the keymap.
so far the MSXCLDR has been updated for...
Dutch, Spanish, German, Italian, Polish, USA and French* keyboards.
The original will only work with UK keyboard set in the language bar.
dax
Ice Cool Member
Ice Cool Member
Location: Poland
Posts: 687
Joined: Tue Sep 04, 2007 1:45 pm

Mon Mar 21, 2016 10:49 am

.mad. wrote:so far the MSXCLDR has been updated for...
Dutch, Spanish, German, Italian, Polish, USA and French* keyboards.
Much appreciated 8)
I love Gamebase's creators and compilations
minamoto kobayashi
Keen Member
Keen Member
Posts: 50
Joined: Mon Mar 21, 2011 11:44 am

Mon Mar 21, 2016 8:15 pm

Wow thanks a lot for Your fast reply .mad. !!
Actually all the gamebase is placed in my external LAN NAS.
The "Y" unit is a shared folder.

The path is:
y:\Users\Emulators & ROMs\Gamebase\MSX2\Emulator\blueMSX\blueMSX.exe

while the real path is:
\\192.168.0.240\synology\Users\Emulators & ROMs\Gamebase\MSX2\Emulator\blueMSX\blueMSX.exe

but I do not think that this can be the real problem, because all the other emus works fine.
Also the MSX emulator works fine, that use the same emulator and the same configs.
Here is the bluemsx config:

[config]
joy1.type=joystick
joy2.type=joystick
emulation.speed=50
settings.language=english
settings.disableScreensaver=yes
settings.showStatePreview=yes
settings.usePngScreenshots=yes
settings.portable=no
settings.themeName=DIGIblue SUITE-X2
emulation.ejectMediaOnExit=no
emulation.registerFileTypes=no
emulation.disableWinKeys=no
emulation.statsDefDir=
emulation.machineName=MSX2 - Japanese
emulation.shortcutProfile=blueMSX
emulation.syncMethod=auto
emulation.vdpSyncMode=auto
emulation.enableFdcTiming=yes
emulation.frontSwitch=off
emulation.pauseSwitch=off
emulation.audioSwitch=off
emulation.priorityBoost=no
video.monitorColor=color
video.monitorType=scale2x
video.contrast=100
video.brightness=100
video.saturation=100
video.gamma=100
video.scanlinesEnable=yes
video.scanlinesPct=75
video.colorSaturationEnable=no
video.colorSaturationWidth=2
video.deInterlace=on
video.blendFrames=no
video.detectActiveMonitor=yes
video.horizontalStretch=no
video.verticalStretch=no
video.frameSkip=0
video.windowSize=small
video.windowX=565
video.windowY=253
video.fullscreen.width=640
video.fullscreen.height=480
video.fullscreen.bitDepth=32
video.maximizeIsFullscreen=yes
video.driver=directx hw
video.captureFps=60
video.captureSize=1
videoIn.disabled=0
videoIn.inputIndex=0
videoIn.inputName=
sound.driver=directx
sound.bufSize=100
sound.stabilizeDSoundTiming=yes
sound.stereo=yes
sound.masterVolume=75
sound.masterEnable=yes
sound.chip.enableYM2413=yes
sound.chip.enableY8950=yes
sound.chip.enableMoonsound=yes
sound.chip.moonsoundSRAMSize=640
sound.YkIn.type=none
sound.YkIn.name=
sound.YkIn.channel=0
sound.MidiIn.type=none
sound.MidiIn.name=
sound.MidiOut.type=none
sound.MidiOut.name=
sound.MidiOut.mt32ToGm=no
sound.mixerChannel.MIXER_CHANNEL_PSG.enable=yes
sound.mixerChannel.MIXER_CHANNEL_PSG.pan=40
sound.mixerChannel.MIXER_CHANNEL_PSG.volume=100
sound.mixerChannel.MIXER_CHANNEL_SCC.enable=yes
sound.mixerChannel.MIXER_CHANNEL_SCC.pan=60
sound.mixerChannel.MIXER_CHANNEL_SCC.volume=100
sound.mixerChannel.MIXER_CHANNEL_MSXMUSIC.enable=yes
sound.mixerChannel.MIXER_CHANNEL_MSXMUSIC.pan=60
sound.mixerChannel.MIXER_CHANNEL_MSXMUSIC.volume=95
sound.mixerChannel.MIXER_CHANNEL_MSXAUDIO.enable=yes
sound.mixerChannel.MIXER_CHANNEL_MSXAUDIO.pan=50
sound.mixerChannel.MIXER_CHANNEL_MSXAUDIO.volume=95
sound.mixerChannel.MIXER_CHANNEL_KEYBOARD.enable=yes
sound.mixerChannel.MIXER_CHANNEL_KEYBOARD.pan=55
sound.mixerChannel.MIXER_CHANNEL_KEYBOARD.volume=65
sound.mixerChannel.MIXER_CHANNEL_MOONSOUND.enable=yes
sound.mixerChannel.MIXER_CHANNEL_MOONSOUND.pan=50
sound.mixerChannel.MIXER_CHANNEL_MOONSOUND.volume=95
sound.mixerChannel.MIXER_CHANNEL_YAMAHA_SFG.enable=yes
sound.mixerChannel.MIXER_CHANNEL_YAMAHA_SFG.pan=50
sound.mixerChannel.MIXER_CHANNEL_YAMAHA_SFG.volume=95
sound.mixerChannel.MIXER_CHANNEL_PCM.enable=yes
sound.mixerChannel.MIXER_CHANNEL_PCM.pan=50
sound.mixerChannel.MIXER_CHANNEL_PCM.volume=95
sound.mixerChannel.MIXER_CHANNEL_IO.enable=no
sound.mixerChannel.MIXER_CHANNEL_IO.pan=70
sound.mixerChannel.MIXER_CHANNEL_IO.volume=50
sound.mixerChannel.MIXER_CHANNEL_MIDI.enable=yes
sound.mixerChannel.MIXER_CHANNEL_MIDI.pan=50
sound.mixerChannel.MIXER_CHANNEL_MIDI.volume=90
joystick.POV0isAxes=no
joy1.autofire=off
joy2.autofire=off
keyboard.configFile=blueMSX Default
ports.Lpt.type=none
ports.Lpt.emulation=msxprinter
ports.Lpt.name=
ports.Lpt.fileName=printer.dat
ports.Lpt.portName=
ports.Com.type=none
ports.Com.name=
ports.Com.fileName=uart.dat
ports.Com.portName=
ports.Eth.ethIndex=0
ports.Eth.disabled=0
ports.Eth.macAddress=00:00:00:00:00:00
cartridge.defaultType=0
diskdrive.cdromMethod=none
diskdrive.cdromDrive=0
cassette.showCustomFiles=1
cassette.readOnly=yes
cassette.rewindAfterInsert=no
nowind.enableDos2=no
nowind.enableOtherDiskRoms=true
nowind.enablePhantomDrives=false
nowind.ignoreBootFlag=true
nowind.partitionNumber=255

This is the same identical config available in the MSX system, with exception of:

emulation.machineName=MSX - Japanese
that obviously is
emulation.machineName=MSX2 - Japanese

All the paths and other inis are corrects.

I'm an italian user, I have a Logitech Wave wireless keyboard mapped with italian profile.

Any idea?
User avatar
.mad.
Highly Commended Member
Highly Commended Member
Location: Lancashire
Posts: 1600
Joined: Sun Jun 19, 2005 3:30 pm

Tue Mar 22, 2016 1:11 pm

minamoto kobayashi wrote: Actually all the gamebase is placed in my external LAN NAS.
The "Y" unit is a shared folder.

The path is:
y:\Users\Emulators & ROMs\Gamebase\MSX2\Emulator\blueMSX\blueMSX.exe

while the real path is:
\\192.168.0.240\synology\Users\Emulators & ROMs\Gamebase\MSX2\Emulator\blueMSX\blueMSX.exe

but I do not think that this can be the real problem, because all the other emus works fine.

Any idea?
i think the location IS the problem.

either GameBase cannot read the path over the network or the rezip path cannot be read.

i have made a simplified version of the script (PM) to test.
if it doesn't work, move GameBase to the ROOT of the Y: drive
Y:\GAMEBASE\MSX
with the rezip folder on
Y:\GBGame\0\

if that doesn't work, you need to install GameBase EXE and Emulator on C:
and have your gamepaths / extras etc on Y:
minamoto kobayashi
Keen Member
Keen Member
Posts: 50
Joined: Mon Mar 21, 2011 11:44 am

Tue Mar 22, 2016 1:57 pm

Hello mad.
Yes, now with Your modified file the the emulator boot !!
BUT .. it starts in MSX mode, not MSX2, so the emulator shows only strange chars and then reset.
I'm forced to switch to MSX2 emulation and then manually re-run the game :roll:
Where is the problem?
In the bluemsx .ini file is specified "emulation.machineName=MSX2 - Korean"
User avatar
.mad.
Highly Commended Member
Highly Commended Member
Location: Lancashire
Posts: 1600
Joined: Sun Jun 19, 2005 3:30 pm

Tue Mar 22, 2016 3:46 pm

minamoto kobayashi wrote:Hello mad.
Yes, now with Your modified file the the emulator boot !!
BUT .. it starts in MSX mode, not MSX2, so the emulator shows only strange chars and then reset.
I'm forced to switch to MSX2 emulation and then manually re-run the game :roll:
Where is the problem?
In the bluemsx .ini file is specified "emulation.machineName=MSX2 - Korean"
AH!

that's because i merged the MSX1 and MSX2 GameBases
default is MSX1 JAP.

change line 142
last entry under section "ElseIf Key_Machine"

Else
Add_CLP( /machine "MSX2 - Japanese")
End If
minamoto kobayashi
Keen Member
Keen Member
Posts: 50
Joined: Mon Mar 21, 2011 11:44 am

Tue Mar 22, 2016 5:22 pm

Hello.
It doesn't work ;(

This is the modified file, but as You can see, now there are two identical strings: "Add_CLP( /machine "MSX2 - Japanese")"


;---------------------------------------------------------------------------------------------------------------------------
;"blueMSX Default.config" keyboard mappings get overwritten everytime a game is run
;
;The joystick Layout is as follows to use joysticks in port 1 and 2
;If the joystick needs to be set for port 2 then the keymappings will be in reverse order.


; To use a real joystick overwrite the lines within the Controller Setup Section with the lines below making sure that the semicolon is deleted
;
; Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-1||joy1-up||J1 UP)
; Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-1||joy1-down||J1 DOWN)
; Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-1||joy1-left||J1 LEFT)
; Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-1||joy1-right||J1 RIGHT)
; Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-1||joy1-button1||J1 BT 1)
; Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-1||joy1-button2||J1 BT 2)
;
; Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-2||joy2-up||J2 UP)
; Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-2||joy2-down||J2 DOWN)
; Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-2||joy2-left||J2 LEFT)
; Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-2||joy2-right||J2 RIGHT)
; Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-2||joy2-button1||J2 BT 1)
; Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-2||joy2-button2||J2 BT 2)

;----------------------------------------CONTROLLER SETUP SECTION--------------------------------
;This will check for the controller set within GameBase
If Control = Mouse
Set_INI_Value(%emupath%\bluemsx.ini||config||joy1.type||mouse)

;Gunstick Port 1
ElseIf Control = LightGun
Set_INI_Value(%emupath%\bluemsx.ini||config||joy1.type||gunstick)
Set_INI_Value(%emupath%\bluemsx.ini||config||joy2.type||none)

;Gunstick Port 2
ElseIf Control = KoalaPad
Set_INI_Value(%emupath%\bluemsx.ini||config||joy1.type||none)
Set_INI_Value(%emupath%\bluemsx.ini||config||joy2.type||gunstick)

ElseIf Control = JoyPort1
Set_INI_Value(%emupath%\bluemsx.ini||config||joy1.type||joystick)
Set_INI_Value(%emupath%\bluemsx.ini||config||joy2.type||joystick)

Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-1||coleco1-0||"")
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-1||coleco1-2||"")
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-1||coleco1-4||"")
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-1||coleco1-6||"")
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-1||coleco1-8||"")

Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-1||joy1-up||NUMPAD8)
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-1||joy1-down||NUMPAD2)
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-1||joy1-left||NUMPAD4)
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-1||joy1-right||NUMPAD6)
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-1||joy1-button1||NUMPAD5)
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-1||joy1-button2||NUMPAD0)

Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-2||joy2-up||"")
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-2||joy2-down||"")
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-2||joy2-left||"")
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-2||joy2-right||"")
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-2||joy2-button1||"")
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-2||joy2-button2||"")

ElseIf Control = JoyPort2
Set_INI_Value(%emupath%\bluemsx.ini||Config||joy1.type||joystick)
Set_INI_Value(%emupath%\bluemsx.ini||Config||joy2.type||joystick)

Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-2||coleco2-0||"")
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-2||coleco2-2||"")
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-2||coleco2-4||"")
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-2||coleco2-6||"")
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-2||coleco2-8||"")

Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-2||joy2-up||NUMPAD8)
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-2||joy2-down||NUMPAD2)
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-2||joy2-left||NUMPAD4)
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-2||joy2-right||NUMPAD6)
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-2||joy2-button1||NUMPAD5)
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-2||joy2-button2||NUMPAD0)

Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-1||joy1-up||"")
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-1||joy1-down||"")
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-1||joy1-left||"")
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-1||joy1-right||"")
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-1||joy1-button1||"")
Set_INI_Value(%emupath%\Keyboard Config\blueMSX Default.config||Keymapping-1||joy1-button2||"")
End If

;---------------------------------------------------------------------------------------------------------


;needed for the cassette loader to run correctly
Set_INI_Value(%emupath%\bluemsx.ini||config||emulation.speed||50)

If Key_Startup CONTAINS(Shift)
Show_Message(Please note you will need to press Shift whilst the game is loading)
End If

;Cas,roms and dsks all have different default Machines - for example 99% of roms are Japanese
If %gamefile% CONTAINS(*.rom)

;reset ROM Mapper to Default GuessType

;read list above for mapper number and description.
If key_mapper CONTAINS(*)
Set_INI_Value(%emupath%\bluemsx.ini||config||cartridge.defaultType||%mapper_value%)
Else
;Default set to emulator best GUESS (not always correct).
Set_INI_Value(%emupath%\bluemsx.ini||config||cartridge.defaultType||0)
End If

If Key_Machine CONTAINS(msx1uk)
Add_CLP( /machine "MSX")
ElseIf Key_Machine CONTAINS(msx1ko)
Add_CLP( /machine "MSX - Korean")
ElseIf Key_Machine CONTAINS(Toshiba)
Add_CLP( /machine "MSX - Toshiba")
ElseIf Key_Machine CONTAINS(msx1Ar)
Add_CLP( /machine "MSX - Arabic")
ElseIf Key_Machine CONTAINS(msx1sp)
Add_CLP( /machine "MSX - spanish")
ElseIf Key_Machine CONTAINS(msx1br)
Add_CLP( /machine "MSX - Brazilian")
ElseIf Key_Machine CONTAINS(msx2uk)
Add_CLP( /machine "MSX2")
ElseIf Key_Machine CONTAINS(msx2ar)
Add_CLP( /machine "MSX2 - Arabic")
ElseIf Key_Machine CONTAINS(msx2br)
Add_CLP( /machine "MSX2 - Brazilian")
ElseIf Key_Machine CONTAINS(msx2sp)
Add_CLP( /machine "MSX2 - Spanish")
ElseIf Key_Machine CONTAINS(msx2jp)
Add_CLP( /machine "MSX2 - Japanese")
ElseIf Key_Machine CONTAINS(msx2Fr)
Add_CLP( /machine "MSX2 - French")
ElseIf Key_Machine CONTAINS(msx2+)
Add_CLP( /machine "MSX2+")
ElseIf Key_Machine CONTAINS(turboR)
Add_CLP( /machine "MSXTURBOR")
ElseIf Key_Machine CONTAINS(MSX2HB-F700D)
Add_CLP( /machine "MSX2 - Sony HB-F700D")
Else
Add_CLP( /machine "MSX2 - Japanese")
End If


If Key_romtype2 CONTAINS(*)
Add_CLP( /rom1 %gamepathfile% /romtype2 %romtype2_value%)
Run_Emulator()
Else
Add_CLP( /rom1 %gamepathfile%)
Run_Emulator()
End If

ElseIf %gamefile% CONTAINS(*.dsk)
Set_INI_Value(%emupath%\bluemsx_history.ini||[config]||diskdrive.defDir||%gamepath%)

;MSX1
If Key_Machine CONTAINS(msx1jp)
Add_CLP( /machine "MSX - Japanese")
ElseIf Key_Machine CONTAINS(128kb)
Add_CLP( /machine "MSX - 128")
ElseIf Key_Machine CONTAINS(msx1toshiba)
Add_CLP( /machine "MSX - Toshiba")
ElseIf Key_Machine CONTAINS(msx1sp)
Add_CLP( /machine "MSX - spanish")
Set_CFG_Item(%emupath%\Machines\MSX - Spanish\config.ini||1 0 0 32 22 "" ""||||)
ElseIf Key_Machine CONTAINS(msx1br)
Add_CLP( /machine "MSX - Brazilian")
ElseIf Key_Machine CONTAINS(msx1ko)
Add_CLP( /machine "MSX - Korean")
ElseIf Key_Machine CONTAINS(msx1uk)
Add_CLP( /machine "MSX")
;MSX2
ElseIf Key_Machine CONTAINS(msx2uk)
Add_CLP( /machine "MSX2")
ElseIf Key_Machine CONTAINS(msx2br)
Add_CLP( /machine "MSX2 - Brazilian")
ElseIf Key_Machine CONTAINS(msx2sp)
Set_CFG_Item(%emupath%\Machines\MSX2 - Spanish\config.ini||2 1 0 256 44 "" ""||||)
Add_CLP( /machine "MSX2 - Spanish")
ElseIf Key_Machine CONTAINS(msx2jp)
Set_CFG_Item(%emupath%\Machines\MSX2 - Japanese\config.ini||2 0 0 256 44 "" ""||||)
Add_CLP( /machine "MSX2 - Japanese")
ElseIf Key_Machine CONTAINS(msx2fr)
Add_CLP( /machine "MSX2 - French")
ElseIf Key_Machine CONTAINS(msx2ko)
Add_CLP( /machine "MSX2 - Korean")
ElseIf Key_Machine CONTAINS(msx2+)
Add_CLP( /machine "MSX2+")
ElseIf Key_Machine CONTAINS(turboR)
Add_CLP( /machine "MSXturboR")
ElseIf Key_Machine CONTAINS(msx2HB-F700D)
Add_CLP( /machine "MSX2 - Sony HB-F700D")
Else
Add_CLP( /machine "MSX")
End If

If NumGameFiles > 1
Add_CLP( /diskA %gamepathfile% /diskB %gamepathfile(1)%)
Else
Add_CLP( /diskA %gamepathfile%)
End If

If Key_romtype CONTAINS(*)
Add_CLP( /romtype1 %romtype_value%)
ElseIf Key_romtype2 CONTAINS(*)
Add_CLP( /romtype2 %romtype2_value%)
End If

If Key_Startup CONTAINS(Control)
show_message (RESET and press CTRL while disk is booting)

End If
Run_Emulator()

ElseIf %gamefile% CONTAINS(*.cas)
Set_INI_Value(%emupath%\bluemsx_history.ini||[config]||cassette.defDir||%gamepath%)

Add_CLP( /cas %gamepathfile%)

If Key_Machine CONTAINS(casjap)
Add_CLP( /machine "MSX - Japanese Cassette")

If Key_cas CONTAINS(bload)
show_message (type BLOAD"CAS:",R to load Cassette)
Run_Emulator()
ElseIf Key_cas CONTAINS(cload)
Run_Emulator()
show_message (type CLOAD to load Cassette and RUN to start)
Else
show_message (type RUN"CAS:" to load Cassette)
Run_Emulator()
End If

ElseIf Key_Machine CONTAINS(casuk)
Add_CLP( /machine "MSX Cassette")

If Key_cas CONTAINS(bload)
show_message (type BLOAD"CAS:",R to load Cassette)
Run_Emulator()
ElseIf Key_cas CONTAINS(cload)
show_message (type CLOAD to load Cassette and RUN to start)
Run_Emulator()
Else
show_message (type RUN"CAS:" to load Cassette)
Run_Emulator()

End If
ElseIf Key_Machine CONTAINS(casSpan)
Add_CLP( /machine "MSX - spanish Cassette")

If Key_cas CONTAINS(bload)
show_message (type BLOAD"CAS:",R to load Cassette)
Run_Emulator()
ElseIf Key_cas CONTAINS(cload)
show_message (type CLOAD to load Cassette and RUN to start)
Run_Emulator()
Else
show_message (type RUN"CAS:" to load Cassette)
Run_Emulator()
End If
ElseIf Key_Machine CONTAINS(casMSX2)
Add_CLP( /machine "MSX2 Cassette")

If Key_cas CONTAINS(bload)
show_message (type BLOAD"CAS:",R to load Cassette)
Run_Emulator()
ElseIf Key_cas CONTAINS(cload)
show_message (type CLOAD to load Cassette and RUN to start)
Run_Emulator()
Else
show_message (type RUN"CAS:" to load Cassette)
Run_Emulator()

End If
ElseIf Key_Machine CONTAINS(casMSX2Jap)
Add_CLP( /machine "MSX2 - Japanese Cassette")

If Key_cas CONTAINS(bload)
show_message (type BLOAD"CAS:",R to load Cassette)
Run_Emulator()

ElseIf Key_cas CONTAINS(cload)
show_message (type CLOAD to load Cassette and RUN to start)
Run_Emulator()

Else
show_message (type RUN"CAS:" to load Cassette)
Run_Emulator()
End If

ElseIf Key_Machine CONTAINS(casMSX2Braz)
Add_CLP( /machine "MSX2 - Brazilian Cassette")

If Key_cas CONTAINS(bload)
show_message (type BLOAD"CAS:",R to load Cassette)
Run_Emulator()

ElseIf Key_cas CONTAINS(cload)
show_message (type CLOAD to load Cassette and RUN to start)
Run_Emulator()
Else
show_message (type RUN"CAS:" to load Cassette)
Run_Emulator()

End If
ElseIf Key_Machine CONTAINS(Japanese)
Add_CLP( /machine "MSX - Japanese")


If Key_cas CONTAINS(bload)
show_message (type BLOAD"CAS:",R to load Cassette)
Run_Emulator()

ElseIf Key_cas CONTAINS(cload)
show_message (type CLOAD to load Cassette and RUN to start)
Run_Emulator()

Else
show_message (type RUN"CAS:" to load Cassette)
Run_Emulator()
End If
ElseIf Key_Machine CONTAINS(UK)
Add_CLP( /machine "MSX")


If Key_cas CONTAINS(bload)
show_message (type BLOAD"CAS:",R to load Cassette)
Run_Emulator()

ElseIf Key_cas CONTAINS(cload)
show_message (type CLOAD to load Cassette and RUN to start)
Run_Emulator()

Else
show_message (type RUN"CAS:" to load Cassette)
Run_Emulator()
End If
ElseIf Key_Machine CONTAINS(Brazilian)
Add_CLP( /machine "MSX - Brazilian" /diskA %dbpath%\scripts\blank.dsk)


If Key_cas CONTAINS(bload)
show_message (type BLOAD"CAS:",R to load Cassette)
Run_Emulator()

ElseIf Key_cas CONTAINS(cload)
show_message (type CLOAD to load Cassette and RUN to start)
Run_Emulator()

Else
show_message (type RUN"CAS:" to load Cassette)
Run_Emulator()
End If
ElseIf Key_Machine CONTAINS(Spanish)
Add_CLP( /machine "MSX - spanish")


If Key_cas CONTAINS(bload)
show_message (type BLOAD"CAS:",R to load Cassette)
Run_Emulator()

ElseIf Key_cas CONTAINS(cload)
show_message (type CLOAD to load Cassette and RUN to start)
Run_Emulator()
Else
show_message (type RUN"CAS:" to load Cassette)
Run_Emulator()
End If
ElseIf Key_Machine CONTAINS(MSX2)
Add_CLP( /machine "MSX2")

If Key_cas CONTAINS(bload)
show_message (type BLOAD"CAS:",R to load Cassette)
Run_Emulator()

ElseIf Key_cas CONTAINS(cload)
show_message (type CLOAD to load Cassette and RUN to start)
Run_Emulator()

Else
show_message (type RUN"CAS:" to load Cassette)
Run_Emulator()

End If
ElseIf Key_Machine CONTAINS(MSX2Jap)
Add_CLP( /machine "MSX2 - Japanese")


If Key_cas CONTAINS(bload)
show_message (type BLOAD"CAS:",R to load Cassette)
Run_Emulator()

ElseIf Key_cas CONTAINS(cload)
show_message (type CLOAD to load Cassette and RUN to start)
Run_Emulator()

Else
show_message (type RUN"CAS:" to load Cassette)
Run_Emulator()

End If

ElseIf Key_Machine CONTAINS(MSX2Braz)
Add_CLP( /machine "MSX2 - Brazilian")
;Add_CLP( /diskA %dbpath%\scripts\blank.dsk)


If Key_cas CONTAINS(bload)
show_message (type BLOAD"CAS:",R to load Cassette)
Run_Emulator()

ElseIf Key_cas CONTAINS(cload)
show_message (type CLOAD to load Cassette and RUN to start)
Run_Emulator()

Else
show_message (type RUN"CAS:" to load Cassette)
Run_Emulator()

End If
Else
Add_CLP( /machine "MSX - Brazilian Cassette")


If Key_cas CONTAINS(bload)
show_message (type BLOAD"CAS:",R to load Cassette)
Run_Emulator()

ElseIf Key_cas CONTAINS(cload)
show_message (type CLOAD to load Cassette and RUN to start)
Run_Emulator()

Else
show_message (type RUN"CAS:" to load Cassette)
Run_Emulator()

End If
End If

Else
Show_Message(This game does not have a supported file extension)

End If
User avatar
.mad.
Highly Commended Member
Highly Commended Member
Location: Lancashire
Posts: 1600
Joined: Sun Jun 19, 2005 3:30 pm

Tue Mar 22, 2016 5:34 pm

the game you are running must be a ROM
you need to change line 195 as well

Add_CLP( /machine "MSXturboR")
ElseIf Key_Machine CONTAINS(msx2HB-F700D)
Add_CLP( /machine "MSX2 - Sony HB-F700D")
Else
Add_CLP( /machine "MSX")
End If

to this
Add_CLP( /machine "MSX2 - Japanese")
minamoto kobayashi
Keen Member
Keen Member
Posts: 50
Joined: Mon Mar 21, 2011 11:44 am

Tue Mar 22, 2016 9:38 pm

.. and finally ... IT WORKS!
Thanks a lot, now You're my personal hero 8) 8)

Just to learn something new: what was the cause of the first issue (blueMSX return an error)?
User avatar
.mad.
Highly Commended Member
Highly Commended Member
Location: Lancashire
Posts: 1600
Joined: Sun Jun 19, 2005 3:30 pm

Tue Mar 22, 2016 10:09 pm

only thing i can think of is the GameBase install location and rezip folder path.

The loader could be being blocked by you AV or security setting.
it may think it's a Keylogger??
minamoto kobayashi
Keen Member
Keen Member
Posts: 50
Joined: Mon Mar 21, 2011 11:44 am

Wed Mar 23, 2016 1:03 am

Hello.
But the first issue was solved only replacing the old script with Your modified one .. I did not do anything else :D
Just curious what was the script modify ...
User avatar
.mad.
Highly Commended Member
Highly Commended Member
Location: Lancashire
Posts: 1600
Joined: Sun Jun 19, 2005 3:30 pm

Wed Mar 23, 2016 11:45 am

minamoto kobayashi wrote: Just curious what was the script modify ...
i removed all lines with the msxcldr reference.
the script could not RUN or FIND the file from your setup location.
Run_Program(%dbpath%\scripts\MSXCLDR.exe

the file is mainly for MSX1 Tapes.
so you will not miss it when playing MSX2.

open a command window on C: drive and type
y:\Users\Emulators & ROMs\Gamebase\MSX2\scripts\msxcldr.exe
did it run?

if so change script "%dbpath%" to full path
Run_Program(y:\Users\Emulators & ROMs\Gamebase\MSX2
minamoto kobayashi
Keen Member
Keen Member
Posts: 50
Joined: Mon Mar 21, 2011 11:44 am

Wed Mar 23, 2016 2:50 pm

Yes it works!
A popup message appear:

"Please run cassette loader with gamebase and when BlueMSX has loaded"


What this means?
That there is no path problem?
Must now I change somenthing in You modified script?
User avatar
.mad.
Highly Commended Member
Highly Commended Member
Location: Lancashire
Posts: 1600
Joined: Sun Jun 19, 2005 3:30 pm

Wed Mar 23, 2016 4:42 pm

it was just an idea.

maybe the MSXCLDR can not find one of the emulator machine configs on the y: dive to alter when run.

try putting it in the root dir and test the original.
Y:\gamebase\msx\

If that doesn't work, i don't know.
at least you got it to run now.

Return to “GB64 Help!”

Who is online

Users browsing this forum: Bing [Bot] and 0 guests