Page 4 of 4

Re: Swiss on GC with Viper Extreme

Posted: Thu Jan 26, 2012 11:28 pm
by emu_kidid
ok, compress it using dollz (DOL compressor by Softdev) using the -m -v flags

Re: Swiss on GC with Viper Extreme

Posted: Fri Jan 27, 2012 12:43 am
by M tha MaN
Thx, that works.

Just have RE2 PAL and it freezes when it asks to switch on 60Hz, but that might be a compytibility issue.

Will try more games also will try from my IDE-Exi =)

So for future releases i will remember:

always pack the swiss-unpacked.dol with dollz3 and -m -v =)

Re: Swiss on GC with Viper Extreme

Posted: Fri Jan 27, 2012 2:28 am
by emu_kidid
I will note to build a viper-gc-extreme version in the next package.

Re: Swiss on GC with Viper Extreme

Posted: Fri Jan 27, 2012 1:15 pm
by M tha MaN
Ok great =)

Btw.: Which Viper BIOS should be flashed to the chip ? Just bought the Chip to get Homebrew on my GC and i don't know if it matters which BIOS you use (with GCOS or without).

Re: Swiss on GC with Viper Extreme

Posted: Fri Jan 27, 2012 1:37 pm
by emu_kidid
use Cobra BIOS :)

Re: Swiss on GC with Viper Extreme

Posted: Wed Feb 01, 2012 8:11 am
by Shinebi
Just popping in since this seems to get some love again (might be the wrong place for it though):
Still no news on a possible Swiss-loader for a regular Viper's Cobra flash?
(I know you previously recommended SD-load as a plug-in, hence my question.)

...asking in general though, as some other members here seem to be savvy with compiling apps (eg Swiss-loader for Wii).

Re: Swiss on GC with Viper Extreme

Posted: Wed Feb 01, 2012 5:32 pm
by infact
so you just need an app, that does this:
  • *boot up as cobra plugin (45056 bytes limit)
    *look for swiss.dol in
    • -SDGecko A
      -SDGecko B
      -IDE-EXI A
      -IDE-EXI B
    *copy it to RAM
    *executes it
Am I right?

Re: Swiss on GC with Viper Extreme

Posted: Wed Feb 01, 2012 9:32 pm
by Shinebi
Err.. yes I think.
A 'shortcut' would be the good description, that looks for the actual app which is on the SD-card or IDE/EXI HDD...

So instead of booting SD-Load and then booting Swiss, the shortcut boots Swiss directly.
(Similar in behaviour to this one in case you missed it.)

IIRC, it was possible to set a plugin to boot per default (when holding a button or not?) on the Cobra.
- Do mind I'm talking about the regular version, limited by space (dunno how much, but I take it you got it right).

When Emu_kidid mentioned SD-load was limited to SD (couldn't handle SDHC), he immediately stated that a new app would have to be made to improve performance/compatibility as a whole. I'm not getting my hopes up, but if someone pulls this off, that would be great news for the 'deprived' Viper users.

... and it would also be nice to have my Lacie Porsche HDD next to my Q as a matching pair :)

Re: Swiss on GC with Viper Extreme

Posted: Thu Feb 02, 2012 7:40 am
by liquitt
infact wrote:so you just need an app, that does this:
  • *boot up as cobra plugin (45056 bytes limit)
    *look for swiss.dol in
    • -SDGecko A
      -SDGecko B
      -IDE-EXI A
      -IDE-EXI B
    *copy it to RAM
    *executes it
Am I right?
yup :) there was this discussion on irc a while back when somebody actually started this. can't remember who though :(

Re: Swiss on GC with Viper Extreme

Posted: Thu Feb 02, 2012 8:19 am
by Shinebi
Corrected the previous example link... (just realised it should've been the FORWARDER CHANNEL looking for the app in HBC)

Re: Swiss on GC with Viper Extreme

Posted: Thu Feb 02, 2012 8:38 am
by infact
i can't remember either (i hope it wasn't me :D)
but i could actually start this... *looks at clock* *looks at homework* *looks at gamecube*
...
well, okay... :D i'll have a look at this in a minute (mame can wait...)

Re: Swiss on GC with Viper Extreme

Posted: Thu Feb 02, 2012 8:45 am
by liquitt
infact wrote:i can't remember either (i hope it wasn't me :D)
but i could actually start this... *looks at clock* *looks at homework* *looks at gamecube*
...
well, okay... :D i'll have a look at this in a minute (mame can wait...)
yeah it was definetly YOU! ;)

Re: Swiss on GC with Viper Extreme

