Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - MysticLord

Pages: 1 2 [3] 4
51
GRRM will probably die before he releases WOW, and we'll have to deal with his estate (like Tolkein's) stringing us along for decades. Or maybe they'll hire D&D to flesh it out with spinoffs?

52
Completely Unrelated / Re: Article 13 Passed
« on: 2019-03-31 20:25:10 »
Maybe God will take pity on you and send the Russians to rule over you, as payback for the Crimean war. Couldn't be worse than the current government.

53
Completely Unrelated / Re: Article 13 Passed
« on: 2019-03-31 17:35:40 »
This current stalemate is caused because neither party wants to leave the EU and because they don't want to carry the can for cancelling Brexit and denying the majority 17 million Leave vote that WON. And they have no way to squirm out of it with a soundbite - like they usually do. The entire nation knows we're being betrayed and that democracy is a sham, If I could vote a blood thirsty killer to execute every last one of them, I would.
Do what we do in the USA, send reality TV clowns into office until the globalist "elites" (parasitic paper-pushing weenies) take a hint. Mockery is more potent than violence in today's world. Calling someone a nerd and giving them a verbal wedgie while you stuff them into a rhetorical locker will bring more popular support to your side than random massacres.

With popular support you can do anything.

My advice to you is to take hints from Tucker Carlson and start a YouTube channel. Be thorough, be careful, cite your sources, and turn that rage to useful ends.

54
Completely Unrelated / Re: Article 13 Passed
« on: 2019-03-28 22:34:58 »
Is it possible for the EU to have a military that is worth a damn? I can't imagine anyone risking their lives for a bunch of effete paper shufflers, or said shufflers fighting their own wars. Without the USA, Russian tanks could roll into the capital of any Baltic state in 2 days. Probably even with the USA defending.

A EU army seems more for repression of internal expressions of nationalism (Yellow Jackets) than external defense. China does the same thing wrt mass executions of dissidents in different provinces - use military units from other areas. That's a bit paranoid
tbh. Good news for your cranky ursine neighbor, bad news for normal people.

55
Your best bet to learn more is to read Japan-only guides such as perfect works and look up old gaming magazines. We found out that Saga Frontier used an event editor/interpreter to write and perhaps incrementally develop event scripts from a photo of it in an old Japanese gaming magazine. Granted the way they are organized it is ludicrous to develop them by hand, but it was nice to see an old theory vindicated.

Japanese forums and wikis usually have more info, that's where I would start.

56
Whatever language you choose is capable of making editors and writing scripts to automate boring tasks.  It's really up to you, your favored operating system, the OS your users use, and - if you want to modify other people's editors - the language those authors used.  This limits you to C-like languages: C, C++, C#, Java, and Python to a degree.  Hence why you should learn one of them as your primary language, and later master a language like C (one of the hardest, but still a very small language and standard library compared to the others).  Once you do this you can easily teach yourself any other language in the family.  Progression for most college students is Python/VB.NET -> Java/C# -> C/C++.

Don't fret much for Linux users, most Lusers can figure out how to run anything given enough time.

Last piece of advice is learn the basics of git useage - add, commit, push, git ignore, and how to make a repo - and set up at least private repos for all your projects.  This matters because:
1. Hard drives fail.
2. Sometimes you code yourself into a corner and can't figure out how you got something to work earlier.  Looking back on earlier revisions alleviates this problem.
3. It feels good looking back on how far you came.
4. I've heard employers like seeing them, but since I'm not employed in the field I can't say.

57
Currently using MyBoy and MyOldBoy, which only allow one code or line at a time and don't allow savestates.

59
Guy at FFH looks like he needs info on midi synthesizers. He's making a mod bootloader for the PSP version.  Looks like it will be technically excellent; this is the best right way to do things.

http://ffhacktics.com/smf/index.php?&topic=12035

60
Completely Unrelated / Re: Linux n00b. Please gentle.
« on: 2018-08-02 20:05:20 »
Great thing about vms: really easy to have multiple images, only limit is hard drive space and getting activation keys. You could try ReactOS, I suppose, or research how Windows 7 does activation to see if it's possible to circumvent it.

