Devildwarf
Member
Well its working for my with Drag and Drop on pictures (only on JPG though, PNG isnt working after doing some more tests) with the current code, im using Msys2 in UCRT64 mode and it compiles fine for me now with your latest changes (my exact script i compile here, made some small changes for UCRT64 mode but you can just remove the -ucrt bits for normal mingw64bit mode)Thanks, I have pushed the change to master to add --collect-all and now the windows version runs.
I also removed the if-'posix' conditionals from pop-fe-ps3 but it still refused to accept the drag and drop.
Anyway, thanks for getting it to actually run.
I will try to figure out why the dnd doesn't work in a few days.
Also made a few other small changes for it to auto say YES in msys so you dont have to confirm each installation (could have also made it all 1 line i guess but i like to keep things single line so its easier to change)
And the PKG Crypt name changes depending on version of software used so i now use a wildcard to copy it so it can always find it,and added
pip3 install TkinterDnD2
not sure why PNG isnt working though, but JPG drag and drop works great
Code:
yes | pacman -S mingw-w64-ucrt-x86_64-gcc
yes | pacman -S make
yes | pacman -S mingw-w64-ucrt-x86_64-python
yes | pacman -S git
yes | pacman -S unzip
yes | pacman -S mingw-w64-ucrt-x86_64-python-pip
yes | pacman -S mingw-w64-ucrt-x86_64-python-pillow
pip3 install requests_cache
pip3 install pycdlib
pip3 install pycryptodome
pip3 install ecdsa
pip3 install TkinterDnD2
git clone https://github.com/sahlberg/pop-fe.git
git clone https://github.com/NRGDEAD/Cue2cu2.git
git clone https://github.com/putnam/binmerge.git
cd pop-fe
cp ../Cue2cu2/cue2cu2.py .
chmod +x cue2cu2.py
cp ../binmerge/binmerge .
chmod +x binmerge
git clone http://github.com/sahlberg/PSL1GHT
cd PSL1GHT/tools/ps3py
git checkout origin/use-python3
make
cd ../../..
wget https://github.com/dcherednik/atracdenc/releases/download/0.0.3/atracdenc-x86_0.0.3.zip
unzip -j atracdenc-x86_0.0.3 -x README.TXT
pip install pyinstaller
pip install pygubu
pyinstaller PSL1GHT/tools/ps3py/pkg.py
pyinstaller cue2cu2.py
pyinstaller binmerge
pyinstaller sign3.py
pyinstaller --add-data "PS3LOGO.DAT;." pop-fe.py
pyinstaller --add-data "PS3LOGO.DAT;." --add-data "pop-fe-ps3.ui;." pop-fe-ps3.py --hidden-import pop-fe --hidden-import pygubu.builder.tkstdwidgets --hidden-import pygubu.builder.ttkstdwidgets --hidden-import pygubu.builder.widgets.pathchooserinput --collect-all tkinterdnd2
mkdir dist/pop-fe-ps3/atracdenc
mkdir dist/pop-fe-ps3/atracdenc/src
cp dist/binmerge/binmerge.exe dist/pop-fe-ps3/.
cp dist/cue2cu2/cue2cu2.exe dist/pop-fe-ps3/.
cp dist/pkg/pkg.exe dist/pop-fe-ps3/.
cp dist/pkg/*.pyd dist/pop-fe-ps3/.
cp dist/pop-fe/pop-fe.exe dist/pop-fe-ps3/.
cp dist/sign3/sign3.exe dist/pop-fe-ps3/.
cp atracdenc.exe dist/pop-fe-ps3/atracdenc/src/.
And here is the build of the current version, with working drag and drop support for JPG files compiled by me using the above script
https://www.mediafire.com/file/rdeg7ezsadc431c/pop-fe-ps3_5th_Nov_2022_Drag_Support.zip/file
Last edited:

