Page 20 of 33

Re: Swiss Nightly Build

Posted: Tue Aug 25, 2015 11:34 pm
by novenary
The drive isn't going to change anything.

Re: Swiss Nightly Build

Posted: Wed Aug 26, 2015 4:09 am
by emu_kidid
I'll spare a few minutes tonight to look at this, didn't realise anyone was using a IDE-EXI any more ;)

Re: Swiss Nightly Build

Posted: Wed Aug 26, 2015 4:26 am
by andre104623
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

Re: Swiss Nightly Build

Posted: Wed Aug 26, 2015 9:49 am
by novenary
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.

Re: Swiss Nightly Build

Posted: Wed Aug 26, 2015 10:40 pm
by theclaw
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.

Re: Swiss Nightly Build

Posted: Thu Aug 27, 2015 7:30 am
by novenary
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).

Re: Swiss Nightly Build

Posted: Fri Aug 28, 2015 12:35 am
by megalomaniac
cheaters rejoice
swiss_r326 posted with cheat engine support (and a pretty GUI) :mrgreen:

Re: Swiss Nightly Build

Posted: Fri Aug 28, 2015 6:35 am
by theclaw
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:

Re: Swiss Nightly Build

Posted: Fri Aug 28, 2015 8:55 pm
by suloku
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?

Re: Swiss Nightly Build

Posted: Fri Aug 28, 2015 10:58 pm
by novenary
You have a stray semicolon on your for() line, it will only call printf once and try to dereference an invalid pointer (argv[argc]).

Re: Swiss Nightly Build

Posted: Sat Aug 29, 2015 10:45 am
by suloku
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.

Re: Swiss Nightly Build

Posted: Sat Aug 29, 2015 11:54 am
by novenary
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.

Re: Swiss Nightly Build

Posted: Sat Aug 29, 2015 2:05 pm
by suloku
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;
	}

...

Re: Swiss Nightly Build

Posted: Sun Aug 30, 2015 8:37 pm
by rey_1178
megalomaniac wrote:cheaters rejoice
swiss_r326 posted with cheat engine support (and a pretty GUI) :mrgreen:
Thank you!

Re: Swiss Nightly Build

Posted: Mon Aug 31, 2015 10:11 pm
by retango
Thanks a lot!

Re: Swiss Nightly Build

Posted: Mon Sep 07, 2015 8:33 pm
by andre104623
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

Re: Swiss Nightly Build

Posted: Wed Oct 07, 2015 2:21 am
by megalomaniac
swiss_r330 posted - Look in both SD Gecko slots for cheats from any device

Re: Swiss Nightly Build

Posted: Wed Oct 07, 2015 8:56 am
by rey_1178
Nice!

Re: Swiss Nightly Build

Posted: Mon Oct 12, 2015 11:21 pm
by Knux Kitsune
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".

Re: Swiss Nightly Build

Posted: Tue Oct 13, 2015 4:31 am
by megalomaniac
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

Re: Swiss Nightly Build

Posted: Fri Oct 16, 2015 11:26 pm
by socksfelloff
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?

Re: Swiss Nightly Build

Posted: Fri Oct 16, 2015 11:43 pm
by emu_kidid
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.

Re: Swiss Nightly Build

Posted: Sat Oct 17, 2015 3:19 pm
by socksfelloff
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

Re: Swiss Nightly Build

Posted: Sun Oct 18, 2015 2:34 pm
by tesla246
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.

Re: Swiss Nightly Build

Posted: Wed Nov 04, 2015 6:09 pm
by hunter291
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?