Swiss Nightly Build

Discuss one of the most feature filled GameCube applications here :)
User avatar
Streetwalker
Posts: 1739
Joined: Mon Dec 30, 2013 7:50 am
Location: Israel

Re: Swiss Nightly Build

Post by Streetwalker » Tue Aug 25, 2015 11:34 pm

The drive isn't going to change anything.
User avatar
emu_kidid
Site Admin
Posts: 4608
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

Re: Swiss Nightly Build

Post by emu_kidid » Wed Aug 26, 2015 4:09 am

I'll spare a few minutes tonight to look at this, didn't realise anyone was using a IDE-EXI any more ;)
Image
andre104623
Posts: 643
Joined: Wed May 07, 2014 2:24 pm

Re: Swiss Nightly Build

Post by andre104623 » Wed Aug 26, 2015 4:26 am

Playing games though swiss 0.4 using the IDE-EXI is completely broken. No games work at all homebrew on the other hand is completely fine tried Mplayer CE and Snes9x they both work fine and saving works as well
User avatar
Streetwalker
Posts: 1739
Joined: Mon Dec 30, 2013 7:50 am
Location: Israel

Re: Swiss Nightly Build

Post by Streetwalker » Wed Aug 26, 2015 9:49 am

Yeah, because homebrew doesn't require any patches to run from IDE-EXI, it's either built-in or self contained and runs entirely from memory.
theclaw
Posts: 324
Joined: Tue Dec 13, 2011 12:01 pm

Re: Swiss Nightly Build

Post by theclaw » Wed Aug 26, 2015 10:40 pm

Streetwalker wrote:Yeah, because homebrew doesn't require any patches to run from IDE-EXI, it's either built-in or self contained and runs entirely from memory.
I've wondered about that. Does anything else like addressing limitations, restrict the maximum size of homebrew or hacked games? Considering the optical drive's hardware isn't a factor.
User avatar
Streetwalker
Posts: 1739
Joined: Mon Dec 30, 2013 7:50 am
Location: Israel

Re: Swiss Nightly Build

Post by Streetwalker » Thu Aug 27, 2015 7:30 am

I don't know of such limitations, as long as it fits in RAM it should work (that includes the memory used and the size of the (uncompressed) executable).
User avatar
megalomaniac
Posts: 2480
Joined: Sun Aug 21, 2011 5:33 am
Location: Drunk in Texas
Contact:

Re: Swiss Nightly Build

Post by megalomaniac » Fri Aug 28, 2015 12:35 am

cheaters rejoice
swiss_r326 posted with cheat engine support (and a pretty GUI) :mrgreen:
emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
>>> BadAssConsoles.com <<<

Image Image Image
theclaw
Posts: 324
Joined: Tue Dec 13, 2011 12:01 pm

Re: Swiss Nightly Build

Post by theclaw » Fri Aug 28, 2015 6:35 am

Streetwalker wrote:I don't know of such limitations, as long as it fits in RAM it should work (that includes the memory used and the size of the (uncompressed) executable).
That's good to hear. The idea taken to its most absurd conclusion would be swapping data between RAM and the EXI-IDE, to write 2TB homebrew. :lol:
suloku
Posts: 54
Joined: Wed Mar 31, 2010 12:55 pm

Re: Swiss Nightly Build

Post by suloku » Fri Aug 28, 2015 8:55 pm

I was trying the new command line support and was testing a simple homebrew (the libogc template) with this code:

Code: Select all

if (argc){
	int i;
	for(i=0; i<argc;++i);
	{
		printf("Argv %d: %s\n",i, argv[i]);
		waitA();
	}
}
For some reason the program crashes and I'm clueless why, looking at swiss source I can see that the last argument will not have a terminating null character if using .cli files for arguments, but this happens with a dcp file as well.

Any clue?
User avatar
Streetwalker
Posts: 1739
Joined: Mon Dec 30, 2013 7:50 am
Location: Israel

Re: Swiss Nightly Build

Post by Streetwalker » Fri Aug 28, 2015 10:58 pm

You have a stray semicolon on your for() line, it will only call printf once and try to dereference an invalid pointer (argv[argc]).
suloku
Posts: 54
Joined: Wed Mar 31, 2010 12:55 pm

Re: Swiss Nightly Build

Post by suloku » Sat Aug 29, 2015 10:45 am

Streetwalker wrote:You have a stray semicolon on your for() line, it will only call printf once and try to dereference an invalid pointer (argv[argc]).
Now, that is embarassing, thanks for noticing that semicolon, I was so focused and assuming the problem was elsewhere I didn't even see that simple mistake was there.

On the other hand, I don't know how .cli files for argument passing where intended to work, but assuming they are just plain text files with an argument in each line, the last argument won't have a terminating null character with the current code.
If cli files are intended to be generated with some program that adds it to the file, then the code is fine I guess.
User avatar
Streetwalker
Posts: 1739
Joined: Mon Dec 30, 2013 7:50 am
Location: Israel

Re: Swiss Nightly Build

Post by Streetwalker » Sat Aug 29, 2015 11:54 am

Guess I've used too much unix and assumed that there would be a newline at the end of the file. I'll need to check that.
suloku
Posts: 54
Joined: Wed Mar 31, 2010 12:55 pm

Re: Swiss Nightly Build

Post by suloku » Sat Aug 29, 2015 2:05 pm

Streetwalker wrote:Guess I've used too much unix and assumed that there would be a newline at the end of the file. I'll need to check that.
I've used linux before, but as a windows user it feels weird having a newline at the end of a text file.

I made this changes so no newline is required, there's probably a better solution though.

Code: Select all

...

