Kodewerx

Our culture has advanced beyond all that you could possibly comprehend with one hundred percent of your brain.
It is currently Mon Jul 07, 2025 4:00 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 172 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject:
PostPosted: Wed Jan 17, 2007 8:07 pm 
Offline
Kommunist
Kommunist

Joined: Wed Jan 17, 2007 4:45 pm
Posts: 10
Location: at home
Unfortunately that didn't work either, but your expanded code showed me a potential error I made either in math or codetype.
4XXXXXXX TWWWZZZZ
YYYYYYYY VVVVVVVV
I think I might have the T value wrong because the ZZZZ section is getting multiplied by 4 throwing off the addresses.
In your expanded code the 1st and 2nd line are the same as Codejunkies codes for the 1st and 5th digimon.
When I subtracted the address for the 2nd digimon '021DBA48' by the address for the 1st digimon '021DB8C8' I got a difference of 180 in hex,
and that pattern continued for the six quick level gain codes made by Codejunkies.
The old rearranging of party trick doesn't work because digimon position is determined by creation and deleting one doesn't cause the rest to drop back
to the previous position.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jan 17, 2007 8:21 pm 
Offline
Krew (Admin)
Krew (Admin)
User avatar

Joined: Sun Oct 01, 2006 9:26 pm
Posts: 3768
Title: All in a day's work.
Digimon World DS (U) CB codes:

Master Code
8000AC46 41444E45
F213A6B8 223FC000

(What's the name of this? It's corrected now based on your last post, in any case)
421DB8C8 00280060
00000001 00000000


Dlong: your program should convert that CB code ^ to this AR code:

C0000000 00000028
021DB8C8 00000001
DC000000 00000180
D2000000 00000000

Your current algorithm for this code type is really screwed up...

_________________
I have to return some video tapes.

Feed me a stray cat.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jan 17, 2007 8:44 pm 
This is what I have:

4XXXXXXX TWWWZZZZ
YYYYYYYY VVVVVVVV

X is the start address. T is the write type (0 for 32-bit, 1 for 16, 2 for 8). WWW is the number of writes. ZZZZ is the address increment. It is multiplied by 2 for 16-bit writes and 4 for 32-bit writes. YYYYYYYY is the starting value and VVVVVVVV is the value increment.

C0000000 00000WWW // Load number of repetitions.
D3000000 00000000 // Load 0 into the offset
D2000000 00000000 // Execute the following codes WWW times
TXXXXXXX VVVVVVVV // Write the value to the address + offset
DC000000 ZZZZZZZZ // Increment the address
D0000000 00000000 // End of codes


Top
  
Reply with quote  
 Post subject:
PostPosted: Wed Jan 17, 2007 9:10 pm 
Offline
Krew (Admin)
Krew (Admin)
User avatar

Joined: Sun Oct 01, 2006 9:26 pm
Posts: 3768
Title: All in a day's work.
Actually it works more like this:

C0000000 00000WWW // Load number of repetitions -- top of the loop begins at the FOLLOWING line
D3000000 00000000 // Load 0 into the offset
D2000000 00000000 // Jump to loop top
TXXXXXXX VVVVVVVV // Write the value to the address + offset
DC000000 ZZZZZZZZ // Increment the address
D0000000 00000000 // End of conditional codes

So you see, the "D3" code type is the only code in the loop, which does nothing at all! Further more, if you are resetting the offset to zero at the top of the loop, it cancels any changes made by the "DC" code. And finally, using the D0 code is pointless, because there are no conditionals. Where as the code I showed does it the proper way by writing the code, incrementing the offset, then looping back to the write. (The D3 code etc are not needed, because the offsets default to zero, and are reset to zero after the D2 code has completed its processing.)

_________________
I have to return some video tapes.

Feed me a stray cat.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Jan 18, 2007 10:12 am 
1.1 is up


Top
  
Reply with quote  
 Post subject:
PostPosted: Thu Jan 18, 2007 12:01 pm 
Offline
Komrade
Komrade
User avatar

Joined: Mon Oct 02, 2006 5:56 pm
Posts: 1978
Title: Mr. Bitches
Changelog plz?

_________________
Image
Image
<EggWerx> MetalOverlord: Dsman and lemmayoshi will be used for taco meat, ask mo he knows me.
jleemero wrote:
Being required to learn Java for a Comp Sci MAJOR is like being required to shit on a lawnmower to be an astronaut.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Jan 18, 2007 12:06 pm 
Offline
Kommunist
Kommunist

Joined: Tue Jan 16, 2007 2:11 pm
Posts: 7
Dualscreenman wrote:
Changelog plz?


You can view that in the program.

Any news on AR/CB to Dipstar progress?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Jan 18, 2007 12:57 pm 
Offline
Kommunist
Kommunist

Joined: Wed Jan 17, 2007 4:45 pm
Posts: 10
Location: at home
Parasyte wrote:
Digimon World DS (U) CB codes:

