English Amiga Board


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

 
 
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
 
Old 27 July 2009, 00:04   #2
eLowar
Citizen of Elthesh
 
eLowar's Avatar
 
Join Date: Sep 2003
Location: UK
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.

Last edited by eLowar; 27 July 2009 at 00:06. Reason: Additional question.
eLowar is offline  
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
 
Old 02 August 2009, 21:47   #4
eLowar
Citizen of Elthesh
 
eLowar's Avatar
 
Join Date: Sep 2003
Location: UK
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).
eLowar is offline  
Old 02 August 2009, 22:01   #5
eLowar
Citizen of Elthesh
 
eLowar's Avatar
 
Join Date: Sep 2003
Location: UK
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.
eLowar is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Music-X 2.0 - Files convert to SMF for further usage rookie1373 support.Apps 23 04 May 2021 17:51
Zip packer corrupting files ? Retroplay support.Apps 13 23 July 2011 12:17
ZIP files or lists of JPG links please? SparkyNZ AMR suggestions and feedback 0 24 February 2011 10:30
ADZ files won't run (while ZIP ones do!) SunChild New to Emulation or Amiga scene 5 05 October 2010 10:25

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

Forum Jump


All times are GMT +2. The time now is 10:07.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.11977 seconds with 13 queries