Kodewerx
https://www.kodewerx.org/forum/

**Update 02/01** AR Workshop - Calling all coders and Haxors
https://www.kodewerx.org/forum/viewtopic.php?f=2&t=626
Page 1 of 2

Author:  kickenchicken57 [ Tue Jan 30, 2007 12:34 am ]
Post subject:  **Update 02/01** AR Workshop - Calling all coders and Haxors

**NEW SCREENSHOTS AT BOTTOM**

I am writing a program that will take care of a lot of work for us ARDS code hackers. I am sick of waiting on Datels trainer toolkit and I want to get a head start on something that will help with what we can do for now. I am looking for some coders to help out with the program to get it released faster and with solid features.

Features to expect from AR Workshop...

*Generate code subscriptions
*Compile ASM Statements to codes
*Slide code generator / expander
*Parse and validate code subscriptions
*Joker code creator
*Patch roms with codes
*More that I am too tired to list (its 2:00am right now...)
*Willing to take requests

Who I am looking for...
*C# programmers
*if you can write an xml parser it is a plus
*Parasyte I was hoping you would help out too:)
*Anyone with experience in DS code hacking who can contribute

please post what you would like to contribute to this project and I will contact you.

**UPDATE**
-I have a basic slide code tool almost finished. What it will do is take a memory address and add a hex offset for the number of times required and then output your codes in xml subscription format.

Ex. enter advance wars code UNIT 1: Press Y To Move Again
add an offset of 14(decimal)
enter 50 for number of codes
press generate and you get an xml file with "Move Again" code for all 50 units

**SCREENSHOTS**
Joker Code Generator
Image

Author:  Scumisen [ Tue Jan 30, 2007 1:57 am ]
Post subject: 

Great idea!

Author:  Parasyte [ Tue Jan 30, 2007 2:08 am ]
Post subject: 

You should see the list of features for the stuff I've been trying to work on... But I don't touch C# :(

Author:  kickenchicken57 [ Tue Jan 30, 2007 6:38 am ]
Post subject: 

Parasyte wrote:
You should see the list of features for the stuff I've been trying to work on... But I don't touch C# :(


If you have code that can accomplish something useful in C, C++, or VB I can probably port it to C#. I Know you did a few of those GBA code converters (AR, GSA, CBA) and I would like to eventually have this handle codebreaker (which I dont own) but I dont know how you figure out things like how the decryption / encryption works. I know you could probably contribute something great to this though

Author:  Baphomet [ Tue Jan 30, 2007 10:58 am ]
Post subject: 

I don't like, or know C#. But I know C++ fairly well.

Author:  kickenchicken57 [ Tue Jan 30, 2007 11:09 am ]
Post subject: 

Baphomet wrote:
I don't like, or know C#. But I know C++ fairly well.


Good, if you are able to code things in c++ it is fairly easy for me to port because its my primary language.

Author:  dlong [ Tue Jan 30, 2007 11:39 am ]
Post subject: 

ewww C#. I have a 75% finished THUMB/ARM7 -> Opcode and vice-versa program in C (or C++, I don't remember). If you need me, let me know. If I'm in a good mood, I might help. I should learn C# anyway.

But still, why C#?

Author:  kickenchicken57 [ Tue Jan 30, 2007 12:06 pm ]
Post subject: 

dlong wrote:
ewww C#. I have a 75% finished THUMB/ARM7 -> Opcode and vice-versa program in C (or C++, I don't remember). If you need me, let me know. If I'm in a good mood, I might help. I should learn C# anyway.

But still, why C#?


YES! I could definitely use you. I need a feature like that so people can write out a custom ASM routine and have it converted over to code format without using a pencil, paper, hand gun, and a calculator. If you wouldn't mind sharing your work and having it merged into my program (With full credit to you) then you will be a big help.

Well the last job I had I used C# and its rather well....nifty. its like C++ but easier to make good looking programs. You'll see what I mean when I get a GUI going. I'm going to use the Janus Control Set over at http://www.janusys.com/controls/ check out the Windows Form Controls.

Author:  dlong [ Tue Jan 30, 2007 1:36 pm ]
Post subject: 

I e-mailed you the files, although I'll probably just end up rewriting them any way.

Author:  Kyle [ Tue Jan 30, 2007 2:45 pm ]
Post subject:  Re: **Update** AR Workshop - Calling all coders and Haxors

Even though I can only edit codes, it does sound pretty cool. :)
I'd be interested.

Author:  kickenchicken57 [ Wed Jan 31, 2007 10:54 am ]
Post subject: 

Work on the project is going ok, Im trying to implement tabbed MDI forms before I release any screenshots. What this means is that you will be able to have multiple code tools open at the same time

Author:  Baphomet [ Wed Jan 31, 2007 2:34 pm ]
Post subject: 

I can do some stuff using C++ using the Windows API, or wxWidgets. Anything I can do to help?

Author:  Parasyte [ Wed Jan 31, 2007 3:50 pm ]
Post subject: 

Screen shot is broken.

Author:  ChArG3D [ Wed Jan 31, 2007 4:38 pm ]
Post subject: 

A suggestion to add? Maby a UK to US converter and visa versa. That would be awesome.

