Search found 314 matches

by Khaz
Mon Apr 13, 2015 2:36 pm
Forum: SNESdev
Topic: Graphics in Excel (New: 'Tiled' Map Translation Tools!)
Replies: 94
Views: 31059

Re: Graphics in Excel

OKAY. I seem to have figured THAT out. You have to use int(), not ord(): f.write(struct.pack("B", int(byteOfColour))) Nnngh. Now I have to diagnose this output: http://www.pictureshack.us/images/90847_ResultsWithNoPaletteCrunch.png ...Without being able to examine my lovely spreadsheet of ...
by Khaz
Mon Apr 13, 2015 2:11 pm
Forum: SNESdev
Topic: Graphics in Excel (New: 'Tiled' Map Translation Tools!)
Replies: 94
Views: 31059

Re: Graphics in Excel

I've just spent basically the last day trying to figure out how to write one byte to an output file using python. I cannot possibly understand what the people who designed this language were thinking when they created the "byte" object. When you read the file in binary, you get these stupi...
by Khaz
Mon Apr 13, 2015 11:23 am
Forum: General Stuff
Topic: Decreased S-CPU Velocity: Real or Imagined?
Replies: 379
Views: 45886

Re: Dynamic Sprite Vram Routine Ideas

I have played with many CPU with different architecture in my programmer life and the first assembly i ever touched (maybe 20 years ago) was actually 6502 assembly (on a VIC20). Then it sounds like you should have enough experience to know better than to try to pick this particular fight. The war b...
by Khaz
Mon Apr 13, 2015 4:33 am
Forum: General Stuff
Topic: Decreased S-CPU Velocity: Real or Imagined?
Replies: 379
Views: 45886

Re: Dynamic Sprite Vram Routine Ideas

Oh i see, "we cannot say it is not possible to make GH on SNES as nobody tried to do it"... ok in this case maybe we could run FarCry 4 on SNES but we will never know as nobody tried it ? The audacity of this guy, making such claims about what is and is not possible on the SNES when he ad...
by Khaz
Sun Apr 12, 2015 1:37 pm
Forum: General Stuff
Topic: Decreased S-CPU Velocity: Real or Imagined?
Replies: 379
Views: 45886

Re: Dynamic Sprite Vram Routine Ideas

psycopathicteen> Sorry you took it as a critic... actually i was mainly speaking about the fact you were using only 1 type of enemy, with simplistic IA, explosion animation physic and so on. I'm just chocked people really compare your demo to GH... Maybe your dynamic sprite allocation system is com...
by Khaz
Sat Apr 11, 2015 6:33 pm
Forum: SNESdev
Topic: Graphics in Excel (New: 'Tiled' Map Translation Tools!)
Replies: 94
Views: 31059

Re: Graphics in Excel

Something like this (an automatic color reducer) might be done as a command line tool. Python has import argparse to parse command lines, and it has Python.org for docs and http://stackoverflow.com/favicon.ico Stack Overflow for searching similar problems that others have had. Okay I see Python act...
by Khaz
Sat Apr 11, 2015 12:01 pm
Forum: SNESdev
Topic: Graphics in Excel (New: 'Tiled' Map Translation Tools!)
Replies: 94
Views: 31059

Re: Graphics in Excel

(and please, please do make it open source). :D Heh! This is the main problem here. I've already tried looking into converting my existing code into something open source, but the options aren't very promising. LibreOffice has been ruled out completely. I spoke to their community, support for Visua...
by Khaz
Sat Apr 11, 2015 12:24 am
Forum: SNESdev
Topic: Graphics in Excel (New: 'Tiled' Map Translation Tools!)
Replies: 94
Views: 31059

Re: Graphics in Excel

I should note that there's a bug in the spreadsheet I just posted I noticed just now. If palettes 0 and 1 are the best ones to merge it screws up and merges the previous pair again. I thought something wasn't quite right. Not half. A quarter. The tile index is 10-bit. One layer is more than enough t...
by Khaz
Fri Apr 10, 2015 8:32 pm
Forum: SNESdev
Topic: Graphics in Excel (New: 'Tiled' Map Translation Tools!)
Replies: 94
Views: 31059

Re: Graphics in Excel

Okay so I did it. Please find attached the excel spreadsheet that did it all, along with two proof-of-concept ROMs that just display the results. First thing you do is import a (128x128*, 24bpp) bitmap file (using importLARGEBitmap). This creates two worksheets, one for drawing in and one to do all ...
by Khaz
Thu Apr 09, 2015 3:17 pm
Forum: SNESdev
Topic: Looking for SNES Rom Hacker [paid work]
Replies: 5
Views: 2715

Re: Looking for SNES Rom Hacker [paid work]

I'm not sure if I am available to help with such projects, but I'm curious to know more about what kind of hacking you're proposing. I don't know whether you feel like giving any more details publically... Can anyone comment briefly on the legality of profiting off a hack of a commercial SNES rom? I...
by Khaz
Sun Apr 05, 2015 7:45 pm
Forum: SNESdev
Topic: Dynamic Sprite Vram Routine Ideas
Replies: 54
Views: 13946

Re: Dynamic Sprite Vram Routine Ideas

Well, that means that for some reason it's assembling your absolute-addressed instructions as one-byte direct page instructions. I cannot think of a reason why that should ever happen, so I'm afraid someone else who uses ca65 will have to step in...
by Khaz
Sun Apr 05, 2015 7:38 pm
Forum: SNESdev
Topic: Dynamic Sprite Vram Routine Ideas
Replies: 54
Views: 13946

Re: Dynamic Sprite Vram Routine Ideas

Hope someone can confirm my assumption here, but sounds like the "<" is the same as WLA's ".b" and "a:" is WLA's ".w" - it's "operand hinting" to explicitly tell the assembler whether to take one or two bytes as the operand. In other words, you only ...
by Khaz
Sun Apr 05, 2015 7:18 pm
Forum: SNESdev
Topic: Dynamic Sprite Vram Routine Ideas
Replies: 54
Views: 13946

Re: Dynamic Sprite Vram Routine Ideas

Wish I could comment on how ca65 does things, but the bottom line is that to use direct page you need to use instructions that have a one-byte address for an operand. In WLA at least, this should happen automatically when you use a label that's defined as one byte, like, ".EQU label $08". ...
by Khaz
Thu Apr 02, 2015 5:39 pm
Forum: SNESdev
Topic: Graphics in Excel (New: 'Tiled' Map Translation Tools!)
Replies: 94
Views: 31059

Re: Graphics in Excel

Wanted to kinda post something new and maybe get some opinions. I'm still doing all my things in Excel and for that I'm sorry, but until I find another intuitively-programmable spreadsheet program I'm afraid it's what I'm sticking with. Anyways to the point: I'm not an artist by any means. I've some...
by Khaz
Mon Mar 30, 2015 7:01 pm
Forum: SNESdev
Topic: Palette Checker
Replies: 22
Views: 6793

Re: Palette Checker

Honestly, I never even use the stack. I originally wanted to use it to store information that would be loaded for the subroutine I was jumping to, but because it stores the value of where you jumped, it's pretty much useless for this, which is about the only thing I would use it for. I can't find t...