Closed tttefan2005 closed 1 year ago
https://github.com/headshot2017/sm64-san-andreas/wiki/Compiling-the-plugin#setting-up-codeblocks-and-mingw-w64 you need to make sure you downloaded mingw, extracted the "mingw32" folder to C:\, and set up the compiler settings as the wiki page shows you
i did extract the folder to c but didnt work
and the compiler settings > toolchain executables? did you make sure the install directory is "C:\mingw32"? did you rename the compiler exes in it? like the C compiler must be "gcc.exe" instead of "mingw32-gcc.exe"? send a screenshot of the toolchain executables tab
i did it now it works however heres another problem C:\plugin-sdk-master\shared\Other.h|105|error: no matching function for call to 'stat::stat(const char&, stat)'|
you forgot this step
heres another one ||=== Build: GTASA Release in sm64-san-andreas (compiler: GNU GCC Compiler) ===| ld.exe||cannot find -lplugin| ||error: ld returned 1 exit status| ||=== Build failed: 2 error(s), 0 warning(s) (0 minute(s), 5 second(s)) ===|
you have to finish building plugin_sa if you haven't, also, you need to double-check the build target you used for all of them; if you compiled plugin_sa with the "Debug" target, all the others must also be with the Debug target
everytime when i open the game it freezes i think its beacsue of the libgcc_s_dw2-1.dll and libwinpthread-1.dll files
are you playing the steam version of the game? (the original steam release, not definitive edition?)
Actually i was playing the non steam original version of the game
if you go into your gta sa scripts folder do you see two sm64 .asi files?
maybe send a screenshot too just in case
I only have one mario 64 así file
go to this site, upload your gta sa save file (My Documents > GTA San Andreas User Files > "GTASAsf3.b") and show me what the "Binary/EXE Version" says
if you don't have a save file, make a new one in the game but take out the sm64 asi first so it doesn't freeze
i already have save files
then upload your save file and show me the binary/exe version through the link i posted above
i uploaded it and heres the screenshot
ok so it's v1.0, what if you delete every .dll and .asi file in the scripts folder, then build plugin_sa, libsm64 and sm64-san-andreas, all three with "Debug" target then try starting it again?
i tried with debug but still dosent work
it still freezes
ok what if you delete the asi and dll files again then try with Release on all of them? kinda grasping at straws here
Im afriad it will casud the same freeze
Now it works only i have to do is rename the rom file to sm64.us.z64
good to hear you fixed it! yes, just rename the rom, and once you start the game you should hear the sm64 star sound
this Project/Target: "plugin_sa - Release": The compiler's setup (GNU GCC Compiler) is invalid, so Code::Blocks cannot find/run the compiler. Probably the toolchain path within the compiler options is not setup correctly?! Do you have a compiler installed? Goto "Settings->Compiler...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup.
Tried to run compiler executable 'C:\mingw32/bin/gcc.exe', but failed!
Skipping... Nothing to be done (all items are up-to-date).