@jolek, yes i saw this, i tested a test build some days ago and not freezes, but now there is the@El_Patas can try to test and compile once again OPL 1440\1442?
It seems that freezing problems has been fixed.
Fix for PS2SDK:
https://github.com/ps2dev/ps2sdk/pull/111/commits/0f0b76da2c9ec0910e92e135ee47bc62dbb781ec.
Additionally also read this:
https://www.psx-place.com/threads/o...leases-language-pack.20547/page-6#post-239310.
If they help these are my notes for building OPL on a new VM install of Ubuntu Server 18.04.@jolek, yes i saw this, i tested a test build some days ago and not freezes, but now there is the
newlib, and is needed update all, ps2toolchain, ps2sdk, ps2sdk-ports and gsKit,
and maybe better have a new test build compiled with all this updates for test them.
I answer your other question in the other thread.
Someone knows the code in linux for update the ps2toolchain and the ps2sdk-ports?
I updated them long time ago with the help of @sp193, and i have no idea now,
i use a virtual machine with Windows.
I remember how update ps2sdk and gsKit, but not the other two.
Best regards.
Thank you very much, they are different from my notes for building ps2sdk and gskit in Linux Mint,If they help these are my notes for building OPL on a new VM install of Ubuntu Server 18.04.
Build tools:
sudo apt install gcc make
Packer dependencies:
sudo apt install libucl-dev zlib1g-dev
Set environment variables and paths in sh:
echo "export PS2DEV=\$HOME/ps2dev" >>$HOME/.profile
echo "export PS2SDK=\$PS2DEV/ps2sdk" >>$HOME/.profile
echo "export GSKIT=\$PS2DEV/gsKit" >>$HOME/.profile
echo "export PATH=$PATH:\$PS2DEV/bin:\$PS2DEV/ee/bin:\$PS2DEV/iop/bin:\$PS2DEV/dvp/bin:\$PS2SDK/bin" >>$HOME/.profile
. $HOME/.profile
Download, build and install ps2toolchain, ps2eth, ps2-packer, ports and gsKit:
cd $HOME && git clone --depth 1 --branch master https://github.com/ps2dev/ps2toolchain.git && cd ps2toolchain && ./toolchain.sh
cd $HOME && git clone --depth 1 --branch master https://github.com/ps2dev/gsKit.git && cd gsKit && make && make install && make clean
cd $HOME && git clone --depth 1 --branch master https://github.com/ps2dev/ps2eth.git && cd ps2eth && make && make install && make clean
cd $HOME && git clone --depth 1 --branch master https://github.com/ps2dev/ps2-packer.git && cd ps2-packer && make && make install && make clean
cd $HOME && git clone --depth 1 --branch master https://github.com/ps2dev/ps2sdk-ports.git && cd ps2sdk-ports && make freetype2 libjpeg libpng
Download and build OPL:
cd $HOME && git clone --branch master https://github.com/ifcaro/Open-PS2-Loader.git && cd Open-PS2-Loader && make
I haven't built it in some time, so something might have changed.
repo sync -j4
./build-all.sh
Building Open PS2 Loader 0.9.3+.1442-Beta-361883d...
-Interface
In file included from /home/rgaiser/dev/ps2dev/ps2dev/ps2sdk/common/include/fileXio.h:23,
from /home/rgaiser/dev/ps2dev/ps2dev/ps2sdk/ee/include/fileXio_rpc.h:19,
from include/opl.h:29,
from src/pad.c:7:
/home/rgaiser/dev/ps2dev/ps2dev/ps2sdk/common/include/iox_stat.h:23:2: #error "Using fio/fileXio functions directly in the newlib port will lead to problems."
/home/rgaiser/dev/ps2dev/ps2dev/ps2sdk/common/include/iox_stat.h:24:2: #error "Use posix function calls instead."
In file included from /home/rgaiser/dev/ps2dev/ps2dev/ps2sdk/ee/include/fileXio_rpc.h:19,
from include/opl.h:29,
from src/pad.c:7:
Changelog:
- Increase read delay cycles for Kingdom Hearts II
Code:Building Open PS2 Loader 0.9.3+.1442-Beta-361883d... -Interface In file included from /home/rgaiser/dev/ps2dev/ps2dev/ps2sdk/common/include/fileXio.h:23, from /home/rgaiser/dev/ps2dev/ps2dev/ps2sdk/ee/include/fileXio_rpc.h:19, from include/opl.h:29, from src/pad.c:7: /home/rgaiser/dev/ps2dev/ps2dev/ps2sdk/common/include/iox_stat.h:23:2: #error "Using fio/fileXio functions directly in the newlib port will lead to problems." /home/rgaiser/dev/ps2dev/ps2dev/ps2sdk/common/include/iox_stat.h:24:2: #error "Use posix function calls instead." In file included from /home/rgaiser/dev/ps2dev/ps2dev/ps2sdk/ee/include/fileXio_rpc.h:19, from include/opl.h:29, from src/pad.c:7:
For those of you who are curious: OPL Build 1443 built with newlib.
I'm suspecting a timing issue, and there's fixed delay times for sfx. When disabling sound, exit no longer freezes.