Hacking Official Corbenik - Another CFW for advanced users (with bytecode patches!)

  • Thread starter Thread starter chaoskagami
  • Start date Start date
  • Views Views 287,155
  • Replies Replies 2,153
  • Likes Likes 60
Because I like to make my own patched code, that's why I'm asking
On page 8 or 9 of the smash-selector thread are notes on what regions are which. Also, you can just put your code.bin in the luma location and it should produce the files you need.
 
Last edited by ih8ih8sn0w,
  • Like
Reactions: gnmmarechal
is it possible to build mset_str.pco without building everything? if it is, how do i do it?

You'll need python2. Just open the console in the patch directory and type 'make'. Do *not* change the string length. The official nintendo string is u"Ver. %d.%d.%d-%d%ls". It cannot be any longer than that, lest you start overflowing into unrelated data. I also don't recommend truncating the format, since I'm unsure what might happen. Stack issues, possibly.

I need to split up the code for it to work?

Yeah. It's more technically correct to do it that way; in retrospect, I may want to support combined ones, or at least split them...but I digress.
 
  • Like
Reactions: gnmmarechal
You'll need python2. Just open the console in the patch directory and type 'make'. Do *not* change the string length. The official nintendo string is u"Ver. %d.%d.%d-%d%ls". It cannot be any longer than that, lest you start overflowing into unrelated data. I also don't recommend truncating the format, since I'm unsure what might happen. Stack issues, possibly..

Nice, i already have python 2.7 installed, it's somewhat of a sm4sh hacking requirement
 
Code:
@echo off
if not exist out mkdir out
for %%f in (*.pco) do ..\host\bytecode_asm.py %%f out/%%~nf.vco
here's a small script for windows folks, just copy and paste this code in for custom patches such as mset_str.pco, i made it because the makefile wasn't working for me
Edit:i just modified it to output to a out folder, because the folder will be less messy, also fixed the slashes to be backslashes (because windows doesn't like front slashes)
 
Last edited by Ordim3n,
quick question, if i want for example to create a custom patch, would i need to just make a custom vco file, then put it on my sd card, where the other patches are located and the config will load it, or it doesn't work like that?
 
quick question, if i want for example to create a custom patch, would i need to just make a custom vco file, then put it on my sd card, where the other patches are located and the config will load it, or it doesn't work like that?
I might be saying something stupid, but I'm quite sure it is like that.

Sent from my Motorola DynaTAC 8000x using Tapatalk
 
apparently i can't build a custom version string
71PzvAj.png

idk why this happends
 

Site & Scene News

Popular threads in this forum