I have a list of things I want to make once I have a functionimg computer and experience with C. A universal application manager is one of them.

Hey NERV Agent, why dont you get one of these and load it up with 128gb x 16 ddr4?
https://raptorcs.com/content/TL2WK2/intro.html

I would humblebrag on /g/ so much if I had that...

61
Completely Unrelated / Re: Linux n00b. Please gentle.
« on: 2018-07-31 18:04:16 »
Stuff changes all the time in linux. It doesn't take long for an unmaintained program to become unuseable. I have heard only bad things when I ask how a deb is made, and I know from personal experience that cross compiling/linking/assembling can be a nightmare.

Make a guide so you van reference it in the future. That's what I do.

62
Completely Unrelated / Re: Linux n00b. Please gentle.
« on: 2018-07-05 20:06:48 »
When asking questions or troubleshooting, try to fart around with your device/software/whatever such that you narrow the scope of the issue.  If you can't pinpoint the exact issue right away, you can probably eliminate other things as the source of the error.  When you can do this you feel a sense of progress and you don't feel compelled to scream at your computer.

You don't even need to know a lot about something to be able to troubleshoot it.

There's an Italian word used to describe James Bond in some 007 book I read as a teenager - I can't remember the word, but it means you have the ability to do something gracefully without understanding how it works or even having experience with it.  Part of this is temperment, but a large part is being able to break down something into parts and test them until you remove what is not the issue. 

63
Completely Unrelated / Re: Linux n00b. Please gentle.
« on: 2018-06-25 15:20:33 »
Try mapping "X" and "O" to something on your keyboard and attempt to select the language using that.  Is this a part of the emulator or the game itself?

edit

It's helpful - to others, and yourself in the future - to state what you did to fix an error.  Often you will find a thread about the exact issue you had, with an edit that says, "nevermind, I fixed it" and several bumps years later asking how they fixed it.

64
Completely Unrelated / Re: Linux n00b. Please gentle.
« on: 2018-06-22 15:54:59 »
The Pulseaudio thing is before my time but sufice it to say that there's this guy(?) named Lennart Poettering and for some reason almost everyone adopts every program he writes regardless of their merits.  Linux is basically a bunch of stuff duck taped together that someone is always tinkering with, and every now and then someone exploits divisions within the community to replace some of the more highly evolved duck tape organisms with rube goldberg machines.

The best thing to do when looking for device drivers is to google the product code/ID and the words linux or ubuntu, you can usually find someone with the exact same issue on the ubuntu forums.  If you can't, make a topic and present yourself as a novice user - they'll ask questions and tell you to try certain terminal commands then post the output.  Obviously google the command first or at least use "man [command-name]" to get an idea of what it does.  It says a lot about Linux that these rube goldberg machines only make things somewhat worse part of the time.

If anyone ever tells you anything with rm, it's probably a troll; rm is remove/delete.  Be cautious using sudo and su to do anything.

65
Completely Unrelated / Re: Linux n00b. Please gentle.
« on: 2018-06-20 19:45:49 »
Mednafen is pretty easy to use - has a debugger and everything.  Unfortunately I don't like any of the GUI/frontends for it, but I over came that and learned to use the honestly pretty handy keyboard shortcuts for everything.  I set up a command that's associated with *.cue files, wherein I only need to double click on them to go.  In my distro, I did this by:
1. right clicking on an iso
2. open with Other Application
3. select "use a custom command"
4. opening a terminal and typing "which mednafen" to get the path to the mednafen executable
5. which I pasted into the "use a custom command" text field followed by a space and then the single file name field code, which is "%f".  More on those here, ctrl + f "%f"



Retroarch is something that has roughly the same end goal as Mednafen but a radically different way to doing it.  If you can get Retroarch installed then you can't go wrong.

After dealing with the nightmare of Windows 10, I've decided to finally switch to Linux.

Next week I'm finally gonna get my hands on my new Dell laptop that uses Ubuntu Linux 16.04.

But I got some questions, hopefully not too many as I hope to get the thing up and running in one week.

