Reply to thread
GBAtemp.net - The Independent Video Game Community
Search
Search titles only
By:
Search titles only
By:
Reply to thread
GBAtemp.net - The Independent Video Game Community
Home
Log in
Terms & Rules
Donate
Forums
New posts
Search forums
Groups
Public Events
New
New posts
New resources
New blog entries
New profile posts
New blog entry comments
New threadmarks
Latest activity
Cheats
Cheat Codes Add and Request group
The Legend of Zelda: Tears of the Kingdom cheat codes
Pokémon Legends: Arceus cheat codes
Xenoblade Chronicles 3 cheat codes
Fire Emblem Engage cheat codes
Request a cheat...
Tutorials
Nintendo Switch tutorials
Nintendo 3DS tutorials
Nintendo Wii U tutorials
Reviews
Overview
Official reviews
User reviews
Downloads
Latest reviews
Search resources
Blogs
New entries
New comments
Blog list
Search blogs
Chat
Top chatters
Search
Search titles only
By:
Search titles only
By:
Log in
Register
New posts
Search forums
Log in
Register
Home
Forums
PC, Console & Handheld Discussions
Nintendo Wii
Maxternal's WiiFlow plugins and Java apps.
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Wiimpathy" data-source="post: 4833418" data-attributes="member: 246552"><p>There's no guide that gives details regarding makefiles, because it's not wii specific. It can be used on any platforms to compile an executable.</p><p>For a simple project, you can use the makefile from the examples, installed with DevkitPRO (in C:\devkitPRO\examples\wii\template).</p><p> </p><p>Here's how to link an installed library to your project. The libraries are in C:\devkitPRO\libogc\lib\wii.</p><p>For ex., you need to access SD or USB. The lib for this is <strong>libfat.a</strong>. You tell the compiler to use it this way :<strong> -lfat</strong></p><p>In the makefile, you add -lfat to the "LIBS :=" line. Note that the order of the libs is important, it should before -logc at least.</p><p>Same thing with other libs, for mp3 libmad.a will be -lmad, etc...</p><p> </p><p>You shouldn't have to change anything else, except the libs in the makefile in order to compile only this file.</p><p>For the code itself, I already gave you some hints/explanations. The argc being the nbr of arguments, the argv are the arguments (an array of strings). The 1rst argv (argv[0]) is generally the exe name/path. You'd better use argv[1] which is the parameter you send through your plugin.ini with arguments={device}:/{path}/{name}. That'd be the path to your .cfg file that contains the url.</p><p>It's up to you to test, and find a solution that suits you now...</p></blockquote><p></p>
[QUOTE="Wiimpathy, post: 4833418, member: 246552"] There's no guide that gives details regarding makefiles, because it's not wii specific. It can be used on any platforms to compile an executable. For a simple project, you can use the makefile from the examples, installed with DevkitPRO (in C:\devkitPRO\examples\wii\template). Here's how to link an installed library to your project. The libraries are in C:\devkitPRO\libogc\lib\wii. For ex., you need to access SD or USB. The lib for this is [B]libfat.a[/B]. You tell the compiler to use it this way :[B] -lfat[/B] In the makefile, you add -lfat to the "LIBS :=" line. Note that the order of the libs is important, it should before -logc at least. Same thing with other libs, for mp3 libmad.a will be -lmad, etc... You shouldn't have to change anything else, except the libs in the makefile in order to compile only this file. For the code itself, I already gave you some hints/explanations. The argc being the nbr of arguments, the argv are the arguments (an array of strings). The 1rst argv (argv[0]) is generally the exe name/path. You'd better use argv[1] which is the parameter you send through your plugin.ini with arguments={device}:/{path}/{name}. That'd be the path to your .cfg file that contains the url. It's up to you to test, and find a solution that suits you now... [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
PC, Console & Handheld Discussions
Nintendo Wii
Maxternal's WiiFlow plugins and Java apps.
General chit-chat
Help
Users
Settings
Notifications
Miscellaneous
Inverse message direction
Display editor on top
Enable maximized mode
Display images as links
Hide bot messages
Hide statuses
Hide chatter list
Show messages from ignored users
Temporarily disable chat
Receive mention alerts
Sound notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Desktop notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Options
Options
View top chatters
S
salazarcosplay
Loading…
@
SylverReZ
:
https://www.youtube.com/watch?v=9hITO8p5eoY
+1
Today at 5:32 PM
@
AncientBoi
:
Today at 5:34 PM
S
@
salazarcosplay
:
@AncientBoi
what meds are you taking?
Today at 5:36 PM
@
BigOnYa
:
Anti-OldManYellsAtTheCloud
+1
Today at 5:37 PM
@
AncientBoi
:
Cholesterol, Allergies, Pain, Mind Set, Heart..
Today at 5:39 PM
@
The Real Jdbye
:
probably not the fun kind
+1
Today at 5:40 PM
@
The Real Jdbye
:
yknow, old people and all
+1
Today at 5:40 PM
S
@
salazarcosplay
:
@AncientBoi
which one for the mind?
Today at 5:46 PM
S
@
salazarcosplay
:
I worry about cholesterol im doing the carnivore diet
Today at 5:47 PM
@
AncientBoi
:
Zoloft
Today at 5:47 PM
S
@
salazarcosplay
:
lost 30 po
unds so for
+2
Today at 5:47 PM
@
BigOnYa
:
I'm on the seefood diet... So far I've gained 30 pounds
+1
Today at 5:52 PM
@
AncientBoi
:
I'm on the
diet
+1
Today at 6:17 PM
@
AncientBoi
:
But still Not Preggy yet
Today at 6:18 PM
@
BigOnYa
:
So like most dream of robbing a bank if we knew could get away with it, do you dream of robbing a sperm bank?
+2
Today at 6:19 PM
@
SylverReZ
:
https://www.youtube.com/watch?v=TE1LCvaq9pA
+1
Today at 6:25 PM
@
SylverReZ
:
@BigOnYa
, Last job Ancient went to, he got fired for drinking on the job.
+2
Today at 6:25 PM
@
AncientBoi
:
+1
44 minutes ago
S
@
salazarcosplay
:
@BigOnYa
reminds me of the episode where Peter Griffing accidentaly broke all the samples in a sperm bank
+3
27 minutes ago
S
@
salazarcosplay
:
and he replaced all the samples with his own
+2
27 minutes ago
S
@
salazarcosplay
:
and in a later episode they have him with all the sons andaughetrs lookign for him
+2
26 minutes ago
S
@
salazarcosplay
:
in Family guy
+1
26 minutes ago
S
@
salazarcosplay
:
great use of emojis
@AncientBoi
+2
25 minutes ago
@
SylverReZ
:
https://www.youtube.com/watch?v=5aRVjiaM88Y
23 minutes ago
@
SylverReZ
:
https://www.youtube.com/watch?v=rVUjbpqsE_M
1 minute ago
Submit
@
SylverReZ
:
https://www.youtube.com/watch?v=rVUjbpqsE_M
1 minute ago
Chat
1