English Amiga Board


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

 
 
Thread Tools
Old 09 September 2009, 01:59   #61
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,601
Quote:
Originally Posted by Eclipse View Post
It does say in the documents about font size and screen so should be quite an easy fix :P
Then you have the first go at it and report back if it doesn't work
Have a good night
TCD is offline  
Old 09 September 2009, 05:19   #62
kipper2k
Registered User
 
Join Date: Sep 2006
Location: Thunder Bay, Canada
Posts: 4,323
Quote:
Originally Posted by Eclipse View Post
I put all of Start in the Startup-sequence.
I got "Menu is too wide for screen" so I'm assuming it's now a setup issue.

Hi all, Sorry for all the confusion everyone.

Screen is too wide error is caused by the Title line being too wide for the screen size (i used spaces to centralise the text and got carried away

its an easy fix....
Just edit the "Select game to load ((Page 1) line, remove all the spaces after the text so that the line length is less than 60. Do this to page2 and page 3 title line too . If its still too wide then make it shorter still...

I went back in to edit the zip file so it should work properly. I didn't realise there was a problem until i tried it later on a smaller window and got that message...

Here is the page1 file below, The offending line is the TITLE line, remove unwanted spaces after the text. Do the same with the other pages, also this program needs fastram to work in which is really annoying if you dont have fastmem


TITLE Select game to load? (Page 1)

MENU Load Obliterator
MENU Load Superfrog
MENU Load Secret of Monkey Island
MENU Load Alien Breed Tower Assault
MENU Load Battle Squadron
MENU Load Bubble Bobble
MENU Load City Defence
MENU Load Killing Game Show
MENU Load Turrican
MENU Load Game 10
MENU Load Game 11
MENU Load Page 12
MENU Load Game 13
MENU Load Page 2
MENU Exit JMenu

Last edited by kipper2k; 09 September 2009 at 05:33.
kipper2k is offline  
Old 09 September 2009, 08:14   #63
Retro1234
Phone Homer
 
Retro1234's Avatar
 
Join Date: Jun 2006
Location: 5150
Posts: 5,775
Hopefuly not confusing things to much - dont forget theres also an OCS version of KGLoad
KGLoad
and
AGS-OCS
Retro1234 is offline  
Old 09 September 2009, 10:31   #64
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,601
JMenu is nice for a few entries, but for a lot of games it's not really the way to go. Nice effort though kipper and surely useful if you like to have your list of 20-30 games.
Btw : A new ECS/OCS version of KGLoad might take a bit
TCD is offline  
Old 10 September 2009, 18:11   #65
Eclipse
Turpentine
 
Eclipse's Avatar
 
Join Date: Oct 2007
Location: Kent, United Kingdom
Posts: 744
Hi,
"Please insert ENV"
Normally ENV is assigned to RAM but that's not what you want in this case.
Where is ENV assigned from? I couldn't see it on my HD.
Eclipse is offline  
Old 10 September 2009, 18:53   #66
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,601
You can assign ENV to any folder.
'assign ENV: DH3:env' is what I use
TCD is offline  
Old 10 September 2009, 19:15   #67
Eclipse
Turpentine
 
Eclipse's Avatar
 
Join Date: Oct 2007
Location: Kent, United Kingdom
Posts: 744
I had to create a ENV drawer so that it would work. Of course I could have put ENV on the floppy as well, but the idea is to load everything from the HD that it can.
Ideally, and I don't know if it can be done, is to make it look to see if ENV exists on the HD. If not, create one and delete it after use.
I took out endcli and endif hoping the menu would return after the game exit but alas all I get is >1. Hopefully some tips on this too
Eclipse is offline  
Old 10 September 2009, 19:21   #68
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,601
Hmm, sounds a bit like you want that to be some kind of universal WHDLoad kick disk. That could be a tad oversized project. Also since ENV: hardly ever uses more than 1 KB that shouldn't be really necessary.
TCD is offline  
Old 10 September 2009, 19:21   #69
killergorilla
Lesser Talent
 
killergorilla's Avatar
 
Join Date: Jan 2003
Location: UK
Age: 42
Posts: 7,957
You'd be better of doing what I do then.

mkdir RAM:ENV
Assign ENV: RAM:ENV

If you don't want to worry about deleting it.
killergorilla is offline  
Old 10 September 2009, 19:25   #70
Eclipse
Turpentine
 
Eclipse's Avatar
 
Join Date: Oct 2007
Location: Kent, United Kingdom
Posts: 744
Quote:
Originally Posted by TheCyberDruid View Post
Hmm, sounds a bit like you want that to be some kind of universal WHDLoad kick disk. That could be a tad oversized project. Also since ENV: hardly ever uses more than 1 KB that shouldn't be really necessary.
Yeah, your about to tell me one exists already?

Quote:
Originally Posted by killergorilla View Post
You'd be better of doing what I do then.



mkdir RAM:ENV

Assign ENV: RAM:ENV



If you don't want to worry about deleting it.
That may be the way forward.
Eclipse is offline  
Old 10 September 2009, 19:34   #71
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,601
Quote:
Originally Posted by Eclipse View Post
Yeah, your about to tell me one exists already?
Not one that I know of. If you want to add more functionality to your script, you should have a look at some AmigaDos command reference
Oh and it's MakeDir
TCD is offline  
Old 10 September 2009, 20:14   #72
Eclipse
Turpentine
 
Eclipse's Avatar
 
Join Date: Oct 2007
Location: Kent, United Kingdom
Posts: 744
It's working well now.
I've been looking at Amiga DOS for a while but it's painfully slow for me at the moment in absorbing it.
All I need is a pointer as to how to make it go back to either the start or a particular line.
Label then Skip?
Eclipse is offline  
Old 10 September 2009, 20:34   #73
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,601
http://winuaehelp.back2roots.org/bac...d/amigados.htm
Basically yes, just use 'SKIP <label> BACK'
TCD is offline  
Old 10 September 2009, 21:06   #74
Eclipse
Turpentine
 
Eclipse's Avatar
 
Join Date: Oct 2007
Location: Kent, United Kingdom
Posts: 744
Thanks for the link
I'll have another go at it. I thought I was on the right track just wasn't sure. BACK is used because the SKIP command is after the LABEL that I wish to use is what I assume.
Eclipse is offline  
Old 10 September 2009, 21:15   #75
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,601
Quote:
Originally Posted by Eclipse View Post
BACK is used because the SKIP command is after the LABEL that I wish to use is what I assume.
Yep, exactly.
TCD is offline  
Old 10 September 2009, 22:11   #76
kipper2k
Registered User
 
Join Date: Sep 2006
Location: Thunder Bay, Canada
Posts: 4,323
Quote:
Originally Posted by Eclipse View Post
It's working well now.
I've been looking at Amiga DOS for a while but it's painfully slow for me at the moment in absorbing it.
All I need is a pointer as to how to make it go back to either the start or a particular line.
Label then Skip?
Not sure if this is what you want, but if you take a look at item 1, i changed it so it will auto restart the menu once you exit the game by reloading jmenu which will call start...



c:jmenu c:Page1.jm TestVar

if $TestVar EQ 1
cd dh1bliterator;
whdload obliterator.slave PRELOAD;
c:jmenu c:Page1.jm TestVar
endif

if $TestVar EQ 2
cd dh1:superfrog;
whdload superfrog.slave PRELOAD;
endcli
endif

if $TestVar EQ 3
cd dh1:SecretOfMonkeyIsland;
whdload SecretOfMonkeyIsland.slave PRELOAD;
endcli
endif

if $TestVar EQ 4
cd dh1:alienbreedta;
whdload alienbreedta.slave ;
endcli
endif

if $TestVar EQ 5
cd dh1:battlesquadron;
whdload bsquadron.slave PRELOAD;
endcli
endif

if $TestVar EQ 6
cd dh1:bubblebobble;
whdload bubblebobble.slave PRELOAD;
endcli
endif

if $TestVar EQ 7
cd dh1:citydefence;
whdload citydefence.slave PRELOAD;
endcli
endif

if $TestVar EQ 8
cd dh1:killingGameShow;
whdload kgs.slave PRELOAD;
endcli
endif


if $TestVar EQ 9
cd dh1:Turrican;
whdload Turrican.slave PRELOAD;
endcli
endif

if $TestVar EQ 10
cd dh1:Hybris;
whdload hybris.slave PRELOAD;
endcli
endif

if $TestVar EQ 11
cd dh1:SecretOfMonkeyIsland;
whdload SecretOfMonkeyIsland.slave PRELOAD;
endcli
endif

if $TestVar EQ 12
cd dh1bliterator;
whdload obliterator.slave PRELOAD;
endcli
endif

if $TestVar EQ 13
cd dh1:superfrog;
whdload superfrog.slave PRELOAD;
endcli
endif

if $TestVar EQ 14
DH1:start2
endcli
endif

if $TestVar EQ 15
endcli
endif
kipper2k is offline  
Old 10 September 2009, 22:13   #77
Eclipse
Turpentine
 
Eclipse's Avatar
 
Join Date: Oct 2007
Location: Kent, United Kingdom
Posts: 744
Here is the code so far.
I'm not doing something right with the SKIP. When you exit the game WHDLoad splash screen comes back up and the game re-loads. Hmmm.

Quote:
Assign Devs: DH0evs
MakeDir RAM:ENV
Assign ENV: RAM:ENV
DF0:C/jmenu DF0:C/Page1.jm TestVar
LAB Point1
if $TestVar EQ 1
CD DH0:Games/B/BadLands
DH0:C/WHDLoad BadLands.Slave PRELOAD
endif
endskip
SKIP Point1 BACK

if $TestVar EQ 2
CD DH0:Games/S/SuperCars2
DH0:C/WHDLoad SuperCars2.Slave PRELOAD
endif
endskip
SKIP Point1 BACK
Eclipse is offline  
Old 10 September 2009, 22:18   #78
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,601
The 'LAB' needs to be before you call JMenu
TCD is offline  
Old 10 September 2009, 22:18   #79
kipper2k
Registered User
 
Join Date: Sep 2006
Location: Thunder Bay, Canada
Posts: 4,323
Quote:
Originally Posted by Eclipse View Post
Here is the code so far.
I'm not doing something right with the SKIP. When you exit the game WHDLoad splash screen comes back up and the game re-loads. Hmmm.
Try my option Eclipse, i'd like to see all peoples examples to make this a more smarter and still lightweight menu
kipper2k is offline  
Old 10 September 2009, 22:32   #80
Eclipse
Turpentine
 
Eclipse's Avatar
 
Join Date: Oct 2007
Location: Kent, United Kingdom
Posts: 744
HTML Code:
Assign Devs: DH0:Devs
MakeDir RAM:ENV
Assign ENV: RAM:ENV
 
LAB Point1
 
DF0:C/jmenu DF0:C/Page1.jm TestVar
if $TestVar EQ 1
CD DH0:Games/B/BadLands
DH0:C/WHDLoad BadLands.Slave PRELOAD
SKIP Point1 BACK
ENDIF
 
if $TestVar EQ 2
CD DH0:Games/S/SuperCars2
DH0:C/WHDLoad SuperCars2.Slave PRELOAD
SKIP Point1 BACK
ENDIF

Thanks immensely for all your help. I owe TCD one now
Just needs some tidyness and to make the Jmenu copyright notice appear just once and I'm done.
EDIT: Sorry Kipper only just noticed your post. I will try that as well anyway, just to see.
Eclipse 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
is ti possible to run whdload slave directly turrican3 support.WinUAE 3 08 June 2013 18:25
WHDLoad registration to run games Dagon support.Games 5 28 February 2011 15:41
Game Titles: A Batch for March Zetr0 GCA.Feedback and Suggestions 13 10 April 2007 15:17
Still odyssey whdload does not run on my a1200... keropi support.Games 4 21 December 2004 22:10
Some WHDLoad games won't run alkis21 support.Games 18 20 September 2002 01:04

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 08:06.

Top

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