Skip to content

Commit

Permalink
add main cli menu pluss fix how differen files work together
Browse files Browse the repository at this point in the history
it should be a month more database work then I go on to implement it all in the main app
  • Loading branch information
noisecode3 committed Oct 19, 2024
1 parent e79019f commit ecbc6d5
Show file tree
Hide file tree
Showing 5 changed files with 205 additions and 202 deletions.
177 changes: 88 additions & 89 deletions database/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
This is a test database.
# This is a test database

I will list the games in the database here by id number.

You can access the game files here ~/.local/share/TombRaiderLinuxLauncher/ID.TRLE
Expand All @@ -10,93 +11,91 @@ to get new levels. It has a nice json api with minimal compact data for info and
picture urls with md5sums. There can be and index database that
get new level id numbers from trcustoms.org or trle.net with very minimal traffic.


1.The Infada Cult
https://www.trle.net/sc/levelfeatures.php?lid=3573
https://trcustoms.org/levels/3574
have played through
no problems

2.Templars Secret
https://www.trle.net/sc/levelfeatures.php?lid=3082
https://trcustoms.org/levels/3025
have played through
no problems

3.Secret of the Skull Temple
https://www.trle.net/sc/levelfeatures.php?lid=3377
https://trcustoms.org/levels/3310
have played through
lags sometimes
plying with lutris and dgvoodoo, can help

4.The Rescue 1-4
https://www.trle.net/sc/levelfeatures.php?lid=318
https://trcustoms.org/levels/317
have not played through all of the game
no problems

5.War of the Worlds
https://www.trle.net/sc/levelfeatures.php?lid=3430
https://trcustoms.org/levels/3363
have not played through all of the game
plying with lutris and dgvoodoo, fix flashlight bug

6.The Hidden Dagger II - Dragon's Legacy
https://www.trle.net/sc/levelfeatures.php?lid=3621
https://trcustoms.org/levels/3642
Starts the game and first map, backgrund audio is missing

Note: I got the build fix here https://github.com/noisecode3/ogg-winmm
but you need to replace winmm.dll remove ffplay.dll and convert the files
I left a script called convert.sh you have to copy it to
~/.local/share/TombRaiderLinuxLauncher/6.TRLE/music
and run it from there right now
use dll ovride winmm=n,b

7.Create a Classic 2021 - The City of Petra
https://www.trle.net/sc/levelfeatures.php?lid=3417
https://trcustoms.org/levels/3350
have not played through all of the game
no problems

8.Into the Realm of Eternal Darkness
https://www.trle.net/sc/levelfeatures.php?lid=3557
https://trcustoms.org/levels/3541
have not played through all of the game
no problems
I manage to port this one to Linux native thru TR1X
the patch for TR1X is in fixes/8/IntoTheRealmOfEternalDarkness.patch
then you need to add all data from the zip, that is
(data fmv music and pictures) should be put next to TR1X

It is the same for the most part but with 60 fps
The second level had broken timer, but works now
Some issues can be addressed next time.

git clone --recurse-submodules https://github.com/LostArtefacts/TR1X
cd TR1X
git checkout 871259d
cat ../TombRaiderLinuxLauncher/fixes/8/IntoTheRealmOfEternalDarkness.patch | patch -p1
just package-linux

9.The Experiment 3/1 - Under the Moonlight
https://www.trle.net/sc/levelfeatures.php?lid=1388
https://trcustoms.org/levels/1360
have not played through all of the game
no problems

10.The Ancient Knowledge
https://www.trle.net/sc/levelfeatures.php?lid=1964
https://trcustoms.org/levels/1947
have not played through all of the game
no problems

11.Tomb Raider - Biohazard
https://www.trle.net/sc/levelfeatures.php?lid=3372
https://trcustoms.org/levels/3305
have not played through all of the game
background audio seem to have broke

1. The Infada Cult
* <https://www.trle.net/sc/levelfeatures.php?lid=3573>
* <https://trcustoms.org/levels/3574>
* have played through
* no problems

2. Templars Secret
* <https://www.trle.net/sc/levelfeatures.php?lid=3082>
* <https://trcustoms.org/levels/3025>
* have played through
* no problems

3. Secret of the Skull Temple
* <https://www.trle.net/sc/levelfeatures.php?lid=3377>
* <https://trcustoms.org/levels/3310>
* have played through
* lags sometimes
* plying with lutris and dgvoodoo, can help

4. The Rescue 1-4
* <https://www.trle.net/sc/levelfeatures.php?lid=318>
* <https://trcustoms.org/levels/317>
* have not played through all of the game
* no problems

5. War of the Worlds
* <https://www.trle.net/sc/levelfeatures.php?lid=3430>
* <https://trcustoms.org/levels/3363>
* have not played through all of the game
* plying with lutris and dgvoodoo, fix flashlight bug

6. The Hidden Dagger II - Dragon's Legacy
* <https://www.trle.net/sc/levelfeatures.php?lid=3621>
* <https://trcustoms.org/levels/3642>
* Starts the game and first map, backgrund audio is missing
* Note: I got the build fix here <https://github.com/noisecode3/ogg-winmm>
* but you need to replace winmm.dll remove ffplay.dll and convert the files
* I left a script called convert.sh you have to copy it to
* ~/.local/share/TombRaiderLinuxLauncher/6.TRLE/music
* and run it from there right now
* use dll ovride winmm=n,b

7. Create a Classic 2021 - The City of Petra
* <https://www.trle.net/sc/levelfeatures.php?lid=3417>
* <https://trcustoms.org/levels/3350>
* have not played through all of the game
* no problems

8. Into the Realm of Eternal Darkness
* <https://www.trle.net/sc/levelfeatures.php?lid=3557>
* <https://trcustoms.org/levels/3541>
* have not played through all of the game
* no problems
* I manage to port this one to Linux native thru TR1X
* the patch for TR1X is in fixes/8/IntoTheRealmOfEternalDarkness.patch
* then you need to add all data from the zip, that is
* (data fmv music and pictures) should be put next to TR1X
* It is the same for the most part but with 60 fps
* The second level had broken timer, but works now
* Some issues can be addressed next time.

```shell
git clone --recurse-submodules https://github.com/LostArtefacts/TR1X
cd TR1X
git checkout 871259d
cat ../TombRaiderLinuxLauncher/fixes/8/IntoTheRealmOfEternalDarkness.patch | patch -p1
just package-linux
```

9. The Experiment 3/1 - Under the Moonlight
* <https://www.trle.net/sc/levelfeatures.php?lid=1388>
* <https://trcustoms.org/levels/1360>
* have not played through all of the game
* no problems

10. The Ancient Knowledge
* <https://www.trle.net/sc/levelfeatures.php?lid=1964>
* <https://trcustoms.org/levels/1947>
* have not played through all of the game
* no problems

11. Tomb Raider - Biohazard
* <https://www.trle.net/sc/levelfeatures.php?lid=3372>
* <https://trcustoms.org/levels/3305>
* have not played through all of the game
* background audio seem to have broke

![screenshot1](https://raw.githubusercontent.com/noisecode3/TombRaiderLinuxLauncher/main/database/screenshot1.jpg)
4 changes: 4 additions & 0 deletions database/index_data.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
"""Index dictionary data definitions"""
import os
import sys

def make_trle_page_data():
"""trle.net page, represents the same data as a page on the site"""
return {
Expand Down Expand Up @@ -47,3 +50,4 @@ def make_trcustoms_level_data():
"cover": "",
"cover_md5sum": "",
}

Loading

0 comments on commit ecbc6d5

Please sign in to comment.