My most important question is: What is the best firewall, antivirus, and anti-spyware for this OS?
ML: I don't know, I've never used any of them.  Though I should probably use a firewall.  I've never set up a printer and I dropped the network programming class: I know nothing about this.

Also, how do I install programs that I downloaded from places other than the Ubuntu Software Centre? I know it involves a command line, but I doubt its the same Windows command line of "CD [directory]" "[installer].exe", etc. I've been looking up some YouTube videos and the only clue I have is "sudo" something.

ML: Ubuntu is forked (derived) from Debian.  Both use apt or some sort of GUI front-end for it to install programs, most of which come as *.deb files and are usually stored somewhere.  Yes it is a huge pain in the butt to chase down software dependencies, but you get used to it.

Sudo I think is short for Superuser (admin) do.  It's a way to get temporarily read/write/execute privileges for files and folders in your root (admin) directory, which is /.  Contrast with su, which elevates the current terminal session to superuser (or maybe it just opens a new session as a superuser in the current terminal, I don't know which - same end difference though so who cares?).


Is WINE already included with this OS, or do I have to install it?
ML: You probably have to install it, ask on an official WINE support forum because the approved method of doing so changes once every few years.  In 2012 it was Wine Helper, a bunch of bash (a type of terminal emulator) scripts.  Be prepared for pain. :)

Also, are there built in media players into the OS already that let me listen to music and watch videos? If not, what Ubuntu Linux media players should I download and install?
ML: I use only VLC.

I also plan on using VMware to run a Windows XP virtual machine as some sort of "training wheels" until I get used to Linux. Is it preferable to emulate the 32 bit or 64 bit version of Windows XP?
ML: I know that VirtualBox only supports 32 bit emulation.  No idea bout VMWare.

If you want to become a linux power user, read this book:
http://linuxcommand.org/tlcl.php

It's free, and the dead tree version is cheap.  It will hold your hand and walk you through everything you need to know to use linux as a woke af non-programmer non-sysadmin.

I can answer more questions if you have any.

66
I recently wrote code that handles I/O for PS1 disc images.  You can find it here: https://bitbucket.org/MysticLord/snakeoil/src

I'm posting here so that other people can use my code to make editors for PS1 games and improve the existing ones.  You can use any of my code posted here with any license you want, though as a Linux user I prefer you use an open source license like the BSD or MIT licenses.  I am happy to answer questions about the code, Java, or anything you don't understand.

The classes and files which are relevant to implementing disc image I/O are covered below.



DataHandler.java: methods readFromDiscImage(...) and writeToDiscImage(...).  This is almost all the logic for handling data and file I/O.  It's a little involved, so if you have questions please ask them so I can add better comments.  I also want to write a series of blog posts about disc image I/O; questions will help me determine what is easiest to understand and what isn't.  Also I'm aware that this isn't "proper" java and honestly I don't care.  Object-Orientation is a meme to me.

EDC_ECC_Generator.java: everything in this file is a translation of a python program by abyssonym (which itself is a translation of a C program), which is here: https://github.com/abyssonym/randomtools/blob/master/cdrom_ecc.py

AbstractDataTable: this class and its subclasses are used to store information about data tables.  I needed separate logic to handle data tables that are found at specific addresses in a file, those that are pointer-addressed from elsewhere in a file, those that are always the same length, and those that are variable length.  The actual logic is in DataHandler, but these classes all need to store different information depending on their type.

data.csv: This is where information on data tables is stored, and later read into DataHandler.

L2sq.txt and EDC_crctable.txt: these files are needed to generate EDC and ECC.  Straight copies from abyssonym: https://github.com/abyssonym/randomtools

67
C is much harder to use without things like gdb.

68
Completely Unrelated / GSHI down?
« on: 2018-01-23 21:20:49 »
I get a SQL error when I try to access it.

70
This patch doesn't work on mednafen.  Linux Mint Debian, Mate edition, 32-bit.

