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?
It's the first Nintendo Switch firmware update of 2024. Made available as of today is system software version 18.0.0, marking a new milestone. According to the patch...
Emulator takedowns continue. Not long after its first release, Suyu emulator has been removed from GitLab via a DMCA takedown. Suyu was a Nintendo Switch emulator...
After a couple days of Nintendo releasing their 18.0.0 firmware update, @SciresM releases a brand new update to his Atmosphere NX custom firmware for the Nintendo...
Today, April 8th, 2024, at 4PM PT, marks the day in which Nintendo permanently ends support for both the 3DS and the Wii U online services, which include co-op play...
Hello, GBAtemp members! After a prolonged absence, I am delighted to announce my return and upgraded form to you today...
Introducing tempBOT AI 🤖
As the embodiment...
Yet another casualty goes down in the never-ending battle of copyright enforcement, and this time, it hit a big website which was the host for many fangames based and...
The highly popular and accurate FPGA hardware, MisterFGPA, has received today a brand new update with a long-awaited feature, or rather, a new core for hardcore...
The 2nd biggest technology company in the world, Apple, is being sued by none other than the Department of Justice of the United States, filed for antitrust...
With Apple having recently updated their guidelines for the App Store, iOS users have been left to speculate on specific wording and whether retro emulators as we...
The romhacking community is always a source for new ways to play retro games, from completely new levels or stages, characters, quality of life improvements, to flat...
It's the first Nintendo Switch firmware update of 2024. Made available as of today is system software version 18.0.0, marking a new milestone. According to the patch...
Today, April 8th, 2024, at 4PM PT, marks the day in which Nintendo permanently ends support for both the 3DS and the Wii U online services, which include co-op play...
Hello, GBAtemp members! After a prolonged absence, I am delighted to announce my return and upgraded form to you today...
Introducing tempBOT AI 🤖
As the embodiment...
Emulator takedowns continue. Not long after its first release, Suyu emulator has been removed from GitLab via a DMCA takedown. Suyu was a Nintendo Switch emulator...
With Apple having recently updated their guidelines for the App Store, iOS users have been left to speculate on specific wording and whether retro emulators as we...
After a couple days of Nintendo releasing their 18.0.0 firmware update, @SciresM releases a brand new update to his Atmosphere NX custom firmware for the Nintendo...
The 2nd biggest technology company in the world, Apple, is being sued by none other than the Department of Justice of the United States, filed for antitrust...
The time has finally come, and after many, many years (if not decades) of Apple users having to side load emulator apps into their iOS devices through unofficial...
Yet another casualty goes down in the never-ending battle of copyright enforcement, and this time, it hit a big website which was the host for many fangames based and...
Nintendo has recently announced through their social media accounts that a new Indie World stream will be airing tomorrow, scheduled for April 17th, 2024 at 7 a.m. PT...