Page MenuHomeFreeBSD

New port: archivers/gog-tombraider-extractor: Extracts data from gog's tomb raider trilogy setup executable
AbandonedPublic

Authored by eduardo on Mar 11 2021, 9:13 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 25 2023, 11:33 PM
Unknown Object (File)
Nov 19 2023, 10:44 PM
Unknown Object (File)
Nov 10 2023, 3:29 PM
Unknown Object (File)
Nov 7 2023, 3:47 AM
Unknown Object (File)
Nov 3 2023, 5:12 AM
Unknown Object (File)
Oct 8 2023, 2:22 PM
Unknown Object (File)
Oct 6 2023, 2:46 AM
Unknown Object (File)
Oct 1 2023, 5:13 AM
Subscribers

Details

Reviewers
dbaio
garga
Summary

New port: archivers/gog-tombraider-extractor: Extracts data from gog's tomb raider trilogy setup executable

Description:

This tool will extract data from GOG's Tomb Raider trilogy setup
executable.
Obtained files can be used with opensource engines like OpenTomb or OpenLara.

WWW: https://github.com/nullgemm/gog_tomb_raider_extractor/

Approved by: dbaio, garga (mentors)
Differential Revision: https://reviews.freebsd.org/D29214

Test Plan
portlint -NC
looks fine

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

eduardo edited the summary of this revision. (Show Details)

Hi.

I was taking a look and the project is just two scripts, to be honest, I think this is not a good candidate for a port.
https://github.com/nullgemm/gog_tomb_raider_extractor/blob/master/extract.sh

Do you think this will be useful for other users? What are your thoughts?

Looking the Repology I couldn't find an other OS that has a package for it.
https://repology.org/projects/?search=gog_tomb_raider_extractor

Hi.

I was taking a look and the project is just two scripts, to be honest, I think this is not a good candidate for a port.
https://github.com/nullgemm/gog_tomb_raider_extractor/blob/master/extract.sh

Do you think this will be useful for other users? What are your thoughts?

Looking the Repology I couldn't find an other OS that has a package for it.
https://repology.org/projects/?search=gog_tomb_raider_extractor

Hello dbaio,

These are 2 simple scripts to help extract TR data so it can be played on OpenTomb or OpenLara projects.
OpenLara recommends this tool at https://www.tombraiderforums.com/showthread.php?t=216618

I will use it soon, since I'm about to start playing TR1 to remember one of my favourite games.

I'm trying to convince author to use a license like, e.g., unlicense.org

Well, emulators/winetricks is just one script :)

But I'm open for further discussion!

Hi.

I was taking a look and the project is just two scripts, to be honest, I think this is not a good candidate for a port.
https://github.com/nullgemm/gog_tomb_raider_extractor/blob/master/extract.sh

Do you think this will be useful for other users? What are your thoughts?

Looking the Repology I couldn't find an other OS that has a package for it.
https://repology.org/projects/?search=gog_tomb_raider_extractor

Hello dbaio,

These are 2 simple scripts to help extract TR data so it can be played on OpenTomb or OpenLara projects.
OpenLara recommends this tool at https://www.tombraiderforums.com/showthread.php?t=216618

I will use it soon, since I'm about to start playing TR1 to remember one of my favourite games.

I'm trying to convince author to use a license like, e.g., unlicense.org

Well, emulators/winetricks is just one script :)

But I'm open for further discussion!

So you haven't tested it?

They seem a little different to me, one is a program written in sh, the other is two scripts that I can post here in the comments.

Port name:     emulators/winetricks
Binary/script: bin/winetricks
Man:           man/man1/winetricks.1

https://github.com/Winetricks/winetricks

Port name:     archivers/gog-tombraider-extractor
Binary/script: bin/bonus bin/bonus.sh bin/extract bin/extract.sh

https://github.com/nullgemm/gog_tomb_raider_extractor

bonus.sh:

#!/bin/bash

curl -O https://opentomb.earvillage.net/tr1.zip
curl -O https://opentomb.earvillage.net/tr2.zip
curl -O https://opentomb.earvillage.net/tr3.zip
unzip tr1.zip -d data
unzip tr2.zip -d data
unzip tr3.zip -d data

extract.sh:

#!/bin/bash

tmp=tmp
trilogy="$tmp/app"
tr1="$trilogy/Tomb Raider 1"
tr2="$trilogy/Tomb Raider 2"
tr3="$trilogy/Tomb Raider 3"

# prepare
echo "this scripts needs to load loop and mount images as root"
sudo modprobe loop
mkdir "$tmp"
mkdir -p data/tr1 data/tr2 data/tr3
innoextract $1 -d "$tmp"

# tr1
cat "$tr1/GAME.DAT" | head -n 3 >> "$tr1/GAME.cue"
bchunk "$tr1/GAME.GOG" "$tr1/GAME.cue" "$tr1/TRACK"
mkdir "$tr1/mnt"
sudo mount "$tr1/TRACK01.iso" "$tr1/mnt"
cp -r "$tr1/mnt/DATA" data/tr1/data
cp -r "$tr2/data" data/tr2/data
cp -r "$tr3/DATA" data/tr3/data
sudo umount "$tr1/mnt"

# cleanup
rm -r "$tmp"

Sorry, I don't recommend porting it.

Sorry, I don't recommend porting it.

I will accept that and for your explanation you are right.

Please tell me when can I close this review.

Please tell me when can I close this review.

I usually close my reviews through the command line:
$ arc close-revision D29214

https://wiki.freebsd.org/Phabricator

"eduardo abandoned this revision."

Is this the correct way to close a review?

eduardo (Nuno Teixeira) <phabric-noreply@freebsd.org> escreveu no dia
sexta, 12/03/2021 à(s) 15:52:

eduardo abandoned this revision.

REPOSITORY

rP FreeBSD ports repository

CHANGES SINCE LAST ACTION

https://reviews.freebsd.org/D29214/new/

REVISION DETAIL

https://reviews.freebsd.org/D29214

EMAIL PREFERENCES

https://reviews.freebsd.org/settings/panel/emailpreferences/

To: eduardo, dbaio, garga
Cc: mat