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

Gamebase Repack always deletes script !

Discuss the Commodore Amiga database that uses the GameBase Frontend.

Moderator: Jimbo

The 80s Fan
New Member
Posts: 18
Joined: Sun Feb 09, 2020 4:07 am

Gamebase Repack always deletes script !

Mon Sep 09, 2024 3:13 am

Peoples,

i copied the script folder to the subfolder "Amiga 2.3".
So far, so good (and, as it seems, correct) ! BUT:

Everytime i point the script to the corresponding setting and try to load whdload, the "Keyboard B" is always DELETING itself !! Sometimes it even deletes the original "script.ZIP" in the dir !!

I dunno why; after attempting to load a whd without looking to this setting, after deleting, it says "there is no script to choose from" !
Seiya
Commended Member
Commended Member
Posts: 1177
Joined: Sat Aug 02, 2008 2:08 am

Re: Gamebase Repack always deletes script !

Mon Sep 09, 2024 10:22 am

i don't know this things happen. i also have Gamebase Amiga 2.3, but it workking (at least, for now)
The 80s Fan
New Member
Posts: 18
Joined: Sun Feb 09, 2020 4:07 am

Re: Gamebase Repack always deletes script !

Tue Sep 10, 2024 1:52 am

Sirs,

as i read my posting once again i recognized i did not express myself exactly (not a native !).
Here is what i did:

Copied "script.rar" from single download of "archive.org".
Put it in subfolder "amiga 2.3".
unpacked it, received a "script" subfolder.
Started frontend, in "gemus" menu: Pointed to "1 player with keyboard" ...

Now, after that, i started a whd by clicking on extras and whdload.
Works !
When i try to start a second whd it prompts me it detects not script !
By going to gemus, is see the script is GONE !! DELETED !! Strange bug and glitch i got ...

PLS .mad, help ?
User avatar
.mad.
Honoured Member
Honoured Member
Location: Lancashire
Posts: 2304
Joined: Sun Jun 19, 2005 3:30 pm

Re: Gamebase Repack always deletes script !

Tue Sep 10, 2024 3:20 pm

Hi 80s Fan,

I think i know what's happening.
but it could be two things.

in the script folder there is a file called "delwhd.bat"

it contains this code...
rmdir /s /q c:\GBGame\rezip\

that code removes (deletes) the GBGame folder containing the previously ran WHD game files.
if not, the folders will just stay there filling up your HD space.

it runs from the script file "amiga.txt" in the WHD section.
;-----------------------------------------------------
; WHDLoad - Only link the ZIP file (no internal files)
;-----------------------------------------------------

If VersionComment CONTAINS(WHD)

If QUESTION(DELETE contents of the WHD rezip folder?.) = YES
;----------------------------------------------------
;Delete contents of the WHD REZIP folder. (c:\GBGame\rezip\)
Run_Program(%dbpath%\scripts\delwhd.bat||||WAIT)
;----------------------------------------------------
End If


If you put a semicoln before the Run_Program command.
then the script will ignore it and not delete anything.

;Run_Program(%dbpath%\scripts\delwhd.bat||||WAIT)

--
if a file is being deleted from the script folder?.
c:\gamebase\amiga\scripts\???.???

then that could be your Antivirus flagging something (the batch file) as a threat.
as it deletes and edits ini files.

i would need to see all the files you have in detail, to be sure.
but i guess they are ok.

if that is the problem???
listing the gamebase folder as safe in your AV should fix it.
The 80s Fan
New Member
Posts: 18
Joined: Sun Feb 09, 2020 4:07 am

Re: Gamebase Repack always deletes script !

Fri Sep 13, 2024 2:45 am

Dear .mad and the other guy ;) !

