logs archiveBotHelp.net / Freenode / #3dsdev / 2015 / September / 2 / 6
yuriks
yeah, (un)fortunately
Lectem
seems it passes directly the address of the embedded bin
no alignment nothing
cool
yuriks:did you manage to upload some bins ? is_loaded is set to false :/
yuriks
Lectem: is_loaded? where
and no, never tried, I mostly analyzed them
Lectem
the last arg of DSP_LoadComponent
seems it doesnt want to accept my binary
yuriks
have you unloaded any previous ones first?
Lectem
its done by the homebrew menu
guess it doesnt hurt to call UnloadComponent
oh damn
it worked !
yuriks
ehehehe
Lectem
but wth
yuriks
wonder if NH isn't unloading it correctly
hey
I wonder if it's any faster after you do that
Lectem
NH doesnt
https://github.com/yellows8/oot3dhax/commit/df2cd111e9c351c8e6fa2afcbddb534d51b770fe
it only calls shutdown
yuriks
lol, yay buggy DSP
these ctrulib function are really infuriating in how they randomly take u8* or u32* pointers for opaque data, never void*
StapleButter
ctrulib: type lotto
Lectem
i actually prefer the u8* approach
ABigDeal
then you have ugly casting all the time
Lectem
but the main problem is that it uses u32 as type for address arguments
endrift
I agree with yuriks
yuriks
asdfasdfasdf
it's using u32* as input for a buffer that must be of u16's
Lectem
ah, that
Subv
yuriks: DrawElements? i fell for that too
yuriks
yes
well, I was fully aware that the 3ds couldn't take u32 indices from the start
Subv
i didn't, went through a lot of frustration
yuriks
bah, AAPCS doesn't pack pair of 16-bit parameters into a register :/
profi200
endrift: vaguerant maybe told you already. Was trying to get an exception dump for mGBA but no exception is triggered if it freezes. It's just the emu which freezes.
Btw: Why don't you want to connect to the EFnet? It's unstable, sure but most people are there.
yuriks
just noticed we have around half a many people here than in efnet. Has the efnet channel been shrinking lately?
endrift
profi200: I don't like EFNet
but yeah vaguerant told me
EFnet is...interesting
profi200: I'm betting the bug goes away when the 3DS port dumps sfd2lib
profi200
What do you not like on it? (Who does not like the EFNet? :p (irony)
yuriks
endrift: this is what I spent the last hour or so of my day yesterday on: https://gist.github.com/yuriks/2a5a5aa4878206e39589
all your fault :V
profi200
What was the reason you used sf2dlib anyway if you can just display transfer into the currently unused framebuffer and swap it?
endrift
profi200: to make text rendering easy for the menu
also afaik I can't just display transfer due to the fact that I'd need to rotate first
which would be a huge time sink
profi200
Ah.
endrift
I'd want to do that in hardware
I also want to be able to scale it on the fly at some point
So...yeah, you might be able to see the problem
yuriks
endrift: btw, I don't really feel like it, so *probably* not touching mgba today, maybe I'll get it running tomorrow
endrift
ok
no problem
profi200
Where do you rotate it? draw_texture_scale_blend has no option for rotating.
endrift
profi200: the pixels go in horizontally, then GX tiles them, then the drawing routines translate it for me, no?
or does the GX tiling rotate it?
I've had some seriously bad luck trying to do it directly with GX
but maybe I've just been doing it wrong
Subv
i wonder if the pica has some command to rotate textures
endrift
it looked like it was still rotated when I did it directly with a GX transfer
yuriks
Subv: it's called "texture interpolation" :V
endrift: profi200: sf2d probably does it in the projection matrix
profi200
display transfer can do both tiled and untiled iirc.
endrift
that makes sense
tiling isn't the problem
yuriks
(which is the obvious way to do it if you don't want users to have to think sideways lol)
endrift
the problem is the rendering direction
yuriks
display transfers can't rotate
endrift
http://i.imgur.com/kYIuPuB.jpg I don't want this again :(
profi200
lol
2 player mode ftw
Subv
haha
endrift
haha yeah
there's only one GBA game with local multiplayer
much like there's a Vita game with local multiplayer (Divekick)
it's WarioWare, btw
yuriks
2-GBA link simulation is within our grasp (lol right)
endrift
nooo
not enough buttons ;)
Subv
touchscreen buttons!
endrift
fu*k no
haha
vaguerant
Oh yeah, I remember that vacuum game from WarioWare.
profi200
idle loops seem to be detected better now. Was running a few games and especially the Pokemon games run better now. It still has little inaccuracies or something but runs smooth otherwise.
endrift
yep, I made an improvement to that yesterday
profi200
And well, the sound is crap. But that's because csnd is sh*t.
endrift
er, two days ago
yeah I wish I could figure out how to make CSND work better :(
yuriks
how CPU intensive is syncing sound with CSND?
endrift
I want to fix that + the crashing and then release a new alpha
Lectem
Good question
I need csnd sound sync for my player too
endrift
I was assuming that audio resampling was going on on the DSP?
Lectem
It is
yuriks
it can do a few different sample rates
« prev 1 2 3 4 5 6 7 8 next »