Home Gallery Resources The Team Rules chat Login Register
  Show Posts
Pages:  1 ... 13 14 15 [16] 17 18 19 ... 42
226  Super Smash Bros. Brawl Hacking / Programming / Re: DiddyKong's BRSTM Renamer **UPDATED** on: March 21, 2013, 12:11:15 PM
actually... I've just thought...
Windows calculator can bit-shift...

Meaning you should be able to bit-shift in GML...

are you sure you can't, or you just havn't tried??

Try this:
Var = 1 << 8

And output Var to the console

If you get an error, or 256 doesn't show...
I'll accept that you can't bit-shift.
you know i left a debug feature in the copier right? it lets you fiddle with GML within the program


press spacebar to pull up the code execution box   ,  to display the variable, run

wd_message_simple(var)

at the end of the code


you can run or execute pretty much anything i didnt code into the program, including entering 3d view and drawing polygons, but thats not the main purpose of it, and this isnt a 3d viewing program

** var is a variable/function thingy already assigned to something in GML, you cant use it, neither can i before compiling


globals you can't use:
sd
ass
autohex
pitch
mb
gb
kb
tb
from
track

these variables are all used by the program already, changing them can cause weird things to happen when the program wants to read them
including freaking out the drive meter


local variables ar ejust the variable IDs and dont have global. before them
227  Super Smash Bros. Brawl Hacking / Programming / Re: DiddyKong's BRSTM Renamer **UPDATED** on: March 20, 2013, 02:20:45 PM
but can you bit-shift??

Eg:
0xff << 8 = 0xff00 | 0xfe =0xfffe = 65534

There's your 16bit value from 2 8bit values.

To write that:

Write( ( 65534 >> 8 ) & 0xff )
Write( 65534 & 0xff )

This is exactly what UMC does...
nope
228  Super Smash Bros. Brawl Hacking / Programming / Re: DiddyKong's BRSTM Renamer **UPDATED** on: March 19, 2013, 11:25:22 PM
well... that's easy to pass Smiley
can you bit-shift in GML?? (<< or >>)

these python functions might help explain that:

def bu16(): #read a 16bit big-endian value
    byte1 = file.read(1)
    byte2 = file.read(1)
    return byte1+( byte2<<8 )

def u16(): #read a 16bit little-endian value
    byte1 = file.read(1)
    byte2 = file.read(1)
    return byte2+( byte1<<8 )

little endian: '0100' = 1
big endian: '0001' = 1

for even more info, you can DL UMC dev4 and look at the __BIT() function in data/COMMON.py Wink

that function actually deals with ints and floats stored in multiple and ambiguous byte sizes. Smiley
(though in dev4 it can only write 32bit and 64bit floats)
 ^ it can read floats of any byte-size


everything starts out as an unsigned int and gets converted to a signed or float value based on the bit-format specs Wink


I don't rmbr exactly how I stored the file in memory, but I know it involved a u8() array.
(each byte as an 8bit int in either [77,68,76,48,...], or array('B',[77,68,76,48,...]) )

lol, take a guess at what those first 4 bytes are. Tongue

nope... its really limited to just byte overwriting on a per byte basis, and cannot do a strand of bytes at once, i struggled just to get the playback rate working

it returns the data in decimal so yah...:

ass=file_bin_open("Final_Lap.brstm",2)
file_bin_seek(ass,$064)
A=file_bin_read_byte(ass)
file_bin_seek(ass,$065)
B=file_bin_read_byte(ass)
C=A+B
if (C=315) {file_bin_seek(ass,$064);file_bin_write_byte(ass,$EA);file_bin_seek(ass,$065);file_bin_write_byte(ass,$60)}
if (C=125) {file_bin_seek(ass,$064);file_bin_write_byte(ass,$AB);file_bin_seek(ass,$065);file_bin_write_byte(ass,$E0)}
if (C=240) {file_bin_seek(ass,$064);file_bin_write_byte(ass,$DB);file_bin_seek(ass,$065);file_bin_write_byte(ass,$24)}
229  Super Smash Bros. Brawl Hacking / Programming / Re: DiddyKong's BRSTM Renamer **UPDATED** on: March 19, 2013, 12:01:26 PM
I see...

dang if I was any good at GML or command-line programing, I'd have some suggestions for you >_<


if you like, you could help me help you out by building a BRSTM template for HexEdit.
that way, I could figure out the format of a BRSTM, and help you to encode it better. Smiley

I'll post the HexEdit link and tell you how to crack it if you're interested, but if not, or you're too busy, then I won't bug you. Wink
cant - in gml i can only parse / write one byte at a time, not a strand of them

because of this i couldnt make it read the two bytes that tell the frequency and just make it add 10KHz to it and write the new value

