Ryzom Data bsdtar

Added by Thaodan about 6 years ago

I wrote an PKGBUILD* to get the game data that is needed to run the game version i compiled in this PKGBUILD** but it says this:

> Überprüfe Gültigkeit der Quell-Dateien mit md5sums...
ryzom_client.7z ... Durchgelaufen
> Entpacke Quellen...
-> Entpacke ryzom_client.7z mit bsdtar
ryzom/data/desert_shapes.bnp: 7-Zip bad CRC: 0xab29ec64 should be 0xf7a5450f
ryzom/data/desert_tiles.bnp: Truncated 7-Zip file body
bsdtar: Error exit delayed from previous errors.

https://aur.archlinux.org/packages.php?ID=60335
*https://aur.archlinux.org/packages.php?ID=60318

I hope somebody can help me.


Replies (11)

RE: Ryzom Data bsdtar - Added by shackra about 6 years ago

hello!

I'm (trying to) building ryzom for Parabola GNU/Linux-libre.
Your problem is related to Arch's PKGBUILD, not of ryzom.

Since I already packaged the Ryzom data successfully on Parabola, you can use my PKGBUILD https://projects.parabolagnulinux.org/abslibre.git/plain/pcr/ryzom-data/PKGBUILD?id=3c957847b743778b71beec25ee93e514624487a7

btw, you ryzom-client runs without any issues? because I'm having an issue here http://dev.ryzom.com/boards/18/topics/6197

RE: Ryzom Data bsdtar - Added by Thaodan about 6 years ago

I'm (trying to) building ryzom for Parabola GNU/Linux-libre.
Your problem is related to Arch's PKGBUILD, not of ryzom.

How you force makepkg to dont extract the archive?

btw, you ryzom-client runs without any issues? because I'm having an issue here http://dev.ryzom.com/boards/18/topics/6197

No, I don't since i need the data for: https://aur.archlinux.org/packages.php?ID=60318

RE: Ryzom Data bsdtar - Added by shackra about 6 years ago

Thaodan wrote:

I'm (trying to) building ryzom for Parabola GNU/Linux-libre.
Your problem is related to Arch's PKGBUILD, not of ryzom.

How you force makepkg to dont extract the archive?

with noextract=("download"), download is the name of the file what makepkg downloaded from sourceforge.
Better use my PKGBUILD, pal.
just change makedepends=('rsync' 'p7zip-libre') to makedepends=('rsync' 'p7zip')

btw, you ryzom-client runs without any issues? because I'm having an issue here http://dev.ryzom.com/boards/18/topics/6197

No, I don't since i need the data for: https://aur.archlinux.org/packages.php?ID=60318

If you run the game, please tell me if you can play Ryzom without issues of any sort.

RE: Ryzom Data bsdtar - Added by Thaodan about 6 years ago

Why you download the archive and sync the data in your PKGBUILD, why not only sync data?

RE: Ryzom Data bsdtar - Added by kervala about 6 years ago

Because that's faster to download from Sourceforge and then patch only needed files than patching all files several times. Don't forget patching process is incremental so it will patch each release since the first.

RE: Ryzom Data bsdtar - Added by Thaodan about 6 years ago

Because that's faster to download from Sourceforge and then patch only needed files than patching all files several times. Don't forget patching process is incremental so it will patch each release since the first.

This is true, but he downloads from both sources the full game data so better use one instead of two. Is the archive from sourceforge getting updates?, when not its better to build an package that only has a script in it that updates the game data if the game is runned (specially with client-latest-hg).

RE: Ryzom Data bsdtar - Added by shackra about 6 years ago

Thaodan wrote:

Because that's faster to download from Sourceforge and then patch only needed files than patching all files several times. Don't forget patching process is incremental so it will patch each release since the first.

BINGO!

This is true, but he downloads from both sources the full game data so better use one instead of two. Is the archive from sourceforge getting updates?, when not its better to build an package that only has a script in it that updates the game data if the game is runned (specially with client-latest-hg).

I prefer this way instead of downloading 6GB of uncompressed game data through rsync!-
I now what I'm doing and why I do it, nevertheless, you can modify the PKGBUILD to fit your requirements.- Oh, yes, it's true. you have to update the game data from time to time, you could do a crond work for that, you might need to run the script as root because /usr/share/ryzom/data isn't writable by the normal users. I'll change my PKGBUILD to include a cron job for be run once a week.

RE: Ryzom Data bsdtar - Added by Thaodan about 6 years ago

I now what I'm doing and why I do it, nevertheless, you can modify the PKGBUILD to fit your requirements.- Oh, yes, it's true. you have to update the game data from time to time, you could do a crond work for that, you might need to run the script as >root because /usr/share/ryzom/data isn't writable by the normal users. I'll change my PKGBUILD to include a cron job for be run once a week.

Yes this is a way, but its bad cause your way (may) add files that are not in the package.

RE: Ryzom Data bsdtar - Added by shackra about 6 years ago

Thaodan wrote:

I now what I'm doing and why I do it, nevertheless, you can modify the PKGBUILD to fit your requirements.- Oh, yes, it's true. you have to update the game data from time to time, you could do a crond work for that, you might need to run the script as >root because /usr/share/ryzom/data isn't writable by the normal users. I'll change my PKGBUILD to include a cron job for be run once a week.

Yes this is a way, but its bad cause your way (may) add files that are not in the package.

yes, but pacman can take care of them when it uninstalls the package! (because it deletes /usr/share/ryzom/data!)

RE: Ryzom Data bsdtar - Added by Thaodan about 6 years ago

yes, but pacman can take care of them when it uninstalls the package! (because it deletes /usr/share/ryzom/data!)

Yes, I changed it to use a script similar to the update script that is shipped in the ryzom_client.7z package.

RE: Ryzom Data bsdtar - Added by shackra about 6 years ago

Thaodan wrote:

yes, but pacman can take care of them when it uninstalls the package! (because it deletes /usr/share/ryzom/data!)

Yes, I changed it to use a script similar to the update script that is shipped in the ryzom_client.7z package.

I just add a cron job in /etc/cron.d/ to update the game data once a week (as I said). It should be good enough since the speed of the updates for game data.

(1-11/11)