Home Gallery Resources The Team Rules chat Login Register
  Show Posts
Pages:  1 ... 12 13 14 [15] 16 17 18 ... 42
211  Super Smash Bros. Brawl Hacking / Programming / Re: DiddyKong's BRSTM Renamer **UPDATED** on: March 26, 2013, 12:18:54 PM
why not?? Undecided
I used Blender (24 and 26) and Paint Shop Pro 7 to make my icon Tongue
(and a little MS Paint)
ICOFX??

I just used gimp to export individual icons:
16 million colors:
-48x48
-32x32
-16x16
256 colors:
-48x48
-32x32
-16x16

and layered them in gimp with highest quality/largest image first (on top) (following the format above)
and exported the full 6 layers as another icon and replaced the exe's gear icon with that...
of course =3
i lack concept for that.. im not very original or creative in the art/image department
i would need someone to designt an icon or logo for me
212  Super Smash Bros. Brawl Hacking / Programming / Re: DiddyKong's BRSTM Renamer **UPDATED** on: March 26, 2013, 11:10:34 AM
download GIMP Wink
it builds and efficiently manages multi-layer icons like the one used in GM exes Smiley
(including transparency)
 ^ uses PNG alpha-masking for 16-million colors

use Resource Hacker to replace the icon Wink
... wait a minute... what program do you have??


also...
can we take UMC's batch-exe over to my thread plox.
thanx Smiley

I hope you're not bothered by working on this for me... :/
I do have a few requests and ideas, but I'll ask them on my thread Wink

I've already marked you down in UMC's credits. Cheesy
(since this is a big issue in portability)
 ^ and Ian Mallet is yelling at me about it... lol
i cant design imagry from scratch lol

i have an icon maker, GIMP, and photoshop the ICOFX is used to batch convert a multi res icon package then save it as an ICO which is the only format game maker accepts

Post Merge: March 26, 2013, 11:12:27 AM
we can take the discussion there, but ANYTHING relating to or planning to go into brstm copier goes HERE
213  Super Smash Bros. Brawl Hacking / Programming / Re: DiddyKong's BRSTM Renamer **UPDATED** on: March 23, 2013, 11:15:02 PM
to correct you there...
brbx is the main tool for BUILDING brstms.
there's no possible way to edit them (that I know of) other than hexxing...
why I'm so eagar to see you advance with this thing Cheesy


and thanx :3
I wanted that because some computers (library, school, etc) won't run BAT files.

to run UMC you need to run the BAT file.
though now that I've got the exe (thank you so much), I can run the program even more portably now ^_^


EDIT:
IT WORKS! ^_^
lol thanx diddy Smiley
though now I have 3 windows that appear...

if you'd like to fix that up, you can DL UMC dev4 and copy the exe to the program directory Wink

can you set a file icon with that??
(take your answer over to my thread plz) Smiley

EDIT2:
and yea... it doesn't auto-close when closing UMC's window...

windows:
- GM (the exe you just made) Smiley
- python console
- UMC (GL/SDL window)

EDIT3: finally managed to change the icon :3
+1 for resource hacker XD
exe icon technically relates to brstm copier lol
yes, i can put any icon i want, i have a program for that, though i want to use a REAL icon for brstm copier instead of this building block crap Tongue
214  Super Smash Bros. Brawl Hacking / Programming / Re: DiddyKong's BRSTM Renamer **UPDATED** on: March 23, 2013, 05:03:53 PM
well...
why not try to put brbx to shame until it's able to get better Smiley
(programmers like a little load off their back like that) Tongue
that's fine...
but it was your pitch shifting implamentation that inspired the other things I've brought up Smiley
yea...
but I don't want others to mistake my inputs for something to help me on and start using your thread for that Wink
just a basic interface for now... yea...
as you've stated was your original idea.

though now you're doing stuff that could be dealt with at an advanced level...
I see you're just using a cmd interface basically...
(no different from programming a .bat file)

*reads my last 2 lines*
there's an idea I could use...

