Hacking RELEASE Painless Linux - it's Linux, but painless (Windows, Mac OS, Linux & Android)

  • Thread starter Thread starter natinusala
  • Start date Start date
  • Views Views 81,373
  • Replies Replies 365
  • Likes Likes 50
maybe both sides 32GB if you want to use Lakka for Games

Nothing newer than N64, and my collection of ROMs for those systems are small enough to fit fine on a 16GB partition.

--------------------- MERGED ---------------------------

Another question, does the order of partitions matter? @natinusala your input would be great as well, if you're available.
 
Nothing newer than N64, and my collection of ROMs for those systems are small enough to fit fine on a 16GB partition.

--------------------- MERGED ---------------------------

Another question, does the order of partitions matter? @natinusala your input would be great as well, if you're available.

so its fine to fit , i was just asking if you want to play psp or psx
 
Nothing newer than N64, and my collection of ROMs for those systems are small enough to fit fine on a 16GB partition.

--------------------- MERGED ---------------------------

Another question, does the order of partitions matter? @natinusala your input would be great as well, if you're available.

here i used the first partition as FAT32 and the Second as Ext 4

--------------------- MERGED ---------------------------

@Natehaxx Do you have a guide as to how to go about writing an image to a specific partition rather than the entire SD card?

Are you using Windows ? if yes you could join your SD Card with VMWare and simply copy the image to your Ext4 Drive , on osx i dont know how it would work out
 
Another question, does the order of partitions matter? @natinusala your input would be great as well, if you're available.

It does, yes. The first partition needs to be FAT32 for both Horizon and Painless Linux (though it can be changed). The storage partition needs to be ext4 for the storage. See boot.txt in Lakka source if you want to change which partition to use as storage. Remember, it will be resized to fit the entire card (can be disable tho).

@Natehaxx Do you have a guide as to how to go about writing an image to a specific partition rather than the entire SD card?

An image contains multiple partitions. You can't do that.
 
It does, yes. The first partition needs to be FAT32 for both Horizon and Painless Linux (though it can be changed). The storage partition needs to be ext4 for the storage. See boot.txt in Lakka source if you want to change which partition to use as storage. Remember, it will be resized to fit the entire card (can be disable tho).



An image contains multiple partitions. You can't do that.

oh okay i was thinking you could force the image to one single drive
 
An image contains multiple partitions. You can't do that.

So let me get this straight before I do anything. I format my SD card so it's empty and then write the image, which will automatically take care of setting up the two separate partitions? And can I specify that I want the ext4 partition to be smaller?
 
Hey,

Whenever I start the bat script, I see the screen with the Linux penguins for a few seconds on my Switch, then it does something and then it shows a black screen. I already tried to re-run the script, but it does the same thing.

PS: I'm using a 128GB SD Card, maybe that's the cause?
 
Last edited by DarkOrb,
is there a way to put my sd card back to normal or stays the image on it forever?
 
Last edited by Nudu,
Any luck at all on getting Dolphin to compile for Lakka?

--------------------- MERGED ---------------------------

what size microsd should i get for this?

Depends greatly on what you want to put on it. I think it needs to be at least 8gb but if you want to do anything 16gb is probably better.

--------------------- MERGED ---------------------------

So let me get this straight before I do anything. I format my SD card so it's empty and then write the image, which will automatically take care of setting up the two separate partitions? And can I specify that I want the ext4 partition to be smaller?

It writes two partitions and then expands the ext4 to fill the SD card.
 
The core doesn't build, the ARM64 JIT has build errors that I don't know how to fix
That’s sad...hopefully now that you’ve done so much heavy lifting to get retroarch working it will motivate someone else to port Dolphin. N64 on switch is awesome as well.

I’d be willing to put in some work on it, but if you don’t know how to fix it then I doubt I’m the guy to do it...
 
That’s sad...hopefully now that you’ve done so much heavy lifting to get retroarch working it will motivate someone else to port Dolphin

Let's hope so !
I’d be willing to put in some work on it, but if you don’t know how to fix it then I doubt I’m the guy to do it...
Well you could give it a shot - either get the core to build for arm64 (with the JIT ofc) or get the standalone to build (dependenciescompilation issues) + the launcher core (trivial).
 
Which build script is used for that? libretro-build-switch.sh? libretro-build-android-arm64_v8a.sh?

Dolphin isn't in libretro-super but that's the idea. The command would be something like "platform=arm64 make -C /Source/Core/DolphinLibretro" from this repo https://github.com/libretro/dolphin

You'll have to edit the makefile and the rules to :
  • accept arm64 arch
  • remove bad compiler flags (like -msse2)
  • add the arm64jit
See this file : https://github.com/lakka-switch/Lak...tro/ppsspp/patches/ppsspp-arm-arm64-fix.patch

It's the similar work I've done on PPSSPP.
 
Last edited by natinusala,

Site & Scene News

Popular threads in this forum