char *cli_buffer = memalign(32, size+1); // +1 to append null character if needed
if(cli_buffer) {
	fread(cli_buffer, 1, size, fp);
	fclose(fp);
	//add a terminating null character for last argument if needed
	if (cli_buffer[size-1] != '\0'){
		cli_buffer[size] = '\0';
		size += 1;
	}

...
User avatar
rey_1178
Posts: 29
Joined: Sat Jul 18, 2015 4:01 pm
Location: Florida
Contact:

Re: Swiss Nightly Build

Post by rey_1178 » Sun Aug 30, 2015 8:37 pm

megalomaniac wrote:cheaters rejoice
swiss_r326 posted with cheat engine support (and a pretty GUI) :mrgreen:
Thank you!
retango
Posts: 7
Joined: Sun Aug 23, 2015 4:18 pm

Re: Swiss Nightly Build

Post by retango » Mon Aug 31, 2015 10:11 pm

Thanks a lot!
andre104623
Posts: 643
Joined: Wed May 07, 2014 2:24 pm

Re: Swiss Nightly Build

Post by andre104623 » Mon Sep 07, 2015 8:33 pm

Great job on the cheats they work great!

Do you guys think we will ever get muti-disc support though swiss using WASP/WKF? This is a problem for me since I replay the resident evil games a lot
User avatar
megalomaniac
Posts: 2480
Joined: Sun Aug 21, 2011 5:33 am
Location: Drunk in Texas
Contact:

Re: Swiss Nightly Build

Post by megalomaniac » Wed Oct 07, 2015 2:21 am

swiss_r330 posted - Look in both SD Gecko slots for cheats from any device
emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
>>> BadAssConsoles.com <<<

Image Image Image
User avatar
rey_1178
Posts: 29
Joined: Sat Jul 18, 2015 4:01 pm
Location: Florida
Contact:

Re: Swiss Nightly Build

Post by rey_1178 » Wed Oct 07, 2015 8:56 am

Nice!
User avatar
Knux Kitsune
Posts: 3
Joined: Fri Sep 04, 2015 3:45 am

Re: Swiss Nightly Build

Post by Knux Kitsune » Mon Oct 12, 2015 11:21 pm

Can someone please help me? I can't seem to get cheats to work. I have r330, and downloaded .GCT from geckocodes.org, but if I choose "Cheats" in the game window, it says "No Cheats File Found", and if I try loading the .GCT first, it says "Unknown File Type".
User avatar
megalomaniac
Posts: 2480
Joined: Sun Aug 21, 2011 5:33 am
Location: Drunk in Texas
Contact:

Re: Swiss Nightly Build

Post by megalomaniac » Tue Oct 13, 2015 4:31 am

Knux Kitsune wrote:Can someone please help me? I can't seem to get cheats to work. I have r330, and downloaded .GCT from geckocodes.org, but if I choose "Cheats" in the game window, it says "No Cheats File Found", and if I try loading the .GCT first, it says "Unknown File Type".
viewtopic.php?f=38&t=3032
emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
>>> BadAssConsoles.com <<<

Image Image Image
socksfelloff
Posts: 6
Joined: Fri Oct 16, 2015 11:24 pm

Re: Swiss Nightly Build

Post by socksfelloff » Fri Oct 16, 2015 11:26 pm

First off I would like to say I absolutley LOVE swiss and I've been using it for a long time. I'm wondering if there is a chance we will ever get audio streaming support for the wiikey/wasp? I see it was recently implemented for SD and IDE. Do we have a chance of ever seeing this or is it a limitation of the wiilkey/wasp?
User avatar
emu_kidid
Site Admin
Posts: 4608
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

Re: Swiss Nightly Build

Post by emu_kidid » Fri Oct 16, 2015 11:43 pm

I had a quick go at adding it for WKF/Wasp but it doesn't seem to behave with interrupts so I ripped the code out for it. It's not worth the effort.
Image
socksfelloff
Posts: 6
Joined: Fri Oct 16, 2015 11:24 pm

Re: Swiss Nightly Build

Post by socksfelloff » Sat Oct 17, 2015 3:19 pm

emu_kidid wrote:I had a quick go at adding it for WKF/Wasp but it doesn't seem to behave with interrupts so I ripped the code out for it. It's not worth the effort.
Damn. Thanks for the reply. I keep a second gamecube around just for the audio streaming games. It makes just using a Wii very appealing
User avatar
tesla246
Posts: 118
Joined: Tue Dec 11, 2012 1:48 pm

Re: Swiss Nightly Build

Post by tesla246 » Sun Oct 18, 2015 2:34 pm

emu_kidid wrote:I had a quick go at adding it for WKF/Wasp but it doesn't seem to behave with interrupts so I ripped the code out for it. It's not worth the effort.
Noooooooooooooooo :cry: :cry: :cry: . I was still eagerly awaiting the new swiss release which included audio streaming. Saddest news I've red all day, but certainly understandable. Maybe the future has a drive replacement more capable/complete (reading and writing) than wasp/fusion feature wise.
Dream mod: RAM expansion for serial port 2 with wifi, bluetooth and usb port :shock:
Favourite mod: Wasp fusion autoboot with flashed swiss. :D
Eagerly awaiting a normal, form-factor wise, wireless controller with rumble. :)
hunter291
Posts: 18
Joined: Thu Aug 25, 2011 4:11 pm

Re: Swiss Nightly Build

Post by hunter291 » Wed Nov 04, 2015 6:09 pm

I bought a 64GB microSDXC card. The wiki said that the wiikey fusion is compatible with up to 64GB SDXC. I tested multiple micro to sd adapters, but none of them worked. It always gets up to the "init wiikey fusion" stage, but it never loads the menu. Is this a problem with swiss or the wiikey fusion in general?
Post Reply