English Amiga Board Amiga Lore


Go Back   English Amiga Board > Support > support.Demos

 
 
Thread Tools
Old 23 May 2011, 22:26   #141
1time
Amiga Lover

1time's Avatar
 
Join Date: Jan 2010
Location: Stockholm / Sweden
Age: 39
Posts: 564
Thank you mr. perfect
1time is offline  
AdSense AdSense  
Old 23 May 2011, 22:40   #142
sjakie43
DJ
sjakie43's Avatar
 
Join Date: Dec 2006
Location: Holland
Age: 46
Posts: 445
cpu_type does the job for me

When i leave out the cpu_type and use
cpu_model Winuae doesnt start up correct(no cpu chosen).

So cpu_type is the one

Sjakie43
sjakie43 is offline  
Old 06 June 2011, 13:56   #143
1time
Amiga Lover

1time's Avatar
 
Join Date: Jan 2010
Location: Stockholm / Sweden
Age: 39
Posts: 564
To get 030 to work from Gemus you need to add:

cpu_type=68020
cpu_model=68030
cpu_24bit_addressing=false

This would be a good thing for the future.

I have added this to my script file:

Set_CFG_Value(%dbpath%\GameBase Amiga.uae||cycle_exact||%cycle_exact_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||cpu_24bit_addressing||%cpu_24bit_addressing_value%)

If %cpu_24bit_addressing_value% CONTAINS(%cpu_24bit_addressing_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||cpu_24bit_addressing||)

Else
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||cpu_24bit_addressing||%cpu_24bit_addressing_value%)

End If

Added the IF statement so winuae always starts with 24bit neutral mode if nothing else is specified.

Im a major noob to this so please be kind.

Last edited by 1time; 06 June 2011 at 14:26.
1time is offline  
Old 06 June 2011, 14:45   #144
TCD
Global Moderator

TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 39
Posts: 24,032
Hey 1time, could you help sjakie43 to implement HDF support in Gemus please? I meant to do it for some time now, but I just have other stuff going on right now Would be really great and would help a lot to get more demos into the demobase
TCD is offline  
Old 06 June 2011, 22:13   #145
sjakie43
DJ
sjakie43's Avatar
 
Join Date: Dec 2006
Location: Holland
Age: 46
Posts: 445
Hi,

I have found a setup with an HDF.uae that uses 2 hdf files.
1 hdf is the WB31.hdf and the second is .....hdf(demo to be specified).
I need this in gemus so that i can specify it in the key=value pair.
DH0=WB31.hdf and DH1=(demo name).hdf.
I have an fixed directory for it.

I have tried to implement it but i'm a real NOOB at this.

This setup works GREAT and i already have 200+ HD demos that work
like a charm.
Also a lot of the demos(not working ones)with (e)xec.lib etc are also fixed.
So i just need it to be implemented in Gemus script.
I think the best thing is to add these HDF demos as an extra to avoid
confusion.

Here's the script so far,it has many errors offcourse eh



If Control = JoyPort1
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||joyport0||kbd4)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||joyport1||kbd5)
Set_CFG_Value(%dbpath%\WHDLoad.uae||joyport0||kbd4)
Set_CFG_Value(%dbpath%\WHDLoad.uae||joyport1||kbd5)
Set_CFG_Value(%dbpath%\HDF.uae||joyport0||kbd4)
Set_CFG_Value(%dbpath%\HDF.uae||joyport1||kbd5)
Else
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||joyport0||mouse1)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||joyport1||kbd4)
Set_CFG_Value(%dbpath%\WHDLoad.uae||joyport0||mouse1)
Set_CFG_Value(%dbpath%\WHDLoad.uae||joyport1||kbd4)
Set_CFG_Value(%dbpath%\HDF.uae||joyport0||mouse1)
Set_CFG_Value(%dbpath%\HDF.uae||joyport1||kbd4)
End If

