Hacking SneekyCompiler

  • Thread starter Thread starter scooby74029
  • Start date Start date
  • Views Views 43,770
  • Replies Replies 307
Satur9 said:
zizer said:
Installing DevkitPro
File Not Found (404)
pspsdk-doc-20051113.tar.bz2 could not be downloaded at this time.
I see this issue with a non-sneekycompiler devkitpro installer, seems to be an issue with the DevKitPro repository.


yeah i checked into this and is it a problem with the devkit installer

i am working on a new release of sneekycompiler now and should release it soon
 
Just uncheck the PSP things when installing. It's not necessary for sneeky compiler.

Great program, by the way. Once I figured that out, everything worked like a charm
wink.gif
 
Well I don't know if it is a problem with my setup, but it seems that your compiler doesn't generate the armboot.bin that would nomally go into the bootmii folder of the sneek/uneek installation. that probably happens because the environment variable for python is not set (the installer doesn't do this, it has to be done manually).
 
I haven't tested it yet, but I took a look at the gui! Much nicer than the cmd window u had before! I'll try to find some time to test this out later when I'm on my personal computer (I don't want to be installing stuff on a machine that isn't mine!)
 
@linkfan

i know i guess i need to add that in the readme file i will be trying to add a function to add the path to python to the system path

@Xflak

I hope you like it I think this would be great for modmii to use this kind of gui it is really easy to learn and ill bet you could do a better job than i could


scooby74029
 
I ran into some errors.
frown.gif


This could be because my internet connection is rather flaky at the moment (I'm typing this from my laptop on a wireless connection I borrowed from the neighbors). I'll retry when that clears up (and if still the same, actually be able to copy-paste the error).
 
Well...good news and bad news. The good news is that my issues were caused by a lack of internet. Rerunning it with the same settings actually started a prompt this time that did awholelottastuff. In the end, it made a \CopyToSD and \CopyToUSB, so it was all good.

The emulated nand wasn't there, but that was the least of my worries (I just copy-pasted an emulated nand I used far earlier for a succeeded experiment with sneek). And getting a game in the discEx format was also more a matter of waiting than figuring out what to do.

Unfortunately, it still didn't boot anything. Upon investigating and comparing with this list, I noticed your program makes an empty "\sneekycompiler\CopyToSD\bootmii" folder (it should have armboot.bin). Now I'm not too familiar with this file...but right now, my wii acts as if nothing was added whatsoever.
frown.gif
 
Wever said:
...
Unfortunately, it still didn't boot anything. [...] your program makes an empty "\sneekycompiler\CopyToSD\bootmii" folder (it should have armboot.bin).
...

I pointed this out earlier in this thread (here), just set the path variable for python in the environment variables, and it will build the armboot.bin (at least it should, haven't tried it).

@scooby
Since the program was written in Autohotkey, maybe you should have a look here. With this function, you should be able to write the python variable into the path environment variable.
 
LinkFan16 said:
Wever said:
...
Unfortunately, it still didn't boot anything. [...] your program makes an empty "\sneekycompiler\CopyToSD\bootmii" folder (it should have armboot.bin).
...

I pointed this out earlier in this thread (here), just set the path variable for python in the environment variables, and it will build the armboot.bin (at least it should, haven't tried it).

@scooby
Since the program was written in Autohotkey, maybe you should have a look here. With this function, you should be able to write the python variable into the path environment variable.
Note that that command is temporary. You cannot permanently write environment variables with the built in commands in AutoHotKey. You can however do it with this little library: http://www.autohotkey.com/forum/viewtopic.php?t=57491 Very easy to use and great author
tongue.gif
 
SifJar said:
LinkFan16 said:
Wever said:
...
Unfortunately, it still didn't boot anything. [...] your program makes an empty "\sneekycompiler\CopyToSD\bootmii" folder (it should have armboot.bin).
...

I pointed this out earlier in this thread (here), just set the path variable for python in the environment variables, and it will build the armboot.bin (at least it should, haven't tried it).

@scooby
Since the program was written in Autohotkey, maybe you should have a look here. With this function, you should be able to write the python variable into the path environment variable.
Note that that command is temporary. You cannot permanently write environment variables with the built in commands in AutoHotKey. You can however do it with this little library: http://www.autohotkey.com/forum/viewtopic.php?t=57491 Very easy to use and great author
tongue.gif

ok sifjar i am trying to use this library

i added env.ahk to my source and then i added this line:

env_append("Path",";" "C:/python26") but still it doesnt write to the path

i am using windows 7 home premium and a 64 bit computer

am i doing this wrong?
 
you have the line "#include env.ahk" at the start of your code right?

something like this should work fine:

Code:
Env_Append("Path", ";C:\test\")

EDIT: If it still doesn't work, there is a sort of workaround to do it in AHK without extra libs by writing the registry. That is basically all my library does anyway, so you could look at the source of Env_Append() in env.ahk if you want to see how to do it that way.
 
lol

ok i know i dont make much sense but do i need to use all the functions from env.ahk or just the append one

what i am tring to do is after my program installs python is to set python into the environment path so the armboot.bin will be made and people wont have to do it manually
 

Site & Scene News

Popular threads in this forum