Jump to content

haddockd

Member
  • Posts

    677
  • Joined

  • Last visited

  • Days Won

    26

Posts posted by haddockd

  1. I thought you were porting a map and not an object and I was all over this like a ninja. I already had a response written when i verified. I have never used that tool. Sorry :)

     

    Doing some Google finagling...i cant find it either...weird.

    On a constructive note, have you tried explicitly giving the path to the objs?

     

    So something like this (would be ideal if paths had no spaces)?

    srcexe c:\modding\Zelda\object_link_boy.zobj 233E0 c:\modding\Zelda\object_ik.zobj 15840

     

    On a less probable note, are you sure the offsets are correct?

     

    Also...does the game do nothing when you run it after running the app or does it crash? Just trying to get a feel for exactly what is going on?

  2. That may be true but isn't necessarily true. I am referring to highly modularized code. Tight coupling doesnt mean that the module can't be reused, it just means the interaction between them is heavily utilized.

     

    For example a vehicle class can make boats, cars, trucks, planes, etc. Some will be more tightly coupled than others (like cars would have more characteristics that we think of for a vehicle) but it doesn't mean that it's a bad thing as it can be used (and reused) by a plethora of organizations and applications (domain allowing).

     

    Large systems with a small number of modules are absolutely a bad idea to have tightly coupled (this is a bad idea in general lol). But I see your point :)

  3. OH! I misunderstood. My bad :)

     

    I do like your ideas but some of it seems to be opinion more than factual base.

     

    For instance, you mentioned:

    The only useful thing encapsulation brings to the table is data-hiding, but that's not an exclusive thing

     

    I am not entirely sure that is accurate. Encapsulation allows for a high level of abstraction in a public interface and of course it allows for strong coupling. Keep in mind I am speaking from a complex systems point of view because that is my background. Smaller systems may not have the same requirements so perhaps it is less important...?

  4. I could argue several of those points but it isnt going to help. Sounds like your mind is made up :)

     

    I would recommend that you add a few sources because technically if you dont and you turn this in, it is plagiarism. I would hate for your effort to be seen as such :)

  5. You could use braces to capture multiple values or a range:

    is (2-22) do
    something()
    

     

    If you do decide to go this route, I would use "to" instead of "-" because the minus operator is likely to be used elsewhere.

     

    So:

    is (2 to 22) do

    something()

     

    Additionally, does your language ignore whitespace (hard returns, etc)? If it does not then parens arent even needed. Plus if "is" must be followed by "do" then the entire expression can be read without the need for parens.

  6. It really depends on what you need to accomplish and how much control you need. C# is a great high level language. It has higher overhead but is very powerful and easy to use. C and C++ have lower overhead and give you lower access (which is great for cycle seneitive apps but you have to freaking declare EVERYTHING and I found it tiresome.

  7. Nice one, for a second I thought it was a remake of TP's magic armor but then I realized that your hack takes its name seriously. Do you have the hack patched to the ROM?

     

    EDIT: You should look into using bitwise operations. Usage of ANDI would have greatly reduced your code for checking if the Zora Tunic was equipped by simply checking if ((*(u8*)(0x8015E6D0)) & 0x03) was nonzero. Also, I see that you handle the case where subtracting from the current magic amount avoids overflowing the byte value by just setting the magic value to 0 if it was less than or equal to 4; one instruction which would help you greatly would be the SLTI (Set on Less Than Immediate) opcode.

     

    I know that you realize you code could be shorter, I'm just offering what I think to be helpful tips (I don't mean to come off as a nitpicker).

     

    God Jason, must you be such a nitpicker?!?!?

     

    Kidding haha. I also liked that he used the actual magic instead of rupees. I thought it was a twist that folks would also enjoy.

  8. I had to get $1600 in place but here it is!

     

    Cooler Master HAF X Full Tower

    ASRock Z97 Extreme4

    EVGA GeForce GTX 970 4GB

    EVGA SuperNOVA 850W

    Intel Core i5-4690K - OC'ed to 4.5GHz

    G.SKILL Ripjaws X 8GB DDR3 1600

    CORSAIR Hydro H105

    Indigo Xtreme 115X-XS Metallic TIM

    Windows 7 SP1 64-bit

     

    I will be playing the following emulators on this machine:

     

    JNES

    ZSNES (and some SNES9x)

    DeSmume

    Project64 (with high res textures)

    Dolphin (GC and Wii)

    ePSXe

    PCSX2

    Kega Fusion

    JPCSP

    PPSSPP

     

    Thoughts?

    • Like 1
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.