bamhm182 / fintrinity Goto Github PK
View Code? Open in Web Editor NEWPython Tool to run through all the manual steps of patching a game for Trinity by TheOfficialFloW
Python Tool to run through all the manual steps of patching a game for Trinity by TheOfficialFloW
Platform: Windows 10 64-bit
Python installation: 3.7.3
FinTrinity version: 0.5 (Python 3.7.3 Version)
Steps taken:
GUI.py
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\[...]\AppData\Local\Programs\Python\Python37-32\lib\tkinter\__init__.py", line 1705, in __call__
return self.func(*args)
File "C:\Users\[...]\FinTrinity-v0.5-Python\GUI.py", line 76, in click_confirm
self.fin.setup_dirs()
File "C:\Users\[...]\FinTrinity-v0.5-Python\FinTrinity.py", line 73, in setup_dirs
self.working_dir = Utils.make_dir(base_dir / f"FinTrinity{Utils.get_timestamp()}")
TypeError: unsupported operand type(s) for /: 'str' and 'str'
Clearly the Python runtime doesn't like the presence of a particular /
operator in the argument to Utils.make_dir
, but I don't know why, seeing as there are other spots in the code where /
is used to operate on strings. I'm not familiar enough with Python to understand the cause of the hangup.
It always send a error message .... please make the one for 32bit as well
Steps to reproduce (on my machine):
Got the following output:
File "GUI.py", line 49, in <module>
gui = GUI()
File "GUI.py", line 8, in __init__
self.fin.read_registry()
File "C:\Users\Wear\Downloads\FinTrinity-v0.1\FinTrinity.py", line 26, in read_registry
self.user.set_path(self.apps_path)
File "C:\Users\Wear\Downloads\FinTrinity-v0.1\classes\User.py", line 25, in set_path
self.get_games()
File "C:\Users\Wear\Downloads\FinTrinity-v0.1\classes\User.py", line 35, in get_games
game.set_path(self.path)
File "C:\Users\Wear\Downloads\FinTrinity-v0.1\classes\Game.py", line 18, in set_path
self.set_title()
File "C:\Users\Wear\Downloads\FinTrinity-v0.1\classes\Game.py", line 22, in set_title
clean = sub(".u[0-9a-f]{4}", "", dumps(fp.read()))
File "C:\Users\Wear\AppData\Local\Programs\Python\Python37-32\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 224: character maps to <undefined>
Not sure where my system differs from yours/others. Thoughts?
If your username has a space in it, FinTrinity has trouble. I need to escape spaces. In the Shell commands.
It would be nice to be able to select a different game. This doesn't seem to be a SUPER high priority since FinTrinity already picks the game that was most recently backed up.
v0.4 had the same problem, didn't try v0.3 but v0.2 worked fine.
Right now, FinTrinity doesn't really have any logging or error detection. I need to fix that.
It would be nice to be able to run FinTrinity without having to install Python. PyInstaller seems nice, but it may be a little annoying since you have to compile it on the system it is destined for (only for Windows if built in Windows, etc.) cx_freeze may be another alternative.
It would be great if there was Linux support. So far, I know that on Linux, ~/.config/codestation/qcma.conf exists and has lines like:
appsPath=/home/user/PS Vita
This should be super easy.
Hi guys
I'll be straight up and say that I'm a complete newbie to programming. That said I am competent and with the correct advice I can work me way around issues.
I can not for the life of me get FinTrinity working for my Mac with Python. I've installed all the needed software. I launch Fintrinity with Python 3.7.3 running on MacOS 10.14.4 by double clicking on the GUI.py file (also tried with FinTrinity.py) but unfortunately once terminal launches I get the following message
Last login: Tue Jun 4 21:32:35 on ttys000
MYUSERNAME-mbp:~ MYUSERNAME$ cd '/Users/MYUSERNAME/Documents/PS Vita - Trinity/Software/FinTrinity-v0.5-Python/' && '/usr/bin/pythonw' '/Users/MYUSERNAME/Documents/PS Vita - Trinity/Software/FinTrinity-v0.5-Python/GUI.py' && echo Exit status: $? && exit 1
Traceback (most recent call last):
File "/Users/MYUSERNAME/Documents/PS Vita - Trinity/Software/FinTrinity-v0.5-Python/GUI.py", line 1, in
from tkinter import *
ImportError: No module named tkinter
MYUSERNAME-mbp:FinTrinity-v0.5-Python MYUSERNAME$
At this point I'm completely lost. I'm sorry I'm completely usless at this point but I really want to get my PSvits out of being a pointless brick as Sony made it and join . in on all the fun.
Please, is there any help out there?
Many thanks
When a copy is in progress a _TEMP folder is created by QCMA and this breaks the the line findall(r"([A-Z]{4}[0-9]{5})$", folder)[0] as the regexp does not catch anything.
Should those folders be skipped or a message requesting user to wait until copy is over would be better ?
The GUI could use some work, but it works, so this isn't super high priority.
I tried the standalone Linux version, it runs fine, displays game selection window. After selecting the game it exits with "No Working Dir Permissions" command.
If the .py files are run, it should check that python is installed and up to date.
It would be great if there was macOS support. To do this, I need to figure out where QCMA stores its configuration file on macOS. Still trying to figure out how to find it without access to a Mac.
It just downloads psvitaimgtools for 64-bit. Had a user request for it to differentiate and download the 32-bit version where required.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.