English Amiga Board


Go Back   English Amiga Board > Other Projects > project.Amiga File Server

 
 
Thread Tools
Old 30 July 2017, 15:49   #661
Enverex
Fantasy Man!
 
Enverex's Avatar
 
Join Date: Apr 2002
Location: UK
Posts: 1,353
Hey Retroplay, I noticed that one of the games is LZX rather than LHA, any particular reason why?

Code:
Calephar_v1.0_Files_2661.lzx
Enverex is offline  
Old 30 July 2017, 15:58   #662
Retroplay
Lemon Curry ?
 
Retroplay's Avatar
 
Join Date: Sep 2004
Location: Denmark
Age: 49
Posts: 4,079
Lha fails to extract the archive properly.

That goes for Zine 11 too btw.
http://eab.abime.net/showpost.php?p=...&postcount=579

Last edited by Retroplay; 30 July 2017 at 16:08.
Retroplay is offline  
Old 04 August 2017, 01:38   #663
SCO_1
 
Posts: n/a
The way i update on linux is installing realpath, megasync and megatools, copy the 'new' folder i want to update to my mega cloud drive and use this script. The script removes all the local files whose names don't match in the cloud folder (meaning this is of use for downloaders, not the uploader that *wants* to delete and upload files from the local dir to mirror on the cloud). Then i use megasync to update the 'wrong checksum' and new files. Watch out for the megasync bug mentioned though.

As explained in the link, mega is rather terrible to keep public links downloads synced, but it's possible, in spite of the annoying bugs and missing features in megasync. Maybe megatools will fill the hole eventually. Unfortunately, mega is still the best upload service for syncing in spite of this. The main issue is megasync not working on public folders, which is just stupid imo; but this problem of outdated local files being uploaded to your 'copy' is annoying enough to merit a script too.

Anyway, i think i might end using the other script mentioned here, seems like it might be a better solution, because of less steps (taking advantage that every different whdload archive on the mega folder has a different name, instead of a general solution that has to care about checking checksums). This will fail if a upload of a different file with the same name happens, as i'm sure everyone is aware.

It's possible megatools will end up providing a 'safe' (with checksum check) public sync eventually, or at least a more safe download method with megadl that deletes extra files and files which look outdated (comparing file timestamps/creation dates). Megadl already works on public folders, and it already doesn't redownload files which already exist, it just needs to delete extra files to be nearly equivalent to a sync.

BTW, the RageV1 and RageV2 files mentioned 2 pages back appear to not get scanned correctly by fs-uae-launcher so they never appear on the autoconfig. It's probably to be expected from some illegal character or incompatibility from whatever library fs-uae-launcher is using borking on the archives. I don't know if turning them to lzx would help because these errors tend to be on the host side.
edit: nope. The reason for this appears to be the openretro db not having the correct entry yet. Shutting up now.

Last edited by SCO_1; 07 August 2017 at 03:53.
 
Old 09 October 2017, 08:19   #664
zzarko
Registered User
 
Join Date: Nov 2016
Location: Novi Sad
Posts: 27
For those interested, new version of PyRetroplay script is on the Bitbucket:
https://bitbucket.org/zzarko/pyretroplay/overview. Unpacking of weird lha/lzx archives on Linux should now be solved (so far, I haven't found one that unpacks incorrectly), if using Linux filesystem, of course.