Code: [Select]
mednafen --version
Starting Mednafen 0.9.36.4
 Build information:
   Compiled with gcc 4.9.1
   Compiled against zlib 1.2.8, running with zlib 1.2.8
   Compiled against SDL 1.2.15, running with SDL 1.2.15
   Running with libsndfile-1.0.25
   Compiled against libcdio 0.83 x86_64-pc-linux-gnu, running with libcdio 0.83 x86_64-pc-linux-gnu

71
Swedes regard lying to bed someone the same akin to aggressively raping them. That's hardly a sensible culture.
That sounds obsessive.  If you see rape in everything, you have bizarre fantasies issues.

72
For some reason half the posts in this thread were deleted.  I haven't tracked down the OP yet to determine why, but it's on my todo list.

https://www.romhacking.net/forum/index.php?topic=18596.msg266131#msg266131

Quote
How do you find these LBA tables? Well you need to run pSX with logging enabled and you need to log all CDROM IO. now just play the game as normal and save the log. Any time you see a line in the log such as

[015b009c] cdrom: setloc 00000000:00000002:00000005

it will be closely followed by lines such as these
[015b00a4] cdrom: read byte 07801800 = 09 (800584dc)
[015b00a4] cdrom: write byte 07801800 = 01 (800584ec)

Those address in the brackets
 (800584dc)
 (800584ec)
Are a part of the function "setloc". mark the entry point of that function in your disassembly.

There are three functions listed in the bit of code listed above - cdrom: setloc, read byte, and write byte.  Are they built into the PS1, or are they implemented via other assembly instructions?

If they are built in, where can I find more info about them and other functions?

You need special emulator with debugger built-in like no$psx or ePSXe debug edition.
From what I understand, emulator memory can be accessed using something like Cheat Engine or a hex editor that can view and edit processes.  How could I view memory on an emulator without a debugger?

73
Any advice on writing an assembler?  Are any existing MIPS assemblers open source?

Also I'm curious, but how would one attach a debugger/memory viewer to an emulator?

74
What assemblers and disassemblers exist for Linux?

I think that binutils has what I need, but I'm unsure how to use them.

75
General Discussion / Re: Some IZJS resources
« on: 2017-08-02 08:06:56 »
https://www.gamefaqs.com/boards/459841-final-fantasy-xii?search=hack

Might be something here.

EDIT

SecondAdvent of ID has something to say about it.

Quote
Actually, since I know about this, it's possible to do and I have done a minor change in my own copy of the (original) game just to make sure everything was working correctly (my game actually has slimes correctly give slime oil... woo?).

The files themselves are hidden from normal disk tools so you can't just open up the image and grab whatever file you need, you have to use a tool or manually extract the files to even get the data. On top of this there are at least two compression types used on pretty much every file, so you also need to be able to both decompress and later compress the files back into the original format to reinsert into the game. If your file ends up larger (which it almost certainly will, since even a single byte change can drastically affect the result size of a compressed file) you will basically need to rearrange things on the disk to be able to get it back in, so it's not just a simple hex change like you were hoping for.

I have made a tool for myself to do testing with that is able to extract files from the disk, decompress files and compress them again with a file exactly the same size as the original if nothing was changed, and then put them back on the disk (effectively making a new disk of sorts, so file size changes don't matter), but the tool itself is just a command line thing i threw together mostly just for the compression handling. It's not really something everybody could easily work with, and it's just set up for the original game so far anyway but IZJS has the same compression, it's just files are in different locations (which only matters to actual use, not getting them/putting them back iirc) so I'd have to figure out what's file matches up where.

The only real problem I have with making a mod for it currently is that I haven't gone through the code for the AI yet to fully understand how it works - a partial understanding doesn't really go that far for something like this. I also wouldn't want to do a simple stat change to enemies because it's effectively the kind of half-assed hard mode that many games end up with where it's the same exact enemies that you can handle the same exact way, they just hit harder and take longer to kill for no real reason. There's also quite a few other things I'd love to look into first, because you can very easily exploit a few things (particularly battle speed) that can give you a pretty unfair advantage, but the AI/enemy "gambits" would still be the most important thing to understand to really get things going.

http://archive.is/egqv0

Pages: 1 2 [3] 4