logs archiveBotHelp.net / Freenode / #3dsdev / 2015 / September / 6 / 5
profi200
Wikipedia links to this benchmark: http://openbenchmarking.org/result/1404144-KH-CLANG359076
vaguerant
Hey, PokeMini 3DS source is up: https://github.com/nop90/Pokemini
It does look like the scaling is being done on the CPU.
I guess that does make sense, by default there's some fancy LCD filtering going on to give the pixels visible borders and such.
StapleButter
does that have all the code?
PokeMini_EmulateFrame() isn't declared, or the github search didn't find it
vaguerant
Huh, weird.
I was gonna try building it later with 3* scale re-added, nop90 cut it because the original 3DS can't maintain full speed at 3* scale.
StapleButter
well, use the GPU to do the scaling
turn texture filtering off to get good pixels
profi200
Without filtering it looks like mGBAs scaling :>
Maybe it's better to replace sf2dlib with own GPU code at some point. Even better use the GPU for rendering instead of the CPU. That will take some effort however.
vaguerant
StapleButter, yeah, that's an option, if you don't want the "old-LCD-style" filter PokeMini implements.
endrift
profi200: that's what yuriks has been working on
also mGBA is slower with clang
or at least, it was
idk if it is with newest clang
profi200
It seems it depends on how you program things. Looking at the net clang optimizes better if you have no idea about optimizations but if you optimize your code by hand gcc kicks clangs ass.
endrift
well then
I know gcc 4.8 was a huge improvement on ARM
profi200
But clang got better looking at benchmarks from different versions. Let's see how it goes over the next years.
endrift
when did clang 3.7 come out?
profi200
The 1. this month.
endrift
huh, okay
neat
granted I said the same thing about gcc 5.2 last week
profi200
http://llvm.org
endrift
one of these days they'll fix my lldb bugs
I have I think two really bad ones?
maybe more
I know they're in radar
dunno about other bug trackers
but they were too busy adding ~swift support~
so the fact that you can't do "print id" got ignored
Lectem
mmhhh, maybe I should add makerom and bannertool to http://3dbrew.org/wiki/Homebrew_Libraries_and_Tools
endrift
Lectem you'll need them for mGBA
since I now make a CIA
unfortunately the CIA is fu*king slow
but w/e
Lectem
yeah I saw it, I'm gonna add cia support in my scripts
I just had been too lazy to implement it x)
https://github.com/Lectem/3ds-cmake/issues/5 ^^
profi200
endrift: makerom is not very fast unfortunately. It takes a lot of time for compression.
endrift
no I mean
when it's running
it's slower than the ninjhax 2 version
because smea is magic
profi200
That's normal on N3DS.
endrift
I figured
I don't know why, but I gathered that that was the case
profi200
No one knows where that speed boost is coming from.
endrift
that's why I called smea magic
:P
profi200
Not even he knows xD
endrift
I know
he knoweth not what incantations he speaketh!
Lectem
profi200 should I specify your name for makerom ? since 3dsguy isnt maintaining it anymore
profi200
Lectem: Better use the name of the original author and mention that he stopped working on it. I'm just the new maintainer.
Have not really worked on it in months.
Would be better to rewrite ctrtool and makerom.
Both are very cluttered :|
endrift
what does ctrtool do?
profi200
It does the opposite. It parses CXI/CCI/CIA and other formats and can extract them.
smea
<endrift> unfortunately the CIA is fu*king slow <= on n3ds too right ?
endrift
ah cool
that's what I've heard
I don't have a way to inject CIAs on my n3ds
smea
anyone tried it on n3ds with all APT stuff disabled
profi200
smea: Yes, tested that already. No speedup :|
smea
fun
i guess i really am magic
profi200
Not without APT however.
smea
oh
well if you have a minute can you ?
endrift
I tried to get the home button working on the CIA but it kept doing weird sh*t
profi200
But it would be stuck on the 3DS loading screen if i don't init APT.
endrift
apt hooks didn't seem to work for some reason
smea
i guess that's true
endrift
either that or it was injecting the wrong version of the CIA
because stuff that should have been changing wasn't
like I couldn't quit the emulator
smea
then it sounds like you have a serious emulator addiction
endrift
smea what was your first clue
profi200
Ninjhax bypasses that loading screen.
endrift: Iirc you don't have that aptMainLoop() stuff in your main loop.
endrift
profi200: yeah, that's because it's in my git stash
because I couldn't get it working properly
so I left it out entirely when I released the CIA
so it wouldn't like...softlock your 3DS
Lectem
uh, msvc 14 doesnt support variable length arrays ?
duh
cant compile bannertool because of that ahah, i'll switch to gcc
profi200
Don't use that compiler. It's not standard conform.
yuriks
Lectem: VS doesn't have full support for C99, they don't really care about it
Lectem
but its cpp here *
*.*
profi200
endrift: Without aptMainLoop() return to home menu, resume, sleep mode and more are broken.
endrift
profi200: I know
What I was saying
is that when I tried to add that to get things working
« prev 1 2 3 4 5 6 next »