|
Post by oocozyoo on Apr 17, 2022 19:44:53 GMT
I`ve got some homebrew games that i want to add to the whdload_db file, but how do I find the sha1 code and the variant_uuid code, as they will not load without the correct settings'
one game is called Exhumed / Powerslave port the req are
Requirements:
- 68060 processor with FPU (amiga 4000)
- Kickstart 3.0
- AGA chipset - 16 MB Fast RAM
And the other one is Vegetables Deluxe Amiga
A Match 3 game for the Amiga, written in Blitz Basic. Compatible with all Amigas (or emulators) with at least 512k of RAM.
Cheers Cozy
The following settings are available, with the options for each seperated by a slash / in the below.
PRIMARY_CONTROL=MOUSE/JOYSTICK
PORT0=MOUSE/JOY/CD32
PORT1=MOUSE/JOY/CD32
FAST_COPPER=TRUE/FALSE
CPU=68000/68010/68020/68040
BLITTER=NORMAL/WAIT/IMMEDIATE
CHIPSET=OCS/ECS/AGA
JIT=TRUE/FALSE
CPU_COMPATIBLE=TRUE/FALSE
SCREEN_HEIGHT=200/216
SCREEN_Y_OFFSET=0/1/2/3/4/5/6/7/8
NTSC=TRUE/FALSE
SPRITES=NONE/PLAYFIELD/SPRITES/FULL
FAST_RAM=1/2/4/8
Z3_RAM=16/32/64/128
CLOCK=7/14/28/MAX
Here`s Gloom as an example :- The settings are as follows
</game> <game filename="Gloom_v1.2_AGA_0124" sha1="328d26023b5186f90b64156b9d60d56a80e4e31a"> <name>Gloom [AGA]</name> <subpath>GloomAGA</subpath> <variant_uuid>34a9e66f-9109-5c11-8f7e-ebb3fc6edd48</variant_uuid> <slave_count>1</slave_count> <slave_default>GloomAGA.slave</slave_default> <slave_libraries>False</slave_libraries> <slave number="1"> <filename>GloomAGA.slave</filename> <datapath>data</datapath> <custom> C1:B:Unlimited energy C2:B:Activate cheat mode </custom> </slave> <hardware> PRIMARY_CONTROL=JOYSTICK PORT0=JOY PORT1=JOY FAST_COPPER=FALSE CPU=68040 JIT=FALSE CLOCK=MAX CHIPSET=AGA SCREEN_AUTOHEIGHT=FALSE SCREEN_HEIGHT=480 SCREEN_CENTERH=SMART SCREEN_CENTERV=SMART </hardware>
|
|
|
Post by oocozyoo on Apr 17, 2022 21:42:09 GMT
Looking at the settings 8Mb is the max setting for the RAM
|
|
|
Post by jj0 on Apr 18, 2022 7:28:14 GMT
This is the SHA1 checksum of the 'Gloom_v1.2_AGA_0124.lha' file: $ sha1sum Gloom_v1.2_AGA_0124.lha 328d26023b5186f90b64156b9d60d56a80e4e31a Gloom_v1.2_AGA_0124.lha From the Python 3 script here I gather that this is a UUID5 created from the SHA1 checksums of the files in the 'Gloom_v1.2_AGA_0124.lha' file. You can use the script to generate the variant_uuid for your homebrew lha file if you change the default filename at line 127 to whatever your homebrew lha filename is: file = './Speedball_v2.0_0581.lha'
|
|
|
Post by oocozyoo on Apr 18, 2022 8:19:48 GMT
This is the SHA1 checksum of the 'Gloom_v1.2_AGA_0124.lha' file: $ sha1sum Gloom_v1.2_AGA_0124.lha 328d26023b5186f90b64156b9d60d56a80e4e31a Gloom_v1.2_AGA_0124.lha From the Python 3 script here I gather that this is a UUID5 created from the SHA1 checksums of the files in the 'Gloom_v1.2_AGA_0124.lha' file. You can use the script to generate the variant_uuid for your homebrew lha file if you change the default filename at line 127 to whatever your homebrew lha filename is: file = './Speedball_v2.0_0581.lha' Thank you for the reply I know now how to get the sha1 sum using the Command box :- PS C:\Users\Rich\Downloads> certutil -hashfile "VegetablesHD.lha" SHA1 SHA1 hash of VegetablesHD.lha: dbed4ff0e48fb34c59fe817d8836d7830419b8f0 CertUtil: -hashfile command completed successfully.
|
|
|
Post by oocozyoo on Apr 18, 2022 18:18:02 GMT
Unable to get the python script to work 
|
|
|
Post by jj0 on Apr 19, 2022 6:04:49 GMT
Unable to get the python script to work  The scriot us Python v3, check if you're using that and not Python v2.
|
|
|
Post by oocozyoo on Apr 19, 2022 15:44:27 GMT
I`ve got Python 3.10.4 installed
|
|
|
Post by jj0 on Apr 19, 2022 17:26:16 GMT
I`ve got Python 3.10.4 installed How are you running the script and is there an error message? Also what happens when you run: python3 openretroid.py
|
|
|
Post by oocozyoo on Apr 19, 2022 20:20:49 GMT
I`ve got Python 3.10.4 installed How are you running the script and is there an error message? Also what happens when you run: python3 openretroid.py Server ready at Server commands: rowser, [q]uit
server> python3 openretroid.py
Server commands: rowser, [q]uit
server>
Ive pasted the scrip into a note file and saved it as a .py file and run it and ive also cut and paste into python command box
|
|
|
Post by oocozyoo on Apr 19, 2022 20:27:44 GMT
How are you running the script and is there an error message? Also what happens when you run: python3 openretroid.py Server ready at Server commands: rowser, [q]uit
server> python3 openretroid.py
Server commands: rowser, [q]uit
server>
Ive pasted the scrip into a note file and saved it as a .py file and run it and ive also cut and paste into python command box
Python 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
python3 openretroid.py
SyntaxError: invalid syntax
openretroid.py
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
openretroid.py
NameError: name 'openretroid' is not defined
==================== RESTART: C:\Users\Rich\Downloads\run.py ===================
Traceback (most recent call last):
** IDLE Internal Exception:
File "C:\Users\Rich\AppData\Local\Programs\Python\Python310\lib\idlelib\run.py", line 578, in runcode
exec(code, self.locals)
File "C:\Users\Rich\Downloads\run.py", line 8, in <module>
import lhafile
ModuleNotFoundError: No module named 'lhafile'
|
|
|
Post by jj0 on Apr 19, 2022 20:37:07 GMT
Server ready at Server commands: rowser, [q]uit
server> python3 openretroid.py
Server commands: rowser, [q]uit
server>
Ive pasted the scrip into a note file and saved it as a .py file and run it and ive also cut and paste into python command box
Python 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
python3 openretroid.py
SyntaxError: invalid syntax
openretroid.py
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
openretroid.py
NameError: name 'openretroid' is not defined
==================== RESTART: C:\Users\Rich\Downloads\run.py ===================
Traceback (most recent call last):
** IDLE Internal Exception:
File "C:\Users\Rich\AppData\Local\Programs\Python\Python310\lib\idlelib\run.py", line 578, in runcode
exec(code, self.locals)
File "C:\Users\Rich\Downloads\run.py", line 8, in <module>
import lhafile
ModuleNotFoundError: No module named 'lhafile'
It's a bit cryptic for me, but the last error message suggests that you need to install the Python module 'lhafile'. But I don't know how you do that in your Python variant in Windows.
|
|
|
Post by oocozyoo on Apr 19, 2022 21:06:07 GMT
Thanks for your time my friend I think I will just wait till we can load .adf files with the next update
|
|
|
Post by jj0 on Apr 20, 2022 11:29:48 GMT
Thanks for your time my friend I think I will just wait till we can load .adf files with the next update Don't give up yet. To install lhafile, in a Windows commandline enter: py -m pip install lhafile Then you can run the script: py openretroid.py This worked for me.
|
|
|
Post by oocozyoo on Apr 20, 2022 18:00:13 GMT
Thanks for your time my friend I think I will just wait till we can load .adf files with the next update Don't give up yet. To install lhafile, in a Windows commandline enter: py -m pip install lhafile Then you can run the script: py openretroid.py This worked for me. Python 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license()" for more information. ==================== RESTART: C:\Users\Rich\Downloads\run.py =================== Hi Dom, here is a demo of the OpenRetro Variant UUID Generator Getting details for file: ./VegetablesHD.lha Variant UUID: b37194b8-e9f3-57c8-85a3-7bff5c0903fa Openretro URL: www.openretro.org/game/b37194b8-e9f3-57c8-85a3-7bff5c0903faThanks got a UUID!!! i`ll have a look later to see if i can get this game loaded!!!! Cheers cozy
|
|
|
Post by jj0 on Apr 20, 2022 18:24:13 GMT
Don't give up yet. To install lhafile, in a Windows commandline enter: py -m pip install lhafile Then you can run the script: py openretroid.py This worked for me. Python 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license()" for more information. ==================== RESTART: C:\Users\Rich\Downloads\run.py =================== Hi Dom, here is a demo of the OpenRetro Variant UUID Generator Getting details for file: ./VegetablesHD.lha Variant UUID: b37194b8-e9f3-57c8-85a3-7bff5c0903fa Openretro URL: www.openretro.org/game/b37194b8-e9f3-57c8-85a3-7bff5c0903faThanks got a UUID!!! i`ll have a look later to see if i can get this game loaded!!!! Cheers cozy Cool, I hope you'll enjoy the vegetables 😉
|
|
|
Post by oocozyoo on Apr 20, 2022 22:07:51 GMT
Just an update the game wont load still
|
|
|
Post by oocozyoo on Apr 21, 2022 15:04:16 GMT
Found out that the .lha file does not have a .slave file or .info within the .lha file so whdload will not load the games as its not been built correctly ........ was worth a try  ....after all that hard work 
|
|
|
Post by oocozyoo on Apr 22, 2022 15:56:36 GMT
Yes ive loaded the .adf files using this post 
|
|