Set_CFG_Value(%dbpath%\GameBase Amiga.uae||kickstart_rom||%kickstart_rom_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||floppy1type||%floppy1type_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||floppy2type||%floppy2type_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||floppy3type||%floppy3type_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||nr_floppies||%nr_floppies_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||sound_output||%sound_output_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||immediate_blits||%immediate_blits_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||ntsc||%ntsc_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||chipset||%chipset_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||chipset_compatible||%chipset_compatible_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||collision_level||%collision_level_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||fastmem_size||%fastmem_size_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||bogomem_size||%bogomem_size_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||chipmem_size||%chipmem_size_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||cpu_speed||%cpu_speed_value%)
Set_CFG_Value(%dbpath%\Gamebase Amiga.uae||z3mem_size||%z3mem_size_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||cpu_type||%cpu_type_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||cpu_model||%cpu_type_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||fpu_model||%fpu_model_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||cpu_compatible||%cpu_compatible_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||fpu_strict||%fpu_strict_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||cpu_24bit_addressing||%cpu_24bit_addressing_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||cpu_cycle_exact||%cpu_cycle_exact_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||blitter_cycle_exact||%blitter_cycle_exact_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||statefile||%statefile_value%)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||cachesize||%cache_size_value%)
;Set_CFG_Value(%dbpath%\GameBase Amiga.uae||finegrain_cpu_speed||%finegrain_cpu_speed_value%)
If VersionComment CONTAINS(WHD)
Set_CFG_Item(%dbpath%\WHDLoad.uae||filesystem2=rw,DH0H0||:||%dbpath%\whd,0)
Set_CFG_Item(%dbpath%\WHDLoad.uae||filesystem=rw,DH0||:||%dbpath\whd)
Set_CFG_Item(%dbpath%\WHDLoad.uae||filesystem2=rw,DH1H1||:||%gbgamepath%\rezip\%gamefilenoext%,0)
Set_CFG_Item(%dbpath%\WHDLoad.uae||filesystem=rw,DH1||:||%gbgamepath%\rezip\%gamefilenoext%)
Set_CFG_Item(%dbpath%\WHD\s\user-startup||cd||||%cd_value%)
Set_CFG_Item(%dbpath%\WHD\s\user-startup||whdload||||%whdload_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||immediate_blits||%immediate_blits_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||chipset_compatible||%chipset_compatible_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||collision_level||%collision_level_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||z3mem_size||%z3mem_size_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||cpu_speed||%cpu_speed_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||cpu_type||%cpu_type_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||fpu_model||%fpu_model_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||cpu_compatible||%cpu_compatible_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||fpu_strict||%fpu_strict_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||cpu_24bit_addressing||%cpu_24bit_addressing_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||cpu_cycle_exact||%cpu_cycle_exact_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||blitter_cycle_exact||%blitter_cycle_exact_value%)
;Set_CFG_Value(%dbpath%\WHDLoad.uae||finegrain_cpu_speed||%finegrain_cpu_speed_value%)
Run_Program(%dbpath%\whdrun.exe||%gamepathfile% %gbgamepath%\rezip\%gamefilenoext%/ "%emupath%\winuae.exe" "%dbpath%\WHDLoad.uae" "%dbpath%\WHD\s\user-startup||nowait)

If PalNTSC = NTSC
Set_CFG_Value(%dbpath%\WHDLoad.uae||ntsc||true)
Else
Set_CFG_Value(%dbpath%\WHDLoad.uae||ntsc||false)
End If
If VersionComment CONTAINS(HDF)
Set_CFG_Item(%dbpath%\HDF.uae||hardfile2=rw,DH0H0||:||\F:\GameBase\Demobase Amiga Software\HDF Demos\WB 3.1.hdf,32,1,2,512,0,,uae)
Set_CFG_Item(%dbpath%\HDF.uae||uaehf0=hdf,rw,DH0||:||:F:\GameBase\Demobase Amiga Software\HDF Demos\WB 3.1.hdf,32,1,2,512,0,,uae)
Set_CFG_Item(%dbpath%\HDF.uae||hardfile2=rw,DH1H1||:||\F:\GameBase\Demobase Amiga Software\HDF Demos\empty.hdf,32,1,2,512,0,,uae\rezip\%gamefilenoext%,0)
Set_CFG_Item(%dbpath%\HDF.uae||uaehf1=hdf,rw,DH1||:||\:F:\GameBase\Demobase Amiga Software\HDF Demos\empty.hdf,32,1,2,512,0,,uae\rezip\%gamefilenoext%)
Add_CLP(-f "%dbpath%\hdf.uae" -0%gamepathfile% -1%gamepathfile(1)% uaehf0=%dbpath%\workbench.hdf -s uaehf1=%gamepathfile(1)%)
Set_CFG_Value(%dbpath%\HDF.uae||sound_output||%sound_output_value%)
Set_CFG_Value(%dbpath%\HDF.uae||immediate_blits||%immediate_blits_value%)
Set_CFG_Value(%dbpath%\HDF.uae||ntsc||%ntsc_value%)
Set_CFG_Value(%dbpath%\HDF.uae||chipset||%chipset_value%)
Set_CFG_Value(%dbpath%\HDF.uae||chipset_compatible||%chipset_compatible_value%)
Set_CFG_Value(%dbpath%\HDF.uae||collision_level||%collision_level_value%)
Set_CFG_Value(%dbpath%\HDF.uae||fastmem_size||%fastmem_size_value%)
Set_CFG_Value(%dbpath%\HDF.uae||bogomem_size||%bogomem_size_value%)
Set_CFG_Value(%dbpath%\HDF.uae||chipmem_size||%chipmem_size_value%)
Set_CFG_Value(%dbpath%\HDF.uae||cpu_speed||%cpu_speed_value%)
Set_CFG_Value(%dbpath%\HDF.uae||z3mem_size||%z3mem_size_value%)
Set_CFG_Value(%dbpath%\HDF.uae||cpu_type||%cpu_type_value%)
Set_CFG_Value(%dbpath%\HDF.uae||cpu_model||%cpu_type_value%)
Set_CFG_Value(%dbpath%\HDF.uae||fpu_model||%fpu_model_value%)
Set_CFG_Value(%dbpath%\HDF.uae||cpu_compatible||%cpu_compatible_value%)
Set_CFG_Value(%dbpath%\HDF.uae||fpu_strict||%fpu_strict_value%)
Set_CFG_Value(%dbpath%\HDF.uae||cpu_24bit_addressing||%cpu_24bit_addressing_value%)
Set_CFG_Value(%dbpath%\HDF.uae||cpu_cycle_exact||%cpu_cycle_exact_value%)
Set_CFG_Value(%dbpath%\HDF.uae||blitter_cycle_exact||%blitter_cycle_exact_value%)
Set_CFG_Value(%dbpath%\HDF.uae||statefile||%statefile_value%)
Set_CFG_Value(%dbpath%\HDF.uae||cachesize||%cache_size_value%)
;Set_CFG_Value(%dbpath%\HDF.uae||finegrain_cpu_speed||%finegrain_cpu_speed_value%)
Else
Add_CLP(-f "%dbpath%\GameBase Amiga.uae" -0%gamepathfile% -1%gamepathfile(1)% -2%gamepathfile(2)% -3%gamepathfile(3)% -s diskimage0=%gamepathfile% -s diskimage1=%gamepathfile(1)% -s diskimage2=%gamepathfile(2)% -s diskimage3=%gamepathfile(3)% -s diskimage4=%gamepathfile(4)% -s diskimage5=%gamepathfile(5)% -s diskimage6=%gamepathfile(6)% -s diskimage7=%gamepathfile(7)% -s diskimage8=%gamepathfile(8)% -s diskimage9=%gamepathfile(9)% -s diskimage10=%gamepathfile(10)% -s diskimage11=%gamepathfile(11)% -s diskimage12=%gamepathfile(12)% -s diskimage13=%gamepathfile(13)% -s diskimage14=%gamepathfile(14)% -s diskimage15=%gamepathfile(15)% -s diskimage16=%gamepathfile(16)% -s diskimage17=%gamepathfile(17)% -s diskimage18=%gamepathfile(18)% -s diskimage19=%gamepathfile(19)%)
Run_Emulator()
End If


It gives me >2 many IF statements error at the moment.

Please help me out here!

These HD look very nice and it would be COOL to have it in Demobase
Amiga.

Regards
Sjakie43
sjakie43 is offline  
Old 07 June 2011, 16:20   #146
1time
Amiga Lover

1time's Avatar
 
Join Date: Jan 2010
Location: Stockholm / Sweden
Age: 39
Posts: 564
You need a End If before "If PalNTSC = NTSC". Every IF statement needīs to end with a END IF statement.

Like this:

Code:
End if

If PalNTSC = NTSC

etc
etc
etc


And please add

Code:
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||cycle_exact||%cycle_exact_value%)
Set_CFG_Value(%dbpath%\HDF.uae||cycle_exact||%cycle_exact_value%)
Set_CFG_Value(%dbpath%\WHDLoad.uae||cycle_exact||%cycle_exact_value%)



