Hacking LeiJi Loader, Load NSMB stage arc file from SD card

wiiwaker

Active Member
OP
Newcomer
Joined
Jan 21, 2008
Messages
31
Trophies
0
Website
Visit site
XP
161
Country
Switzerland
Source updated
smile.gif

Please check the original post, the author adds some information to explain how it works.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
Thanks a lot WiiWaker for your help contacting the author !

Google translation is not accurate, but enough to understand.
The author detailed the loading process, it seems it load the arc file from SD before launching the game and doesn't redirect nsmb in-game loading to SD. (don't quote me on this, wait for confirmation)
There's even the assembly code, unfortunately I can't understand it, but I'm sure Wiipower will make good use of it ^^
 

WiiPower

Well-Known Member
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
345
Country
Gambia, The
wiiwaker said:
Source updated
smile.gif

Please check the original post, the author adds some information to explain how it works.


computerboy said:
LeiJi application with source all in 1:
http://www.mediafire.com/?ncflm5mhwk3

Thanks.

QUOTE(Cyan @ Nov 22 2009, 01:31 PM)
Thanks a lot WiiWaker for your help contacting the author !

Google translation is not accurate, but enough to understand.
The author detailed the loading process, it seems it load the arc file from SD before launching the game and doesn't redirect nsmb in-game loading to SD. (don't quote me on this, wait for confirmation)
There's even the assembly code, unfortunately I can't understand it, but I'm sure Wiipower will make good use of it ^^

Sorry, i don't understand asm, and at the moment i have one big problem to solve. (IOS Reload broken on new libogc vs. too less memory with old libogc)
 

mousex

Well-Known Member
Member
Joined
Jan 23, 2009
Messages
986
Trophies
0
XP
115
Country
United States
Blue-K said:
nikeymikey said:
Any chance of a link?

The limit has been reached on rapidshare.
And that's good so. No Source and no Read Me's from WiiPower are in the Package --> Violation of GPL (kinda like SNEEK). Anyone that uploads this again doesn't support the GPL, and the origianal Authors of this App. The ones that made this have to release it with the Source.

But sadly, if you want it, you can always get it
frown.gif
...there's realy no chance that a file can get completely out of the Internet..
Learn about the GPL. You don't need to uplaod it with source. You just need to give it out on request.
 

tueidj

I R Expert
Member
Joined
Jan 8, 2009
Messages
2,569
Trophies
0
Website
Visit site
XP
999
Country
mousex said:
Learn about the GPL. You don't need to uplaod it with source. You just need to give it out on request.
No, that's not true. If you're simply making a compiled build from source already on line, you can provide a link instead of providing the source yourself. But if you modify the code in any way, you MUST make it available with the binary. Saying "Source is available on request" is not acceptable.
 

oneleggedjack

Well-Known Member
Member
Joined
Sep 25, 2008
Messages
299
Trophies
0
XP
57
Country
United States
Hate to bump an old topic but I have an issue.
I can load my PAL NSMB fine through USBLoader GX and Coverflow
but I cant get it to work in the LeiJi Loader. does anyone know the
setting is must be on to work? like hook type, alt dol, force ntsc ect..
thx for your time
 

MikeyTaylorGaming

YouTube Glitcher
Member
Joined
Aug 11, 2007
Messages
1,754
Trophies
1
Location
North West England
Website
youtube.com
XP
1,560
Country
United Kingdom
Slimmmmmm said:
If NSMB doesn't do the reading from SD card and they added code that does then the implications are quite cool.
i think it's something to do with the modified loader personally rather than the game code, dont know if we all thought of this or not but just saying haha

QUOTE(oneleggedjack @ Nov 24 2009, 03:01 AM) Hate to bump an old topic but I have an issue.
I can load my PAL NSMB fine through USBLoader GX and Coverflow
but I cant get it to work in the LeiJi Loader. does anyone know the
setting is must be on to work? like hook type, alt dol, force ntsc ect..
thx for your time
if you read through the topic someone said they needed to install cIOS rev14 to play it using the modified loader.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
I'm using cIOS rev14, and I can't get NSMB PAL to run on my PAL wii using LeiJi.
I created "LeiJi" on SD card, and renamed the arc file like the Chinese forum said.

I'm getting a green screen on launch (using WBFS), I didn't try to boot on DVD though.

I'm leaving the Leiji mod until (if) it became better, if I need to patch the game with arc, I'll do it with wiiscrubber.
Would be great if someone could rewrite the leiji mod with lastest neogamma beta (I don't have time to do it myself), or another loader like config or GX.
 

Skizzo

Banned!
Banned
Joined
May 1, 2009
Messages
475
Trophies
0
XP
0
Country
United States
tueidj said:
mousex said:
Learn about the GPL. You don't need to uplaod it with source. You just need to give it out on request.
No, that's not true. If you're simply making a compiled build from source already on line, you can provide a link instead of providing the source yourself. But if you modify the code in any way, you MUST make it available with the binary. Saying "Source is available on request" is not acceptable.
I know, a little bit late, but before anyone else gets the idea that you, tueidj, actually have a clue as to what you're talking about... Why anyone would post something that is completely contradictory to what the license actually says is beyond me.
rolleyes.gif


In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.

3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:

a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,

b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,

c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)



So, yes, saying "Source is available on request" IS acceptable.
 

nicksasa

Well-Known Member
Member
Joined
Oct 25, 2008
Messages
1,410
Trophies
0
XP
79
Country
Belgium
you guys know this is a modfied ocarina (or made from scratch) code handler ri!ght ? it loads the arc file to 0x90000004 and then uses the special handler, then i guess the handler replaces the file when it should be reading from dvd to 0x90000004 so this seems interesting ...
 

mousex

Well-Known Member
Member
Joined
Jan 23, 2009
Messages
986
Trophies
0
XP
115
Country
United States
tueidj said:
mousex said:
Learn about the GPL. You don't need to uplaod it with source. You just need to give it out on request.
No, that's not true. If you're simply making a compiled build from source already on line, you can provide a link instead of providing the source yourself. But if you modify the code in any way, you MUST make it available with the binary. Saying "Source is available on request" is not acceptable.

No, it is acceptable.
QUOTE
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:

a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,

b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
Source: http://www.gnu.org/licenses/gpl-2.0.txt
 

tueidj

I R Expert
Member
Joined
Jan 8, 2009
Messages
2,569
Trophies
0
Website
Visit site
XP
999
Country
Skizzo said:
I know, a little bit late, but before anyone else gets the idea that you, tueidj, actually have a clue as to what you're talking about... Why anyone would post something that is completely contradictory to what the license actually says is beyond me.
rolleyes.gif

mousex said:
No, it is acceptable.
You both quoted from the license but left out the portion relevant to what I stated:
QUOTE
If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
The "written offer" clause is intended for physically distributed commerical products, which typically come in a box with a manual (GPLv2 was around long before the internet was widespread).
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: @Dumpflam, Report it or contact staff.