Author:  dlong [ Wed Jan 31, 2007 7:05 pm ]
Post subject: 

calc.exe

Author:  kickenchicken57 [ Thu Feb 01, 2007 6:10 am ]
Post subject: 

ChArG3D wrote:
A suggestion to add? Maby a UK to US converter and visa versa. That would be awesome.


Good idea, of course you have to do a little of the work yourself because you need to find the offset that the codes need to be shifted.

dlong wrote:
calc.exe


Already ahead of ya :wink:

Parasyte wrote:
Screen shot is broken.


I know, and I cant figure it out :( its at http://kickenchicken57.0catch.com/ARWor ... deCode.jpg if someone would care to get an image post for me

Baphomet wrote:
I can do some stuff using C++ using the Windows API, or wxWidgets. Anything I can do to help?


I could probably use some help here soon and I will let you know what you can do then. I need to sit down and make a list of the things I need done. I do need someone that can make pretty icons also.

Thanks all for the support! I should have a beta version out in a few days. Of course it wont contain all of the tools yet...

MUCH thanks to kenobi for his post on AR Code Types. I wanted to make a Joker code creator and almost gave up until I found this website.

Author:  Parasyte [ Thu Feb 01, 2007 1:13 pm ]
Post subject: 

Use photobucket.com, imageshack.us, or tinypic.com to host the images. Your "0catch.com" host does not allow outside image linking.

Author:  kickenchicken57 [ Thu Feb 01, 2007 8:26 pm ]
Post subject: 

Question for Parasyte or Kenobi. In the Code Types post for the AR I seen this...

Parasyte wrote:
Here are some universal Activator codes which will work on all games:

Activator 1 (GBA buttons):
94000130 xxxx0000

For xxxx:
FFFE: A
FFFD: B
FFFB: Select
FFF7: Start
FFEF: Right
FFDF: Left
FFBF: Up
FF7F: Down
FEFF: R
FDFF: L


Activator 2 (NDS buttons):
927FFFA8 xxxx0000

For xxxx:
FBFF: X
F7FF: Y
DFFF: Debug Button (not available on commercial NDS)
7FFF: NDS not folded


To combine one or more buttons together, use bitwise AND:

(A & B) = (FFFE & FFFD) = FFFC


Now I went by this in my Joker code Generator for the AR Workshop program I am working on and decided to check it against some joker codes from datel.

For Metroid 1.0 I saw this code:
Press R To Max Out Health
920de4ee 00000100
120da7ee 000004b0
d0000000 00000000
920de4ee 00000100
120da7f0 000004b0

Now I know that the address for the joker code can differ, but why do i not get the same values? R=FEFF and so my code looks like this:

94000130 FEFF0000
120da7ee 000004b0
D0000000 00000000

Should this work? I have not yet tested.

Author:  kickenchicken57 [ Thu Feb 01, 2007 8:53 pm ]
Post subject: 

Looking for anyone who wants to help write the help files. I would like to have a chm help file which can be created in HTML Help Workshop at http://www.microsoft.com/downloads/details.aspx?familyid=00535334-c8a6-452f-9aa0-d597d16580cc&displaylang=en and it would be awesome if someone could help me start witting this.

two basic tools are almost finished and then the BETA will be released so you guys have something to play with while I work on finishing more tools. The BETA currently will let you create Joker Codes with ease and also take a "base code" and make a slide code out of it. for example it will turn a INF Health Unit 1 code into a code for 50 units, but unless there is a "true" slide code type found in the AR it will output a separate code for each unit resulting in 50 codes for example.

Author:  Parasyte [ Thu Feb 01, 2007 11:55 pm ]
Post subject: 

Of course it works. Datel's activators are entirely different; they will only activate if the exact combination of buttons is held... For example, you can't move around with the D-pad while holding the R button if it's only designed for R. The use of the D-pad will change the key register, invalidating the activator and disabling it. My method uses bitwise masks, which will mask out all buttons except the ones you want. In this way, it ignores the other buttons, like the D-pad; they can be held or released and it will not change the activated code. It only relies on the selected buttons.

Therefore, screw Datel's crappy codes. And that's why we are here.

Author:  kickenchicken57 [ Fri Feb 02, 2007 7:08 pm ]
Post subject: 

Parasyte wrote:
Of course it works. Datel's activators are entirely different; they will only activate if the exact combination of buttons is held... For example, you can't move around with the D-pad while holding the R button if it's only designed for R. The use of the D-pad will change the key register, invalidating the activator and disabling it. My method uses bitwise masks, which will mask out all buttons except the ones you want. In this way, it ignores the other buttons, like the D-pad; they can be held or released and it will not change the activated code. It only relies on the selected buttons.

Therefore, screw Datel's crappy codes. And that's why we are here.


Although that is crappy, I would like to know the values anyway. They should be the same as the values when you are actually programming on the DS I assume? What I will probably do is give the option of each type of code (Your bitwise mask or Datels crap :) ) and also provide an option for "Reverse Engineering" a code, as in you type in the code and it tells you what Buttons the code is for (in case you find a Joker code that is not labeled). I dunno, I guess I just want to make this whole app 100% everything you could ever need and some :)

