Dolphin, the GameCube and Wii emulator - Forums
Programming Discussion Thread - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Offtopic (https://forums.dolphin-emu.org/Forum-offtopic)
+--- Forum: Delfino Plaza (https://forums.dolphin-emu.org/Forum-delfino-plaza)
+--- Thread: Programming Discussion Thread (/Thread-programming-discussion-thread)



RE: Programming Discussion Thread - NaturalViolence - 04-29-2013

The guy who hates d3d9 Wrote:It's more efficient to work with than using Meep's C++ interface though :/

EDIT: Btw, do you fail less at HLSL these days? Just curious

Math has almost completely replaced programming this semester I'm afraid. I don't know how I survived.

So no.


RE: Programming Discussion Thread - AnyOldName3 - 04-30-2013

I've pretty much finished my AS Computing coursework. Did you know that in Windows, when using Java, if you try and write characters 80 through 9F to a text file you'll just get character 3F (?)? I spent ages trying to work out why on earth my vigenere password cipher didn't work when it wrote to a file, so it took 2 days before I realised where the data was being damaged, and just wrote the integer value of each character instead.


RE: Programming Discussion Thread - Garteal - 05-22-2013

Seems like Nintendo NERD put up a coding contest on their website.
It's a cpp file with some algorithm you have to solve. I have no idea what to do, perhaps others here could give it a go?


RE: Programming Discussion Thread - Shonumi - 05-23-2013

Do no live in Europe, no interest :p Pass it along to delroth. He can RE it, get hired by Nintendo, then force them to make their own open-source emulators (or he could just leak info for us to build one).


RE: Programming Discussion Thread - AnyOldName3 - 05-23-2013

Do we know what the rules are, or are we just supposed to change random lines until it spits something out?


RE: Programming Discussion Thread - Garteal - 05-23-2013

In the source code there's a comment on line 45 telling you to change the cipher only.
Code:
u8 cipher[32]={
//change only this :
0x1c,0x20,0xc1,0xa7,0x3b,0x25,0xaf,0x18,0xc8,0x6e,0x1b,0x41,0xfe,0x69,0xd6,0xc6,
0xde,0x3b,0x00,0xf8,0x17,0x48,0xde,0x04,0x9e,0xb5,0xaf,0xf2,0x70,0x8c,0xd9,0xda,
//
};



RE: Programming Discussion Thread - AnyOldName3 - 05-23-2013

Also, I'm pretty sure this code would run as java if I just changed the datatypes a bit.

How do I use cout?

I've now hit the point that it could be bruteforced if I knew any C++. So far it's been odd java.


RE: Programming Discussion Thread - Garteal - 05-23-2013

Cout is defined in iostream. Include it and either call it with the std namespace.
Example: std::cout << "Test" << std::endl

Or state that you'll be using the namespace so you don't have to use the std:: all the time.
Example: using namespace std;

Now go learn C++.


RE: Programming Discussion Thread - ExtremeDude2 - 05-24-2013

y u no google cout?


RE: Programming Discussion Thread - Xalphenos - 05-24-2013

Quick question. If this is not the right place for it I apologize.

Does anybody know if I can use a bitwise not on a byte array in VB.net? I'm guessing I would have to convert it to integer first. What would be the best way to NOT a whole file in vb.net?

I have no formal coding knowledge.