Quantcast
Download
(1 Kb)
Download
Updated: 12/10/21 01:21 PM
Pictures
File Info
Compatibility:
Deadlands (7.2.5)
Waking Flame (7.1.5)
Blackwood (7.0.5)
Flames of Ambition (6.3.5)
Markarth (6.2.5)
Stonethorn (6.1.5)
Greymoor (6.0.5)
Updated:12/10/21 01:21 PM
Created:12/07/21 02:00 PM
Monthly downloads:231
Total downloads:2,863
Favorites:8
MD5:
Categories:Utility Mods, Auction House & Vendors, Miscellaneous, ESO Tools & Utilities
Linux Tamriel Trade Center
Version: V2
by: APH0N1C [More]
Tamriel Trade Center for Linux without the need to setup and run TTC "Client.exe" on "Wine/Proton" to update price list.

A simple bash script to update your TTC Listings Data.

I created this in case you have no luck on running the TTC Client on Proton/Wine/Lutris and their other WINE related programs as well as doing additional work like trying it on a Virtual Machine etc... so I instead created this simple script to do the work for me in the background.

This script utilize built-in system tools aside from needing the TTC add-on itself. the only thing you to do is download the script make it executable and run it via terminal.

Dependencies:
Tamriel Trade Centre



Optional Versions

Single Use Scripts
TTC-O PORTPROTON
TTC-O LINUX NATIVE STEAM

Looping Scripts
TTC-LO PORTPROTON
TTC-LO LINUX NATIVE STEAM


INSTALLATION & USAGE: download the latest script of your choice and put it anywhere. then to run the script. "cd" to the script directory ex. cd ~/Downloads and do "chmod u+x script.sh" ex. chmod u+x TTCO-LINUX-STEAM-V2.sh to make it executable and "bash ./script.sh" ex. bash ./TTCO-LINUX-STEAM-V2.sh to run it.




NOTE: for now I only created 2 sub versions for "Linux Steam" and "PortProton".

NOTE: the script is a bash script and was only tested on POP!_OS 21.04/Ubuntu 21.04/Fedora 35 Silverblue. it might work on other Distro's as long as the "Terminal/Console" supports running Bash scripts.

NOTE: for now the script only updates the "PC NA" PriceTable. feel free to edit the link inside the script according to your server.

PriceTable Download Links
EU - https://eu.tamrieltradecentre.com/download/PriceTable
US - https://us.tamrieltradecentre.com/download/PriceTable

Code:
printf '\n'
sleep 1
curl -o ~/Downloads/PriceTable.zip 'https://us.tamrieltradecentre.com/download/PriceTable'
sleep 1



ADDITIONAL INFORMATION

Assuming you didn't change the drive where you installed ESO, here are the list of default locations.

Default "Linux Steam" Directory
"/home/$USER/.steam/steam/steamapps/compatdata/306130/pfx/drive_c/users/steamuser/My Documents/Elder Scrolls Online/live/AddOns/TamrielTradeCentre/"
Default "PortProton" Directory
"/home/$USER/PortWINE/PortProton/drive_c/users/steamuser/My Documents/Elder Scrolls Online/live/AddOns/TamrielTradeCentre"
Default "Flatpak-Steam" Directory
"/home/$USER/.var/app/com.valvesoftware.Steam/.steam/root/steamapps/compatdata/306130/pfx/drive_c/users/steamuser/My Documents/Elder Scrolls Online/live/AddOns/TamrielTradeCentre/"
- (This assumes you installed Steam Flatpak on the user and not system wide.)
- Depending on your system and installation mode. you might need to change "/.var/app/" to "/var/lib/flatpak/app/"


Default "Lutris" Directory
"/home/$USER/Games/Elder Scrolls Online/drive_c/users/user/My Documents/Elder Scrolls Online/live/AddOns/TamrielTradeCentre/"

Editing the location in case you have your game installed on another drive(custom location). Please edit the line of code highlighted in green showed from the example below.

Code:
printf '\n'
mkdir -p "/home/$USER/.steam/steam/steamapps/compatdata/306130/pfx/drive_c/users/steamuser/My Documents/Elder Scrolls Online/live/AddOns/TamrielTradeCentre/"
sleep 2
rsync -auvzhPX --ignore-existing --progress ~/Downloads/PriceTable/. "/home/$USER/.steam/steam/steamapps/compatdata/306130/pfx/drive_c/users/steamuser/My Documents/Elder Scrolls Online/live/AddOns/TamrielTradeCentre/"
sleep 1

All the scripts are scanned using VirusTotal. Click "More Info Here" for more details including scan results. (of course you can scan it yourself if you want to.)

More Info Here
Optional Files (4)
File Name
Version
Size
Author
Date
Type
V2
1kB
12/10/21 01:01 PM
Addon
V2
1kB
12/10/21 01:00 PM
Addon
V2
1kB
12/10/21 01:00 PM
Addon
V2
1kB
12/10/21 12:59 PM
Addon


Archived Files (2)
File Name
Version
Size
Uploader
Date
V2
1kB
APH0N1C
12/10/21 01:02 PM
V2
1MB
APH0N1C
12/07/21 03:04 PM


Post A Reply Comment Options
Unread 07/07/22, 10:51 PM  
doabhi

Forum posts: 0
File comments: 1
Uploads: 0
Exclamation Issue in script actually prevents pricetable updates

I filed the issue on the github, however for anyone seeing "Pricetable outdated" in game check the following :-
https://github.com/APHONlC/Linux-Tam...enter/issues/2