230  Super Smash Bros. Brawl Hacking / Programming / Re: DiddyKong's BRSTM Renamer **UPDATED** on: March 18, 2013, 07:36:53 PM
hey diddy Smiley

before reading... Tongue
I know your program allows you to change the pitch of a brstm w/o loosing the loop,
but does it allow you to adjust the volume??
no....
i do not know how to do re-encodes.... if you could do db peak reads, and adjust in CMD, and apply ACID's volume and peak restore plugins in cmd, i might be able to...
231  Super Smash Bros. Brawl Hacking / Programming / Re: [Official] Brawlbox Development: Moving vertices and rigging!? on: March 13, 2013, 02:15:31 AM
mind blown
232  Super Smash Bros. Brawl Hacking / Programming / Re: DiddyKong's BRSTM Renamer **UPDATED** on: March 01, 2013, 05:55:04 PM
So I see... based on that edit, I assume that it works with MKW?
Could I give you Mario Sports Mix BRSAR? Maybe you could look at it...? http://www.mediafire.com/?ul3414c2aqwgs6a
??? what do you want me to *try* and look at? blackjax is dealing with brsars right now,

the sawndz support i added, makes it lazier for one to insert sawnd packets (it depends on jaklub's sawndz app)
233  Super Smash Bros. Brawl Hacking / Programming / Re: [Official] Brawlbox Development: RSAR almost done on: March 01, 2013, 02:21:03 AM
DOH I MISSED
234  Super Smash Bros. Brawl Hacking / Programming / Re: DiddyKong's BRSTM Renamer **UPDATED** on: February 24, 2013, 04:19:34 PM
Okay, I'm a lazy reader but does this program rename song titles in-game?
Like renaming Planet Colors to Funky Dealer?

EDIT: I didn't think people really need so much help with renaming files for them to work in-game  
no it does not, i would have done that, but i am limited at programming and dont know how to parse msbin files

this basically removes the need to have the song list, and the update to it, adds MKW support for CTGP and actually modifies playback speed if you press PG up

and also makes sawnd injectino more streamlined by removing the need to have sawndz on the SD card, or copy the brsar back to the SD after injection, it also backs up the brsar on its own, and any brstms a user deletes through it
235  Super Smash Bros. Brawl Hacking / Programming / Re: [Official] Brawlbox Development: RSAR almost done on: February 23, 2013, 09:32:31 PM
stream ended
was fun watching and chatting with ya Tongue
236  Super Smash Bros. Brawl Hacking / Programming / Re: [Official] Brawlbox Development: RSAR almost done on: February 22, 2013, 12:40:27 PM
i want this song here:
Super Mario Guy - Starman Theme (With Lyrics)
over starman theme
hope that will be possible with brsar editor in brawlbox(and if the brsar got filesize for it)
the best star theme ever+its peter from family guy who sing
me and soneek tested the unfinished source, it CAN, it might be able to redirect to load a brstm (mainly that unused one) instead if you want, or insert a wav, the starman theme is currently a MIDIish type entry
now looping it if in wav form, thats a diff story
237  Super Smash Bros. Brawl Hacking / Programming / Re: [Official] Brawlbox Development: RSAR almost done on: February 22, 2013, 02:53:07 AM
RSAR editing sounds boss.  The item moveset editing would be nice as well, though; I've been wanting to power up the Brawl- "Gandouken" (Super Scope) for some time.  Unless that's already possible somehow.
item sfx is possible from sawndz, its just everyone covered that fact with hacking character voices and announcers

i made it so squeeky golden hammer is the trololo guy going LOALOALOALOAL
238  Super Smash Bros. Brawl Hacking / Programming / Re: [Official] Brawlbox Development: RSAR almost done on: February 21, 2013, 10:49:21 PM
I'd rather have the newer BrawlBox with everything done at once. Smiley
but then that would push its release back a couple years
239  Super Smash Bros. Brawl Hacking / Programming / Re: Super Sawndz! on: February 14, 2013, 07:43:25 PM
I'm lost on that. ^^"

Essentially, I'm stuck.
chat with me then, i can better help in realtime and retain my train of thought
http://mibbit.com/?channel=%23KCMM&server=irc.web.gamesurge.net
240  Super Smash Bros. Brawl Hacking / Programming / Re: Super Sawndz! on: February 14, 2013, 12:35:44 AM
I try to add a sawndz pack to the BRSAR and it keeps on NOT replacing it.

I dunno how else better to explain it...
use CMD to open sawndz, rename blah.sawnd to sawnd.sawnd,  put the b rsar in the same directory as sawndz

type sawndz.exe sawnd
sawndz.exe is to run sawndz
sawnd tells it to inject a sawnd file
or use this http://www.mediafire.com/download.php?psv3be82xcj4ado
Pages:  1 ... 13 14 15 [16] 17 18 19 ... 42