Posted: Thu Feb 02, 2012 1:25 pm
by infact
I dont think so, liquitt ;-)
But anyways. I did some testing... the generated executables by devkitppc are just too big, when they are linked against libogc and libfat. Even when compressed with dollz3 the resulting cbp is just too big.

Re: Swiss on GC with Viper Extreme

Posted: Thu Feb 02, 2012 2:27 pm
by Shinebi
...so yeah. If this isn't feasable because of size restrictions, would a new version of SD-load with SDHC capability be an option?
(And making it autoboot Swiss at the same time...)

Tbh, I'm just looking for something which can be placed in a regular Viper's plug-in space & automatically boots Swiss from the same device as the games
...such as a large SDHC card/HDD (and ruling out the need of two seperate cards, eg as with current SD-load.)
It doesn't necessarily have to be a Swiss-derived loader I think?

Thanks for having a look into this at least.
+Kudos.

Re: Swiss on GC with Viper Extreme

Posted: Thu Feb 02, 2012 7:09 pm
by infact
sdload was afaik coded in pure assembly and therefore is so small...
it is possible to do a recode of it, but i dont know enough assembly to do this (...maybe if we get the source ;-))

it may also be possible to just copy the needed functions from libogc and use a custom libfat or tinyfatfs to archive a much lesser file size for the swissloader.

Re: Swiss on GC with Viper Extreme

Posted: Thu Feb 02, 2012 8:00 pm
by liquitt
iirc a lot of people tried to get the source for sdload ... :/

Re: Swiss on GC with Viper Extreme

Posted: Thu Feb 02, 2012 9:43 pm
by emu_kidid
infact, it wasn't assembly :) Maybe parts of it were but the thing as a whole used Costis's closed source library (imagine a severely stripped libOGC not tied around lwp/newlib).

Re: Swiss on GC with Viper Extreme

Posted: Fri Feb 03, 2012 7:14 am
by liquitt
what if it would be stripped down to just search for swiss.dol on SDGecko A and B with sdhc support? Would that still be too big? i can't imagine :/
is the viper flash really THAT small :D

Re: Swiss on GC with Viper Extreme

Posted: Fri Feb 03, 2012 8:52 am
by megalomaniac
liquitt wrote:what if it would be stripped down to just search for swiss.dol on SDGecko A and B with sdhc support? Would that still be too big? i can't imagine :/
is the viper flash really THAT small :D
just to provide an example of viper flash size

cobra plugin = 45,056 bytes limit
hello world = 82,976 bytes

Re: Swiss on GC with Viper Extreme

Posted: Fri Feb 03, 2012 1:21 pm
by infact
emu_kidid: well, i think if i only take the basic features (video, exi access) and code up sd(hc) from scratch, i could use various sources (libogc, gcos, costis' library, cheqmate's stuff...) and create a small file.
But that is not feasible for me (at least not right now).

Re: Swiss on GC with Viper Extreme

Posted: Mon Feb 06, 2012 11:25 am
by Dragoon
@infact why even bother with video? I think it only takes precious space if you do it as a cobra plugin.
Btw, would it be possible to make a swissloader wich is inside the cobra DOL?
For example:
check the entrypoint with a debugger
add some asm commands wich show some text on the screen that tells the user to press X or Y.
then X would be cobra BIOS and Y the swissloader (also some asm commands needed to do this :p)
and the first added asm command would be the new entrypoint.

Re: Swiss on GC with Viper Extreme

Posted: Thu Jun 27, 2013 2:22 pm
by Arkaitz
infact wrote:so you just need an app, that does this:
  • *boot up as cobra plugin (45056 bytes limit)
    *look for swiss.dol in
    • -SDGecko A
      -SDGecko B
      -IDE-EXI A
      -IDE-EXI B
    *copy it to RAM
    *executes it
Am I right?
is this posible nowadays?

Thanks

Re: Swiss on GC with Viper Extreme

Posted: Thu Jun 27, 2013 10:33 pm
by emu_kidid
no one wrote anything so no :\

Re: Swiss on GC with Viper Extreme

Posted: Thu Aug 03, 2017 1:47 pm
by korn16ftl3
I realize this is a dead thread but I'm looking for information and haven't been able to turn up anything really because this chip is rather old.
Im looking g for instructions on how to load swiss to the 2mb flash on my viper gc extreme and where/how to find and load a cheat file/list for either switch or the viper gc extreme.....can anyone point me In the direction to I structures and/or files for these purposes?

Re: Swiss on GC with Viper Extreme

Posted: Thu Aug 03, 2017 6:43 pm
by novenary