And i thought my state of mind was as your nickname :( ...

Made an exception to "defender" and edited a semicolon in that line, and ...

WORKS FLAWLESSLY !!!!!!!!!!!!!!!!!!!!

BUT: When attempting to load a SECOND "whd", in this case "Mortal Kombat 2" (i hate violence !), whdload prompts that it was not able to load whdload.ueae config file :( ...

Other games are loading ...


Any suggestions ?!
User avatar
.mad.
Honoured Member
Honoured Member
Location: Lancashire
Posts: 2304
Joined: Sun Jun 19, 2005 3:30 pm

Re: Gamebase Repack always deletes script !

Fri Sep 13, 2024 8:12 am

are you saying 1st WHD game loads, but not a 2nd?.
*that doesn't make sense.

is the file "WHDLoad.uae" in the script folder?

the last line of the script attaches the WHDLoad.uae file when running whdrun.exe

Run_Program(%dbpath%\whdrun.exe||%gamepathfile% %gbgamepath%\rezip\%gamefilenoext%/ "%emupath%\winuae.exe" "%dbpath%\scripts\WHDLoad.uae" "%dbpath%\WHD\s\user-startup||nowait)

are you using win11?
*i don't have it!!!
maybe that OLD file [whdrun.exe] needs running in a compatability mode or option in defender also.
Attachments
scripts.zip
(23.79 KiB) Downloaded 230 times
The 80s Fan
New Member
Posts: 18
Joined: Sun Feb 09, 2020 4:07 am

Re: Gamebase Repack always deletes script !

Fri Sep 13, 2024 11:51 am

.mad !

I made both, a rule in defender AND set the compa to windows 8 (it doesn´t go further).
NOW multiple whd-games are loading fine.
Question: Does the ".uae" file NEED to be in the script-folder ?
Got it in the "amiga 2.3" folder.

Another one: How to QUIT a game and return to gamebase ?
I mean, when it is loading, i see an amiga-monitor fullscreen.

"ESC" has no effect.


Please, which key and how to edit ?



Ah, thanx for the files !
User avatar
.mad.
Honoured Member
Honoured Member
Location: Lancashire
Posts: 2304
Joined: Sun Jun 19, 2005 3:30 pm

Re: Gamebase Repack always deletes script !

Fri Sep 13, 2024 2:31 pm

The 80s Fan wrote:
Fri Sep 13, 2024 11:51 am
.mad !

I made both, a rule in defender AND set the compa to windows 8 (it doesn´t go further).
NOW multiple whd-games are loading fine.
Question: Does the ".uae" file NEED to be in the script-folder ?
Got it in the "amiga 2.3" folder.
YES!

all .uae files MUST be in scripts folder.
that's where script is looking...

Run_Program(%dbpath%\whdrun.exe||%gamepathfile% %gbgamepath%\rezip\%gamefilenoext%/ "%emupath%\winuae.exe" "%dbpath%\scripts\WHDLoad.uae" "%dbpath%\WHD\s\user-startup||nowait)
Another one: How to QUIT a game and return to gamebase ?
I mean, when it is loading, i see an amiga-monitor fullscreen.

"ESC" has no effect.


Please, which key and how to edit ?
WinUAE quit is F12 for me.
this can be changed in the WinUAE config from the emulator menu (not gamebase).

WHDrun / WHDLoad says what F-key to use to quit when it boots up.

i don't think you can change it???.
but i usually run in a window and close it with a mouse click, like every other windows window. :)
The 80s Fan
New Member
Posts: 18
Joined: Sun Feb 09, 2020 4:07 am

Re: Gamebase Repack always deletes script !

Tue Sep 17, 2024 2:08 am

Thank you very much for both of you for your always fast replies.

Moved configuration to "script"-folder.

Now i got it up and running flawlessly !

Thread can be closed now (if any).

Now that it´s working i wont touch and start it never ever again ... ;) !






Thanks again for your patientience,



Daniel
The 80s Fan
New Member
Posts: 18
Joined: Sun Feb 09, 2020 4:07 am

Re: Gamebase Repack always deletes script !

Wed Oct 09, 2024 3:58 am

Sorry, .mad !

Do you feel "put on" or "spoofed" about me (we germans say "assed" Or "arsed" for it) ?

I did not want to hurt your feelings !!

Is it because i wrote that i never will start it again ?

I am not so into gaming, thinking nevertheless that retro games are easier to control than today´s games ...





Once again, sorry,




Daniel
Seiya
Commended Member
Commended Member
Posts: 1177
Joined: Sat Aug 02, 2008 2:08 am

Re: Gamebase Repack always deletes script !

Wed Oct 09, 2024 11:48 am

i think .Mad understood that you intended that you not try to edit scripts. At least i understand that: you play with gamebase without watching scripts.
User avatar
.mad.
Honoured Member
Honoured Member
Location: Lancashire
Posts: 2304
Joined: Sun Jun 19, 2005 3:30 pm

Re: Gamebase Repack always deletes script !

Sat Oct 12, 2024 6:34 pm

The 80s Fan wrote:
Wed Oct 09, 2024 3:58 am
Sorry, .mad !

Do you feel "put on" or "spoofed" about me (we germans say "assed" Or "arsed" for it) ?

I did not want to hurt your feelings !!

Is it because i wrote that i never will start it again ?
not at all. :lol:
something got lost in translation, i think.

i thought you got it working!
*end of conversation.

was there a question i missed...
that you need another reply?

it's all good. :D

Return to “Commodore Amiga - GameBase Amiga”

Who is online

Users browsing this forum: No registered users and 0 guests