English Amiga Board Home Mobile Skin      


Go Back   English Amiga Board > Other Projects > project.MAGE

Reply
 
LinkBack Thread Tools
Old 26 July 2009, 09:06   #1
buehlert
 
Posts: n/a
Usage of Whdload without Zip files

Hi there!
First of all thanks for this great project!
I'd like to ask if it is possible to use an already unpacked Whdload game directory directly in the Gamebase instead of using the Zip file which will be unzipped to the "rezip" folder.
Thanks in advance for your help.

Tom
  Reply With Quote
AdSense AdSense  
Advertisement:
Old 27 July 2009, 00:04   #2
Citizen of Elthesh
 
eLowar's Avatar
 
Join Date: Sep 2003
Location: Germany
Posts: 949
Short answer: No, that's not possible.

Slightly longer preview of a long answer: Anything's possible, of course, but it would take quite significant changes to the existing scripts and database.

Edit: Is there a specific reason you want this behavior? Maybe the desired effect can be achieved in some other (easier) way.
__________________
· · · And you all know, security is mortals' chiefest enemy.

Last edited by eLowar; 27 July 2009 at 00:06. Reason: Additional question.
eLowar is offline   Reply With Quote
Old 02 August 2009, 18:43   #3
buehlert
 
Posts: n/a
Ok thanks for your answer.
And why do I want to do this:
At the moment I have to use the zip files, put them into the special folder...the game is extracted to the "GBGame" folder what means I need space for both files because the Zip file is still there. I don't know exactly the logic how save games are kept in this temp folder but anyway: Is it maybe possible to change the target directory for the zip file extraction? This would help as well.
Thanks in advance again.
Tom
  Reply With Quote
Old 02 August 2009, 21:47   #4
Citizen of Elthesh
 
eLowar's Avatar
 
Join Date: Sep 2003
Location: Germany
Posts: 949
Quote:
Originally Posted by buehlert View Post
At the moment I have to use the zip files, put them into the special folder...the game is extracted to the "GBGame" folder what means I need space for both files because the Zip file is still there.
It is worth nothing that GameBase is supposed to delete the contents of the GBGame directory regularly (since that's a GameBase-internal thing, I can't tell you exactly when it does that), so it should normally never take up more space than a few games (and especially not end up with a full copy of your zipped games).

Quote:
Originally Posted by buehlert View Post
I don't know exactly the logic how save games are kept in this temp folder but anyway:
Actually save games are not kept in there at all. After WinUAE exits, WHDRun checks which of the files in there changed, compresses only the changed files (usually tiny), and puts them in <PathToGameBase>/GameBase Amiga/whdrun-data/. When the game is started again, they're merged with the extracted original game data. That's why it's safe to delete the GBGame directory periodically (or let GameBase delete it).

Quote:
Originally Posted by buehlert View Post
Is it maybe possible to change the target directory for the zip file extraction? This would help as well.
I actually don't know if GameBase has that option and at a quick glance I can't find it either. If you're using Windows Vista, you could achieve this by turning GBGame into a symbolic link to another directory. If you are using Vista and don't know how to do this, I can provide instructions. On Windows XP/2000, it may be possible with NTFS junctions, although that's less straightforward and somewhat risky business, so I'd recommend against it (symbolic links on Vista on the other hand should be perfectly safe).
__________________
· · · And you all know, security is mortals' chiefest enemy.
eLowar is offline   Reply With Quote
Old 02 August 2009, 22:01   #5
Citizen of Elthesh
 
eLowar's Avatar
 
Join Date: Sep 2003
Location: Germany
Posts: 949
Oh, actually you could also just change the script, as GameBase's %gbgamepath% is just passed to WHDRun, which will use whatever it's told to use. Note however that then the target directory will not be automatically purged, ever.

You can edit a script by clicking one of the scripts at the top of the GEMUS menu. Look for the following line (relatively far down):

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

You can change %gbgamepath% in the highlighted part to something else. Unfortunately I'm not 100% sure how GameBase handles quoting paths (as you can see, some are quoted in the script and some are probably quoted automatically), so it could be messy if your path contains spaces.
__________________
· · · And you all know, security is mortals' chiefest enemy.
eLowar is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ADZ files won't run (while ZIP ones do!) SunChild New to Emulation or Amiga scene 5 05 October 2010 10:25
Amiga formatted zip disks via USB zip drive in WinUAE? planetidiot New to Emulation or Amiga scene 5 12 October 2007 15:18
Wgat are WHDload files? Gonzouk support.WinUAE 2 30 April 2007 22:31
REQ : Dynablaster (WHDLoad files) RetroMan request.Old Rare Games 5 20 May 2002 22:35


All times are GMT +2. The time now is 06:25.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO ©2011, Crawlability, Inc.
Page generated in 0.12117 seconds with 9 queries