What he did is perfectly acceptable in C as long as you only do the one line statement after it.What are you trying to do?
I know I'm new, but your IF syntax looks wrong... if () {};
What he did is perfectly acceptable in C as long as you only do the one line statement after it.What are you trying to do?
I know I'm new, but your IF syntax looks wrong... if () {};
What he did is perfectly acceptable in C as long as you only do the one line statement after it.
Yes, I just added "OSFatal("Buffer allocated")" to be sure the problem didn't come from MEMFreeToDefaultHeap.Keep in mind that it can never get to MEMFreeToDefaultHeap.
Yes, I just added "OSFatal("Buffer allocated")" to be sure the problem didn't come from MEMFreeToDefaultHeap.
I found in loadiine code that 26083 kB of data can be stored between 0xBE609EFC and 0xBFF82BC0 on 5.4.0. I don't know if this works for 5.5.x... i'll give a try tonight.
Ok so here is the thing. I have a data array containing RGB8 run-length1 encoded data. It's 544px * 600px image. This data is statically allocated within my elf binary.Why, what do you wanna store there?
You're probably better off making your own format than doing it like that, loadiine-gx2 already has support for png if you really wanted to borrow some code, or you can just write directly to the framebufferOk so here is the thing. I have a data array containing RGB8 run-length1 encoded data. It's 544px * 600px image. This data is statically allocated within my elf binary.
To decode the image data, i implemented a function that returns an unsigned char buffer (containing the decoded data). So i need to dynamically allocate at least 979 200 bytes for my buffer : 544 * 600 * 3 (each pixel is 3 bytes long for RGB).
Ok, almost 1 Mb is a lot for just one image but i wouldn't have thought this could be a problem...
Yeah, i found a solution to write directly to the framebuffer. But i wanted to save the pixel data in my globals because i need to scan the image (which is a map) several times in my program. I found an alternate solution to my problem.You're probably better off making your own format than doing it like that, loadiine-gx2 already has support for png if you really wanted to borrow some code, or you can just write directly to the framebuffer
I'm with ya, currently documenting all the AX functions and then I'll attempt something with graphics, never done it before so it'll be a nightmare at firstYeah, i found a solution to write directly to the framebuffer. But i wanted to save the pixel data in my globals because i need to scan the image (which is a map) several times in my program. I found an alternate solution to my problem.
Thank you for your help anyway
As for GX2 library, i tried to make something out of this but i'm not used to all these shaders, textures and vertex concepts... and c++! I need to document myself.
Sorry for the bump, but I'm determined to get this working!
This is my current server structure:
boot.elf
elfloader.mp4
/payload
-----code550.bin
-----elfloader.bin
-----wiiu-browserhax_common.php
-----wiiuhaxx.php
-----wiiuhax_common_cfg.php
-----wiiuhaxx_loader.bin
-----wiiuhaxx_rop_sysver_532.php
-----wiiuhaxx_rop_sysver_550.php
I've tried to use 2 methods to try and get the elf loader to work properly,
The first method was to launch elfloader.mp4 (that I pre-compiled), but it just told me it couldn't find a usable URL... :/
The second method was to try and launch the mp4 through http://192.168.1.69/payload/wiiuhaxx.php?sysver=550 but that was just freezing.
Is there something I'm doing wrong here?
Same for me, just set 2 boot.elf
Just like this :
boot.elf
elfloader.mp4
/payload
-----boot.elf
-----code550.bin
-----elfloader.bin
-----wiiu-browserhax_common.php
-----wiiuhaxx.php
-----wiiuhax_common_cfg.php
-----wiiuhaxx_loader.bin
-----wiiuhaxx_rop_sysver_532.php
-----wiiuhaxx_rop_sysver_550.php
And it should work, launch it from "payload/wiiuhaxx.php?sysver=550"
Uh-oh, that didn't work.Same for me, just set 2 boot.elf
Just like this :
boot.elf
elfloader.mp4
/payload
-----boot.elf
-----code550.bin
-----elfloader.bin
-----wiiu-browserhax_common.php
-----wiiuhaxx.php
-----wiiuhax_common_cfg.php
-----wiiuhaxx_loader.bin
-----wiiuhaxx_rop_sysver_532.php
-----wiiuhaxx_rop_sysver_550.php
And it should work, launch it from "payload/wiiuhaxx.php?sysver=550"
--------------------- MERGED ---------------------------
But the two boot.elf should be the same. I don't why does it fix it but it works.
Uh-oh, that didn't work.
Also, wiiuhaxx.php?sysver=550 is still freezing me on the mp4 player screen.
No, that still didn't work.It works for me. Try with only one boot.elf in the /payload
ok but you have to put the MP4 in the /payloadNo, that still didn't work.
I was executing through the mp4 build by the way, since the URL method isn't working for me at the moment...
Try with 2 "boot.elf" and with the ".mp4" in the "/payload"ok but you have to put the MP4 in the /payload
okay, I will try that. Thanks for the help by the way.ok but you have to put the MP4 in the /payload
--------------------- MERGED ---------------------------
Try with 2 "boot.elf" and with the ".mp4" in the "/payload"
You're welcome, but why with the .php? it doesn't work ? Did you have an error or something ? (If you try to load the RPC you should wait like 15-20 seconds, because the elf didn't find any rpc servers and it should print a something as an OSFatal)okay, I will try that. Thanks for the help by the way.
HEH, IT WORKED!!!You're welcome, but why with the .php? it doesn't work ? Did you have an error or something ? (If you try to load the RPC you should wait like 15-20 seconds, because the elf didn't find any rpc servers and it should print a something as an OSFatal)
HEH, IT WORKED!!!
THANKS SO MUCH!!
Listening...
Connected by ('192.168.1.85', 4964)
>>> rpc.read32(0xF0000000, 9)
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
rpc.read32(0xF0000000, 9)
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
>>>