GM can basically make exe's that act in place of .bat files :3
(not all compy's can run .bat files)

think you could input the cmd-line operations for the .bat into GM and compile an exe that performs the operations of the .bat?? Smiley

if so, thanx =D
and here's the operations:
-------------------------------------
@echo off
dataPython272python.exe UMC_loader.py
-------------------------------------

UMC dev4 has the custom icon to use Wink
the pitch shifting for MKW mode is so people dont have to hex the brstm themselves or manually make their own sped up version of a song, the program does it for them, making it faster to just download ONE brstm, and not worry about having to request a sped up version of it, or hunt for it.
^^^ thats not useful to the brawl side - and is not meaning to replace brawlbox in anyway, brawlbox is for hacking many things, not just audio, its still the primary tool for brstms

pitch shifting was originally not going to be in the program, but i added because i foresaw  MKW users soon to whine about pitch increases being a side effect, so i think one step ahead,  people from MKW LOVE it, even mr bean JR will be using it

as far as people getting the wrong idea from your references to UMC, i will BACK YOU UP on that, and explain how i take certain references as notes or comparisons that can help me


the  code i run that does BATish operations is this line is run for EVERY action and program to run

execute_program("program.exe"," arguments/params",true)

that 3rd argument is a true or false, or 0 or 1,, if true, the runtime pauses until the launched application closes, if false, the runtime continues after launching the external application

btw the arguments otherwise in a bat file, can be changed or outcome'd by variables Tongue  variables set by the txt file vgmstream spits out are the params used when it runs the standalone brstmmaker

https://www.dropbox.com/s/8fc1x2yndzo31wo/vvvv.exe

and idk why you wanted that ^ but OK Tongue



Post Merge: March 23, 2013, 05:22:05 PM
Oh, I wasn't aware, sorry about that.
Tongue
215  Super Smash Bros. Brawl Hacking / Programming / Re: DiddyKong's BRSTM Renamer **UPDATED** on: March 23, 2013, 02:21:09 PM
your point has been made Smiley
and I fully agree with it XDD

though that programming attention is for UMC...
(not trying to gain by using your thread, that line just slipped) Tongue

I still need to finish my post Tongue


for some tips on your program, I'd reccomend leaning how to do this stuff yourself instead of using other programs to do it for you Wink

for example, internal file handling using an 8bit interger with each value being a byte of the file Smiley
(UMC currently does that)

I'm actually working on archive handling with file extraction...
(a smart file system for UMC)

anyways...
for you, another expert thing would be your own basic audio editor Wink

bacically, something that's able to pitch-shift, re-loop, etc...

you could help out BJ by writing that Smiley



in a way, I'm helping BJ out by learning GL and figuring out nintendo's GX formatting.
(GX is GL with a few modifications)
well my main purpose of the external programs was for MKW mode
to pitch shift only,  not to be a brawlbox (brstm) killer

this program was meant to be aimed at noobs who cant even as much as look at a song ID txt list
ans to make sawnd insertation more simple and works unlike supersawndz

every time you reference your program, im seeing this as connections and relations between what we want to do so thats okay

jaklub created sawndz my app simply uses it to insert sawnd files, the copier simply backs up the brsar, copies it to the program directory FOR the user, renames the sawnd file (like sawndz012 does) then tells sawndz to do its thing, (which i put a wait for program end line here) , after in which the brsar is copied BACK to the sd card , which is crap i tell people who come to the chat for this to do
216  Super Smash Bros. Brawl Hacking / Programming / Re: DiddyKong's BRSTM Renamer **UPDATED** on: March 23, 2013, 11:50:07 AM
PLEASE =3

google searching through VTunnel on Wii connected to a phone's hotspot that only provides https access is more than a hastle. D=
and slow =/

I can read IEEE floats of literally any size. (even 5-byte encoded floats)

but I can't write them.

I'll explain more on my UMC thread in this board...
(don't want to clutter up Diddy's thread any more than it already is)

sry bout that Diddy =(
I can delete some of my posts if you want?? Smiley
it's contributing info wise, or other, to the program in topic, is it not?
leave them there its because of that, its attracting programming attention
217  Super Smash Bros. Brawl Hacking / Programming / Re: DiddyKong's BRSTM Renamer **UPDATED** on: March 22, 2013, 10:13:00 PM
the shift key runs the whole thing at once, the file variables 
is set by the load file object (this setting is nearly isolated from your script, i only simply added another variable for it to set)
1 and 2 were to set the other two variables i dont kow what to do with so i let those be settable by you during runtime
218  Super Smash Bros. Brawl Hacking / Programming / Re: DiddyKong's BRSTM Renamer **UPDATED** on: March 22, 2013, 09:31:57 PM
you're not supposed to shift to run it...

you're supposed to use the script (or function) like you would use file_bin_read_byte()

the script reads/writes 4 bytes instead of 1 byte

when reading, it returns the full int value of the 4 byte cluster
(not 4 1-byte values)

when writing, it returns nothing
where do you want this run then, and when?
im not going to cram it into the rest of the operations until we know for sure its going to do something useful and not break the normal intended operation of it


by shift , i meant the script runs when the SHIFT KEY on the keyboard is pressed i put this code on the debugger object that runs seperate from the rest of the wall of text

Post Merge: March 22, 2013, 09:39:38 PM
this'd be  easier if we BOTH could run test compiles of my src with your code (the GM installer i tried to give you installs the purchased version for free
219  Super Smash Bros. Brawl Hacking / Programming / Re: DiddyKong's BRSTM Renamer **UPDATED** on: March 22, 2013, 08:52:53 PM
idk if i installed the script right
https://www.dropbox.com/s/dfa237vvd2p7jrs/test.exe

but 1 and 2 will pull up boxes to set variables 
the file argument is now set to what global.from contains (which is the input file)

shift to run the script of yours.... i probably fked it up though D:

again i put the triggers to be manually set off by the debug object i mentioned earlier   i do not want to BREAK the code i already have
220  Super Smash Bros. Brawl Hacking / Programming / Re: DiddyKong's BRSTM Renamer **UPDATED** on: March 22, 2013, 07:39:59 PM
ok...
now modify the file before writing it Smiley


you know how to encode the brstm format right??
(I assume you didn't know how to use GML to do it)


EDIT:
UUGH!
I hate the IEEE754 format >_<

I'm trying to figure out how to get from "1.0" to "3F800000",
and it's not going well >_<
i didnt use GML, i didnt write external scripts..

the brstm compiler frmo brawlbox was used (an exe)
that accepts CMD line params which the copier issues it does the rest on its own, the only thing given to it, is the file name to output, wav name to use, and the loop points spit out by vgmstream  none of the encode writing was done by me
221  Super Smash Bros. Brawl Hacking / Programming / Re: DiddyKong's BRSTM Renamer **UPDATED** on: March 22, 2013, 05:29:07 PM
the code I wrote you simply reads and writes a 4byte (32bit) value from and to a file you give it.

numbers larger than 255


as for the file input...

the thing outputs a renamed brstm from an input brstm right??

if so, then take the input brstm and use my function to read the 32bit (or 4 byte) structures in the brstm,
modify the value as needed,
and write the modified value to the output brstm.

simple as that
the way this thing works, is it uses the from variable (set by the user's file selection)
makes a copy of it to the app directory named "Final_Lap" and then it fidgets with that one so the original isnt damaged or lost

the final lap brstm is then copied to the sd

this file handling feature only runs in MKW mode, not brawl mode
222  Super Smash Bros. Brawl Hacking / Programming / Re: DiddyKong's BRSTM Renamer **UPDATED** on: March 22, 2013, 05:06:25 PM
what?? no...
no no...

this is ment to be used to encode your data to increase the volume of a brstm and that sort of stuff :/

the stuff you didn't know how to (or thought you couldn't) do before...

EDIT: we srsly need to find a chat that works through VTunnel >_<
my shoutbox just takes you to the top of the page -.-*


proboards must be having problems again...


EDIT2:
if I were you diddy,
I've only worked on the bu32 function for you...

big-endian unsigned 32bit structure

I don't think you'll need to use little-endian handling as Nintendo generally sticks to big-endian. (so I've heard)

apparently that little 'FE FF' in brres files means big-endian...
'FF FF' means little-endian... Undecided


anyways...
the other byte structures for big-endian are:
unsigned intergers:
bu64
bu32 (already have)
bu24
bu16
bu8 (don't need unless you want)

signed intergers:
bs64
bs32
bs24
bs16
bs8 (you might need this)

IEEE754 floating point (decimal) format:
bf64
bf32
bf16 (maybe)


if you need some coding reference,
my '__BIT' function in UMC dev4 handles all of those and more.
so that code amplifies?  i stil cant parse data yet and for the target file to affect, you want this to be fixed? or variable (based on user input)
223  Super Smash Bros. Brawl Hacking / Programming / Re: DiddyKong's BRSTM Renamer **UPDATED** on: March 22, 2013, 03:42:11 PM
??

we're talking about encoding the brstm,
and being able to read/write large ints :/

that function reads '00 0F 30 26' and returns 995366
or input 995366 and write it to a specified file as '00 0F 30 26'

what do you want me to put as the file to use argument?

i said i can make it so the user gets to browse and pick the file it will  deal with
224  Super Smash Bros. Brawl Hacking / Programming / Re: DiddyKong's BRSTM Renamer **UPDATED** on: March 22, 2013, 02:54:25 PM
that code is ment to be ran with specific arguments when called...

the file is the first
the offset of the 32bit value is the 2nd
and the 3rd is a value that tells the function weather to read or write...

example:

myfile = file_bin_open("filedir") //file to read from

value1 = bu32( myfile, 0, '' )
value2 = bu32( myfile, 4, '' )


file2 = file_bin_open("file") //file to write to

bu32( file2, 0, value1 )
bu32( file2, 4, value2 )
I can use the file open dialog box to set that file to use argument during runtime
225  Super Smash Bros. Brawl Hacking / Programming / Re: DiddyKong's BRSTM Renamer **UPDATED** on: March 22, 2013, 12:59:50 PM
on wii again... yay ^_^

diddy I'm going to try to write a function in GML that will both read and write a bu32 value from a supplied file.

if's going to follow the same format that UMC 2x followed:
reading:
value = bu32( '' )

writing:
bu32( int(value) )


IDK how to name a script in GML so I can't test if this will work or not...
(no scripts to back-track on either)
 ^ I'm hitting this completely blind-sided with horrible documentation (the help file)... heh

script "bu32":
argument0 = file
argument1 = offset
argument2 = value
{
  f = argument0; o = argument1; v = argument2 //shortening the variables
  if (v=='')
  {
    file_bin_seek(f,o)
    b1=file_bin_read_byte(f)
    file_bin_seek(f,o+1)
    b2=file_bin_read_byte(f)
    file_bin_seek(f,o+2)
    b3=file_bin_read_byte(f)
    file_bin_seek(f,o+3)
    b4=file_bin_read_byte(f)
    return (b1<<24)|(b2<<16)|(b3<<8 )|b4
  }
  else
  {
    b1=(v>>24)&255
    b2=(v>>16)&255
    b3=(v>>8 )&255
    b4=v&255
    file_bin_seek(f,o)
    file_bin_write_byte(f,b1)
    file_bin_seek(f,o+1)
    file_bin_write_byte(f,b2)
    file_bin_seek(f,o+2)
    file_bin_write_byte(f,b3)
    file_bin_seek(f,o+3)
    file_bin_write_byte(f,b4)
  }
}


usage should be easy:

value=bu32(file,offset,'')
bu32(file,offset,value)

let me know if that works Wink

lol idk what im going to be looking for Tongue
which var will be the file?  i dont see the file bin open code in there
Tongue

here is a snapshot of when scripts or written code is launched

when i said it was mostly drag and drop, i wasn't kidding Tongue
what that block there contains is the code to run, scrips can be added, and called from another action, but asks for arguments instead which affect the script's values where set
Pages:  1 ... 12 13 14 [15] 16 17 18 ... 42