PS2 Compiling windows app/utility sources.

Can somebody help me setup a barebone ide/gui for compiling .cpp to .exe on win7.
I used get-Mingw-w64 to install gcc but it's complaining about a missing elf.h & features.h header files, which I think is a part of the c rather than cpp binaries/zip files? from the include folder?

Visual Studio v1.94.2 installs & runs the enviroment & terminal first time using
https://github.com/i486/VxKex/releases
set to windows10, but when I close Visual Studio & restart, it complains about being an invalid win32 program, the enviroment variables or compiler paths also seem to be messed up in the .json file it keeps saying it's wrong but then corrects itself but with extra \\ in the filepath & it can't connect to the language server.

There's a 2022 or 2023 version code.exe that's still working from a zipped portable folder instead though, I think the 2023 version complained about not finding microsoft framework 4.6 when I tried to install it.

Sources i'm looking to compile or if someone can upload the pre-built .exe binaries that'd be helpful.

Python : https://gist.github.com/uyjulian/14388e84b008a6433aa805f5d0436c87
C fork: https://gist.github.com/israpps/26651a3e58567ea031dc1bd7b1e74745
Go: https://github.com/pcm720/protopwn/tree/main/utils/osdpack
CPP:
https://gist.github.com/balika011/7a2443011c3a79ea53e0b98edb905a86
 
Last edited by a moderator:
this message is actually for @Kevstah2004 in this thread: https://www.psx-place.com/threads/compiling-windows-app-utility-sources.48758/

the elf.h you mentioned is part of the ps2 sdk, so install that first of all. it takes a while to compile for most people, so leave your computer be while it's doing its thing. add the environmental variables to the bottom of your .bashrc in your home directory of msys. I don't know for sure if this will work, because I haven't installed the ps2 sdk and toolchain to msys before. I have it installed on linux atm, because in my experience, playstation consoles especially are easier to manage in linux.
 
Ok thanks I didn't know the windows apps shared ps2sdk source code for the ps2 elf header even though your not actually building a ps2 elf just console .exe
I did have an old installation of devkitpro & programmers notepad for gamecube & wii dol's that also used it's own elf.h header file so I guess a different version is used for each system you compile for regardless if your compiling for windows/linux or the actual linux based game machine.
 
I
this message is actually for @Kevstah2004 in this thread: https://www.psx-place.com/threads/compiling-windows-app-utility-sources.48758/

the elf.h you mentioned is part of the ps2 sdk, so install that first of all. it takes a while to compile for most people, so leave your computer be while it's doing its thing. add the environmental variables to the bottom of your .bashrc in your home directory of msys. I don't know for sure if this will work, because I haven't installed the ps2 sdk and toolchain to msys before. I have it installed on linux atm, because in my experience, playstation consoles especially are easier to manage in linux.

https://www.ps2-home.com/forum/viewtopic.php?t=1479
I got as far as step 3: III with the msys install using 2022-10-28 ,trying to bring up the terminal/command prompt again after runnin the first updates results in a
KERNEL32 error
about precise system time, no entrypoint in mintty.exe
 

Attachments

  • IMG_20251021_182631~2.jpg
    IMG_20251021_182631~2.jpg
    117.4 KB · Views: 36
Back
Top