4dsdev
Views: 1,609,369 Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search 11-22-24 12:25 AM
Guest:

0 users reading [help] Building Smealum's Aperture Science 3DS | 1 bot

Main - Homebrew discussion - [help] Building Smealum's Aperture Science 3DS Hide post layouts | New reply


Terra_Byte_Tech
Posted on 10-10-15 04:29 AM Link | #472
So, me and many others online have been having trouble getting a working build of portal3ds. Just look up portal3ds download and you'll find plenty of forum posts and reddit threads related to the subject. A few people have managed to build it successfully and put it online but they have failed to say how.

I personally wish to compile it from source because i have the o3ds and need to change the button bindings to work properly on my system (the main branch requires the use of the secondary bumpers in order to jump and pick up objects).

My primary experience in coding is primarily in python but i know enough about C to change the button bindings myself. The main problem is that it fails to compile with some errors that i don't understand. I believe I have all the necessary libraries installed.

Here's the compile log (windows): http://www.pasteall.org/61593

Thanks in advance. :)

pimathbrainiac
Posted on 10-10-15 05:11 PM (rev. 3 of 10-10-15 05:13 PM) Link | #474
Do you have the latest version of ctrlib installed, or the one that comes with devkitpro?

(there are a lot of implicit declarations, which is why I say this)

EDIT: The error also has to do with the sound stuff. I suggest you clone the ctrlib repo, make, and make install the library from that.

profi200
Posted on 10-10-15 05:15 PM Link | #475
portal3DS relies on a pretty old version of ctrulib. That's all. So it either needs to be updated or go back to a ctrulib commit from the same timeframe as the last update of portal3DS.

pimathbrainiac
Posted on 10-10-15 05:18 PM Link | #476
Aug 18 is the last commit for portal3ds. Get the c49d5f49c2ac9818aa3ba66a096de3b36c11d3fd commit of ctrulib, I guess, since that's from the 18th

Terra_Byte_Tech
Posted on 10-10-15 09:05 PM (rev. 2 of 10-12-15 06:19 AM) Link | #477
Posted by pimathbrainiac
Do you have the latest version of ctrlib installed, or the one that comes with devkitpro?

(there are a lot of implicit declarations, which is why I say this)

EDIT: The error also has to do with the sound stuff. I suggest you clone the ctrlib repo, make, and make install the library from that.


I installed the latest ctrlib from smea's github after I set up devkitarm.

Posted by profi200

Posted by pimathbrainiac


Is there an easy way to switch between the two versions of ctrlib as i need? (I will of course need to switch back to the latest version in order to build future projects.)

profi200
Posted on 10-10-15 09:13 PM (rev. 2 of 10-10-15 09:14 PM) Link | #478
git checkout [commit number]

Terra_Byte_Tech
Posted on 10-11-15 05:45 PM (rev. 2 of 10-12-15 06:25 AM) Link | #484
Posted by profi200
git checkout [commit number]

I dont understand.

Terra_Byte_Tech
Posted on 10-12-15 06:24 AM Link | #490
Okay, it built successfully. Now ive got a new problem...
When loading a map it complains that it couldn't create the physics thread then hangs.
Physics thread creation failed! What do we do?!
001299E8 001BBD68 001BFD90


I'm not sure how to go about debugging this issue.

Terra_Byte_Tech
Posted on 10-12-15 07:24 AM (rev. 3 of 10-12-15 08:10 AM) Link | #491
Fake fixed it by disabling the error message and command to hang but of course, physics enabled objects no longer spawn.

Player physics (conservation of momentum through portals) works perfectly fine oddly enough.

Game hangs when attempting to respawn after death.

3d projection is backwards (right eye sees what the left eye should and vice-versa).

Various levels hang at random areas.

Other than these issues it works pretty well.
I'm looking into the physics error right now. If you have any insight please let me know. :)

Garcia98
Posted on 10-12-15 10:46 AM Link | #493
You're probably using homemenuhax, use the method to launch blargSNES (open a game then press power button then home button and enter homemenuhax) or use another *hax

Terra_Byte_Tech
Posted on 10-12-15 02:36 PM (rev. 2 of 10-12-15 02:47 PM) Link | #494
Posted by Garcia98
You're probably using homemenuhax, use the method to launch blargSNES (open a game then press power button then home button and enter homemenuhax) or use another *hax

I'm not sure how that would change anything. Both hmhax and tubehax utilize basically the same payload.

Anyway, I tried it and all the same errors occured.

Update: okay, tubehax does work about half the time. whats so different about running it from there?

Garcia98
Posted on 10-12-15 02:56 PM Link | #495
Posted by Terra_Byte_Tech
I'm not sure how that would change anything. Both hmhax and tubehax utilize basically the same payload.

Anyway, I tried it and all the same errors occured.

Update: okay, tubehax does work about half the time. whats so different about running it from there?


Read this: https://github.com/yellows8/3ds_homemenuhax/issues/6

Terra_Byte_Tech
Posted on 10-13-15 02:39 PM Link | #504
Posted by Garcia98

Ah, thanks. That makes much more sense now. :)


Main - Homebrew discussion - [help] Building Smealum's Aperture Science 3DS Hide post layouts | New reply

Page rendered in 0.027 seconds. (2048KB of memory used)
MySQL - queries: 26, rows: 87/87, time: 0.012 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.