I have also edited the following to my script to make sure some important values always get added or removed if nothing else is declared. They are not always needed but sometimes the .uae file is not updated the way i excpected, this way i make it mandatory.

Code:
If %cpu_24bit_addressing_value% CONTAINS(%cpu_24bit_addressing_value%)
	Set_CFG_Value(%dbpath%\GameBase Amiga.uae||cpu_24bit_addressing||)

Else
	Set_CFG_Value(%dbpath%\GameBase Amiga.uae||cpu_24bit_addressing||%cpu_24bit_addressing_value%)

End If

If %floppy_speed_value% CONTAINS(%floppy_speed_value%)
	Set_CFG_Value(%dbpath%\GameBase Amiga.uae||floppy_speed||400)

Else
	Set_CFG_Value(%dbpath%\GameBase Amiga.uae||floppy_speed||%floppy_speed_value%)

End If


If %fpu_model_value% CONTAINS(%fpu_model_value%)
	Set_CFG_Value(%dbpath%\GameBase Amiga.uae||fpu_model||none)

Else
	Set_CFG_Value(%dbpath%\GameBase Amiga.uae||fpu_model||%fpu_model_value%)

End If


If %cpu_type_value% CONTAINS(68020)
	Set_CFG_Value(%dbpath%\GameBase Amiga.uae||cpu_model||68020)

