So apparently I need, Devkitarm, ctrulib, xerpi's portlibs, xerpi's sf2d and xerpi's sftd.
How do I install those? I have Devkit and I believe Ctrulib comes with it but how do I install the Xerpi stuff?
Well atm in tryna install zlib since for freetype to be installed and i think another it needs it to be installed first. The error is to do ./configure before make and when I do that: $ ./configure
Checking for gcc...
Compiler error reporting is too harsh for ./configure (perhaps remove -Werror).
** ./configure aborting.
did you install mingw and checked if it's in your path?
your path should have:
- c:\devkitPro\devkitARM\bin\;
- c:\MinGW\bin\;
Also check and install this:
- compile and install ctrulib from smea (make install)
- compile and install citrus (make install) (maybe an edit is needed in the \citrus\source\libkhax\khaxinit.cpp)(see attached file below, remove the .txt and overwrite the original, recompile, should work fine now)
- compile and install citro3D (make install)
- compile and install sftdlib (make install)
- compile and install sf2dlib (make install)
- compile and install portlibs and zlib first, then the rest
make zlib
make install
make freetype
make install
etc...
If checked and you still get the gcc error, then install sygwin with develop option to install (warning install can take up to 45 minutes)
did you install mingw and checked if it's in your path?
your path should have:
- c:\devkitPro\devkitARM\bin\;
- c:\MinGW\bin\;
Also check and install this:
- compile and install ctrulib from smea (make install)
- compile and install citrus (make install) (maybe an edit is needed in the \citrus\source\libkhax\khaxinit.cpp)(see attached file below, remove the .txt and overwrite the original, recompile, should work fine now)
- compile and install citro3D (make install)
- compile and install sftdlib (make install)
- compile and install sf2dlib (make install)
- compile and install portlibs and zlib first, then the rest
make zlib
make install
make freetype
make install
etc...
If checked and you still get the gcc error, then install sygwin with develop option to install (warning install can take up to 45 minutes)
here's a batch script to build portlibs tools assuming you have your build enviroment correct:
It's not Xerpi's versions of portlibs but @TheCruel , but the also work fine to build JKSM
(Remove the .txt from the end)
.
.
And here's a batch script to build JKSM (modify to build your fork)
Code:
@echo off
cls
%~d0
cd %~dp0
Title = Building JKSM...
if exist "JKSM" (
echo Making a backup of your current JKSM folder
xcopy "%~dp0\JKSM\*" "%~dp0\Backups_Compiles\Backup_JKSM" /e /i /y >nul
cd JKSM
Title = Building JKSM ^(Update^)...
echo Updating repo...
git pull origin master
git submodule update --init --recursive
) else (
Title = Building JKSM ^(Clone^)...
echo Cloning repo...
git clone --recursive https://github.com/J-D-K/JKSM.git
cd JKSM
)
echo Building...
Title = Building JKSM ^(Clean^)...
make clean
Title = Building JKSM ^(Release^)...
make cia
Title = Building JKSM ^(Done^)
echo.
echo ####################################
color A
cd %~dp0
echo Done. Files are in the "JKSM" folder. && echo Press any key to continue ...
Pause >nul
exit
here's a batch script to build portlibs tools assuming you have your build enviroment correct:
It's not Xerpi's versions of portlibs but @TheCruel , but the also work fine to build JKSM
(Remove the .txt from the end)
.
.
And here's a batch script to build JKSM (modify to build your fork)
Code:
@echo off
cls
%~d0
cd %~dp0
Title = Building JKSM...
if exist "JKSM" (
echo Making a backup of your current JKSM folder
xcopy "%~dp0\JKSM\*" "%~dp0\Backups_Compiles\Backup_JKSM" /e /i /y >nul
cd JKSM
Title = Building JKSM ^(Update^)...
echo Updating repo...
git pull origin master
git submodule update --init --recursive
) else (
Title = Building JKSM ^(Clone^)...
echo Cloning repo...
git clone --recursive https://github.com/J-D-K/JKSM.git
cd JKSM
)
echo Building...
Title = Building JKSM ^(Clean^)...
make clean
Title = Building JKSM ^(Release^)...
make cia
Title = Building JKSM ^(Done^)
echo.
echo ####################################
color A
cd %~dp0
echo Done. Files are in the "JKSM" folder. && echo Press any key to continue ...
Pause >nul
exit
Do I open it in Msys?
cause with windows:
Cloning repo...
'git' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
Installing...
make: *** No rule to make target `clean'. Stop.
make: *** No rule to make target `freetype'. Stop.
make: *** No rule to make target `install'. Stop.
##################################################################
Done. Files are in the "3ds_portlibs" folder and installed to "\devkitPro\portlibs\".
Press any key to continue ...
I opened it in MSys:
c:/users/Justin/Desktop/Thing.bat: line 3: fg: no job control
c:/users/Justin/Desktop/Thing.bat: line 4: cd: %~dp0: No such file or directory
c:/users/Justin/Desktop/Thing.bat: line 5: Title: command not found
c:/users/Justin/Desktop/Thing.bat: line 6: syntax error near unexpected token `('
c:/users/Justin/Desktop/Thing.bat: line 6: `if exist "JKSM" ('
Btw I wasnt on about the Bat files when i said "Can I ask, Where am I meant to put the JKSM source files and where am I meant to be putting these lib folders?"
I installed git from: https://git-scm.com/download/win and the JKSM git errors dont happen. But two errors I still have on CMD are: Building...
clean ...
make[1]: /c/Users/Justin/Desktop/Homebrew: No such file or directory
make[1]: *** No rule to make target `/c/Users/Justin/Desktop/Homebrew'. Stop.
make: *** [build] Error 2
####################################
Done. Files are in the "JKSM" folder.
Press any key to continue ...
Ok its having an issue compiling with the cia target.
obviously its because I dont have all the libs installed. I try to use the bat file you gave me but it gives me an error. It seems like they are encrypted 2 times as a tar.* file and it doesnt extract twice making it try to make file on it but obviously it cant cause its not extracted
Ok so I found out it is because I dont have GCC/CC or something. I get an error saying
checking for i686-pc-mingw32-gcc... no
checking for gcc... no
checking for cc... no
configure: error: cannot find native C compiler
Out of curiosity, I would like to modify the source too. What are you modifying? If I can get mine to compile I can do yours or share my setup if you'd like.
Out of curiosity, I would like to modify the source too. What are you modifying? If I can get mine to compile I can do yours or share my setup if you'd like.
Ok I got it to start compiling JKSM but for some reason once it starts converting the 3dsx to a .cia it just errors saying "makerom command not found" :/
Hmm I moved my JKSV folder to: sd:/homebrew/3ds/JKSV like stated in the Readme, But its still not booting.
Can someone compile the default source here: https://github.com/J-D-K/JKSM and tell me if you get the same issue?
Sony made a shocking announcement today, revealing that the company plans to move away from physical game releases in the future. Citing claims of how the industry is...
Last month we got confirmation of a new model of Switch 2 to better comply with upcoming EU regulations. With the legislation set to come into effect in February of...
The end has come for the PlayStation 3 and the PlayStation Vita. After supporting the PSN Store on the PS3 and PS Vita since 2006 and 2011 respectively, Sony has...
Tired of waiting for Game Freak to bring Pokemon Emerald to modern platforms? We've got you covered with a brand new port in the works. Currently available on GitHub...
For fans of Sinnoh, the pickings are slim. If you want the best experience you're left deciding between the updated region in Platinum, or the somewhat controversial...
The Switch 2 has been out for a year now, but you shouldn't count the original system out yet! Released a few days ago, popular PS2 emulator NetherSX2 has found its...
Ocarina of Time is back in style as the upcoming Switch 2 remake looms on the horizon. But what's a fan of the game to do over the next few months? If you've been...
Saber Interactive, in collaboration with Universal Products & Experiences, revealed a new gameplay trailer for Turok: Origins. This new entry to the dino-hunting...
The Pokemon series is known for its vast assortment of spin off titles, with the majority being well-received. We've had an assortment of Mystery Dungeon titles, a...
Hot on the heels of their NetherSX2 port, @Nagaa is back with another hugely anticipated release: a Switch port of the popular Wii U emulator Cemu. We've got more...
Sony made a shocking announcement today, revealing that the company plans to move away from physical game releases in the future. Citing claims of how the industry is...
Last month we got confirmation of a new model of Switch 2 to better comply with upcoming EU regulations. With the legislation set to come into effect in February of...
The end has come for the PlayStation 3 and the PlayStation Vita. After supporting the PSN Store on the PS3 and PS Vita since 2006 and 2011 respectively, Sony has...
Ocarina of Time is back in style as the upcoming Switch 2 remake looms on the horizon. But what's a fan of the game to do over the next few months? If you've been...
Tired of waiting for Game Freak to bring Pokemon Emerald to modern platforms? We've got you covered with a brand new port in the works. Currently available on GitHub...
Amidst news of layoffs and cancellations in the wake of Xbox's larger changes, Bethesda has today come out with a statement discussing their active projects. In this...
For fans of Sinnoh, the pickings are slim. If you want the best experience you're left deciding between the updated region in Platinum, or the somewhat controversial...
Announced today during the Octopath Traveler 8th Anniversary live stream, it's been confirmed that both the first game and its sequel will be launching on the Switch...
In this time of everything costing more a year after it's released, it's nice to see some things sticking to the old ways. Capcom have today announced that the latest...
Saber Interactive, in collaboration with Universal Products & Experiences, revealed a new gameplay trailer for Turok: Origins. This new entry to the dino-hunting...