Didnt get a chance to work on the App today with Work and all but I am real close to a the first release. Hope everyone is still excited about this, sorry to keep everyone waiting. Keep an eye on this though, its coming soon!

Author:  kenobi [ Sat Feb 03, 2007 1:26 am ]
Post subject: 

Not sure if it's the info/value you requested, anyway... :

In these exemples you must check the keys against the value at 04000130 (ie. 0 = pressed, 1 = released), and use a 9 code type activator :

If you want to make an 'only this(these) button(s) must be pressed' activator, put '0000xxxx' in the data field of the code, xxxx being the value of the button(s) which status you want to be pressed, as para explained them in the NDS AR code type.
Exemple : press L+R, and nothing else :
xxxx = L and R = FEFF and FDFF = FCFF
code = 94000130 0000FCFF

Anf if you want to make 'press this(these) button(s) regardless of the status of the other buttons' activator, put 'xxxxyyyy' in the data field, xxxx being the value of the button(s) which status you wanna check, as para explained them in the NDS AR code type, and yyyy being the expected status of these buttons.
Exemple : press L+R, regardless of the other buttons pressed :
We gonna check only L and R status, so :
xxxx = L and R = FEFF and FDFF = FCFF
yyyy = 0000, then orr it with not(button value) for each button you want to be released. It is the same than doing not(xxxx) and (value of the button(s) to be pressed). In this exemple, no button must be released, so yyyy = 0.
code = 94000130 FCFF0000

But if you wanted to make a code activate if R is pressed and L released, it would be :
We gonna check only L and R status, so :
xxxx = L and R = FEFF and FDFF = FCFF
L must be released, which means :
yyyy = 0000 + not (FDFF) = 0000 + 0200 = 0200. (=not(xxxx) and FEFF = 0300 and FEFF = 0200)
code = 94000130 FCFF0200


And in the datel's metroid code you showed, the values are different because the code doesn't check agaisn't 04000130, but against an address that obvioulsy stores not(04000130 value) (ie. 1 = pressed, 0 = released).
So if you convert this datel code to use 04000130, you also have to change the low 16 bits of the data, xxxx, to not (xxxx).
920de4ee 00000100 -> xxxx = 0100, not(xxxx) = FEFF -> 94000130 0000FEFF

Author:  Parasyte [ Sat Feb 03, 2007 3:50 am ]
Post subject: 

Short explanation: The use of masking means the mask is a logical inverse (bitwise NOT) of the value intended. Thus the 0x0100 for the R button becomes ~0x0100 = 0xFEFF

Author:  Baphomet [ Sat Feb 03, 2007 10:15 am ]
Post subject: 

Para, if you combine DS and GBA buttons (Like if I want R+X for example), would I use 27fffa8 for the address?

By the way, kenobi, when I try: 927fffa8 0000fbff, the code won't work at all.


I should make my own version of this AR workshop... It would be a good idea for a project for me. Besides, I need something to program for school.

Author:  Parasyte [ Sat Feb 03, 2007 2:33 pm ]
Post subject: 

You would have to use both addresses at the same time:

94000130 FEFF0000
927FFFA8 FBFF0000
...
D2000000 00000000

Author:  kickenchicken57 [ Sat Feb 03, 2007 8:07 pm ]
Post subject: 

Thanks kenobi and Parasyte for taking the time to explain this to me. It was VERY helpful and I am sure someone may benefit from these options in the program. (theres always someone who wants to be different). I will probably try to finish it up the way it is now just to get a beta release out there and then you will see these options in the next release. The beta release will most likely only include the slide code generator and joker code generator for now along with an Help->About window with credit where due :) I have been getting a little busy trying to get my second job secured to pay for an upcoming wedding but I am still making plenty of time for the app

Baphomet wrote:
I should make my own version of this AR workshop... It would be a good idea for a project for me. Besides, I need something to program for school.


Since I am using the Janus control suite, the source to my program wont compile for anyone who does not have the controls installed. I will probably release the source though after I get a more "Final" release ready with most all of the tools for anyone who wants to learn how it works. You can always download a trial version of the controls at http://www.janusys.com PM me if you need any help with starting your own project

Author:  Baphomet [ Mon Feb 05, 2007 9:09 am ]
Post subject: 

I'm not using C#. Besides, I haven't even seen your source code.

Author:  kickenchicken57 [ Mon Feb 05, 2007 2:24 pm ]
Post subject: 

Baphomet wrote:
I'm not using C#. Besides, I haven't even seen your source code.


I know you haven't seen my source code, I haven't released it yet because the project is not finished. That will come later. Plus you don't need to know C# to be able to get something useful out of the source code, Its syntax is very similar to C++ and may be useful some. Regardless of the language used, let me know if you need help with any project and I will be more than happy to.

Author:  Snipex [ Thu Feb 08, 2007 3:04 pm ]
Post subject: 

Can someone give me a place where i can download the .rar opener thing free please?

Author:  Kyle [ Thu Feb 08, 2007 3:32 pm ]
Post subject: 

http://www.rarlab.com/download.htm

Page 1 of 2 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/