Master Code
8000AC46 41444E45
F213A6B8 223FC000

(What's the name of this? It's corrected now based on your last post, in any case)
421DB8C8 00280060
00000001 00000000


Dlong: your program should convert that CB code ^ to this AR code:

C0000000 00000028
021DB8C8 00000001
DC000000 00000180
D2000000 00000000

Your current algorithm for this code type is really screwed up...


Thaks Parasyte. The AR code works fine so far.
The CB Mastercode doesn't for some reason, the screen just goes white and nothing loads.

(What's the name of this? It's corrected now based on your last post, in any case)
Quick level up for all digimon(sets needed experience to 1)
421DB8C8 00280060
00000001 00000000

Increase Address by (Multiply by data size (1 << (2 - T)))
What does this mean for future reference?
It's the part that threw me off.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Jan 18, 2007 1:01 pm 
T is the data size: 0 for 32-bit, 1 for 16-bit, 2 for 8-bit.

The address increment is multiplied by 1 << (2-T) to keep the address properly aligned (this assumes that the address is properly aligned to begin with.

So if you have an address increment of one, the address will actually increment by 2 per loop for 16-bit writes and by 4 per loop for 32-bit writes.

Rion: That's on my to-do list, along with improving the input processing.


Top
  
Reply with quote  
 Post subject:
PostPosted: Thu Jan 18, 2007 10:00 pm 
Offline
Krew (Admin)
Krew (Admin)
User avatar

Joined: Sun Oct 01, 2006 9:26 pm
Posts: 3768
Title: All in a day's work.
1 << (2 - T) is binary mathematics, << meaning "logical shift left"
2 ^ (2 - T) will also work, ^ meaning "exponentiation"

Essentially, it's a short hand notation for this truths table:

T : Address increment multiple
0 : 4
1 : 2
2 : 1

_________________
I have to return some video tapes.

Feed me a stray cat.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Jan 18, 2007 11:12 pm 
Offline
Kommunist
Kommunist

Joined: Tue Oct 10, 2006 9:32 am
Posts: 445
Parasyte wrote:
(The D3 code etc are not needed, because the offsets default to zero, and are reset to zero after the D2 code has completed its processing.)


I used to think that assuming that everything has been reset correctly isn't a good thing, in case the user put some home made code that screw up the offset.

So I thought that putting a D3 code at the very start of your code can't be a bad thing.

But then I realized that if the user put a code that sets up an if code and doesn't reset it, things will be messed up too !

So I went to the conclusion that using at D2 code at the very start of your codes should be the best thing to do, as it'll reset everyhting...

(And if the user entered an if... code that isn't reset on purpose prior to your codes, that should mean he 'knows' the AR so he should be good enought to know that he should manually remove/change any D2 code in your codes.)


Now, we could just forget about that first D2 (as I have to admit having two D2 codes really looks stupid), assume that most of the time everything has been reset correctly, and just tell people that have problems with a known working code, which is not working for them, to add a D2 code at the very start of it to see if it fixes things...


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jan 19, 2007 4:33 am 
Offline
Krew (Admin)
Krew (Admin)
User avatar

Joined: Sun Oct 01, 2006 9:26 pm
Posts: 3768
Title: All in a day's work.
It would be nice to have some sort of standardization for the AR code engine, because of how it is designed. It's a bit like a scripting language, only very easy to screw up. A program like this one can help things, since it will support the code structure properly. Any "poor codes" like kenobi discussed should be avoided entirely, and I think we should disallow them from posting to the site when it's up (that's another point for standardization...)

Also, I think the AR documentation can use a makeover to help introduce the concepts of the internal registers that are set and handled by all of the code types. It's something to consider for some point in the future. :)

_________________
I have to return some video tapes.

Feed me a stray cat.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jan 19, 2007 8:23 am 
Offline
Krew (Admin)
Krew (Admin)
User avatar

Joined: Sun Oct 01, 2006 9:26 pm
Posts: 3768
Title: All in a day's work.
DragonCheat wrote:
...
The CB Mastercode doesn't for some reason, the screen just goes white and nothing loads.
...


That's no good. Try this one:

Master Code
8000AC46 41444E45
F2383AF4 223FC000

_________________
I have to return some video tapes.

Feed me a stray cat.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jan 19, 2007 9:55 am 
GSC sucks cock; fuck you Rune
GSHI + Kodewerx FTW
Version 1.2
(C) Dlong 12/29/06

4 results found.

Result #1
8000AC46 41444E45
F23800F0 223FC000

Result #2
8000AC46 41444E45
F238ECD8 223FC000

Result #3
8000AC46 41444E45
F238ED40 223FC000

Result #4
8000AC46 41444E45
F238FEF4 223FC000

Press any key to continue . . .


Top
  
Reply with quote  
 Post subject:
PostPosted: Fri Jan 19, 2007 3:24 pm 
Offline
Kommunist
Kommunist

Joined: Wed Jan 17, 2007 4:45 pm
Posts: 10
Location: at home
Thanks again Parasyte, that one works.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Jan 21, 2007 2:21 pm 
I'm starting on dipstar now. I was going to work on it in Knoxville over the weekend, but grabbed the wrong source file. Oops!


Top
  
Reply with quote  
 Post subject:
PostPosted: Sun Jan 21, 2007 4:07 pm 
Offline
Kommunist
Kommunist
User avatar

Joined: Thu Jan 04, 2007 10:40 pm
Posts: 240
Location: In your parasol
Whenever I try converting a single line CB code to AR I always get this message, "Error on last line, two lines needed for slide code." Can anyone help me?

_________________
Your idols burn in the fire.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Jan 21, 2007 4:42 pm 
What code?


Top
  
Reply with quote  
 Post subject:
PostPosted: Sun Jan 21, 2007 6:51 pm 
Offline
Kommunist
Kommunist
User avatar

Joined: Thu Jan 04, 2007 10:40 pm
Posts: 240
Location: In your parasol
Star Wars Episode 3: ROTS

Infinite Upgrade Points
4261435B D555C95C

Infinite Health:
095FA097 71BA746F

and for the Infinite Health code I get this message "Warning on line 1;Value for 8-bit constant Ram write is greater than 8-bits; Upper bits will be ignored"

Rub Rabbits

Always 1 left to do:
E2CE762A E077D834
C322696B E1292932

I get these messages

"Unknown code type on line 1"
"Unknown code type on line 2"

_________________
Your idols burn in the fire.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Jan 21, 2007 8:50 pm 
Ahh, I see the problem. These are encrypted codes. You must decrypt them first. Unfortunately, there is no way to do that, currently.


Top
  
Reply with quote  
 Post subject:
PostPosted: Mon Jan 22, 2007 4:34 am 
Offline
Krew (Admin)
Krew (Admin)
User avatar

Joined: Sun Oct 01, 2006 9:26 pm
Posts: 3768
Title: All in a day's work.
There are ways, but none publicly available, as far as I am aware.

_________________
I have to return some video tapes.

Feed me a stray cat.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Jan 22, 2007 8:51 pm 
NDS uses 2's complement?


Top
  
Reply with quote  
 Post subject:
PostPosted: Tue Jan 23, 2007 8:23 am 
Offline
Krew (Admin)
Krew (Admin)
User avatar

Joined: Sun Oct 01, 2006 9:26 pm
Posts: 3768
Title: All in a day's work.
Uh, I thought 1's complement was phased out 50 years ago? So why would you have to ask about 2's complement?

_________________
I have to return some video tapes.

Feed me a stray cat.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Jan 23, 2007 9:23 am 
Well, you answered the question, but there was also sign and magnitude, and excess-n.


Top
  
Reply with quote  
 Post subject:
PostPosted: Thu Feb 01, 2007 10:30 am 
Offline
Kommunist
Kommunist

Joined: Tue Jan 16, 2007 2:11 pm
Posts: 7
Any news on the development?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Feb 01, 2007 12:44 pm 
It's slowly getting there, but schoolwork keeps getting in the way. I've done CB->Dipstar, and am currently working on Dipstar->CB


Top
  
Reply with quote  
 Post subject:
PostPosted: Thu Feb 01, 2007 5:12 pm 
Offline
Kommunist
Kommunist

Joined: Tue Jan 16, 2007 2:11 pm
Posts: 7
dlong wrote:
It's slowly getting there, but schoolwork keeps getting in the way. I've done CB->Dipstar, and am currently working on Dipstar->CB


Great.

Any chance of seeing AR->Dipstar?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Feb 01, 2007 10:28 pm 
AR->Dipstar and vice-versa is next, now that I'm done with Dipstar->CB.


Top
  
Reply with quote  
 Post subject:
PostPosted: Mon Feb 05, 2007 4:27 pm 
Offline
Kommunist
Kommunist
User avatar

Joined: Tue Jan 02, 2007 8:13 pm
Posts: 39
Dualscreenman wrote:
@shadowkc
Give one of us hackas the codes and I'm sure something could be worked out.

@dlong
A converter would make my life easier.


What's going on?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Feb 05, 2007 5:38 pm 
Offline
Komrade
Komrade
User avatar

Joined: Mon Oct 02, 2006 5:56 pm
Posts: 1978
Title: Mr. Bitches
I was saying if you needed help converting the code we could. But Dlong's app works for that now.

_________________
Image
Image
<EggWerx> MetalOverlord: Dsman and lemmayoshi will be used for taco meat, ask mo he knows me.
jleemero wrote:
Being required to learn Java for a Comp Sci MAJOR is like being required to shit on a lawnmower to be an astronaut.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 172 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 162 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group