Hacking Crap, easy to use channel creator

fuxxi

Active Member
Newcomer
Joined
Nov 5, 2008
Messages
39
Trophies
0
XP
56
Country
United States
Too bad, the documentation about the cfg file (crap.cfg) is very limited.

Im trying to find out, what exactly

discIdPlaceHolder = "CRAPPY";
configPlaceHolder = "CFGCNF";

is for?

I want to add GX to the list.. no problem about modding the crap.cfg, but there are no informations about the parameters..

Could anybody post some more details about the parameters and a gx configuration?

Is GX supported anyway?



edit: Or is it possible to add a forwarder to an usb loader? How would that look like for GX? More examples would be nice.. :-|
 

WiiCrazy

Be water my friend!
OP
Member
Joined
May 8, 2008
Messages
2,395
Trophies
0
Location
Istanbul
Website
www.tepetaklak.com
XP
387
Country
discIdPlaceHolder is the placeholder you leave on the loader dol for Crap to replace... Crap replaces that literal with the Disc Id of the game.

configPlaceHolder is the placeholder for the start of the configuration string in the loader dol...

Here is the source for the modified Narolez forwarder for the Configurable Usb Loader : http://code.google.com/p/crapwii/source/br...=svn17&r=16

see CRAPPY there in line 206 and USBCNF in line 203

