Page 12 of 14

Gamebase CPC V14

Posted: Thu Apr 15, 2010 5:01 pm
by ldaneels
Hi everybody,
I just finished the Gamebase CPC V14 update. For the moment, only the update is available, but I am uploading the full version.
You can donwload everything on http://www.cpc-power.com/gamebasecpc/
Have Fun,

Loïc

Posted: Wed Apr 28, 2010 10:01 am
by ldaneels
I just fixed the link for the installer files. The download works now.

Posted: Tue May 04, 2010 7:07 pm
by Pugsy
Wow, that is massive!

Nice Job!

Posted: Thu May 06, 2010 7:36 am
by ldaneels
Hi,
Thanks for the cheer, it is much appreciated.
Update V15 is well under way with some nice games added to the list.
For those who missed it, I have created a Facebook group at http://www.facebook.com/group.php?gid=1 ... 282&ref=mf
Cheers,

Loïc

CPCzone

Posted: Thu May 06, 2010 12:37 pm
by hillelr
hi
sry for an unrelated post
does anyone know if the site CPCzone will be back online
or is there a site that is similar to it?
thx

Posted: Thu May 06, 2010 3:27 pm
by ldaneels
I am looking for some help to set up Winape in GBCPC: I need to automatically load a cartridge (cpr file) in Winape. It works perfectly with the dsk (Add_CLP(%gamepathfile% /a)), but it absolutely refuses to load a cartridge. What to I need to do (aside from CTRL+F3) ?
Any help would be greatly appreciated

Posted: Thu May 06, 2010 3:36 pm
by Vicman
This is the Gemus Script, that hardmanm use for his AmstradMania v3 :
So, should be (/t)....

Code: Select all

If GameType CONTAINS(dsk)
	Add_CLP(%gamepathfile%)
	Add_CLP( /a)
End If

If GameType CONTAINS(cdt)
	Add_CLP(%gamepathfile%)
	Add_CLP( /t)
End If

If GameType CONTAINS(sna)
	Add_CLP(%gamepathfile%)

End If
Run_Emulator()
EDIT :
Forget it.....silly me...it's for Tapes :oops:
But i saw on Facebook, you allready have the Answer :wink:

Posted: Fri May 07, 2010 5:46 am
by ldaneels
Hi, I indeed found my answer shortly after I posted. Your method is much cleaner, though.
I wonder if there is a command line for cartridges... Maybe /c ? Anyone can confirm ?

Posted: Fri May 07, 2010 7:20 am
by K.C.
There doesn't seem to be a command line option for attaching cartridges, but I found a WinAPE.ini file in the emulator folder containing this line:

Code: Select all

Cartridge=CPC_PLUS.CPR
I haven't tested it, but maybe this works?

Code: Select all

Set_INI_Value(%emupath%\WinAPE.ini||ROMS||Cartridge||CPC_PLUS.CPR)
If GameType CONTAINS(dsk)
	Add_CLP(%gamepathfile% /a)
ElseIf GameType CONTAINS(cdt)
	Add_CLP(%gamepathfile% /t)
ElseIf GameType CONTAINS(sna)
	Add_CLP(%gamepathfile%)
ElseIf GameType CONTAINS(cpr)
	Set_INI_Value(%emupath%\WinAPE.ini||ROMS||Cartridge||%gamepathfile%)
EndIf
Run_Emulator()

Posted: Fri May 07, 2010 9:25 am
by ldaneels
Hi,
that is more or less what I ended up doing & it works perfectly.
For those curious, here is the way I did it (full GEMU for Winape):

Set_INI_Value(%emupath%\winape.ini||ROMS||cartridge||D:\GameBase\Amstrad CPC\Emulators\WinAPE\ROM\CPC_PLUS.CPR)

Set_INI_Value(%emupath%\winape.ini||DRIVES||Drive(0)||)

Set_INI_Value(%emupath%\winape.ini||TAPE||File Name||)

Add_CLP(%gamepathfile% /a)

If Key_CARTRIDGE CONTAINS(YES)
Set_INI_Value(%emupath%\winape.ini||ROMS||cartridge||%gamepathfile%)
End If

Run_Emulator()

Posted: Fri May 07, 2010 10:06 am
by K.C.
That could work, however, a few questions/comments about your script:

Code: Select all

Set_INI_Value(%emupath%\winape.ini||ROMS||cartridge||D:\GameBase\Amstrad CPC\Emulators\WinAPE\ROM\CPC_PLUS.CPR)
IMO it's better to remove the full path to CPC_PLUS.CPR. Not everyone installs the files to the same location.

Code: Select all

Set_INI_Value(%emupath%\winape.ini||DRIVES||Drive(0)||)

Set_INI_Value(%emupath%\winape.ini||TAPE||File Name||)
Is there any special reason to clear these values in WinAPE.ini?

Code: Select all

If Key_CARTRIDGE CONTAINS(YES)
Set_INI_Value(%emupath%\winape.ini||ROMS||cartridge||%gamepathfile%)
End If
It will work this way, but you need to set a key=value pair for all cartridge based games. That is not needed, it can be done automatically by checking the file extension.
Also an unneeded/unwanted CLP is sent to the emulator. You always send Add_CLP(%gamepathfile% /a) to WinAPE, I don't think it is needed to add the filename as CLP for cartridge based games.

If you can always send %gamepathfile% /a to WinAPE except for cartridge based games, this script will do exactly what you want:

Code: Select all

If GameType CONTAINS(cpr) 
   Set_INI_Value(%emupath%\WinAPE.ini||ROMS||Cartridge||%gamepathfile%) 
Else
   Set_INI_Value(%emupath%\WinAPE.ini||ROMS||Cartridge||CPC_PLUS.CPR) 
   Add_CLP(%gamepathfile% /a) 
EndIf 
Run_Emulator()

Posted: Sat May 08, 2010 8:57 am
by ldaneels
Thanks for that, I have modified the GEMUs & it works great. Only niggle is autostarting tapes, but I don't really use Winape for tapes anyway.
I have changed all paths to relative paths, so it should work with any install.
As for the 2 set_INI, I put them there to clear the Winape.ini. Without it, when I do a new release & use winape, it will create a new 1Kb file for the last file that was inserted.

Posted: Mon May 17, 2010 8:23 pm
by ldaneels
Hi everybody,
V15 is almost ready & should be downloadable by the end of the week. More info as it happens...

Loïc

Posted: Sun May 23, 2010 7:09 pm
by ldaneels
Good news ! I am currently uploading the new update (V15).
I'll confirm when everything is ready to download...

Posted: Sun May 23, 2010 10:02 pm
by ldaneels
Ok, the update is now available for download & the full release is being uploaded.
http://www.cpc-power.com/gamebasecpc/
Have Fun

Loïc