Else
	Set_CFG_Value(%dbpath%\GameBase Amiga.uae||cpu_model||false)

End If

Last edited by 1time; 07 June 2011 at 16:45.
1time is offline  
Old 07 June 2011, 18:46   #147
sjakie43
DJ
sjakie43's Avatar
 
Join Date: Dec 2006
Location: Holland
Age: 46
Posts: 445
i Have no clue how to add this that's why i asked for help
with the script.

Thanx for the effort but i need someone to incorporate it with
the HDF support also.

Sjakie43
sjakie43 is offline  
Old 07 June 2011, 19:11   #148
1time
Amiga Lover

1time's Avatar
 
Join Date: Jan 2010
Location: Stockholm / Sweden
Age: 39
Posts: 564
Mail me your amigademos.txt and i will try to add it.
1time is offline  
Old 08 June 2011, 21:57   #149
sjakie43
DJ
sjakie43's Avatar
 
Join Date: Dec 2006
Location: Holland
Age: 46
Posts: 445
Hi,

I have tried the script from 1Time just now.

I have added HDF as an extra and filled in what is necess.
Winuae boots in start-up and the paths to the hdf dir do not change.
No luck YET

Sjakie43

Last edited by sjakie43; 28 July 2011 at 16:01.
sjakie43 is offline  
Old 08 June 2011, 22:07   #150
1time
Amiga Lover

1time's Avatar
 
Join Date: Jan 2010
Location: Stockholm / Sweden
Age: 39
Posts: 564
Do you really need to have it hardcoded to f: ?

Anyone else that could have a look at the HDF part?
1time is offline  
Old 08 June 2011, 22:37   #151
sjakie43
DJ
sjakie43's Avatar
 
Join Date: Dec 2006
Location: Holland
Age: 46
Posts: 445
It doesnt need to be hardcoded to f,just pointed to the correct dir,
ie the extras folder>extras/HDF Demos/

Sjakie43
sjakie43 is offline  
Old 08 June 2011, 22:46   #152
1time
Amiga Lover

1time's Avatar
 
Join Date: Jan 2010
Location: Stockholm / Sweden
Age: 39
Posts: 564
Will look into it.
1time is offline  
Old 28 July 2011, 13:50   #153
Asle
Registered User
 
Join Date: May 2006
Location: Paris/France
Age: 46
Posts: 410
Paaskebr Desire 1994
A1200

Endolymfa Balance 1996
was CRM.lib crunched. use Balance-Endolymfa.S404

Mellownees Experience ????
A1200

Engine Whelpz 1998
requires Math#?.library

McDisk 4 Spread Intro TRSI 1992
A500
Asle is offline  
Old 28 July 2011, 15:40   #154
sjakie43
DJ
sjakie43's Avatar
 
Join Date: Dec 2006
Location: Holland
Age: 46
Posts: 445
Hi Asle,

Paaskebr Desire 1994
A1200

is working OK now !

Endolymfa Balance 1996
was CRM.lib crunched. use Balance-Endolymfa.S404

I will make an HDF for this one .....

Mellownees Experience ????
A1200

24bit adressing was on false,is set on true now!
Working OK now .

Engine Whelpz 1998
requires Math#?.library

I have made an HDF so its working OK now!

McDisk 4 Spread Intro TRSI 1992
A500

Version not working,i have replaced it with the alt version,
Works OK now.

Thanx Asle

Regards

Sjakie43



Ps. I have refreshed the pages of the NOT working demos today !

Last edited by sjakie43; 28 July 2011 at 15:46. Reason: addition
sjakie43 is offline  
AdSense AdSense  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Demobase Amiga v3 1time project.EAB File Server 3 11 October 2012 08:07
Demobase Amiga V2 sjakie43 Amiga scene 11 10 August 2011 14:00
Amiga demobase sjakie43 support.Demos 145 24 March 2011 13:06
Amiga demobase - problems with some demos Hercules support.Demos 3 16 October 2010 19:04
NOT working Demos sjakie43 support.Demos 74 25 April 2009 14:54

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 13:38.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.35889 seconds with 12 queries