As an example, to set the "Verbose log on" option in the loader dol, Crap does this.
1. Searches for the configPlaceHolder (in the above case it's USBCNF)
2. Sets the next character to 1 in the dol. (since the very first character in the configuration string is for verbose log feature)


In the configuration string there stays fixed places for various options, to see the full list take a look at : http://code.google.com/p/crapwii/source/br...source/config.h

Forwarder for the Configurable usb loader is possible because programmers of this loader added autoboot through params function in their loader. Unless GX or any other game loader has such a thing a forwarder is not possible.

The other loaders in the crap are not forwarders by the way, the dol inside the packed wad is the actual loader... You can see the examples of such loaders again in the source tree of Crap in the googlecode...

A bit more about the configuration stuff I explained before (of course it will only make sense if you will port a loader) : http://gbatemp.net/index.php?s=&showto...t&p=2115176
 

WiiCrazy

Be water my friend!
OP
Member
Joined
May 8, 2008
Messages
2,395
Trophies
0
Location
Istanbul
Website
www.tepetaklak.com
XP
387
Country
If you have patched iso then just select Usb Loader 1.6 and under the fixes select 002 fix and create the channel...

If you don't have patched disc currently the only way is using configurable usb loader forwarder (configurable forwarder in the loaders) ... You should have conf. usb loader installed and working of course for this...

sidenote : because currently Crap's loader doesn't support arbitrary alt-dols... you can only use alt-dols that are on the disc to put it another way... but using the patched Iso works just fine...
 

DjSim1

Member
Newcomer
Joined
Jun 22, 2009
Messages
16
Trophies
0
Age
34
Location
Milano, Italy
Website
djsim1.deviantart.com
XP
52
Country
Italy
WiiCrazy said:
If you have patched iso then just select Usb Loader 1.6 and under the fixes select 002 fix and create the channel...

If you don't have patched disc currently the only way is using configurable usb loader forwarder (configurable forwarder in the loaders) ... You should have conf. usb loader installed and working of course for this...

sidenote : because currently Crap's loader doesn't support arbitrary alt-dols... you can only use alt-dols that are on the disc to put it another way... but using the patched Iso works just fine...

I have original game..
I dumped the game into the Hard Disk, as each my games.
smile.gif

I will make an attempt by setting configurable forwarder..
Thanks!

EDIT:
Tested.
I don't like this method.
With other games i simply click on the channel and then the game starts.
Instead so start Usb Loader GX and I select the game.
I already have the WiiFlow Forwarder Channel, I first to initiate what..
 

WiiCrazy

Be water my friend!
OP
Member
Joined
May 8, 2008
Messages
2,395
Trophies
0
Location
Istanbul
Website
www.tepetaklak.com
XP
387
Country
oggzee will add silent boot feature for autoboot games so watch out the configurable usb loader releases...

when I return from my vacation I hope I can add built-in NSMBW fix and arbitrary alt-dol support...

By the way as I said before it's always possible to patch the game and use that. There is no harm in doing that since the game already runs on top of cios which has trucha... And I don't think you can use the copy in your hdd with original nintendo ios... so...
 

Slimmmmmm

GBAtemp MoNkEeE
Member
Joined
Nov 1, 2007
Messages
1,770
Trophies
0
Location
the land of lol
XP
528
Country
WiiCrazy said:
Well it's not too long, it's till monday. Just a family visit still inside Turkey, 6-8 hours from where I live.
(Istanbul)

I'll still be online though I won't be able to code.

Enjoy your holiday and don't worry about being online and not being able to code, that describes 99% of us here
tongue.gif
 

digiscum

New Member
Newbie
Joined
Nov 28, 2009
Messages
1
Trophies
0
XP
31
Country
United States
DjSim1 said:
Tested.
I don't like this method.
With other games i simply click on the channel and then the game starts.
Instead so start Usb Loader GX and I select the game.
I already have the WiiFlow Forwarder Channel, I first to initiate what..

I think the configurable forwarder created using Crap is pointing to /apps/usbloader by default, and perhaps you have usb loader gx as "/apps/usbloader".

From WiiCrazy's source, the particular configurable forwarder packed inside Crap is using the following sequence:
{"fat:/apps/usbloader/boot.dol"},
{"fat:/apps/usbloader_cfg/boot.dol"},

This sequence is different from the latest configurable forwarder out there (I haven't checked when/whether the sequence has been changed recently)
{"fat:/apps/usbloader_cfg/boot.dol"},
{"fat:/apps/usbloader/boot.dol"},

So, if you don't want to get into any compilation of programs, make sure your configurable loader is using "/apps/usbloader" (of course this may affect other forwarders you have).
 

XFlak

Wiitired but still kicking
Member
Joined
Sep 12, 2009
Messages
13,858
Trophies
3
Age
38
Location
Cyprus, originally from Toronto
Website
modmii.github.io
XP
9,884
Country
Cyprus
Wiicrazy, check out what oggzee said re his latest release

http://gbatemp.net/index.php?showtopic=147...t&p=2425292

" * If the loader is used to start a game directly
(from a channel created with crap or similar tools)
and option: intro=0 is specified then no intro
and no progress is displayed until the game is started"

Where do I need to type intro=0? or is this something you are going to build directly into crap?
 

WiiCrazy

Be water my friend!
OP
Member
Joined
May 8, 2008
Messages
2,395
Trophies
0
Location
Istanbul
Website
www.tepetaklak.com
XP
387
Country
Ok, here is again a quick loader addition... doing it the right way I mean configuring the behaviour through Verbose log option needs a bit of gui changes which I have no time at the moment... Instead for the time being I just rebuild the loader with the intro=0 arguments added...

Meaning, download http://crapwii.googlecode.com/files/CrapCo...WithNoIntro.rar and extract it to your Crap folder, archive contains the no intro loader & new crap.cfg file which has this loader added...

So if you want intro use "Configurable forwarder" loader, if you don't want it use "Configurable forwarder (no intro)" . If you changed your Crap.cfg file manually to fit your needs you need to add the loader into the config manually...

Btw, I didn't test since the changes were cosmetic (actually I haven't unpacked my wii yet after the vacation)

@xflak40 : could you test it?

@gil21 : yes.

@Trypa : try using wbfs. I guess it's an error with the library I'm using...
 

XFlak

Wiitired but still kicking
Member
Joined
Sep 12, 2009
Messages
13,858
Trophies
3
Age
38
Location
Cyprus, originally from Toronto
Website
modmii.github.io
XP
9,884
Country
Cyprus
@wiicrazy

Just tested it, and it still loaded with the intro... not sure why exactly... but I can report that it did not work

I just had an idea (one thing at a time, obviously lets get the no intro functional first
biggrin.gif
), but would it be possible to create a channel that attempts to launch a game from a wbfs drive, and if it cannot find it, attempt to launch from a FAT32 wbfs file instead (and vice verca-- in terms of priority). Or perhaps holding down certain buttons after launching the channel loads from an alternate format... or both features combined.

I think this would be great. I have friends who have both WBFS and FAT32 drives, and we swap harddrives, so this dual functionality would be perfect!

What are your thoughts? Possible?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +1
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
    rqkaiju2 @ rqkaiju2: i like physical media because it actually feels like you own it. thats why i plan on burning...