Changelog:
* Switched from 7z to The Unarchiver (unar package on Linux) for unpacking on PC side
* Added support for LZX archives (if same version of file are available both as LHA and LZX, LZX will be used)
* Added Debug mode of execution (doesn't change local files)
* Added current FTP list to local database
* Script now checks for archives that aren't on FTP server, but exist in local directories
* Backup of local database is made before writing a new one
* Many small improvements to code
* New bugs?
zzarko is offline  
Old 09 October 2017, 08:43   #665
zzarko
Registered User
 
Join Date: Nov 2016
Location: Novi Sad
Posts: 27
@Retroplay: Any reason for EmeraldMines_v1.0_CD to exist in both lha and lzx versions?
zzarko is offline  
Old 09 October 2017, 12:36   #666
Foul
Registered User
 
Foul's Avatar
 
Join Date: Jun 2009
Location: Perigueux/France
Age: 49
Posts: 1,516
Send a message via ICQ to Foul Send a message via MSN to Foul
Excellent news ! thx

edit : something wrong happened !

Code:
foul@Foulnux:/mnt/Amiga/WHDLoad$ ./PyRetroplay.py 
Starting PyRetroplay ...

Connecting to ftp://grandis.nu ...
Checking Commodore_Amiga_-_WHDLoad_-_Demos/Z ...               

Scanning local archives and directories ...
Scanning Retroplay/Commodore_Amiga_-_WHDLoad_-_Demos/Z ...               
Found newer version (1.2) for:  Games_WHDLoad/A/
Deleting directory: Games_WHDLoad/A/
Traceback (most recent call last):
  File "./PyRetroplay.py", line 426, in <module>
    if not Debug: os.remove(unpackpath + ".info")
OSError: [Errno 2] No such file or directory: 'Games_WHDLoad/A/.info'
foul@Foulnux:/mnt/Amiga/WHDLoad$
Deleted my whole Games_WHDLoad/A/ directory !!! :\

Last edited by Foul; 09 October 2017 at 12:52.
Foul is offline  
Old 09 October 2017, 13:47   #667
Retroplay
Lemon Curry ?
 
Retroplay's Avatar
 
Join Date: Sep 2004
Location: Denmark
Age: 49
Posts: 4,079
Quote:
Originally Posted by zzarko View Post
@Retroplay: Any reason for EmeraldMines_v1.0_CD to exist in both lha and lzx versions?
http://eab.abime.net/showpost.php?p=...&postcount=579
Retroplay is offline  
Old 09 October 2017, 15:32   #668
zzarko
Registered User
 
Join Date: Nov 2016
Location: Novi Sad
Posts: 27
Quote:
Originally Posted by Foul View Post
edit : something wrong happened !
I sent you a PM, I hope to solve this. No wonder your post number was 666...
zzarko is offline  
Old 09 October 2017, 20:37   #669
Foul
Registered User
 
Foul's Avatar
 
Join Date: Jun 2009
Location: Perigueux/France
Age: 49
Posts: 1,516
Send a message via ICQ to Foul Send a message via MSN to Foul
Code:
foul@Foulnux:/mnt/Amiga/WHDLoad$ ./PyRetroplay.py 
Starting PyRetroplay ...

Connecting to ftp://grandis.nu ...
Checking Commodore_Amiga_-_WHDLoad_-_Demos/Z ...               

Scanning local archives and directories ...
Scanning Retroplay/Commodore_Amiga_-_WHDLoad_-_Demos/Z ...               

These archives no longer exist on Retroplay FTP:
  Retroplay/Commodore_Amiga_-_WHDLoad_-_Games/C/Calephar_v1.0_Files.lha 
   Unpacked at: Games_WHDLoad/C/CalepharFiles
  Retroplay/Commodore_Amiga_-_WHDLoad_-_Games/G/GunbeeF99_v1.1_AGA.lha 
   Unpacked at: Games_WHDLoad_AGA/G/GunbeeF99AGA
  Retroplay/Commodore_Amiga_-_WHDLoad_-_Games/K/K240_v1.0_1565.lha 
   Unpacked at: Games_WHDLoad/K/K240
  Retroplay/Commodore_Amiga_-_WHDLoad_-_Games/L/Loom_v1.2_De_Kick13_0075.lha 
   Unpacked at: Games_WHDLoad/L/LoomDeKick13
  Retroplay/Commodore_Amiga_-_WHDLoad_-_Games/L/Loom_v1.2_De_Kick31_0075.lha 
   Unpacked at: Games_WHDLoad/L/LoomDeKick31
  Retroplay/Commodore_Amiga_-_WHDLoad_-_Games/L/Loom_v1.2_Es_Kick13.lha 
   Unpacked at: Games_WHDLoad/L/LoomEsKick13
  Retroplay/Commodore_Amiga_-_WHDLoad_-_Games/L/Loom_v1.2_Es_Kick31.lha 
   Unpacked at: Games_WHDLoad/L/LoomEsKick31
  Retroplay/Commodore_Amiga_-_WHDLoad_-_Games/L/Loom_v1.2_Fr_Kick13.lha 
   Unpacked at: Games_WHDLoad/L/LoomFrKick13
  Retroplay/Commodore_Amiga_-_WHDLoad_-_Games/L/Loom_v1.2_Fr_Kick31.lha 
   Unpacked at: Games_WHDLoad/L/LoomFrKick31
  Retroplay/Commodore_Amiga_-_WHDLoad_-_Games/L/Loom_v1.2_Kick13_0618.lha 
   Unpacked at: Games_WHDLoad/L/LoomKick13
  Retroplay/Commodore_Amiga_-_WHDLoad_-_Games/L/Loom_v1.2_Kick31_0618.lha 
   Unpacked at: Games_WHDLoad/L/LoomKick31
  Retroplay/Commodore_Amiga_-_WHDLoad_-_Games/M/Marblelous_v1.1.lha 
   Unpacked at: Games_WHDLoad/M/Marblelous
  Retroplay/Commodore_Amiga_-_WHDLoad_-_Games/M/MegaBlast_v1.0.lha 
   Unpacked at: Games_WHDLoad/M/MegaBlast
  Retroplay/Commodore_Amiga_-_WHDLoad_-_Games/P/PinballBrainDamage_v1.0_AGA.lha 
   Unpacked at: Games_WHDLoad_AGA/P/PinballBrainDamageAGA
  Retroplay/Commodore_Amiga_-_WHDLoad_-_Games/P/PulsatorDemo_v1.1_AGA.lha 
   Unpacked at: Games_WHDLoad_AGA/P/PulsatorDemoAGA
  Retroplay/Commodore_Amiga_-_WHDLoad_-_Games/W/WayOfTheLittleDragon_v1.1_NTSC.lha 
   Unpacked at: Games_WHDLoad/W/WayOfTheLittleDragonNTSC
If they are not needed, they should be removed manually.

Saving current database...

Done.
foul@Foulnux:/mnt/Amiga/WHDLoad$
Any way to remove them automatically ?
Foul is offline  
Old 10 October 2017, 08:03   #670
zzarko
Registered User
 
Join Date: Nov 2016
Location: Novi Sad
Posts: 27
Quote:
Originally Posted by Foul View Post
Any way to remove them automatically ?
I thought about it, but decided not to do it, as I'm not sure if such archives should be erased from local disk automatically. For example, I was playing a game, had saved position, and after the update, it is gone (ok, sort of like your games/A/ directory, but that was an error). I'm thinking about moving them to separate directory where non-Retroplay games could reside, that would be administered by user, or I could leave them like this and let the user decide what to do.

I know the reason for removing some of those games were legal issues, but I guess there are people that have a legal copies, it would be wrong to delete them if they keep those copies with all their other games. As for Loom/K240, I couldn't devise a logic that could reliably conclude that there is a newer version of the game with different naming and that others should be erased and that this situation is different than previous (mostly because there are other games that have multiple copies in Retroplay archive).

So, for now, it stays like this. If someone has a good solution for this, I'll gladly implement it. One easy solution is to add an option to erase them that would be False by default, and if you want those games erased, just set the option to True? Or script could ask the user if they should be deleted, but that would be annoying for those who do not want those games erased (I know it would be for me). If you have a suggestion, please tell...
zzarko is offline  
Old 10 October 2017, 09:06   #671
Foul
Registered User
 
Foul's Avatar
 
Join Date: Jun 2009
Location: Perigueux/France
Age: 49
Posts: 1,516
Send a message via ICQ to Foul Send a message via MSN to Foul
no prob i understand and let them like that for the moment
Foul is offline  
Old 11 October 2017, 18:46   #672
Foul
Registered User
 
Foul's Avatar
 
Join Date: Jun 2009
Location: Perigueux/France
Age: 49
Posts: 1,516
Send a message via ICQ to Foul Send a message via MSN to Foul
Quote:
AmigaDOS update script genrated as: update2017-10-11-1
Copy the script and its files to real Amiga.
Just a typo on "generated"
Foul is offline  
Old 03 November 2017, 18:04   #673
liveevil
Custom User Title
 
Join Date: Jan 2008
Location: UK
Posts: 331

Last edited by liveevil; 10 November 2017 at 11:25.
liveevil is offline  
Old 03 November 2017, 18:17   #674
Enverex
Fantasy Man!
 
Enverex's Avatar
 
Join Date: Apr 2002
Location: UK
Posts: 1,353
They won't always throw errors when extracting, but chances are they have broken one or more characters in one or more files due to how Windows handles the filenames. It'll work fine on Amigas and most Unix systems, but Windows will break things.

Hired Guns for example isn't in your list, but if you extract it on Windows, it'll screw up a load of the filenames silently.
Enverex is offline  
Old 03 November 2017, 19:43   #675
liveevil
Custom User Title
 
Join Date: Jan 2008
Location: UK
Posts: 331
Quote:
Originally Posted by Enverex View Post
Hired Guns for example isn't in your list, but if you extract it on Windows, it'll screw up a load of the filenames silently.
Yeah, I did mention that "the rest of the games listed on the server in 'Games_WHDLoad_UnpackOnAmiga' have some files that contain special characters but they extract fine on Windows".

Hired Guns has files with special characters :-

Espa±ol
Franþais

But they extract on Windows fine and the game works including running the files with the special characters. The ones I listed have definite problems when extracted to Windows and you'll need a special program or skills to delete/move the said files.
liveevil is offline  
Old 03 November 2017, 19:46   #676
Enverex
Fantasy Man!
 
Enverex's Avatar
 
Join Date: Apr 2002
Location: UK
Posts: 1,353
Odd, they didn't work for me when I tried to play (complained about those files missing). I wonder, if you're using WinUAE, that the requests for the files are also being mangled, so in a weird round-about way it still works.
Enverex is offline  
Old 16 November 2017, 20:57   #677
cyberhead97
Registered User
 
Join Date: Feb 2016
Location: Denmark
Posts: 333
I don't know if this is the right place to post fixes for EAB WHDLoad Pack 3.0, but here goes.

Starting AmigaKarate whdload slave results in an error about " AMIGA KARATE" doesn't exist. Renaming the file from "AMIGA KARATE" to " AMIGA KARATE" in data seems to fix it

Last edited by cyberhead97; 16 November 2017 at 20:58. Reason: Added EAB WHDLoad pack version
cyberhead97 is offline  
Old 16 November 2017, 22:45   #678
Enverex
Fantasy Man!
 
Enverex's Avatar
 
Join Date: Apr 2002
Location: UK
Posts: 1,353
My version direct from RetroPlay's FTP seems fine so that issue may be specific to the pack.
Enverex is offline  
Old 17 November 2017, 15:06   #679
Retroplay
Lemon Curry ?
 
Retroplay's Avatar
 
Join Date: Sep 2004
Location: Denmark
Age: 49
Posts: 4,079
Yup, no problems here either.
I always test if the game/demos run before uploading anything.

I guess you should post the issue here:
http://eab.abime.net/showthread.php?t=68704
Retroplay is offline  
Old 21 December 2017, 12:50   #680
blinkydoos
 
Posts: n/a
Hi, I think you missed the games 'Read & Rhyme' and 'Decimal Dungeon' from WHDLoad's latest updates.
 
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Some uploads barkingboy project.Amiga File Server 13 28 November 2010 01:51
Simon WHD and Monkey 2 WHD solamnic request.Old Rare Games 15 17 March 2004 14:28
The Immortal whd and Elfmania whd PiCiJi request.Old Rare Games 1 02 November 2003 23:23
Final Fight whd and Entity whd? PiCiJi request.Old Rare Games 7 18 October 2003 03:16

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 11:23.

Top

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