tl;dr the rsync line has a command argument that actually prevents it from moving the files, remove --ignore-existing from line 65 and problem solved.
Report comment to moderator  
Reply With Quote
Unread 12/12/21, 01:44 AM  
APH0N1C
 
APH0N1C's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 9
Uploads: 5
This was actually the method I was doing before I realized I could just automate the process.

Thanks for sharing this info tho, I've added some details regarding this on the descriptions page.



Originally Posted by Teroh
In case people want to do this manually :

Download the pricetable manually from

EU - https://eu.tamrieltradecentre.com/download/PriceTable
US - https://us.tamrieltradecentre.com/download/PriceTable

And then extracting the files from the zip into the

MyDoc/ESO/AddOns/TamrielTradeCenter folder

Where the folder actually is depends if you use steam or lutris.
__________________
Report comment to moderator  
Reply With Quote
Unread 12/11/21, 09:40 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4162
File comments: 5187
Uploads: 73
Thank you!

Originally Posted by APH0N1C
Originally Posted by Baertram
Any reason why this "simple" bash script is 4mb in size?
Fetching some info from TTC websites shouldn't be that big imho.

Could you please provide the code in plain text so we are able to see what it does, thank you.
Your github e.g. provides this lines, which look like these are the lines to use here:

So what is all the ther overhead of ~3,99mb then? Only caused by the obfuscated lines?
imho, and without wanting to be respectless, you should release it unobfuscated then for the majority
Hey thanks for taking interest and for the feedback.

First of all I'm a huge fan of your "Add-on Selector" add-on

anyways regarding the size. yes it's because of not just the obfuscation of the code but due to me adding minimal encryption on it (which is causing the overhead). I first created the code for myself but then started sharing it with friends and soon other people and I decided to take the action of obfuscating the code. I will be uploading the raw file script's here on ESOUI and on Github for inspection as well as giving details on how the code works. sorry for the inconvenience and probably the suspicion of the script being malicious.

the Github example I provided was the first version of the script, but since I find it not working 100% of the time I changed some of the code.

Anyways I'll be preparing the Raw scripts for upload soon. cheers!
Report comment to moderator  
Reply With Quote
Unread 12/10/21, 08:51 AM  
Teroh

Forum posts: 0
File comments: 13
Uploads: 0
In case people want to do this manually :

Download the pricetable manually from

EU - https://eu.tamrieltradecentre.com/download/PriceTable
US - https://us.tamrieltradecentre.com/download/PriceTable

And then extracting the files from the zip into the

MyDoc/ESO/AddOns/TamrielTradeCenter folder

Where the folder actually is depends if you use steam or lutris.
Last edited by Teroh : 12/10/21 at 08:52 AM.
Report comment to moderator  
Reply With Quote
Unread 12/09/21, 03:24 AM  
APH0N1C
 
APH0N1C's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 9
Uploads: 5
Originally Posted by Baertram
Any reason why this "simple" bash script is 4mb in size?
Fetching some info from TTC websites shouldn't be that big imho.

Could you please provide the code in plain text so we are able to see what it does, thank you.
Your github e.g. provides this lines, which look like these are the lines to use here:

So what is all the ther overhead of ~3,99mb then? Only caused by the obfuscated lines?
imho, and without wanting to be respectless, you should release it unobfuscated then for the majority
Hey thanks for taking interest and for the feedback.

First of all I'm a huge fan of your "Add-on Selector" add-on

anyways regarding the size. yes it's because of not just the obfuscation of the code but due to me adding minimal encryption on it (which is causing the overhead). I first created the code for myself but then started sharing it with friends and soon other people and I decided to take the action of obfuscating the code. I will be uploading the raw file script's here on ESOUI and on Github for inspection as well as giving details on how the code works. sorry for the inconvenience and probably the suspicion of the script being malicious.

the Github example I provided was the first version of the script, but since I find it not working 100% of the time I changed some of the code.

Anyways I'll be preparing the Raw scripts for upload soon. cheers!
__________________
Report comment to moderator  
Reply With Quote
Unread 12/08/21, 01:47 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4162
File comments: 5187
Uploads: 73
Any reason why this "simple" bash script is 4mb in size?
Fetching some info from TTC websites shouldn't be that big imho.

Could you please provide the code in plain text so we are able to see what it does, thank you.
Your github e.g. provides this lines, which look like these are the lines to use here:
Code:
#!/bin/bash
while [ true ]; do
echo =======APH-TECH======== &&
echo Starting Loop Sequence.... &&
echo ===================== &&
cd ~/Downloads &&
echo - NOTICE: &&
echo If you feel like Im eating resources please do TERMINATE me.. &&
echo ===================== &&
echo Downloading Requested File.... &&
echo ===================== &&
curl -s -o ~/Downloads/PriceTable.zip 'https://us.tamrieltradecentre.com/download/PriceTable' &&
echo Making sure I downloaded the right thing...
cd ~/Downloads &&
echo ===================== &&
echo Unziping and Transfering your file... &&
echo ===================== &&
unzip -o -q ~/Downloads/PriceTable.zip -d "/home/gaben/PortWINE/PortProton/drive_c/users/gaben/My Documents/Elder Scrolls Online/live/AddOns/TamrielTradeCentre" &&
echo Done &&
echo ===================== &&
echo Removing temporary files &&
echo ===================== &&
rm -f "./PriceTable.zip" &&
echo Restarting Loop Sequence.. &&
echo ===================== &&
done
So what is all the ther overhead of ~3,99mb then? Only caused by the obfuscated lines?
imho, and without wanting to be respectless, you should release it unobfuscated then for the majority
Last edited by Baertram : 12/08/21 at 01:55 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: